/* Собрано lib/css_build.php 17.11.2026 15:53. Не править -
   правятся исходники в css/, затем пересборка. */

/* === fonts-local.css === */
/* Локальные шрифты интерфейса: Inter - текст и интерфейс, Nunito - акценты,
   Libre Baskerville - заголовки. Файлы в fonts/webfonts, внешних CDN нет.
   Добавлено 01.09.2026 */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/webfonts/inter-400-cyrillic-ext.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/webfonts/inter-400-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/webfonts/inter-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/webfonts/inter-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/webfonts/inter-500-cyrillic-ext.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/webfonts/inter-500-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/webfonts/inter-500-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/webfonts/inter-500-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/webfonts/inter-600-cyrillic-ext.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/webfonts/inter-600-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/webfonts/inter-600-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/webfonts/inter-600-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/webfonts/inter-700-cyrillic-ext.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/webfonts/inter-700-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/webfonts/inter-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/webfonts/inter-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/webfonts/nunito-400-cyrillic-ext.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/webfonts/nunito-400-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/webfonts/nunito-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/webfonts/nunito-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/webfonts/nunito-600-cyrillic-ext.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/webfonts/nunito-600-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/webfonts/nunito-600-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/webfonts/nunito-600-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/webfonts/nunito-700-cyrillic-ext.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/webfonts/nunito-700-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/webfonts/nunito-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/webfonts/nunito-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/webfonts/nunito-800-cyrillic-ext.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/webfonts/nunito-800-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/webfonts/nunito-800-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/webfonts/nunito-800-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/webfonts/libre-baskerville-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/webfonts/libre-baskerville-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/webfonts/libre-baskerville-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/webfonts/libre-baskerville-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* === normalize.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;
}

/* === fonts.css === */
@font-face {
  font-family: 'icomoon';
  src:  url('../fonts/icomoon.eot?815l12');
  src:  url('../fonts/icomoon.eot?815l12#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?815l12') format('truetype'),
    url('../fonts/icomoon.woff?815l12') format('woff'),
    url('../fonts/icomoon.svg?815l12#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-plus:before {
  content: "\f067";
}
.icon-search:before {
  /* content: "\f002"; */
}
.icon-envelope-o:before {
  content: "\f003";
}
.icon-heart:before {
  content: "\f004";
}
.icon-star:before {
  content: "\f005";
}
.icon-star-o:before {
  content: "\f006";
}
.icon-user:before {
  content: "\f007";
}
.icon-th-large:before {
  content: "\f009";
}
.icon-check:before {
  content: "\f00c";
}
.icon-close:before {
  content: "\f00d";
}
.icon-remove:before {
  content: "\f00d";
}
.icon-times:before {
  content: "\f00d";
}
.icon-search-plus:before {
  content: "\f00e";
}
.icon-search-minus:before {
  content: "\f010";
}
.icon-signal:before {
  content: "\f012";
}
.icon-cog:before {
  content: "\f013";
}
.icon-gear:before {
  content: "\f013";
}
.icon-trash-o:before {
  content: "\f014";
}
.icon-home:before {
  content: "\f015";
}
.icon-clock-o:before {
  content: "\f017";
}
.icon-refresh:before {
  content: "\f021";
}
.icon-qrcode:before {
  content: "\f029";
}
.icon-print:before {
  content: "\f02f";
}
.icon-align-justify:before {
  content: "\f039";
}
.icon-pencil:before {
  content: "\f040";
}
.icon-map-marker:before {
  content: "\f041";
}
.icon-edit:before {
  content: "\f044";
}
.icon-pencil-square-o:before {
  content: "\f044";
}
.icon-check-square-o:before {
  content: "\f046";
}
.icon-play:before {
  content: "\f04b";
}
.icon-chevron-right:before {
  content: "\f054";
}
.icon-times-circle:before {
  content: "\f057";
}
.icon-info-circle:before {
  content: "\f05a";
}
.icon-arrow-left:before {
  content: "\f060";
}
.icon-arrow-right:before {
  content: "\f061";
}
.icon-mail-forward:before {
  content: "\f064";
}
.icon-share:before {
  content: "\f064";
}
.icon-leaf:before {
  content: "\f06c";
}
.icon-eye:before {
  content: "\f06e";
}
.icon-eye-slash:before {
  content: "\f070";
}
.icon-calendar:before {
  content: "\f073";
}
.icon-comment:before {
  content: "\f075";
}
.icon-shopping-cart:before {
  content: "\f07a";
}
.icon-bar-chart:before {
  content: "\f080";
}
.icon-bar-chart-o:before {
  content: "\f080";
}
.icon-comments:before {
  content: "\f086";
}
.icon-thumbs-o-up:before {
  content: "\f087";
}
.icon-thumbs-o-down:before {
  content: "\f088";
}
.icon-heart-o:before {
  content: "\f08a";
}
.icon-phone:before {
  content: "\f095";
}
.icon-twitter:before {
  content: "\f099";
}
.icon-facebook:before {
  content: "\f09a";
}
.icon-facebook-f:before {
  content: "\f09a";
}
.icon-filter:before {
  content: "\f0b0";
}
.icon-briefcase:before {
  content: "\f0b1";
}
.icon-group:before {
  content: "\f0c0";
}
.icon-users:before {
  content: "\f0c0";
}
.icon-bars:before {
  content: "\f0c9";
}
.icon-navicon:before {
  content: "\f0c9";
}
.icon-reorder:before {
  content: "\f0c9";
}
.icon-list-ol:before {
  content: "\f0cb";
}
.icon-truck:before {
  content: "\f0d1";
}
.icon-envelope:before {
  content: "\f0e0";
}
.icon-file-text-o:before {
  content: "\f0f6";
}
.icon-angle-double-left:before {
  content: "\f100";
}
.icon-angle-double-right:before {
  content: "\f101";
}
.icon-angle-left:before {
  content: "\f104";
}
.icon-angle-right:before {
  content: "\f105";
}
.icon-angle-up:before {
  content: "\f106";
}
.icon-angle-down:before {
  content: "\f107";
}
.icon-mail-reply:before {
  content: "\f112";
}
.icon-reply:before {
  content: "\f112";
}
.icon-microphone:before {
  content: "\f130";
}
.icon-microphone-slash:before {
  content: "\f131";
}
.icon-shield:before {
  content: "\f132";
}
.icon-sort-alpha-asc:before {
  content: "\f15d";
}
.icon-sort-alpha-desc:before {
  content: "\f15e";
}
.icon-youtube:before {
  content: "\f167";
}
.icon-youtube-play:before {
  content: "\f16a";
}
.icon-stack-overflow:before {
  content: "\f16c";
}
.icon-instagram:before {
  content: "\f16d";
}
.icon-tumblr:before {
  content: "\f173";
}
.icon-long-arrow-left:before {
  content: "\f177";
}
.icon-long-arrow-right:before {
  content: "\f178";
}
.icon-female:before {
  content: "\f182";
}
.icon-male:before {
  content: "\f183";
}
.icon-vk:before {
  content: "\f189";
}
.icon-life-bouy:before {
  content: "\f1cd";
}
.icon-life-buoy:before {
  content: "\f1cd";
}
.icon-life-ring:before {
  content: "\f1cd";
}
.icon-life-saver:before {
  content: "\f1cd";
}
.icon-support:before {
  content: "\f1cd";
}
.icon-paper-plane:before {
  content: "\f1d8";
}
.icon-send:before {
  content: "\f1d8";
}
.icon-paper-plane-o:before {
  content: "\f1d9";
}
.icon-send-o:before {
  content: "\f1d9";
}
.icon-history:before {
  content: "\f1da";
}
.icon-yelp:before {
  content: "\f1e9";
}
.icon-cart-plus:before {
  content: "\f217";
}
.icon-user-secret:before {
  content: "\f21b";
}
.icon-pinterest-p:before {
  content: "\f231";
}
.icon-whatsapp:before {
  content: "\f232";
}
.icon-medium:before {
  content: "\f23a";
}
.icon-object-group:before {
  content: "\f247";
}
.icon-balance-scale:before {
  content: "\f24e";
}
.icon-odnoklassniki:before {
  content: "\f263";
}
.icon-shopping-bag:before {
  content: "\f290";
}
.icon-shopping-basket:before {
  content: "\f291";
}
.icon-envira:before {
  content: "\f299";
}
.icon-user-o:before {
  content: "\f2c0";
}
.icon-user1:before {
  content: "\e971";
}
.icon-info:before {
  content: "\ea0c";
}
.icon-enter:before {
  content: "\ea13";
}
.icon-exit:before {
  content: "\ea14";
}
.icon-yelp1:before {
  content: "\ead7";
}

/* === jquery.fancybox.min.css === */
body.compensate-for-scrollbar{overflow:hidden}.fancybox-active{height:auto}.fancybox-is-hidden{left:-9999px;margin:0;position:absolute!important;top:-9999px;visibility:hidden}.fancybox-container{-webkit-backface-visibility:hidden;height:100%;left:0;outline:none;position:fixed;-webkit-tap-highlight-color:transparent;top:0;-ms-touch-action:manipulation;touch-action:manipulation;transform:translateZ(0);width:100%;z-index:99992}.fancybox-container *{box-sizing:border-box}.fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-stage{bottom:0;left:0;position:absolute;right:0;top:0}.fancybox-outer{-webkit-overflow-scrolling:touch;overflow-y:auto}.fancybox-bg{background:#1e1e1e;opacity:0;transition-duration:inherit;transition-property:opacity;transition-timing-function:cubic-bezier(.47,0,.74,.71)}.fancybox-is-open .fancybox-bg{opacity:.9;transition-timing-function:cubic-bezier(.22,.61,.36,1)}.fancybox-caption,.fancybox-infobar,.fancybox-navigation .fancybox-button,.fancybox-toolbar{direction:ltr;opacity:0;position:absolute;transition:opacity .25s ease,visibility 0s ease .25s;visibility:hidden;z-index:99997}.fancybox-show-caption .fancybox-caption,.fancybox-show-infobar .fancybox-infobar,.fancybox-show-nav .fancybox-navigation .fancybox-button,.fancybox-show-toolbar .fancybox-toolbar{opacity:1;transition:opacity .25s ease 0s,visibility 0s ease 0s;visibility:visible}.fancybox-infobar{color:#ccc;font-size:13px;-webkit-font-smoothing:subpixel-antialiased;height:44px;left:0;line-height:44px;min-width:44px;mix-blend-mode:difference;padding:0 10px;pointer-events:none;top:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fancybox-toolbar{right:0;top:0}.fancybox-stage{direction:ltr;overflow:visible;transform:translateZ(0);z-index:99994}.fancybox-is-open .fancybox-stage{overflow:hidden}.fancybox-slide{-webkit-backface-visibility:hidden;display:none;height:100%;left:0;outline:none;overflow:auto;-webkit-overflow-scrolling:touch;padding:44px;position:absolute;text-align:center;top:0;transition-property:transform,opacity;white-space:normal;width:100%;z-index:99994}.fancybox-slide:before{content:"";display:inline-block;font-size:0;height:100%;vertical-align:middle;width:0}.fancybox-is-sliding .fancybox-slide,.fancybox-slide--current,.fancybox-slide--next,.fancybox-slide--previous{display:block}.fancybox-slide--image{overflow:hidden;padding:44px 0}.fancybox-slide--image:before{display:none}.fancybox-slide--html{padding:6px}.fancybox-content{background:#fff;display:inline-block;margin:0;max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch;padding:44px;position:relative;text-align:left;vertical-align:middle}.fancybox-slide--image .fancybox-content{animation-timing-function:cubic-bezier(.5,0,.14,1);-webkit-backface-visibility:hidden;background:transparent;background-repeat:no-repeat;background-size:100% 100%;left:0;max-width:none;overflow:visible;padding:0;position:absolute;top:0;transform-origin:top left;transition-property:transform,opacity;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:99995}.fancybox-can-zoomOut .fancybox-content{cursor:zoom-out}.fancybox-can-zoomIn .fancybox-content{cursor:zoom-in}.fancybox-can-pan .fancybox-content,.fancybox-can-swipe .fancybox-content{cursor:grab}.fancybox-is-grabbing .fancybox-content{cursor:grabbing}.fancybox-container [data-selectable=true]{cursor:text}.fancybox-image,.fancybox-spaceball{background:transparent;border:0;height:100%;left:0;margin:0;max-height:none;max-width:none;padding:0;position:absolute;top:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.fancybox-spaceball{z-index:1}.fancybox-slide--iframe .fancybox-content,.fancybox-slide--map .fancybox-content,.fancybox-slide--pdf .fancybox-content,.fancybox-slide--video .fancybox-content{height:100%;overflow:visible;padding:0;width:100%}.fancybox-slide--video .fancybox-content{background:#000}.fancybox-slide--map .fancybox-content{background:#e5e3df}.fancybox-slide--iframe .fancybox-content{background:#fff}.fancybox-iframe,.fancybox-video{background:transparent;border:0;display:block;height:100%;margin:0;overflow:hidden;padding:0;width:100%}.fancybox-iframe{left:0;position:absolute;top:0}.fancybox-error{background:#fff;cursor:default;max-width:400px;padding:40px;width:100%}.fancybox-error p{color:#444;font-size:16px;line-height:20px;margin:0;padding:0}.fancybox-button{background:rgba(30,30,30,.6);border:0;border-radius:0;box-shadow:none;cursor:pointer;display:inline-block;height:44px;margin:0;padding:10px;position:relative;transition:color .2s;vertical-align:top;visibility:inherit;width:44px}.fancybox-button,.fancybox-button:link,.fancybox-button:visited{color:#ccc}.fancybox-button:hover{color:#fff}.fancybox-button:focus{outline:none}.fancybox-button.fancybox-focus{outline:1px dotted}.fancybox-button[disabled],.fancybox-button[disabled]:hover{color:#888;cursor:default;outline:none}.fancybox-button div{height:100%}.fancybox-button svg{display:block;height:100%;overflow:visible;position:relative;width:100%}.fancybox-button svg path{fill:currentColor;stroke-width:0}.fancybox-button--fsenter svg:nth-child(2),.fancybox-button--fsexit svg:first-child,.fancybox-button--pause svg:first-child,.fancybox-button--play svg:nth-child(2){display:none}.fancybox-progress{background:#ff5268;height:2px;left:0;position:absolute;right:0;top:0;transform:scaleX(0);transform-origin:0;transition-property:transform;transition-timing-function:linear;z-index:99998}.fancybox-close-small{background:transparent;border:0;border-radius:0;color:#ccc;cursor:pointer;opacity:.8;padding:8px;position:absolute;right:-12px;top:-44px;z-index:401}.fancybox-close-small:hover{color:#fff;opacity:1}.fancybox-slide--html .fancybox-close-small{color:currentColor;padding:10px;right:0;top:0}.fancybox-slide--image.fancybox-is-scaling .fancybox-content{overflow:hidden}.fancybox-is-scaling .fancybox-close-small,.fancybox-is-zoomable.fancybox-can-pan .fancybox-close-small{display:none}.fancybox-navigation .fancybox-button{background-clip:content-box;height:100px;opacity:0;position:absolute;top:calc(50% - 50px);width:70px}.fancybox-navigation .fancybox-button div{padding:7px}.fancybox-navigation .fancybox-button--arrow_left{left:0;left:env(safe-area-inset-left);padding:31px 26px 31px 6px}.fancybox-navigation .fancybox-button--arrow_right{padding:31px 6px 31px 26px;right:0;right:env(safe-area-inset-right)}.fancybox-caption{background:linear-gradient(0deg,rgba(0,0,0,.85) 0,rgba(0,0,0,.3) 50%,rgba(0,0,0,.15) 65%,rgba(0,0,0,.075) 75.5%,rgba(0,0,0,.037) 82.85%,rgba(0,0,0,.019) 88%,transparent);bottom:0;color:#eee;font-size:14px;font-weight:400;left:0;line-height:1.5;padding:75px 44px 25px;pointer-events:none;right:0;text-align:center;z-index:99996}@supports (padding:max(0px)){.fancybox-caption{padding:75px max(44px,env(safe-area-inset-right)) max(25px,env(safe-area-inset-bottom)) max(44px,env(safe-area-inset-left))}}.fancybox-caption--separate{margin-top:-50px}.fancybox-caption__body{max-height:50vh;overflow:auto;pointer-events:all}.fancybox-caption a,.fancybox-caption a:link,.fancybox-caption a:visited{color:#ccc;text-decoration:none}.fancybox-caption a:hover{color:#fff;text-decoration:underline}.fancybox-loading{animation:a 1s linear infinite;background:transparent;border:4px solid #888;border-bottom-color:#fff;border-radius:50%;height:50px;left:50%;margin:-25px 0 0 -25px;opacity:.7;padding:0;position:absolute;top:50%;width:50px;z-index:99999}@keyframes a{to{transform:rotate(1turn)}}.fancybox-animated{transition-timing-function:cubic-bezier(0,0,.25,1)}.fancybox-fx-slide.fancybox-slide--previous{opacity:0;transform:translate3d(-100%,0,0)}.fancybox-fx-slide.fancybox-slide--next{opacity:0;transform:translate3d(100%,0,0)}.fancybox-fx-slide.fancybox-slide--current{opacity:1;transform:translateZ(0)}.fancybox-fx-fade.fancybox-slide--next,.fancybox-fx-fade.fancybox-slide--previous{opacity:0;transition-timing-function:cubic-bezier(.19,1,.22,1)}.fancybox-fx-fade.fancybox-slide--current{opacity:1}.fancybox-fx-zoom-in-out.fancybox-slide--previous{opacity:0;transform:scale3d(1.5,1.5,1.5)}.fancybox-fx-zoom-in-out.fancybox-slide--next{opacity:0;transform:scale3d(.5,.5,.5)}.fancybox-fx-zoom-in-out.fancybox-slide--current{opacity:1;transform:scaleX(1)}.fancybox-fx-rotate.fancybox-slide--previous{opacity:0;transform:rotate(-1turn)}.fancybox-fx-rotate.fancybox-slide--next{opacity:0;transform:rotate(1turn)}.fancybox-fx-rotate.fancybox-slide--current{opacity:1;transform:rotate(0deg)}.fancybox-fx-circular.fancybox-slide--previous{opacity:0;transform:scale3d(0,0,0) translate3d(-100%,0,0)}.fancybox-fx-circular.fancybox-slide--next{opacity:0;transform:scale3d(0,0,0) translate3d(100%,0,0)}.fancybox-fx-circular.fancybox-slide--current{opacity:1;transform:scaleX(1) translateZ(0)}.fancybox-fx-tube.fancybox-slide--previous{transform:translate3d(-100%,0,0) scale(.1) skew(-10deg)}.fancybox-fx-tube.fancybox-slide--next{transform:translate3d(100%,0,0) scale(.1) skew(10deg)}.fancybox-fx-tube.fancybox-slide--current{transform:translateZ(0) scale(1)}@media (max-height:576px){.fancybox-slide{padding-left:6px;padding-right:6px}.fancybox-slide--image{padding:6px 0}.fancybox-close-small{right:-6px}.fancybox-slide--image .fancybox-close-small{background:#4e4e4e;color:#f2f4f6;height:36px;opacity:1;padding:6px;right:0;top:0;width:36px}.fancybox-caption{padding-left:12px;padding-right:12px}@supports (padding:max(0px)){.fancybox-caption{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}}}.fancybox-share{background:#f4f4f4;border-radius:3px;max-width:90%;padding:30px;text-align:center}.fancybox-share h1{color:#222;font-size:35px;font-weight:700;margin:0 0 20px}.fancybox-share p{margin:0;padding:0}.fancybox-share__button{border:0;border-radius:3px;display:inline-block;font-size:14px;font-weight:700;line-height:40px;margin:0 5px 10px;min-width:130px;padding:0 15px;text-decoration:none;transition:all .2s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.fancybox-share__button:link,.fancybox-share__button:visited{color:#fff}.fancybox-share__button:hover{text-decoration:none}.fancybox-share__button--fb{background:#3b5998}.fancybox-share__button--fb:hover{background:#344e86}.fancybox-share__button--pt{background:#bd081d}.fancybox-share__button--pt:hover{background:#aa0719}.fancybox-share__button--tw{background:#1da1f2}.fancybox-share__button--tw:hover{background:#0d95e8}.fancybox-share__button svg{height:25px;margin-right:7px;position:relative;top:-1px;vertical-align:middle;width:25px}.fancybox-share__button svg path{fill:#fff}.fancybox-share__input{background:transparent;border:0;border-bottom:1px solid #d7d7d7;border-radius:0;color:#5d5b5b;font-size:14px;margin:10px 0 0;outline:none;padding:10px 15px;width:100%}.fancybox-thumbs{background:#ddd;bottom:0;display:none;margin:0;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;padding:2px 2px 4px;position:absolute;right:0;-webkit-tap-highlight-color:rgba(0,0,0,0);top:0;width:212px;z-index:99995}.fancybox-thumbs-x{overflow-x:auto;overflow-y:hidden}.fancybox-show-thumbs .fancybox-thumbs{display:block}.fancybox-show-thumbs .fancybox-inner{right:212px}.fancybox-thumbs__list{font-size:0;height:100%;list-style:none;margin:0;overflow-x:hidden;overflow-y:auto;padding:0;position:absolute;position:relative;white-space:nowrap;width:100%}.fancybox-thumbs-x .fancybox-thumbs__list{overflow:hidden}.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar{width:7px}.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-track{background:#fff;border-radius:10px;box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-thumb{background:#2a2a2a;border-radius:10px}.fancybox-thumbs__list a{-webkit-backface-visibility:hidden;backface-visibility:hidden;background-color:rgba(0,0,0,.1);background-position:50%;background-repeat:no-repeat;background-size:cover;cursor:pointer;float:left;height:75px;margin:2px;max-height:calc(100% - 8px);max-width:calc(50% - 4px);outline:none;overflow:hidden;padding:0;position:relative;-webkit-tap-highlight-color:transparent;width:100px}.fancybox-thumbs__list a:before{border:6px solid #ff5268;bottom:0;content:"";left:0;opacity:0;position:absolute;right:0;top:0;transition:all .2s cubic-bezier(.25,.46,.45,.94);z-index:99991}.fancybox-thumbs__list a:focus:before{opacity:.5}.fancybox-thumbs__list a.fancybox-thumbs-active:before{opacity:1}@media (max-width:576px){.fancybox-thumbs{width:110px}.fancybox-show-thumbs .fancybox-inner{right:110px}.fancybox-thumbs__list a{max-width:calc(100% - 10px)}}

/* === slick.css === */
/* Slider */
.slick-slider
{
    position: relative;

    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}

/* === ion-range-slider.min.css === */
.irs,.irs-line{position:relative;display:block}.irs,.irs-bar,.irs-bar-edge,.irs-line{display:block}.irs{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.irs-line{overflow:hidden;outline:0!important}.irs-line-left,.irs-line-mid,.irs-line-right{position:absolute;display:block;top:0}.irs-line-left{left:0;width:11%}.irs-line-mid{left:9%;width:82%}.irs-line-right{right:0;width:11%}.irs-bar,.irs-shadow{position:absolute;width:0;left:0}.irs-bar-edge{position:absolute;left:0}.irs-shadow{display:none}.irs-from,.irs-max,.irs-min,.irs-single,.irs-slider,.irs-to{display:block;position:absolute;cursor:default}.irs-slider{z-index:1}.irs-slider.type_last{z-index:2}.irs-min{left:0}.irs-max{right:0}.irs-from,.irs-single,.irs-to{top:0;left:0;white-space:nowrap}.irs-grid{position:absolute;display:none;bottom:0;left:0;width:100%;height:20px}.irs-with-grid .irs-grid{display:block}.irs-grid-pol{position:absolute;top:0;left:0;width:1px;height:8px}.irs-grid-pol.small{height:4px}.irs-grid-text{position:absolute;bottom:0;left:0;white-space:nowrap;text-align:center;font-size:9px;line-height:9px;padding:0 3px}.irs-disable-mask{position:absolute;display:block;top:0;left:-1%;width:102%;height:100%;cursor:default;background:rgba(0,0,0,0);z-index:2}.irs-disabled{opacity:.4}.lt-ie9 .irs-disabled{filter:alpha(opacity=40)}.irs-hidden-input{position:absolute!important;display:block!important;top:0!important;left:0!important;width:0!important;height:0!important;font-size:0!important;line-height:0!important;padding:0!important;margin:0!important;outline:0!important;z-index:-9999!important;background:0 0!important;border-style:solid!important;border-color:transparent!important}.irs-from,.irs-max,.irs-min,.irs-single,.irs-to{font-size:10px;line-height:1.333;text-shadow:none}.irs-bar,.irs-bar-edge,.irs-line-left,.irs-line-mid,.irs-line-right,.irs-slider{background:url(../images/sprite-skin-nice1.png) repeat-x}.irs{height:40px}.irs-with-grid{height:60px}.irs-line{height:8px;top:25px}.irs-line-left{height:8px;background-position:0 -30px}.irs-line-mid{height:8px;background-position:0 0}.irs-line-right{height:8px;background-position:100% -30px}.irs-bar{height:8px;top:25px;background-position:0 -60px}.irs-bar-edge{top:25px;height:8px;width:11px;background-position:0 -90px}.irs-shadow{height:1px;top:34px;background:#000;opacity:.15}.lt-ie9 .irs-shadow{filter:alpha(opacity=15)}.irs-slider{width:22px;height:22px;top:17px;background-position:0 -120px}.irs-slider.state_hover,.irs-slider:hover{background-position:0 -150px}.irs-max,.irs-min{color:#999;top:0;padding:1px 3px;background:rgba(0,0,0,.1);-moz-border-radius:3px;border-radius:3px}.lt-ie9 .irs-max,.lt-ie9 .irs-min{background:#ccc}.irs-from,.irs-single,.irs-to{color:#fff;padding:1px 5px;background:rgba(0,0,0,.3);-moz-border-radius:3px;border-radius:3px}.lt-ie9 .irs-from,.lt-ie9 .irs-single,.lt-ie9 .irs-to{background:#999}.irs-grid-pol{background:#99a4ac}.irs-grid-text{color:#99a4ac}

/* === style.css === */
/* --- @import catalog.css --- */
/* -------- fantazy__catalog -------- */
.fantazy__catalog {
    padding: 0 0 30px;
}

.fantazy__catalog-inner {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.fantazy__catalog-leftsaitbar {
    max-width: 20%;
    width: 100%;
    margin: 0 30px 0 0;
}

.fantazy__saitbar-item {
    margin: 0 0 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.fantazy__saitbar-item-title {
    background: #2c5782;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
	position: relative;
}

.fantazy__saitbar-item-title span {
	color: #2c5782;
	font-size: 12px;
}

.fantazy__saitbar-item .fantazy__saitbar-item-title::after {
    content: "\f107";
    font-family: 'icomoon';
    position: absolute;
    display: inline-block;
    line-height: 42px;
    height: 42px;
    width: 42px;
    right: 0;
    top: 0;
    text-align: center;
    font-size: 22px;
}

.fantazy__saitbar-item.active .fantazy__saitbar-item-title::after {
	transform: rotate(180deg);
}

.fantazy__saitbar-item-content {
    display: none;
	background: #fff;
    padding: 10px;
    border-top: 1px solid #ddd;
}

.fantazy__saitbar-item-price {
	padding: 10px 0 5px;
}

span.checkbox {
    position: relative;
    display: block;
    padding: 2px 0;
}

span.checkbox input[type="radio"],
span.checkbox input[type="checkbox"] {
    display: none;
}

span.checkbox input[type="radio"] + label::before,
span.checkbox input[type="checkbox"] + label::before {
    font-family: 'icomoon';
    content: "";
    line-height: 24px;
    font-size: 16px;
    position: absolute;
    border: 1px solid #bbc4c7;
    display: inline-block;
    height: 25px;
    width: 25px;
    left: 0;
    border-radius: 50%;
    transform: scale(.8);
    transition: all .2s;
}

span.checkbox input[type="radio"] + label:hover::before,
span.checkbox input[type="checkbox"] + label:hover::before {
	border: 2px solid #2c5782;
}

span.checkbox input[type="radio"]:checked + label::before,
span.checkbox input[type="checkbox"]:checked + label::before {
    content: "\f006";
}

span.checkbox input[type="radio"]:checked + label::before,
span.checkbox input[type="checkbox"]:checked + label::before {
    background: #2c5782;
    color: #fff;
    border-color: #2c5782;
    text-align: center;
}

span.checkbox label {
    /*display: flex;
	justify-content: space-between;
	align-items: center;*/
    font-size: 16px;
	color: #666;
	padding-left: 35px;
	line-height: 1.8;
	cursor: pointer;
}

span.checkbox label:hover {
	color: #2c5782;
}

span.checkbox label span {
	font-size: 12px;
}

span.color {
    width: 20px;
    height: 20px;
    display: inline-block;
    border: 1px solid gray;
    border-radius: 5px;
    vertical-align: sub;
}

.update-search {
    text-align: center;
    margin: 10px 0 0;
}

.update-search button.default-btn {
	margin: 0;
}

/* -------- fantazy__catalog-rightsaitbar -------- */
.fantazy__catalog-rightsaitbar {
    width: 100%;
    background: url('../images/main_bg.jpg') repeat top center;
}

.sort__bar-inner {
    display: flex;
    justify-content: space-between;
	align-items: center;
}

.sort__bar-item select {
    color: #666;
	background: #fff;
    padding: 5px;
    border: 1px solid #ddd;
	cursor: pointer;
}

.sort__bar-item span {
    color: #666;
    padding: 0 10px;
    font-family: "Ubuntu", sans-serif;
}

.sort__bar-item span.grid-list {
	padding: 0 0 0 5px;
}

.sort__bar-item span.grid-list a {
    background: #fff;
    color: #666;
    border-radius: 50%;
    transition: all .3s;
    width: 30px;
    height: 30px;
    line-height: 33px;
    text-align: center;
	margin: 0 0 0 5px;
}

.sort__bar-item span.grid-list a:hover {
    background: #2c5782;
    color: #fff;
    transform: scale(1.2);
}

.sort__bar-filter {
    display: none;
}

.sort__bar-filter span {
    color: #ff5740;
    cursor: pointer;
    font-size: 17px;
    transition: .3s ease-in-out;
}

.sort__bar-filter span:hover {
    color: #333;
}

.sort__bar-filter.close-filter span i::before {
    content: "\f00d";
}

.sub_title {
    margin: 20px 0;
    text-transform: uppercase;
    color: var(--menu-color-text-dark);
    font-weight: bold !important;
}

.fantazy__rightsaitbar-inner {
	display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.fantazy__rightsaitbar-item {
	position: relative;
    transition: .4s ease;
    margin: 0 0 30px;
    border: 1px solid #eee;
    border-radius: 3px;
    overflow: hidden;
}

/* fantazy__rightsaitbar-item */
.fantazy__rightsaitbar-item {
    padding: 0 10px;
}

.fantazy__products-sku {
    text-align: center;
    padding: 5px;
    background: #cbdafb;
    margin: 3px 0;
}


.fantazy__rightsaitbar-item:hover {
    /*padding: 5px;
    border-radius: 5px;*/
    border: 1px solid #999;
}


.fantazy__rightsaitbar-item a {
    display: block;
    position: relative;
    padding-bottom: 40px;
    height: 100%;
}

.fantazy__rightsaitbar-item:hover a {
    transform: scale(1.03);
}

.fantazy__rightsaitbar-img {
    position: relative;
    overflow: hidden;
}

.fantazy__rightsaitbar-img img {
    border-radius: 5px;
    max-width: 90%;
    width: 100%;
    height: 150px;
    display: block;
    object-fit: cover;
    padding: 0 5px;
    background: #fff;
    /*border: 1px solid #ccc;*/
    transition: all .2s;
}

.fantazy__rightsaitbar-img-hide {
    position: absolute;
    bottom: -100%;
    background: rgba(253, 253, 253, .7);
    width: 100%;
    padding: 17px 25px;
    transition: .4s ease;
    text-align: center;
}

.fantazy__rightsaitbar-item:hover .fantazy__rightsaitbar-img-hide {
    bottom: 0;
}

.fantazy__rightsaitbar-item .fantazy__rightsaitbar-title {
    margin: 15px 0;
    padding: 0 10px;
}

.fantazy__rightsaitbar-price {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    margin: 0 auto;
}

.fantazy__rightsaitbar-item .fantazy__rightsaitbar-price span.price {
    margin: 0;
}
.fantazy__rightsaitbar-title h4 {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 5px;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.fantazy__rightsaitbar-item:hover .fantazy__rightsaitbar-title h4 {
    color: #213f5e;
}

.fantazy__rightsaitbar-title span {
    color: #999;
    margin: 0 0 10px;
    display: inline-block;
}

.fantazy__rightsaitbar-price-favorites {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.fantazy__rightsaitbar-price span.price {
    font-size: 20px;
    font-weight: 500;
}

.fantazy__rightsaitbar-price span.price-old {
    margin: 0 0 0 3px;
    text-decoration: line-through;
    color: #999;
}

.fantazy__rightsaitbar-favorites {
    position: absolute;
    right: 6px;
    bottom: 0;
    cursor: pointer;
    transition: .4s;
}

.fantazy__rightsaitbar-item:hover .fantazy__rightsaitbar-favorites {
    bottom: 10px;
}

.fantazy__rightsaitbar-favorites p {
    font-size: 17px;
}

.fantazy__rightsaitbar-favorites.active p span::before {
    content: "\f004";
}

/* -------- pagination -------- */
.pagination ul {
    display: flex;
    margin: 20px 0 0;
    align-items: center;
    justify-content: center;
	position: relative;
}

.pagination ul li a {
    color: #fff;
    background: #2c5782;
    margin: 0 3px;
    padding: 7px 13px;
    border-radius: 2px;
    font-size: 16px;
    transition: all .3s;
}

.pagination ul li a:hover {
	background: #213f5e;
}

.pagination ul li a.active {
	background: #213f5e;
	cursor: default;
}

.pagination ul li a.prev:hover,
.pagination ul li a.next:hover {
	transform: scale(1.1);
}

/*--- Бренды ---*/
.fantazy__catalog-brand {
    margin: 0 0 35px 0;
}

.fantazy__catalog-brand-img img {
    max-width: 100%;
    width: 120px;
    height: 55px;
    display: block;
    object-fit: cover;
    padding: 0 5px;
    background: #fff;
    border: 1px solid #ccc;
    transition: all .2s;
}

/*--- Левый фильтр ---*/
.fantazy__category-leftsaitbar-item {
    margin: 0 0 10px;
}

.fantazy__category-leftsaitbar-item .default-btn-reset {
    width: 100%;
    text-align: center;
    margin: 0 0 10px;
}

.fantazy__category-leftsaitbar-item-title {
    background: #eee;
    padding: 10px;
    margin: 0 0 10px;
    cursor: pointer;
    font-size: 14px;
    color: #213f5e;
    font-weight: 500;
    position: relative;
}


.fantazy__category-leftsaitbar-item-price {
    padding: 10px 0 5px;
}

.filter-left-item .fantazy__category-leftsaitbar-item-title::after, .fantazy__category-leftsaitbar-item .fantazy__category-leftsaitbar-item-title-price::after {
    content: "\f107";
    font-family: 'icomoon';
    position: absolute;
    display: inline-block;
    line-height: 40px;
    height: 40px;
    width: 40px;
    right: -5px;
    top: -9px;
    text-align: center;
    font-size: 18px;
}

.fantazy__category-leftsaitbar-item-content {
    display: none;
    background: #fff;
    padding: 10px;
    border-top: 1px solid #ddd;
    max-height: 350px;
    overflow-y: scroll;
    padding: 0 20px;
}

/* Стили для счетчика товаров в категориях */
.fantazy__category-products-count {
    margin-top: 8px;
}

.products-count-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: lowercase;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.fantazy__rightsaitbar-title span {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: antiquewhite !important;
    font-style: normal !important;
}



/* --- @import product.css --- */
/* -------- fantazy-breadcrumb -------- */
.fantazy-breadcrumb {
    padding: 0;
    margin: 12px 0;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    top: 15px;
    position: relative;
}

.fantazy-breadcrumb a {
    font-size: 14px;
    color: #333;
}

.fantazy-breadcrumb a:hover {
    color: #213f5e;
}

.fantazy-breadcrumb span.delimiter {
    color: #999;
    margin: 0 5px;
}

.fantazy-breadcrumb span {
    font-size: 14px;
    color: #213f5e;
}

.fantazy-breadcrumb a span {
    font-size: 14px;
    color: #000;
}

/* -------- product__wrapper -------- */
.fantazy__product-wrapper {
    display: flex;
}

.fantazy__product-slaider-inner {
    max-width: 715px;
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    gap: 0 15px;
    align-items: flex-start;
}

.slider-for {
    margin: 0 0 20px 0;
    max-width: 600px;
    width: 100%;
}

.slider-for-item img {
    max-width: 570px;
    width: 100%;
}

.slider-nav {
    max-width: 100px;
    width: 100%;
}

.slider-nav-item {
    margin: 0 0 10px;
}

.slider-for-item a {
    display: block !important;
    cursor: zoom-in;
}

.slider-nav-item img {
    max-width: 100px;
    width: 100%;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
}

.slider-nav-item.slick-current img {
    border: 1px solid #ccc;
}

.slider-nav .slick-btn {
    position: absolute;
    bottom: 0;
    border: none;
    cursor: pointer;
    outline: none;
    z-index: 10;
}

.slider-nav .slick-next,
.slider-nav:hover .slick-next,
.slider-nav .slick-prev,
.slider-nav:hover .slick-prev,
.slider-nav .slick-btn:hover::before {
    transition: .5s ease;
}

.slider-nav .slick-next {
    right: 0;
    left: 55px;
    margin: 0 auto;
}

.slider-nav .slick-prev {
    left: 0;
    right: 55px;
    margin: 0 auto;
}

.slider-nav .slick-btn::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'icomoon';
    color: #fff;
    font-size: 35px;
    background: #ff5740;
    line-height: 35px;
    width: 38px;
    height: 38px;
}

.slider-nav .slick-btn:hover::before {
    color: #333;
    background: #fff;
}

.slider-nav .slick-next::before {
    content: "\f105";
}

.slider-nav .slick-prev::before {
    content: "\f104";
}

/* -------- fantazy__product-single-desc -------- */
.fantazy__product-single-desc {
    width: 100%;
}

.fantazy__product-single-desc h3 {
    font-size: 21px;
    color: ;
    font-weight: 400;
    margin: 0 0 12px;
}

.sku {
    color: #555;
    /* background: #f90; */
    width: 50%;
    font-size: 20px;
    padding: 5px 0;
}

p.fantazy__product-info {
    margin: 0;
    color: #555;
    font-size: 14px;
}

p.fantazy__product-info strong {
    font-weight: 600;
    color: #333;
}

p.fantazy__product-info a {
    margin: 0 0 0 15px;
}

p.fantazy__product-info a:hover {
    color: #213f5e;
}

.fantazy__product-price {
    margin: 20px 0;
    font-size: 30px;
    background: yellow;
    padding: 5px 10px;
    width: max-content;
    font-weight: 500;
}

.fantazy__product-price-question {
    display: flex;
    position: relative;
}

.fantazy__product-price-question span.price {
    font-size: 35px;
    font-weight: 500;
    margin: 0 10px 0;
    font-family: "Ubuntu", sans-serif;
}

.fantazy__product-price-question span.old-price {
    text-decoration: line-through;
}

.fantazy__product-price-question {
    margin: 0 0 0 10px;
}

.fantazy__product-price-question:hover + .fantazy__product-price-options {
    visibility: visible;
    opacity: 1
}

.fantazy__product-price-options {
    position: absolute;
    z-index: 1;
    bottom: calc(100% + 2px);
    left: calc(38% + 20px);
    display: grid;
    visibility: hidden;
    padding: 15px 20px;
    transition: opacity .25s, visibility .25s;
    opacity: 0;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 0 3px #dddee6;
    grid-template-columns: 113px 1fr;
    gap: 16px 8px;
}

.fantazy__product-price-options-text {
    font-size: 16px;
    color: #555;
}

.fantazy__product-price-options-price {
    font-size: 20px;
    font-weight: 500;
}

.fantazy__product-colors {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 10px 0 0;
}

.fantazy__product-colors-inner {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
}

.fantazy__product-colors-item img {
    height: 115px;
    object-fit: cover;
}

.fantazy__product-colors-btn a {
    font-size: 15px;
    color: #777;
}

.fantazy__product-colors-btn a:hover {
    color: #213f5e;
}

.fantazy__product-availability {
    margin: 15px 0 0;
}

.fantazy__product-availability-title h3 {
    font-size: 23px;
}

.fantazy__product-availability-shop-item {
    color: #555;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: space-between;
    margin: 0 0 10px;
}

.fantazy__product-availability-shop-item h4 {
    font-size: 17px;
}

.fantazy__product-availability-shop-item p {
    font-size: 15px;
}

.fantazy__product-choice {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin: 20px 0 15px;
}

.fantazy__product-choice-item {
    width: 50%;
}

.choice-color {
    position: relative;
}

.choice-color h4 {
    font-size: 18px;
    color: #333;
    margin: 0 0 10px;
}

.choice-color select {
    width: 100%;
    padding: 13px 10px 15px;
    background-color: #213f5e;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 3px;
    font-size: 16px;
    appearance: none;
}

.choice-color::after {
    content: "";
    border-style: solid;
    border-width: 6px 5px 0 5px;
    border-color: #fff transparent transparent transparent;
    position: absolute;
    top: 52px;
    right: 10px;
}

.fantazy__product-choice-item .quantity h4 {
    font-size: 18px;
    color: #333;
    margin: 0 0 10px;
}

.fantazy__product-choice-item .counter-tovara {
    width: 100%;
    justify-content: space-between;
}

.fantazy__product-choice-item .counter-tovara span {
    background: #eee;
}

.fantazy__product-add-cart {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.fantazy__product-add-cart-btn {
    width: 85%;
    flex: 1;
}

.fantazy__product-add-cart-btn button {
    width: 100%;
}

.redo {
    color: yellowgreen;
    font-size: 18px
}

.default-btn {
    background: #213f5e;
    color: #fff;
    text-transform: uppercase;
    padding: 15px;
    cursor: pointer;
    transition: all .5s;
    border: 1px solid transparent;
}

.default-btn:hover {
    background: #000;
    color: #fff;
}

.fantazy__product-add-cart-favorite {
    width: 15%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
}

.fantazy__product-add-cart-favorite.active span::before {
    content: "\f004";
}

/* -------- fantazy__product-characteristics -------- */
.fantazy__product-characteristics {
    display: grid;
    grid-template-columns: 1fr 278px;
    gap: 15px;
    margin: 40px 0;
}

.fantazy__product-characteristics-inner {
    min-height: 395px;
    border-bottom: 1px solid #999;
}

.fantazy__product-characteristics-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.fantazy__product-characteristics-tabs a {
    font-size: 15px;
    color: #545454;
    border-bottom: 1px solid #999;
    position: relative;
    padding: 8px 0;
    cursor: pointer;
    text-align: center;
}

.fantazy__product-characteristics-tabs a:hover {
    color: #545454;
}

.fantazy__product-characteristics-tabs a.active {
    font-weight: 600;
}

.fantazy__product-characteristics-tabs a.active::before,
.fantazy__product-characteristics-tabs a:hover::before {
    position: absolute;
    right: 0;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    content: '';
    border-radius: 2px;
    background: #545454;
}

.fantazy__product-characteristics-info {
    display: none;
    padding: 30px 0;
    height: 350px;
    overflow-y: auto;
}

.fantazy__product-characteristics-desc {
    color: #545454;
}

.fantazy__product-characteristics-desc h3 {
    font-size: 20px;
    margin: 0 0 10px;
    font-weight: normal;
}

.fantazy__product-characteristics-desc p {
    font-size: 16px;
}

.fantazy__product-characteristics-desc p + p {
    margin: 5px 0 0;
}

.fantazy__product-characteristics-question {
    display: flex;
    padding: 24px;
    border-radius: 6px;
    background: #f1eef1;
    align-items: center;
    flex-direction: column;
    max-width: 278px;
    justify-content: center;
    margin: 40px 0 0;
}

.fantazy__product-characteristics-question p {
    font-size: 23px;
    color: #545454;
    margin: 0 0 20px;
    text-align: center;
}

.fantazy__product-characteristics-question-icon {
    display: flex;
    gap: 15px;
}

.fantazy__product-characteristics-question-icon a {
    background: #000;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fantazy__product-characteristics-question-icon a:hover {
    background: #213f5e;
}

/* -------- fantazy__product-related-products -------- */
.fantazy__product-related-products {
    padding: 0 0 30px;
}

.fantazy__product-related-products-title {
    display: flex;
    align-items: baseline;
    gap: 40px;
    margin: 0 0 30px;
}

.fantazy__product-related-products-title h3 {
    font-size: 35px;
    font-weight: 500;
}

.fantazy__product-related-products-title a {
    font-size: 18px;
}

.fantazy__product-related-products-title a:hover {
    color: #213f5e;
}

.fantazy__product-slider {
    margin: 0 -10px;
    padding: 0 0 85px;
}

.fantazy__product-slider-item {
    position: relative;
    transition: .4s ease;
    margin: 0 10px;
}

.fantazy__product-slider-item:hover {
    padding: 5px;
    border: 1px solid #999;
    border-radius: 5px;
}

.fantazy__product-slider-item a {
    display: block;
}

.fantazy__product-slider-img {
    position: relative;
    overflow: hidden;
}

.fantazy__product-slider-img img {
    border-radius: 5px;
}

.fantazy__product-slider-img-hide {
    position: absolute;
    bottom: -100%;
    background: rgba(253, 253, 253, .7);
    width: 100%;
    padding: 17px 25px;
    transition: .4s ease;
    text-align: center;
}

.fantazy__product-slider-item:hover .fantazy__product-slider-img-hide {
    bottom: 0;
}

.fantazy__product-slider-title {
    margin: 15px 0 0;
}

.fantazy__product-slider-title h4 {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 5px;
}

.fantazy__product-slider-title span {
    color: #999;
    margin: 0 0 10px;
    display: inline-block;
}

.fantazy__product-slider-price-favorites {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.fantazy__product-slider-price span.price {
    font-size: 20px;
    font-weight: 500;
}

.fantazy__product-slider-price span.price-old {
    margin: 0 0 0 3px;
    text-decoration: line-through;
    color: #999;
}

.fantazy__product-slider-favorites {
    position: absolute;
    right: 6px;
    bottom: 0;
    cursor: pointer;
    transition: .4s;
}

.fantazy__product-slider-item:hover .fantazy__product-slider-favorites {
    bottom: 10px;
}

.fantazy__product-slider-favorites p {
    font-size: 17px;
}

.fantazy__product-slider-favorites.active p span::before {
    content: "\f004";
}

.fantazy__product-slider .slick-btn {
    position: absolute;
    bottom: 20px;
    border: none;
    cursor: pointer;
    outline: none;
    z-index: 10;
}

.fantazy__product-slider .slick-next,
.fantazy__product-slider:hover .slick-next,
.fantazy__product-slider .slick-prev,
.fantazy__product-slider:hover .slick-prev,
.fantazy__product-slider .slick-btn:hover::before {
    transition: .5s ease;
}

.fantazy__product-slider .slick-next {
    left: 50px;
    right: 0;
    margin: 0 auto;
}

.fantazy__product-slider .slick-prev {
    left: 0;
    right: 50px;
    margin: 0 auto;
}

.fantazy__product-slider .slick-btn::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'icomoon';
    color: #fff;
    font-size: 35px;
    background: #213f5e;
    line-height: 35px;
    width: 40px;
    height: 40px;
    /*border: 1px solid #fff;
    border-radius: 50%;*/
}

.fantazy__product-slider .slick-btn:hover::before {
    background: #fff;
    color: #000;
}

.fantazy__product-slider .slick-next::before {
    content: "\f105";
}

.fantazy__product-slider .slick-prev::before {
    content: "\f104";
}

/* Компактные стили для карточки товара */

.product-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

/* Компактный блок артикула и цены */
.product-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9ff;
    border-radius: 8px;
    border-left: 3px solid #667eea;
    margin: 0 0 20px 0;
}

.product-sku {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sku-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.sku-value {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #f90;
    padding: 4px 8px;
    font-family: 'Courier New', monospace;
}

.product-price {
    text-align: right;
}

.price-current {
    font-size: 24px;
    font-weight: 700;
    color: #2c5aa0;
    font-family: 'Ubuntu', sans-serif;
}

.price-old {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    margin-right: 8px;
}

.price-with-discount {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.discount-badge {
    background: #ff6b6b;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
}

.price-unit {
    font-size: 12px;
    color: #666;
    display: block;
    margin-top: 2px;
}

.price-request {
    font-size: 18px;
    color: #e67e22;
    font-weight: 600;
}

/* Компактная таблица характеристик */
.product-characteristics-compact {
    margin: 10px 0;
    background: #fff;
    /* border: 1px solid #e9ecef; */
    overflow: hidden;
}

.characteristics-title {
    background: #667eea;
    color: white;
    margin: 0;
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
}

.characteristics-table {
    /* padding: 15px; */
}

.char-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.char-row:last-child {
    border-bottom: none;
}

.char-row.availability {
    background: #f0fff4;
    padding: 8px 10px;
    border-radius: 4px;
    border-bottom: none;
    margin-top: 5px;
}

.char-name {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.char-value {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    text-align: right;
}

.char-value.available {
    color: #28a745;
    font-weight: 700;
}

.btn-show-all-compact {
    width: 100%;
    background: #f8f9fa;
    border: none;
    border-top: 1px solid #e9ecef;
    padding: 10px;
    color: #667eea;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-show-all-compact:hover {
    background: #667eea;
    color: white;
}

/* Компактные действия */
.product-actions-compact {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.btn-action {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #e9ecef;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-action:hover {
    border-color: #667eea;
    color: #667eea;
    background: #f8f9ff;
}

.btn-action i {
    font-size: 14px;
}

.btn-action span {
    font-size: 12px;
}

/* Убираем дублирование цены в mod_prod_calc.php */
.fantazy__product-price,
.fantazy__product-price-question {
    display: none !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .product-header-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .product-price {
        text-align: center;
    }

    .price-with-discount {
        justify-content: center;
    }

    .characteristics-table {
        padding: 10px;
    }

    .char-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .char-value {
        text-align: left;
    }

    .product-actions-compact {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 20px;
    }

    .price-current {
        font-size: 20px;
    }

    .product-header-info {
        padding: 12px;
    }

    .characteristics-title {
        font-size: 14px;
        padding: 10px 12px;
    }
}

/* --------Стиль для ссылок (Макс)---------- */
.fantazy__header-center-links {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #333;
}

.fantazy__prod-center-links a {
    text-decoration: none;
    color: #fff;
    /* transition: background 0.3s ease; */
    transition: background 0.5s ease, color 0.5s ease;
    margin: 0;
    padding: 5px;
    border-radius: 5px;
    background: linear-gradient(to right, #007bff 0%, #0056b3 100%);
    font-size: 12px;
}

.fantazy__prod-center-links a:hover {
    background: linear-gradient(to left, #007bff 0%, #0056b3 100%);
    color: #e0e0e0;
}

.fantazy__prod-center-links a:active {
    background: #0056b3;
}

.fantazy__prod-center-links a:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5);
}

.fantazy__prod-center-links {
    display: flex;
    gap: 5px;
    align-items: center;
}

/* ---------- Стили для скидок(Макс) ----------- */
.price_inf_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    padding: 5px;
}

.price_inf_wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-current_max {
    color: #d9534f;
    font-family: 'Ubuntu', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.discount-badge_max {
    background: transparent;
    color: black;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
}

.golden_price {
    background-color: #e2b137;
    padding: 5px;
    border-radius: 10px;
}

/* --- @import product_calc.css --- */
/* --------  -------- */
.product__sku-wrapper {
    display: flex;
    gap: 20px;
}

.fantazy__product-article-num {
    max-width: 300px;
    width: 100%;
}

.product__order {
    width: 100%;
    border: 1px dotted #ccc;
    padding: 10px;
    border-radius: 2px;
    background: #f8f8f8;
}

.product__order-availability {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 15px;
}

.product-availability p {
    border-radius: 2px;
    text-transform: uppercase;
    padding: 5px 10px;
    font-weight: 600;
    font-size: 10px;
    background: yellowgreen;
    color: #fff;
}

.product__order-summ p {
    font-size: 30px;
    margin: 10px 0 15px;
    font-weight: 500;
    background: yellow;
    padding: 5px;
}

.product__order-price p {
    font-size: 22px;
    margin: 0 0 15px;
    font-weight: 500;
}

.product__order-count {
    margin: 0 0 15px;
}

.product__order-summ {
    display: flex;
}

.product__order-btn {
    margin: 20px 0;
}

.product__order-btn button.default-btn {
    width: auto;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin: 0 0 0 auto;
}

.product__order-delivery::before {
    content: '\f0d1';
    font-family: icomoon;
    position: absolute;
    left: 0;
    top: 0;
    color: #f90;
    transform: rotateY(180deg);
}

.product__order-delivery {
    position: relative;
    padding: 0 0 0 22px;
    margin: 0 0 15px;
}

.product__order-delivery p {
    font-size: 13px;
    margin: 0 0 3px;
    position: relative;
    cursor: default;
}

.product__order-delivery p span.bold {
    font-weight: 600;
}

.product__order-delivery p span.popup-hide {
    display: none;
}

.product__order-delivery a {
    font-size: 12px;
    border-bottom: 1px solid #000;
}

/* Базовые стили калькулятора товара */
.product-calculator {
    background: #fff;
    /*
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    */
    margin: 10px 0;
}

/* Информация о наличии */
.stock-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 14px;
}

.stock-info.in-stock {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.stock-info.out-of-stock {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Динамическая система скидок */
.dynamic-discount-system {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 16px 16px 5px;
    /* margin: 15px 0; */
    position: relative;
    overflow: hidden;
}

.dynamic-discount-system::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/></svg>');
    opacity: 0.3;
    animation: discountFloat 20s infinite linear;
}

@keyframes discountFloat {
    0% { transform: translateX(-10px) translateY(-10px); }
    50% { transform: translateX(10px) translateY(10px); }
    100% { transform: translateX(-10px) translateY(-10px); }
}

.discount-title {
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.discount-progress-container {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    height: 6px;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.discount-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border-radius: 20px;
    width: 0%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.discount-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: discountShimmer 2s infinite;
}

@keyframes discountShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.discount-levels-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.discount-level-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.discount-level-item.active {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.discount-level-item.unlocked {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.9), rgba(16, 185, 129, 0.9));
    border-color: rgba(255, 255, 255, 1);
    animation: discountCelebrate 0.6s ease-out;
}

@keyframes discountCelebrate {
    0% { transform: scale(1); }
    50% { transform: scale(1.05) rotateZ(1deg); }
    100% { transform: scale(1.02); }
}

.discount-level-text {
    color: white;
    font-weight: 500;
    font-size: 13px;
}

.discount-level-badge {
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.discount-level-item.active .discount-level-badge {
    background: white;
    color: #22c55e;
    animation: discountPulse 1s infinite;
}

@keyframes discountPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.discount-motivation {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    margin-top: 5px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.discount-motivation.show {
    opacity: 1;
    transform: translateY(0);
}

/* Секция количества */
.quantity-section {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.quantity-section label {
    display: block;
    margin: 10px 0 1px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    max-width: 140px;
    margin-bottom: 5px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover:not(:disabled) {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.qty-btn.minus {
    border-radius: 6px 0 0 6px;
}

.qty-btn.plus {
    border-radius: 0 6px 6px 0;
}

.qty-input {
    width: 68px;
    height: 36px;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    -moz-appearance: textfield
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.qty-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.quantity-info {
    color: #666;
    font-size: 12px;
    margin-top: 5px;
}

/* Информация об экономии */
.savings-info {
    background: #e8f5e8;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    padding: 12px;
    margin: 10px 0;
    text-align: center;
}

.current-savings {
    font-size: 16px;
    font-weight: 600;
    color: #22c55e;
    margin-bottom: 4px;
}

.next-discount-info {
    font-size: 15px;
    color: #667eea;
}

/* Разбивка цены */
.price-breakdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
}

.original-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.discount-amount {
    font-size: 14px;
    color: #22c55e;
    font-weight: 600;
}

/* Итоговая сумма */
.total-section {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-end;
}

.total-display {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9ff;
    border-radius: 6px;
    border: 1px solid #e1e5e9;
}

.total-label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.total-amount {
    font-size: 22px;
    color: #2c5aa0;
    font-weight: 700;
    font-family: 'Ubuntu', sans-serif;
}

.total-amount.discounted {
    color: #22c55e !important;
}

/* Кнопки действий */
.cart-actions,
.out-of-stock-actions,
.price-request-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-add-cart,
.btn-buy-one-click,
.btn-notify,
.btn-ask-price,
.btn-request-price {
    /*flex: 1;*/
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-add-cart {
    background: #28a745;
    color: white;
}

.btn-add-cart:hover {
    background: #218838;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-buy-one-click {
    background: #667eea;
    color: white;
}

.btn-buy-one-click:hover {
    background: #5a67d8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-notify,
.btn-ask-price,
.btn-request-price {
    background: #6c757d;
    color: white;
}

.btn-notify:hover,
.btn-ask-price:hover,
.btn-request-price:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* Адаптивность */
@media (max-width: 480px) {
    .cart-actions,
    .out-of-stock-actions,
    .price-request-actions {
        flex-direction: column;
    }

    .quantity-controls {
        max-width: 120px;
    }

    .qty-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .qty-input {
        width: 56px;
        height: 32px;
        font-size: 14px;
    }

    .total-amount {
        font-size: 18px;
    }

    .dynamic-discount-system {
        padding: 12px;
        margin: 10px 0;
    }

    .discount-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .discount-level-item {
        padding: 6px 10px;
    }

    .discount-level-text {
        font-size: 12px;
    }

    .discount-level-badge {
        padding: 3px 6px;
        font-size: 10px;
    }
}








html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    display: inline-block;
    color: inherit;
    transition: .3s ease;
}

ul,
li {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    width: 100%;
    display: block;
}

button {
    border: none;
    background: transparent;
    cursor: pointer;
}

body {
    font-family: "Cantarell", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    color: #2d2d2d;
    /*background: #e2f5fd;*/
    background: #fff;
    /* background: linear-gradient(180deg, #ffffff, #9fdef9, #9fdef9); */
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

/* -------- header -------- */
.fantazy__header {
    position: fixed;
    top: 0;
    z-index: 12;
    width: 100%;
    background: #fff;
}

.fantazy__header-top {
    border-bottom: 1px solid #e8e8e8;
    font-size: 12px;
    color: #333;
    font-weight: 500;
}

.fantazy__header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    height: 40px;
    position: relative;
}

.fantazy__header-top-address {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
}

.fantazy__header-top-address-item {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

.address-city {
    cursor: pointer;
}

.address-hide {
    display: none;
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    padding: 10px;
    width: max-content;
    justify-content: flex-start;
    align-items: center;
    z-index: 99;
    background-color: #fff;
    border: 1px solid #e8e8e8;
    border-top: 0;
    line-height: 1.3;
}

.fantazy__header-top-address-item:hover .address-hide {
    display: flex;
}

.fantazy__header-top-address::before,
.fantazy__header-top-email::before,
.fantazy__header-top-login::before {
    font-family: "icomoon";
    font-size: 20px;
    color: #ff5740;
}

.fantazy__header-top-address::before {
    content: "\f041";
}

.fantazy__header-top-email {
    display: flex;
    align-items: center;
    gap: 5px;
}

.fantazy__header-top-email::before {
    content: "\f003";
    font-size: 15px;
}

.fantazy__header-top-login {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    /*padding: 10px;*/
}

.fantazy__header-top-login:hover {
    color: #ff5740;
    background: #f4f5f7;
}

.fantazy__header-top-login::before {
    content: "\ea14";
    font-size: 16px;
}

.fantazy__header-top-mobile,
.fantazy__header-top-mobile.fantazy__header-top-mobile-phone {
    display: none;
}

.fantazy__header-top-login.expanded::before {
    content: "\f00d";
    height: 20px;
}

.fantazy-login__wrapper {
    display: none;
    position: absolute;
    background: #f8f8f8;
    border: 1px solid #ccc;
    max-width: 320px;
    width: 320px;
    right: 0;
    padding: 15px;
    z-index: 9999;
    top: 40px;
}

form.sign-in h4 {
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 500;
    color: #666;
    margin: 0 0 15px;
    text-align: center;
}

.form_login-item {
    position: relative;
}

.form_login-item span.icon-eye {
    position: absolute;
    right: 12px;
    top: 13px;
    cursor: pointer;
    font-size: 16px;
}

.form_login-item span.icon-eye.view::before {
    content: "\f070";
}

.default-input {
    width: 100%;
    padding: 12px 18px;
    font-size: 14px;
    color: #555;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 1.5px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    margin: 0 0 20px;
}

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

.default-input:focus {
    border-color: #ffd200;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(255, 210, 0, .6);
    outline: 0;
}

form.sign-in a {
    color: #3a3d45;
    transition: all .3s;
    padding: 5px 0;
    display: block;
}

form.sign-in a:hover {
    color: #ff5740;
}

form.sign-in button {
    width: 100%;
    margin: 15px 0 0;
    cursor: pointer;
    letter-spacing: 2px;
}

form.sign-in button span {
    vertical-align: middle;
}

.logout-item {
    margin: 0 0 8px;
}

.logout-item p,
.logout-item a {
    font-size: 14px;
    padding: 0 0 0 22px;
    line-height: 1.2;
    position: relative;
}

.logout-item a:hover {
    color: #b2b2b2;
}

.logout-item p::before,
.logout-item a::before {
    content: '';
    font-family: 'icomoon';
    position: absolute;
    top: 0;
    left: 0;
    color: #b2b2b2;
}

.logout-item p.fio::before {
    content: '\f2c0';
}

.logout-item p.org::before {
    content: '\f0b1';
}

.logout-item a.orders::before {
    content: '\f0cb';
}

.logout-item a.account::before {
    content: '\f007';
}

.logout-item a.settings::before {
    content: '\f013';
}

.logout-item-btn a {
    display: block;
    margin: 15px 0 0;
    color: #000;
    text-align: center;
    letter-spacing: 2px;
}

.logout-item-btn a span {
    vertical-align: middle;
}


/* -------- fantazy__header-center -------- */
.fantazy__header-center {
    border-bottom: 1px solid #e8e8e8;
    padding: 5px 0;
    background: url('../images/main_bg.jpg') repeat-x top center;
}

.fantazy__header-center-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.fantazy__header-center-logo {
    flex: 0 0 auto;
}

.fantazy__header-center-logo a {
    display: flex;
    align-items: center;
    gap: 15px;
}

.fantazy__header-center-logo img {
    width: 45px;
}

.fantazy__header-center-logo span.logo_text {
    font-size: 20px;
    font-weight: 400;
    color: #555;
}

.fantazy__header-center-slogan {
    width: 100%;
    font-size: 14px;
    line-height: 18px;
    color: #444;
    padding-left: 20px;
    border-left: 1px solid #e8e8e8;
}

.fantazy__header-center-search {
    max-width: 360px;
    width: 100%;
    flex: 1 1 auto;
}

.form-search {
    border: 1px solid #e8e8e8;
    height: 36px;
    border-radius: 3px;
    color: #c2c2c2;
    background: #f0f0f0;
    position: relative;
}

.form-search input {
    border: 0;
    padding: 0 12px;
    outline: none;
    height: 100%;
    width: 100%;
    font-size: 13px;
    background: transparent;
    color: #333;
}

.form-search button {
    cursor: pointer;
    margin: 2px;
    border: none;
    width: 30px;
    height: 30px;
    outline: none;
    position: absolute;
    right: 0;
}

.form-search button::before {
    content: "\f002";
    font-family: "icomoon";
    color: #ff5740;
    font-size: 15px;
    transition: .3s ease;
}

.form-search button:hover::before {
    color: #333;
}

.fantazy__header-center-phone-inner {
    text-align: right;
    max-width: 280px;
    width: 100%;
}

.fantazy__header-center-phone a {
    font-size: 16px;
    font-weight: 700;
    font-family: "Ubuntu", sans-serif;
}

.fantazy__header-center-phone a:hover {
    color: #ff5740;
}

.fantazy__header-center-links a {
    font-size: 13px;
    border-bottom: 1px dashed #2d2d2d;
}

.fantazy__header-center-links a:hover {
    color: #ff5740;
}

.fantazy__header-center-time {
    font-size: 13px;
    color: #333;
}

.fantazy__header-center-icons ul {
    display: flex;
    gap: 20px;
}

.fantazy__header-center-icons li.icon-search__mobile {
    display: none;
}

.fantazy__header-center-icons ul li a {
    font-size: 22px;
    color: #ff5740;
    cursor: pointer;
    outline: none;
}

.fantazy__header-center-icons ul li a:hover {
    color: #333;
}

/* ========================================
   УЛУЧШЕННОЕ МЕНЮ НАВИГАЦИИ - ФАНТАЗИЯ
   ======================================== */

/* ====== CSS ПЕРЕМЕННЫЕ ====== */
:root {
    --menu-gradient-primary: linear-gradient(135deg, #fff8e1 0%, #b3e5fc 100%);
    --menu-gradient-dark: linear-gradient(135deg, #1565c0, #0d47a1);
    --menu-color-accent: #ffc107;
    --menu-color-accent-hover: #81c784;
    --menu-color-text: #1565c0;
    --menu-color-text-dark: #0d47a1;
    --menu-shadow-light: rgba(33, 150, 243, 0.15);
    --menu-shadow-medium: rgba(13, 71, 161, 0.25);
    --menu-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --menu-border-radius: 8px;
    --menu-border-radius-small: 6px;
}

/* ====== ОСНОВНОЙ КОНТЕЙНЕР МЕНЮ ====== */
.fantazy__header-menu-inner {
    padding: 6px 0 !important;
    background:
            url('../images/stitches-pattern.jpg') repeat-x center,
            linear-gradient(135deg, #fff8e1 0%, #b3e5fc 100%) !important;
    background-size: auto 100%, cover !important;
    box-shadow: 0 4px 12px var(--menu-shadow-light) !important;
    position: relative;
    overflow: hidden;
}

/* Декоративная линия сверху */
/* Объемные швейные стежки * /
.fantazy__header-menu-inner::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 0;
    right: 0;
    height: 4px;
    background:#3a3d45;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(220, 238, 238, 0.3);
    z-index: 1;
}
*/

/* Анимированный фоновый паттерн */
.fantazy__header-menu-inner::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="80" cy="70" r="1" fill="rgba(255,255,255,0.06)"/><circle cx="30" cy="80" r="1.2" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
    animation: menuFloat 20s infinite linear;
    pointer-events: none;
}

@keyframes menuFloat {
    0% { transform: translateX(-10px) translateY(-10px); }
    50% { transform: translateX(10px) translateY(10px); }
    100% { transform: translateX(-10px) translateY(-10px); }
}

/* ====== СТАРЫЕ СТИЛИ МЕНЮ (ОБНОВЛЕННЫЕ) ====== */
.fantazy__header-menu {
    display: flex;
    position: relative;
}

.fantazy__header-menu > li {
    width: auto;
    height: 50px;
    flex-grow: 1;
    color: #333;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.fantazy__header-menu > li:last-of-type {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.fantazy__header-menu > li:first-of-type {
    padding-left: 30px;
}

.fantazy__header-menu > li:first-of-type:before {
    content: "\f0c9";
    position: absolute;
    left: 20px;
    font-family: "FontAwesome";
    font-size: 16px;
    height: 100%;
    display: flex;
    align-items: center;
}

.fantazy__header-menu > li.pleasure > a:before {
    content: "\f79c";
    position: relative;
    top: -3px;
    font-family: "FontAwesome";
    font-size: 22px;
    height: 100%;
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.fantazy__header-menu > li.pleasure > a, .fantazy__header-menu > li.blackfriday > a {
    background: #fff;
    color: cornflowerblue;
}

.fantazy__header-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0 5px;
}

.fantazy__header-menu > li > ul {
    display: none;
}

.fantazy__header-menu > li:hover {
    background-color: rgba(255,255,255,.4);
}

.fantazy__header-menu > li:hover > ul {
    box-shadow: 0 4px 20px 0 rgba(0,0,0,.2);
    background: #fff;
    padding: 15px 30px 30px 30px;
    justify-content: flex-start;
    flex-wrap: wrap;
    color: #000;
    position: absolute;
    left: 0;
    top: 50px;
    width: 100%;
    max-height: 60vh;
    overflow-y: auto;
    z-index: 9;
}

.fantazy__header-menu > li:hover > ul > li {
    min-width: 25%;
    padding: 20px;
    padding: 15px 15px 10px 0;
    font-weight: 500;
    float:left;
}

.fantazy__header-menu > li:nth-of-type(1):hover > ul > li,
.fantazy__header-menu > li:nth-of-type(2):hover > ul > li {
    padding-right: 0;
    width: 25%;
}

.fantazy__header-menu > li:hover > ul {
    display: flex;
    justify-content: space-evenly;
}

.fantazy__header-menu > li:nth-of-type(1):hover > ul,
.fantazy__header-menu > li:nth-of-type(2):hover > ul {
    display: block;
}

.fantazy__header-menu > li > ul > li:hover > a,
.fantazy__header-menu > li > ul > li > ul > li:hover > a ,
.fantazy__header-menu > li > ul > li > ul > li > ul > li:hover > a{
    color: #ff5740;
}

.fantazy__header-menu > li:hover > ul > li > ul {
    margin: 10px 0 0;
}

.fantazy__header-menu > li:hover > ul > li > ul > li {
    font-weight: normal;
    margin: 0;
    color: #656565;
    font-size: 12px;
    line-height: 2;
}

.fantazy__header-menu > li:hover > ul > li > ul > li > ul {
    margin: 0 0 0 10px;
}

.fantazy__header-menu > li:hover > ul > li > ul > li > ul > li {
    font-weight: normal;
    margin: 0;
    color: #777;
    font-size: 12px;
    line-height: 2;
}

li.menu-item.red {
    color: #c65252;
    font-size: 16px;
    font-weight: normal;
}

li.menu-item.red.normal {
    font-size: 14px;
}

li.menu-item.menu-item__mobile {
    display: none;
}

.menu-item.menu-item__mobile-phone {
    display: none;
}

/* ====== НОВЫЕ СТИЛИ ДЛЯ НИЖНЕГО МЕНЮ ====== */
.header-bottom__inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 30px !important;
    padding: 0 !important;
    position: relative;
    z-index: 2;
}

.header-bottom__item {
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    gap: 20px !important;
}

/* ====== КНОПКА КАТАЛОГА ====== */
.header-bottom__item button,
.header-bottom__item .catalog-toggle {
    background: var(--menu-gradient-dark) !important;
    color: white !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: var(--menu-border-radius) !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: var(--menu-transition) !important;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px var(--menu-shadow-medium) !important;
    z-index: 3;
}

/* Эффект блика на кнопке каталога */
.header-bottom__item button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.header-bottom__item button:hover::before {
    left: 100%;
}

.header-bottom__item button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(13, 71, 161, 0.3) !important;
    background: linear-gradient(135deg, #0d47a1, #1565c0) !important;
}

/* Иконка каталога */
.header-bottom__item button i,
.header-bottom__item button .icon-bars::before {
    font-size: 16px !important;
    transition: transform 0.3s ease !important;
}

.header-bottom__item button:hover i,
.header-bottom__item button:hover .icon-bars::before {
    transform: rotate(90deg) !important;
}

/* ====== НАВИГАЦИОННОЕ МЕНЮ ====== */
.header-bottom__menu {
    position: relative;
}

.header-bottom__menu ul {
    display: flex !important;
    list-style: none !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center;
}

.header-bottom__menu li {
    position: relative;
    animation: menuSlideIn 0.6s ease forwards;
}

/* Каскадная анимация появления */
.header-bottom__menu li:nth-child(1) { animation-delay: 0.1s; }
.header-bottom__menu li:nth-child(2) { animation-delay: 0.2s; }
.header-bottom__menu li:nth-child(3) { animation-delay: 0.3s; }
.header-bottom__menu li:nth-child(4) { animation-delay: 0.4s; }
.header-bottom__menu li:nth-child(5) { animation-delay: 0.5s; }
.header-bottom__menu li:nth-child(6) { animation-delay: 0.6s; }

@keyframes menuSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== ССЫЛКИ МЕНЮ ====== */
.header-bottom__menu li a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 16px !important;
    color: var(--menu-color-text) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    border-radius: var(--menu-border-radius-small) !important;
    transition: var(--menu-transition) !important;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(33, 150, 243, 0.2) !important;
}

/* Эффект заливки при наведении */
.header-bottom__menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(129, 199, 132, 0.3), rgba(255, 193, 7, 0.2));
    transition: width 0.4s ease;
    z-index: -1;
}

.header-bottom__menu li a:hover::before {
    width: 100%;
}

.header-bottom__menu li a:hover,
.header-bottom__menu li:hover {
    color: var(--menu-color-text-dark) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2) !important;
    background: rgba(255, 255, 255, 0.9) !important;
}

/* ====== ИКОНКИ В МЕНЮ ====== */
.header-bottom__menu li span[class*="icon-"]::before,
.header-bottom__menu li .icon-shield::before,
.header-bottom__menu li .icon-object-group::before,
.header-bottom__menu li .icon-refresh::before,
.header-bottom__menu li .icon-truck::before,
.header-bottom__menu li .icon-user::before {
    font-size: 16px !important;
    color: #0f4ea8;
    transition: all 0.3s ease !important;
    margin-right: 8px !important;
    opacity: 1 !important;
}

.header-bottom__menu li a:hover span[class*="icon-"]::before,
.header-bottom__menu li a:hover .icon-shield::before,
.header-bottom__menu li a:hover .icon-object-group::before,
.header-bottom__menu li a:hover .icon-refresh::before,
.header-bottom__menu li a:hover .icon-truck::before,
.header-bottom__menu li a:hover .icon-user::before {
    transform: scale(1.1) !important;
    color: var(--menu-color-accent-hover) !important;
    opacity: 1 !important;
}

/* ====== МОБИЛЬНЫЕ ЭЛЕМЕНТЫ ====== */
.fantazy__header-top-mobile {
    display: none;
}

.fantazy__header-top-mobile-phone {
    display: none !important;
}

.menu-item__mobile {
    display: none !important;
}

.menu-item.menu-item__mobile-phone {
    display: none !important;
}

/* ====== ГЛАВНАЯ СТРАНИЦА ====== */
.fantazy__main {
    padding-top: 157px;
}

/* ====== КАТАЛОГ МЕНЮ (ВЫПАДАЮЩЕЕ) ====== */
.menu-catalog {
    display: none;
    position: absolute;
    right: 0;
    left: 0;
    z-index: 2;
    width: 100%;
}

.menu-catalog::before {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    top: 0;
    background: linear-gradient(180deg, hsla(0, 0%, 77%, .5), hsla(0, 0%, 77%, 0));
    height: 6px;
}

.menu-catalog__wrapper {
    background: linear-gradient(90deg, #eee 33%, #fff 67%);
}

.menu-catalog__inner {
    display: flex;
    position: relative;
    padding: 6px 0 0;
}

.menu-catalog__close {
    position: absolute;
    right: 1px;
    top: 5px;
    background: #ccc;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.menu-catalog__list {
    max-width: 280px;
    width: 100%;
}

.menu-catalog__list ul {
    margin: 0 0 0;
}

.menu-catalog__list ul li:hover,
.menu-catalog__list ul li.active {
    color: #f90;
    background: #fff;
}

.menu-catalog__list ul li {
    color: #212c56;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    min-height: 40px;
    cursor: pointer;
    transition: .3s all ease-in;
}

.spisok__list_span {
    font-family: "Ubuntu", sans-serif;
}

.menu-catalog__desc {
    background: #fff;
    flex: 1 1 auto;
    padding: 25px 0 20px 50px;
}

.menu-catalog__hide {
    display: none;
}

.menu-catalog__desc h3 {
    color: #212c56;
    font-size: 26px;
    line-height: 1;
    margin: 0 0 20px;
    font-weight: 500;
}

.catalog-desc__btn a::after {
    content: '';
    border: 5px solid transparent;
    border-left-color: transparent;
    border-left-color: #fff;
    margin-left: 8px;
    display: inline-block;
}

.catalog-desc__btn a {
    background: #212c56;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    padding: 12px;
}

.catalog-desc__inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    grid-gap: 10px;
}

.catalog-desc__item ul:last-child {
    margin-right: 0;
}

.catalog-desc__item ul:first-child {
    margin-left: 0;
}

.catalog-desc__item ul {
    max-height: 300px;
    overflow-y: auto;
    padding: 0;
    box-sizing: border-box;
    cursor: pointer;
    padding: 10px;
    border: 1px solid #ccc;
}

.catalog-desc__item ul li+li {
    margin: 10px 0 0;
}

.li_param {
    display: none;
}

.spisok__list a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-catalog__list ul li img {
    max-width: 40px;
}

/* -------- section__slider -------- */
.slaider-item {
    height: 600px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slaider-content {
    height: 100%;
    max-width: 1230px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slaider-title {
    margin: 0 0 20px;
}

.slaider-title h2 {
    font-size: 40px;
    font-weight: 300;
    color: #444;
    background-color: #ffd200;
    padding: 8px 20px;
    display: inline-block;
    text-transform: uppercase;
}

.slaider-desc span {
    color: #fff;
    font-size: 17px;
    padding: 8px 20px;
    display: inline-block;
    background-color: rgba(0,40,70,.7);
    font-family: "Ubuntu", sans-serif;
}

.slaider-desc span.span_bold {
    font-weight: bold;
}

.slaider-desc span ul {
    display: flex;
    gap: 10px;
    margin: 14px 0 8px;
}

.slaider-desc span ul li a i {
    font-size: 18px;
    padding: 8px;
    border-radius: 50%;
}

.slaider-desc span ul li a i.icon-paper-plane {
    background-color: #0088cc;
}

.slaider-desc span ul li a i.icon-vk {
    background-color: #5a7fa6;
}

.slaider-btn {
    margin: 40px 0 0;
}

.default_btn {
    background: #ff5740;
    color: #fff;
    padding: 12px 20px;
    transition: .3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.default_btn:hover {
    background: #fff;
    color: #000;
}

.slaider-inner .slick-btn {
    position: absolute;
    top: 50%;
    transform: translatey(-50%);
    border: none;
    cursor: pointer;
    outline: none;
    z-index: 10;
}

.slaider-inner .slick-next,
.slaider-inner:hover .slick-next,
.slaider-inner .slick-prev,
.slaider-inner:hover .slick-prev,
.slaider-inner .slick-btn:hover::before {
    transition: .5s ease;
}

.slaider-inner .slick-next {
    right: 50px;
}

.slaider-inner .slick-prev {
    left: 50px;
}

.slaider-inner .slick-btn::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'icomoon';
    color: #fff;
    font-size: 35px;
    padding: 0 10px;
    background: #ff5740;
    line-height: 35px;
    width: 40px;
    height: 40px;
}

.slaider-inner .slick-btn:hover::before {
    background: #fff;
    color: #000;
}

.slaider-inner .slick-next::before {
    content: "\f105";
}

.slaider-inner .slick-prev::before {
    content: "\f104";
}

.slaider-inner .slaider-dots {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 15px;
    right: 0;
    left: 0;
}

.slaider-inner .slaider-dots li {
    margin: 0 5px;
}

.slaider-inner .slaider-dots li.slick-active button {
    background: #ff5740;
}

.slaider-inner .slaider-dots button {
    font-size: 0;
    width: 25px;
    height: 25px;
    border: 2px solid #fff;
    cursor: pointer;
}

.slaider-inner .slaider-dots button:hover {
    background: #ff5740;
}

.form-email {
    background-color: rgba(0,0,0,.5);
    padding: 15px 20px 20px;
}

.form-email input {
    background: #f6f6f6;
    border: 1px solid #efefef;
    padding: 8px 13px;
    max-width: 400px;
    width: 100%;
    outline: none;
    margin: 0 0 10px;
}

.checkbox {
    text-align: left;
}

input.checkbox__choice {
    width: 17px;
    height: 17px;
    position: absolute;
    opacity: 0;
}

.checkbox__label {
    display: block;
    cursor: pointer;
    position: relative;
    padding: 0 0 0 25px;
    line-height: 20px;
    color: #777;
    font-size: .875rem;
}

.slaider-desc span.checkbox__label {
    background: transparent;
    font-size: 14px;
}

.checkbox__label a {
    color: #ff5740;
    text-decoration: underline;
}

.checkbox__label a:hover {
    text-decoration: underline;
}

.form-email .checkbox__label::before {
    top: 9px;
}

.checkbox__choice:checked + .checkbox__label::before {
    background-color: #ff5740;
}

.checkbox__choice:checked + .checkbox__label {
    opacity: 1;
}

.form-email button {
    margin: 10px 0 0;
    transition: .3s ease;
}

.slaider-content__right {
    text-align: right;
}

/* -------- fantazy__advantages -------- */
.fantazy__advantages {
    padding: 50px 0;
}

.fantazy__advantages-inner {
    display: flex;
    gap: 20px;
}

.fantazy__advantages-item {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 20%;
}

.fantazy__advantages-item a {
    display: flex;
    align-items: center;
    gap: 20px;
}

.fantazy__advantages-item a:hover {
    color: #d5beb9;
}

.fantazy__advantages-item img {
    width: 40px;
    height: 40px;
}

/* -------- fantazy__actual -------- */
.fantazy__section {
    padding: 0 0 50px;
}

.fantazy__actual-inner {
    display: flex;
    gap: 15px;
}

.fantazy__actual-item {
    width: 25%;
}

.fantazy__actual-img a {
    display: block;
}

.fantazy__actual-content {
    transition: top .5s linear;
    padding: 10px;
    text-align: center;
    position: relative;
    top: 0;
}

.fantazy__actual-content a {
    font-size: 15px;
    font-weight: bold;
}

.fantazy__actual-content a:hover {
    color: #ff5740;
}

.fantazy__actual-item:hover .fantazy__actual-content {
    top: -50%;
    background-color: rgba(255,255,255,.8);
}

/* -------- fantazy__fabric-products -------- */
.heading {
    text-align: center;
    margin: 0 0 30px;
}

.heading h2 {
    font-weight: bold;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 400;
}

.heading h2 a {
    font-weight: 400;
    font-size: 24px;
    text-transform: uppercase;
    color: #333;
}

.heading h2 a:hover {
    color: #ff5740;
}

.fantazy__fabric-products-inner {
    display: flex;
    padding: 0 0 35px;
    margin: 0 -8px;
}

.fantazy__fabric-products-item {
    width: 25%;
    position: relative;
    margin: 0 8px;
}

.fantazy__fabric-products-mini {
    display: none;
    position: absolute;
    bottom: 0;
    padding: 10px 0 0;
    width: 100%;
    background-color: rgba(255,255,255,0.9);
}

.fantazy__fabric-products-item:hover .fantazy__fabric-products-mini {
    display: block;
}

.fantazy__fabric-products-mini ul {
    display: flex;
    align-items: center;
    gap: 15px;
    overflow-x: auto;
    padding: 0 12px;
}

.fantazy__fabric-products-mini ul li a img {
    border-radius: 50%;
    height: 50px;
    min-width: 50px;
    max-width: 50px;
}

.fantazy__fabric-products-inner .slaider-dots {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
}

.fantazy__fabric-products-inner .slaider-dots li {
    margin: 0 5px;
}

.fantazy__fabric-products-inner .slaider-dots li.slick-active button {
    background: #ff5740;
}

.fantazy__fabric-products-inner .slaider-dots button {
    font-size: 0;
    width: 25px;
    height: 25px;
    border: 2px solid #fff;
    cursor: pointer;
}

.fantazy__fabric-products-inner .slaider-dots button:hover {
    background: #ff5740;
}

/* -------- fantazy__general-slider -------- */
.fantazy__general-slider {
    padding: 0 0 50px;
}

.fantazy__sub-slider-block {
    position: relative;
}

.fantazy__sub-slider-img img {
    height: 300px;
    object-fit: cover;
}

.fantazy__sub-slider-title h3 {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #fff;
    padding: 5px 7px;
    cursor: pointer;
    max-width: calc(100% - 40px);
    width: 100%;
    text-align: center;
    font-weight: 300;
}

.fantazy__sub-slider-item:hover .fantazy__sub-slider-title h3 {
    color: #ff5740;
}

.fantazy__sub-slider-price span {
    position: absolute;
    top: 75px;
    left: 20px;
    background-color: #ffd300;
    padding: 7px 15px;
    font-weight: 500;
    font-size: 18px;
    font-family: "Ubuntu", sans-serif;
}

.fantazy__sub-slider-block-hide {
    display: none;
    position: absolute;
    bottom: 3px;
    width: 100%;
    left: 0;
    right: 0;
}

.fantazy__general-slider-item:hover .fantazy__sub-slider-block-hide {
    display: block;
}

.fantazy__sub-slider-block-hide > p {
    color: #777;
    font-size: 13px;
    background: #fff;
    border-radius: 5px;
    padding: 5px 7px;
    margin: 0 0 15px 20px;
    max-width: max-content;
}

.fantazy__sub-slider-block-hide > p a {
    cursor: pointer;
    color: #2d2d2d;
    font-size: 10px;
    background: rgba(200,200,200,0.3);
    padding: 2px 4px;
    border-radius: 5px;
    margin-left: 2px;
}

.fantazy__sub-slider-block-hide > p a:hover {
    color: #c65252;
}

.quantity__counter {
    display: flex;
}

.counter-tovara {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, .3);
}

.counter-tovara span {
    user-select: none;
    cursor: pointer;
    display: inline-block;
    width: 45px;
    height: 45px;
    text-align: center;
    font-size: 23px;
    line-height: 40px;
    color: #848484;
    font-weight: bold;
}

.counter-tovara span:hover {
    color: #000;
}

.counter-tovara input {
    width: 50px;
    border: none;
    color: #848484;
    font-weight: 700;
    text-align: center;
    background: transparent;
}

.counter-tovara-btn {
    width: 50%;
}

.counter-tovara-btn button {
    background: #ff5740;
    color: #fff;
    width: 100%;
    padding: 15px 0;
}

.fantazy__sub-slider .slick-btn {
    position: absolute;
    top: 50%;
    transform: translatey(-50%);
    border: none;
    cursor: pointer;
    outline: none;
    z-index: 10;
}

.fantazy__sub-slider .slick-next,
.fantazy__sub-slider:hover .slick-next,
.fantazy__sub-slider .slick-prev,
.fantazy__sub-slider:hover .slick-prev,
.fantazy__sub-slider .slick-btn:hover::before {
    transition: .5s ease;
}

.fantazy__sub-slider .slick-next {
    right: 25px;
}

.fantazy__sub-slider .slick-prev {
    left: 25px;
}

.fantazy__sub-slider .slick-btn::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'icomoon';
    color: #fff;
    font-size: 35px;
    background: #ff5740;
    line-height: 35px;
    width: 38px;
    height: 38px;
}

.fantazy__sub-slider .slick-btn:hover::before {
    background: #fff;
    color: #000;
}

.fantazy__sub-slider .slick-next::before {
    content: "\f105";
}

.fantazy__sub-slider .slick-prev::before {
    content: "\f104";
}

.fantazy__general-slider .slaider-dots {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 15px;
    right: 0;
    left: 0;
}

.fantazy__general-slider .slaider-dots li {
    margin: 0 5px;
}

.fantazy__general-slider .slaider-dots li.slick-active button {
    background: #ff5740;
}

.fantazy__general-slider .slaider-dots button {
    font-size: 0;
    width: 25px;
    height: 25px;
    border: 2px solid #ff5740;
    cursor: pointer;
}

.fantazy__general-slider .slaider-dots button:hover {
    background: #ff5740;
}

/* -------- fantazy__capsules -------- */
.fantazy__capsules-inner {
    display: flex;
    padding: 0 0 50px;
    margin: 0 -8px;
}

.fantazy__capsules-item {
    width: 25%;
    position: relative;
    margin: 0 8px;
}

.fantazy__capsules-mini {
    position: absolute;
    bottom: 0;
    padding: 10px 0 0;
    width: 100%;
    background-color: rgba(255,255,255,0.9);
}

.fantazy__capsules-mini ul {
    display: flex;
    align-items: center;
    gap: 15px;
    overflow-x: auto;
    padding: 0 12px;
}

.fantazy__capsules-mini ul li a img {
    border-radius: 50%;
    height: 50px;
    min-width: 50px;
    max-width: 50px;
}

.fantazy__capsules-inner .slaider-dots {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 10px;
    right: 0;
    left: 0;
}

.fantazy__capsules-inner .slaider-dots li {
    margin: 0 5px;
}

.fantazy__capsules-inner .slaider-dots li.slick-active button {
    background: #ff5740;
}

.fantazy__capsules-inner .slaider-dots button {
    font-size: 0;
    width: 25px;
    height: 25px;
    border: 2px solid #ccc;
    cursor: pointer;
}

.fantazy__capsules-inner .slaider-dots button:hover {
    background: #ff5740;
}

/* -------- fantazy__news -------- */
.fantazy__news {
    background: #f8f9fb;
    padding: 40px 0;
}

.fantazy__news-inner {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.fantazy__news-item {
    width: 31%;
}

.fantazy__news-block {
    display: flex;
    gap: 15px;
}

.fantazy__news-img {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    height: 150px;
    border-radius: 3px;
    opacity: 1;
    transition: .4s;
}

.fantazy__news-item:hover .fantazy__news-img {
    opacity: .5;
}

.fantazy__news-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fantazy__news-info h3 {
    font-size: 16px;
    color: #353639;
    line-height: 1.2;
    font-weight: bold;
    transition: .4s;
}

.fantazy__news-item:hover .fantazy__news-info h3 {
    color: #ff5740;
}

.fantazy__news-info span {
    font-size: 13px;
    color: #898989;
}

/* -------- fantazy__faq -------- */
.fantazy__faq {
    padding: 40px 0;
    background: rgba(194, 161, 153, 0.9);
    color: #fff;
}

.fantazy__faq-item + .fantazy__faq-item {
    margin: 15px 0 0;
}

.fantazy__faq-item-title h4 {
    position: relative;
    padding: 0 0 0 20px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
}

.fantazy__faq-item-title h4::before {
    content: "\f0da";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: "FontAwesome";
    font-size: 16px;
}

.fantazy__faq-item.active .fantazy__faq-item-title h4::before {
    content: "\f0d7";
}

.fantazy__faq-item-content {
    display: none;
    padding: 20px;
    margin: 10px 0 0;
    background: #fff;
    border-radius: 10px;
    color: #2d2d2d;
    font-size: 15px;
}

/* -------- fantazy__services -------- */
.fantazy__services {
    padding: 40px 0;
}

.fantazy__services-inner {
    display: flex;
    gap: 5px;
}

.fantazy__services-item {
    color: #2d2d2d;
    background: #f1f1f1;
    padding: 30px;
    width: 25%;
    position: relative;
    transition: .4s;
    z-index: 1;
}

.fantazy__services-item:hover {
    color: #fff;
}

.fantazy__services-hide {
    background: #ff5740;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 100%;
    z-index: -1;
    opacity: 0;
    transition: .4s;
}

.fantazy__services-item:hover .fantazy__services-hide {
    bottom: 0;
    opacity: 1;
}

.fantazy__services-item h3 {
    font-size: 18px;
    margin: 0 0 20px;
    overflow: hidden;
    max-height: 45px;
}

.fantazy__services-item p {
    font-size: 14px;
    margin: 0 0 20px;
}

.fantazy__services-item a {
    color: #ff5740;
    font-weight: bold;
    font-size: 15px;
    position: absolute;
    bottom: 20px;
}

.fantazy__services-item:hover a {
    color: #fff;
}

/* -------- fantazy__reviews -------- */
.fantazy__reviews {
    background: #f8f9fb;
    padding: 40px 0;
}

.fantazy__reviews-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.fantazy__reviews-item {
    color: #515151;
    position: relative;
    padding: 40px 10px 40px 80px;
    border: 1px solid #f1f1f1;
    background: #fff;
    border-radius: 7px;
    max-width: 550px;
    transition: .3s ease;
    margin: 0 0 0 60px;
}

.fantazy__reviews-item:hover {
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.2);
}

.fantazy__reviews-item h4 {
    position: relative;
    padding: 0 0 15px;
    margin: 0 0 15px;
}

.fantazy__reviews-item h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #ff5740;

}

.fantazy__reviews-item h4 a:hover {
    color: #ff5740;
}

.fantazy__reviews-img {
    position: absolute;
    min-width: 120px;
    max-width: 120px;
    width: 100%;
    height: auto;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
}

.fantazy__reviews-img img {
    border-radius: 50%;
}

.fantazy__reviews-date {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #777;
    font-family: "Ubuntu", sans-serif;
}

.fantazy__reviews-allbtn {
    text-align: right;
    margin: 15px 0 0;
}

/* -------- fantazy__aboutstore -------- */
.fantazy__aboutstore {
    padding: 50px 0;
}

.fantazy__aboutstore-inner {
    display: flex;
    gap: 30px;
}

.fantazy__aboutstore-img {
    max-width: 380px;
    width: 100%;
}

.fantazy__aboutstore-info h3 {
    font-size: 24px;
    margin: 0 0 15px;
}

.fantazy__aboutstore-info p {
    margin: 0 0 25px;
    line-height: 1.5;
}

/* -------- fantazy__map -------- */
.fantazy__map {
    padding: 0;
}

.fantazy__map-inner {
    position: relative;
}

.fantazy__map-box iframe {
    width: 100%;
    height: 600px;
    border: 0;
    display: block;
}

.fantazy__map-contacts {
    position: absolute;
    top: 40px;
    background: rgba(255,255,255,.7);
    max-width: 330px;
    height: calc(100% - 40px);
    padding: 30px;
}

.fantazy__map-contacts h4 {
    font-size: 24px;
    font-weight: bold;
    color: #1d1d1d;
    margin-bottom: 5px;
}

.fantazy__map-contacts-item + .fantazy__map-contacts-item {
    margin: 20px 0 0;
}

.fantazy__map-contacts-item h5 {
    color: #6a696e;
    font-size: 18px;
    margin: 0 0 8px;
    font-weight: bold;
}

.fantazy__map-contacts-item p {
    font-size: 16px;
    font-family: "Ubuntu", sans-serif;
}

.fantazy__map-contacts-item p a:hover {
    color: #ff5740;
}

/* -------- fantazy__consultation -------- */
.fantazy__consultation {
    background:
            url("../images/main_bg.png"),
            var(--menu-gradient-primary) !important;
    background-blend-mode: overlay;
    padding: 40px 0;
}

.fantazy__consultation-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    background-image: url("../images/question.png");
    background-repeat: no-repeat;
    background-position: left 100px center;
    background-size: auto;
    height: 143px;
    color: #fff;
}

.fantazy__consultation-info-faq {
    margin: 0 30px;
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
}

.fantazy__consultation-info-faq h5 {
    font-size: 22px;
    margin: 0 30px;
    font-weight: bold;
}

.fantazy__consultation-info-desc p {
    font-size: 15px;
    font-weight: 500;
}

.fantazy__consultation-link {
    flex: 0 0 auto;
}

.fantazy__consultation-link a {
    border: 1px solid #fff;
}

/* -------- fantazy__footer -------- */
.fantazy__footer {
    /*background: #2b2f32;*/
    color: #fff;
    padding: 30px 0;
    background: url('../images/bg_footer.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.fantazy__footer-top-inner {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 0 0 25px;
}

.fantazy__footer-top-item a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fantazy__footer-top-item img {
    max-width: 40px;
}

.fantazy__footer-menu-inner {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.fantazy__footer-menu {
    max-width: 500px;
    width: 100%;
    display: flex;
    gap: 20px;
}

.fantazy__footer-menu-item {
    width: 33.33%;
}

.fantazy__footer-menu-item h4 {
    font-size: 17px;
    margin: 0 0 10px;
}

.fantazy__footer-menu-item ul li {
    line-height: 1.2;
}

.fantazy__footer-menu-item ul li + li {
    margin: 10px 0 0;
}

.fantazy__footer-menu-item ul li a {
    /*color: #777e89;*/
    color: #fff;
}

.fantazy__footer-menu-item ul li a:hover {
    color: #ff5740;
}

.fantazy__footer-subscribe {
    max-width: 260px;
    width: 100%;
}

.fantazy__footer-subscribe h4 {
    font-weight: normal;
    font-size: 14px;
    margin: 0 0 10px;
}

.form_subscribe input {
    background: #f6f6f6;
    border: 1px solid #efefef;
    border-radius: 3px;
    padding: 8px 12px;
    width: 100%;
    outline: none;
    margin: 0 0 10px;
}

.form_subscribe p {
    font-size: 13px;
    margin: 0 0 20px;
    font-family: "Ubuntu", sans-serif;
}

.form_subscribe button {
    color: #ff5740;
    background: #fff;
    width: 100%;
    padding: 10px;
    border-radius: 3px;
    transition: .3s ease;
}

.form_subscribe button:hover {
    color: #fff;
    background: #ff5740;
}

.fantazy__footer-contacts {
    max-width: 410px;
    width: 100%;
}

.fantazy__footer-contacts .form-search {
    border: none;
    margin: 0 0 20px;
    background: #414447;
    border-radius: 3px;
    display: flex;
}

.fantazy__footer-contacts .form-search input {
    color: #fff;
    padding: 0 40px 0 12px;
}

.fantazy__footer-contacts .form-search button::before {
    color: #fff;
}

.fantazy__footer-contacts-inner {
    display: flex;
    gap: 20px;
}

.fantazy__footer-contacts-item {
    width: 50%;
}

.contacts__block-item {
    margin: 0 0 12px;
}

.contacts__block-item p {
    font-size: 16px;
    display: flex;
    font-family: "Ubuntu", sans-serif;
}

.contacts__block-item p + p {
    margin: 15px 0 0;
}

.contacts__block-item p a {
    font-size: 18px;
    font-weight: bold;
}

.contacts__block-item p a:hover {
    text-decoration: underline;
}

.contacts__block-item p span::before {
    display: inline-block;
    width: 18px;
    text-align: center;
    margin: 0 8px 0 0;
    font-size: 18px;
}

.contacts__block-item-btn a {
    width: 100%;
    background: #ff5740;
    padding: 12px 7px;
    border-radius: 3px;
}

.contacts__block-item-btn a:hover {
    background: #fff;
    color: #000;
}

.fantazy__footer-basement {
    border-top: 1px solid #777e89;
    margin: 30px 0 0;
    padding: 30px 0 0;
}

.fantazy__footer-basement p {
    font-size: 13px;
    color: #777e89;
}

/* -------- modal__communication -------- */
.modal__communication {
    display: none;
    max-width: 400px;
    width: 100%;
    cursor: auto !important;
    padding: 10px 10px 20px;
    background: #ffff;
    border: 3px solid #ff5740;
    border-radius: 5px;
}

.communication {
    text-align: center;
}

.communication h3 {
    color: #333;
    font-size: 30px;
    font-weight: 500;
    margin: 15px 0;
}

.communication-item {
    position: relative;
    margin: 0 0 15px;
}

.communication-item span {
    position: absolute;
    top: 10px;
    left: 14px;
    font-size: 22px;
    color: #777;
}

.communication-item input,
.communication-item textarea {
    padding: 12px 10px 12px 40px;
    width: 100%;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 5px;
}

.communication-item input:focus,
.communication-item textarea:focus {
    border: 1px solid #ff5740;
    outline: none;
}

.modal__communication .fancybox-close-small {
    color: #ff5740;
    padding: 0;
    border: 1px solid #ff5740;
    border-radius: 0 5px 0 0;
    opacity: 1;
    width: 30px;
    height: 30px;
    transition: all .3s ease;
}

.modal__communication .fancybox-close-small:hover {
    color: #333;
    border: 1px solid #333;
}

.form__checkbox {
    margin: 0 0 20px;
}

.checkbox {
    text-align: left;
}

input.checkbox__choice {
    width: 17px;
    height: 17px;
    position: absolute;
    opacity: 0;
}

.checkbox__label {
    display: block;
    cursor: pointer;
    position: relative;
    padding: 0 0 0 25px;
    line-height: 18px;
    color: #333;
    font-size: 13px;
}

.checkbox__label a {
    color: #ff5740;
}

.checkbox__label a:hover {
    text-decoration: underline;
}

.checkbox__label::before {
    border: 2px solid #ff5740;
    border-radius: 3px;
    content: '';
    position: absolute;
    top: 1px;
    left: 0;
    width: 17px;
    height: 17px;
}

.checkbox__choice:checked + .checkbox__label::before {
    background-color: #ff5740;
}

.checkbox__choice:checked + .checkbox__label {
    opacity: 1;
}

.communication button {
    border: 1px solid #ff5740;
}

body.compensate-for-scrollbar {
    overflow: auto !important;
    margin: 0;
}

/* -------- Меню для мобил -------- */
.header__btn-menu {
    display: none;
    width: 28px;
    height: 20px;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
    flex: 0 0 auto;
}

.header__btn-menu span {
    position: absolute;
    width: 100%;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
    height: 3px;
    background-color: #333;
}

.header__btn-menu span:nth-child(1) {
    top: 0px;
}

.header__btn-menu span:nth-child(2),
.header__btn-menu span:nth-child(3) {
    top: 8px;
}

.header__btn-menu span:nth-child(4) {
    top: 16px;
}

.header__btn-menu.close-menu span:nth-child(1) {
    top: 8px;
    width: 0%;
    left: 50%;
}

.header__btn-menu.close-menu span:nth-child(2) {
    transform: rotate(45deg);
}

.header__btn-menu.close-menu span:nth-child(3) {
    transform: rotate(-45deg);
}

.header__btn-menu.close-menu span:nth-child(4) {
    top: 8px;
    width: 0%;
    left: 50%;
}

.fantazy__catalog-brand-inner {
    display: flex;
    gap: 5px;
}

/* -------- Бренды -------- */
h1 {
    text-align: center;
}

.fantazy__articles-brands-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 0 0 40px;
}

.fantazy__articles-brands-item {
    background-color: #f9f9f9;
    border: 2px solid transparent;
    border-radius: 2px;
    padding: 10px;
    text-align: center;
    transition: border 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(25% - 20px);
    max-width: 150px;
}

.fantazy__articles-brands-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 8px;
}

.fantazy-cat-brands__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 0 0 40px;
}

.fantazy-cat-brands__item {
    background-color: #ffffff;
    border: 2px solid #dddddd;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 15px 40px;
    text-align: center;
    flex: 1 1 calc(25% - 20px);
    max-width: 190px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.fantazy-cat-brands__img img {
    max-width: 100%;
    height: auto;
}

.fantazy-cat-brands__desc {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
}

.fantazy-cat-brands__desc h3 {
    margin-top: 12px;
    font-size: 1.2em;
}

/* -------- articles -------- */
.articles-info {
    margin: 0 0 30px;
}

.articles-info h3 {
    margin: 0 0 5px;
}

.articles-info p {
    line-height: 1.3;
    margin: 0 0 5px;
}

.articles-info p a {
    color: #ff5740;
}

.articles-info p a:hover {
    text-decoration: underline;
}

.articles-info ul li {
    margin: 0 0 5px;
}

/* -------- contacts -------- */
.contacts-inner {
    display: flex;
    margin: 0 0 30px;
}

.contacts-item.one {
    width: 37.5%;
}

.contacts-item.two {
    width: 22%;
}

.contacts-item.three {
    border-left: 1px solid #ccc;
    padding: 0 0 0 50px;
    flex-grow: 1;
}

.contacts-item__info {
    margin: 0 0 35px;
}

.contacts-item__info h3 {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 20px;
    letter-spacing: .04em;
}

.contacts-item__info ul {
    margin: 0 0 20px;
}

.contacts-item__info ul li {
    margin: 20px 0 0;
    display: flex;
}

.contacts-item__info ul li span {
    color: #ff5740;
    margin: 0 8px 0 0;
    font-size: 17px;
}

.contacts-item__info ul li a {
    border-bottom: 1px dashed #222;
    padding: 0 0 3px;
    color: #222;
}

.contacts-item__info ul li a:hover {
    color: #ff5740;
}

.contacts-item__info a.form-btn {
    border: 1px solid #ccc;
    padding: 15px 30px;
}

.contacts-item__info a.form-btn:hover {
    color: #fff;
    background: #ff5740;
}

.contacts-item.three ul li a.all-salon {
    color: #777;
}

.contacts-item.three ul li a.all-salon:hover {
    color: #ff5740;
}

.contacts-details {
    display: flex;
    gap: 50px;
    margin: 0 0 30px;
}

.contacts-details__item h3 {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 10px;
    letter-spacing: .04em;
}

.contacts-details__item ul li a {
    color: #fff;
    background: #00aced;
    padding: 10px;
    font-size: 17px;
    border-radius: 50%;
}

.contacts-details__item ul li a:hover {
    color: #333;
}

.contacts-details__item p {
    text-transform: uppercase;
    margin: 7px 0 0;
}

.contacts-map {
    margin: 0 0 30px;
}

.contacts-map iframe {
    width: 100%;
    height: 500px;
    border: 0;
    display: block;
}

/* -------- Корзина ------- */
.header-basket__icon {
    display: flex;
    gap: 10px;
}
.header-basket__icon p {
    font-size: 10px;
}

/* ========================================
   АДАПТИВНОСТЬ ДЛЯ УЛУЧШЕННОГО МЕНЮ
   ======================================== */

/* Большие экраны (до 1200px) */
@media (max-width: 1200px) {
    .header-bottom__menu ul {
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    .header-bottom__menu li a {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }

    .header-bottom__item button {
        padding: 10px 16px !important;
        font-size: 13px !important;
    }

    .header-bottom__inner {
        gap: 15px !important;
    }
}

/* Планшеты (до 992px) */
@media (max-width: 992px) {
    .header-bottom__inner {
        flex-direction: column !important;
        gap: 12px !important;
        padding: 8px 20px !important;
    }

    .fantazy__header-top-mobile {
        display: block !important;
    }

    .header-bottom__item {
        width: 100%;
        justify-content: center;
    }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    .fantazy__header-menu-inner {
        padding: 8px 0 !important;
    }

    .header-bottom__menu ul {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .header-bottom__menu li a {
        justify-content: center !important;
        text-align: center !important;
        padding: 10px !important;
    }

    .header-bottom__item button {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px !important;
    }

    .fantazy__header-top-mobile-phone {
        display: block !important;
    }

    .header-bottom__inner {
        padding: 6px 15px !important;
    }
}

/* Очень маленькие экраны (до 480px) */
@media (max-width: 480px) {
    .header-bottom__menu ul {
        grid-template-columns: 1fr !important;
    }

    .header-bottom__menu li a {
        padding: 12px !important;
        font-size: 14px !important;
    }

    .header-bottom__item button {
        padding: 15px !important;
        font-size: 14px !important;
    }

    .fantazy__header-menu-inner::after {
        display: none; /* Убираем анимацию на очень маленьких экранах */
    }
}

/* ========================================
   СТЕЖКИ-СПРАЙТЫ ДЛЯ МЕНЮ
   ======================================== */

/* Базовый класс для всех стежков */
.stitch-pattern {
    background-image: url('../images/stejki.jpg') !important;
    background-repeat: repeat-x !important;
    height: 60px; /* Высота одного стежка, подстройте под ваше изображение */
}

/* Зигзаг голубой (первая строка) */
.stitch-zigzag-blue {
    background-position: 0 0 !important;
}

/* Петли красные (вторая строка) */
.stitch-loops-red {
    background-position: 0 -60px !important;
}

/* Простые стежки оранжевые (третья строка) */
.stitch-simple-orange {
    background-position: 0 -120px !important;
}

/* Диагональные синие (четвертая строка) */
.stitch-diagonal-blue {
    background-position: 0 -180px !important;
}

/* Крестики голубые (пятая строка) */
.stitch-cross-blue {
    background-position: 0 -240px !important;
}

/* Петельки красные (шестая строка) */
.stitch-buttonhole-red {
    background-position: 0 -300px !important;
}

/* Розовые крестики (седьмая строка) */
.stitch-cross-pink {
    background-position: 0 -360px !important;
}

/* Коричневые стежки (восьмая строка) */
.stitch-brown {
    background-position: 0 -420px !important;
}

/* Зеленые петли (девятая строка) */
.stitch-loops-green {
    background-position: 0 -480px !important;
}

/* Желтые точки (десятая строка) */
.stitch-dots-yellow {
    background-position: 0 -540px !important;
}

/* Фиолетовые крестики (одиннадцатая строка) */
.stitch-cross-purple {
    background-position: 0 -600px !important;
}

/* Розовые простые (двенадцатая строка) */
.stitch-simple-pink {
    background-position: 0 -660px !important;
}

/* Желтые кольца (тринадцатая строка) */
.stitch-rings-yellow {
    background-position: 0 -720px !important;
}

/* Голубые цепочки (четырнадцатая строка) */
.stitch-chain-blue {
    background-position: 0 -780px !important;
}

/* Красные диагональные (пятнадцатая строка) */
.stitch-diagonal-red {
    background-position: 0 -840px !important;
}

/* Зеленые петли (шестнадцатая строка) */
.stitch-loops-green2 {
    background-position: 0 -900px !important;
}

/* Розовые зигзаги (семнадцатая строка) */
.stitch-zigzag-pink {
    background-position: 0 -960px !important;
}

/* ========================================
   ПРИМЕНЕНИЕ К МЕНЮ
   ======================================== */

/* Основной контейнер меню со стежками */
.fantazy__header-menu-inner.with-stitches {
    padding: 6px 0 !important;
    background: #fff8e1 !important; /* Фон на случай если изображение не загрузится */
    position: relative;
    overflow: hidden;
}

/* Применить конкретный стежок к меню */
.fantazy__header-menu-inner.stitch-zigzag-blue {
    background-image: url('../images/stejki.jpg') !important;
    background-position: 0 0 !important;
    background-repeat: repeat-x !important;
    background-size: auto 60px !important;
}

.fantazy__header-menu-inner.stitch-cross-blue {
    background-image: url('../images/stejki.jpg') !important;
    background-position: 0 -240px !important;
    background-repeat: repeat-x !important;
    background-size: auto 60px !important;
}

.fantazy__header-menu-inner.stitch-cross-pink {
    background-image: url('../images/stejki.jpg') !important;
    background-position: 0 -360px !important;
    background-repeat: repeat-x !important;
    background-size: auto 60px !important;
}

/* ========================================
   ДОПОЛНИТЕЛЬНЫЕ ЭФФЕКТЫ
   ======================================== */

/* Полупрозрачный оверлей для лучшей читаемости текста */
.fantazy__header-menu-inner.with-stitches::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

/* Поднять содержимое меню над оверлеем */
.fantazy__header-menu-inner.with-stitches .header-bottom__inner {
    position: relative;
    z-index: 2;
}

/* ========================================
   ПРИМЕРЫ ИСПОЛЬЗОВАНИЯ
   ======================================== */

/*
Чтобы применить конкретный стежок к меню, добавьте класс к элементу:

1. Голубой зигзаг:
   <div class="fantazy__header-menu-inner stitch-zigzag-blue">

2. Голубые крестики:
   <div class="fantazy__header-menu-inner stitch-cross-blue">

3. Розовые крестики:
   <div class="fantazy__header-menu-inner stitch-cross-pink">

4. С полупрозрачным оверлеем:
   <div class="fantazy__header-menu-inner stitch-cross-blue with-stitches">
*/

/* ========================================
   АДАПТИВНОСТЬ ДЛЯ СТЕЖКОВ
   ======================================== */

@media (max-width: 768px) {
    .fantazy__header-menu-inner[class*="stitch-"] {
        background-size: auto 40px !important;
    }
}

@media (max-width: 480px) {
    .fantazy__header-menu-inner[class*="stitch-"] {
        background-size: auto 30px !important;
    }
}

/* ====== ОПТИМИЗАЦИЯ ПРОИЗВОДИТЕЛЬНОСТИ ====== */

/* Отключаем анимации для пользователей с ограниченными возможностями */
@media (prefers-reduced-motion: reduce) {
    .header-bottom__menu li,
    .header-bottom__menu li a,
    .header-bottom__item button,
    .fantazy__header-menu-inner::after {
        animation: none !important;
        transition: none !important;
    }
}

/* Улучшенная производительность для старых браузеров */
.header-bottom__menu li a,
.header-bottom__item button {
    will-change: transform, box-shadow;
}

/* ====== ФОЛЛБЭКИ ДЛЯ СТАРЫХ БРАУЗЕРОВ ====== */

/* Для браузеров без поддержки CSS переменных */
@supports not (--css: variables) {
    .fantazy__header-menu-inner {
        background: linear-gradient(135deg, #f4e8d0 0%, #d4a574 100%) !important;
    }

    .header-bottom__item button {
        background: linear-gradient(135deg, #2c3e50, #34495e) !important;
    }

    .header-bottom__menu li a {
        color: #2c3e50 !important;
    }
}

/* Для браузеров без поддержки backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
    .header-bottom__menu li a {
        background: rgba(255, 255, 255, 0.3) !important;
    }
}

/* === new_style.css === */
/* ========== CSS ПЕРЕМЕННЫЕ ========== */
:root {
    /* Цветовая палитра - теплые, уютные тона */
    --primary-warm: #d4a574;
    --primary-deep: #f90;
    --primary-light: #f4e8d0;
    --accent-soft: #f4e8d0;
    --accent-light: #faf7f2;
    --text-primary: #2c2c2c;
    --text-secondary: #5a5a5a;
    --text-muted: #888;
    --white: #ffffff;
    --cream: #fefcf8;
    --shadow-soft: rgba(212, 165, 116, 0.1);
    --shadow-medium: rgba(139, 69, 19, 0.15);
    --gradient-warm: linear-gradient(135deg, #f4e8d0 0%, #d4a574 100%);
    --gradient-deep: linear-gradient(135deg, #f4e8d0 0%, #f90 100%);

    /* Размеры */
    --container-max: 95%;
    --border-radius: 12px;
    --border-radius-large: 20px;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
}

/* ========== ОСНОВНЫЕ СТИЛИ ========== */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif !important;
    background: url('../images/main_bg.jpg') repeat top center;
    color: var(--text-primary) !important;
    line-height: 1;
    font-size: 16px;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

section.articles {
    width: 75%;
    margin: 0 auto;
}

/* ========== ТИПОГРАФИКА ========== */
h1, h2, h3, h4, h5, h6,
.heading h2,
.fantazy__product-single-desc h3,
.fantazy__product-characteristics h3,
.fantazy__product-related-products-title h3 {
    font-family: "Nunito", sans-serif;
    font-weight: 400 !important;
}

h2 {
    font-size: 17px;
}

/* ========== ПОИСКОВАЯ СТРОКА ========== */
.fantazy__header-center-search {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.fantazy__header-center-search .form-search {
    position: relative;
    border: 2px solid var(--accent-soft) !important;
    height: 48px !important;
    border-radius: 25px !important;
    background: var(--white) !important;
    box-shadow: 0 4px 20px var(--shadow-soft);
    transition: all 0.3s ease;
    overflow: hidden;
    color: var(--text-primary) !important;
}

.fantazy__header-center-search .form-search:hover {
    border-color: var(--primary-warm);
    box-shadow: 0 6px 25px var(--shadow-medium);
}

.fantazy__header-center-search .form-search:focus-within {
    border-color: var(--primary-warm);
    box-shadow: 0 8px 30px var(--shadow-medium);
    transform: translateY(-1px);
}

.fantazy__header-center-search .form-search input {
    border: none;
    padding: 0 60px 0 20px;
    outline: none;
    height: 100%;
    width: 100%;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    background: transparent;
    color: var(--text-primary);
    font-style: normal !important;
}

.fantazy__header-center-search .form-search input::placeholder {
    color: var(--text-muted);
}

.fantazy__header-center-search .search-buttons {
    position: absolute;
    right: 4px;
    top: 4px;
    display: flex;
    height: calc(100% - 8px);
    border-radius: 20px;
    background: var(--gradient-warm);
    overflow: hidden;
}

.fantazy__header-center-search .form-search button {
    cursor: pointer;
    border: none;
    width: 50px;
    height: 100%;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--white);
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.fantazy__header-center-search .form-search button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* ========== РЕЗУЛЬТАТЫ ПОИСКА ========== */
#search_div_res {
    position: absolute;
    top: 100%;
    left: 15%;
    right: 0;
    z-index: 1000;
    overflow-y: auto;
    padding: 15px 25px;
    background: #fff;
    width: 70%;
    box-shadow: 10px 20px 30px rgba(0, 0, 0, .5);
    display: none;
}

.search_div_res_close {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 10;
    border: none;
}

.search_div_res_close:hover {
    transform: scale(1.1);
    /* box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4); */
}

h1.search_phrase {
    font-size: 20px;
    font-weight: 400;
    text-align: left;
}

.search_phrase .search_msg {
    color: darksalmon;
    font-size: 20px;
}

/* ========== ХЛЕБНЫЕ КРОШКИ ========== */
.fantazy-breadcrumb {
    padding: 5px 0;
    margin: 0;
}

.fantazy-breadcrumb a {
    font-family: 'Inter', sans-serif;
    color: var(--primary-deep);
    text-decoration: none;
    transition: color 0.3s ease;
}

.fantazy-breadcrumb a:hover {
    color: var(--primary-warm);
}

.fantazy-breadcrumb .delimiter {
    color: var(--primary-warm);
    margin: 0 8px;
}

/* ========== ЗАГОЛОВКИ СТРАНИЦ ========== */
.heading {
    text-align: center;
    margin: 15px 0;
    position: relative;
}

.heading h2 {
    padding: 20px;
    font-size: 25px;
    font-weight: 400;
    color: var(--text-primary);
    margin: 0;
}

/* ========== КАТАЛОГ - ЛЕВАЯ ПАНЕЛЬ ========== */
.fantazy__catalog-leftsaitbar {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 30px var(--shadow-soft);
    padding: 5px;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.fantazy__saitbar-item,
.fantazy__category-leftsaitbar-item {
    margin-bottom: 20px;
    /*border-radius: var(--border-radius);*/
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-soft);
}

.fantazy__saitbar-item-title, .fantazy__category-leftsaitbar-item-title {
    padding: 5px 2px 5px 7px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    transition: all 0.3s ease;
}

.fantazy__saitbar-item-title:hover,
.fantazy__category-leftsaitbar-item-title:hover {
    background: yellowgreen;
}

.fantazy__saitbar-item-content,
.fantazy__category-leftsaitbar-item-content {
    background: var(--white);
    padding: 0;
    border: none;
    max-height: 300px;
    overflow-y: auto;
}

/* ========== ЧЕКБОКСЫ И РАДИО ========== */
span.checkbox {
    margin-bottom: 2px;
}

span.checkbox label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 28px;
    line-height: 1.6;
    cursor: pointer;
    transition: color 0.3s ease;
}

span.checkbox label:hover {
    color: var(--primary-deep);
}

span.checkbox input[type="radio"] + label::before,
span.checkbox input[type="checkbox"] + label::before {
    border: 2px solid cadetblue;
    background: var(--white);
    width: 20px;
    height: 20px;
    border-radius: 0;
    left: 2px;
    top: 6px;
}

span.checkbox input[type="radio"]:checked + label::before,
span.checkbox input[type="checkbox"]:checked + label::before {
    /*background: var(--gradient-warm);*/
    background: yellowgreen;
    border-color: var(--primary-deep);
    content: "✓";
    color: var(--white);
    font-size: 12px;
    text-align: center;
    line-height: 16px;
}

/* ========== СОРТИРОВКА ========== */
.sort__bar-inner {
    margin-bottom: 20px;
}

.sort__bar-item select {
    background: var(--white);
    padding: 8px 12px;
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort__bar-item select:hover,
.sort__bar-item select:focus {
    border-color: #ccc;
    outline: none;
}

.sort__bar-item span {
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ========== СЕТКА ТОВАРОВ ========== */
.fantazy__rightsaitbar-inner {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 25px !important;
    margin: 0 !important;
    padding: 0;
}

.fantazia-category__product-inner.search-results,
.fantazia-category__product-inner {
    padding: 0;
}

/* ========== КАРТОЧКИ ТОВАРОВ ========== */
.fantazy__rightsaitbar-item,
.search-results .fantazia-category__product-item-search,
.fantazia-category__product-item-search {
    background: #fff;
    border: none;
    /*border-radius: var(--border-radius);*/
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0 !important;
    width: auto !important;
}

.fantazy__rightsaitbar-item::before,
.search-results .fantazia-category__product-item-search::before,
.fantazia-category__product-item-search::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fantazy__rightsaitbar-item:hover,
.search-results .fantazia-category__product-item-search:hover,
.fantazia-category__product-item-search:hover {
    transform: translateY(-8px);
    border: none;
}

.fantazy__rightsaitbar-item:hover::before,
.search-results .fantazia-category__product-item-search:hover::before,
.fantazia-category__product-item-search:hover::before {
    opacity: 1;
}

/* ========== ИЗОБРАЖЕНИЯ ТОВАРОВ ========== */
.fantazy__rightsaitbar-img,
.search-results .fantazia-category__product-img,
.fantazia-category__product-img {
    text-align: center;
    margin-bottom: 8px;
    /*border-radius: var(--border-radius);*/
    border-radius: 0;
    overflow: hidden;
    background: var(--accent-light);
    /*height: 220px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.fantazy__rightsaitbar-img img, .search-results .prod_img, .fantazia-category__product-img img {
    object-fit: cover;
    transition: transform 0.3s ease;
    padding: 0;
    border: none;
    background: transparent;
}

.fantazy__rightsaitbar-item:hover .fantazy__rightsaitbar-img img,
.search-results .fantazia-category__product-item-search:hover .prod_img,
.fantazia-category__product-item-search:hover .fantazia-category__product-img img {
    transform: scale(1.05);
}

/* ========== ЗАГОЛОВКИ ТОВАРОВ ========== */
.fantazy__rightsaitbar-title,
.search-results .fantazia-category__product-desc,
.fantazia-category__product-desc {
    margin: 0 0 10px;
    padding: 0;
    flex-grow: 1;
    text-align: center;
}

.fantazy__rightsaitbar-title h4,
.search-results .fantazia-category__product-desc h2,
.fantazia-category__product-desc h2 {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--text-primary) !important;
    margin: 0 0 8px !important;
    line-height: 1.4;
    text-transform: none;
    text-align: center;
}


.fantazy__rightsaitbar-item:hover .fantazy__rightsaitbar-title h4,
.search-results .fantazia-category__product-desc h2 a:hover,
.fantazia-category__product-desc h2 a:hover {
    /*color: var(--primary-deep) !important;*/
}

.fantazy__rightsaitbar-title span {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

/* ========== ЦЕНЫ ========== */
.fantazy__rightsaitbar-price span.price, .search-results .product-price, .search-results .fantazia-category__product-desc .price, .fantazia-category__product-desc .price {
    font-size: 23px !important;
    font-weight: 500 !important;
    color: #000;
    text-shadow: 0 1px 2px rgba(212, 165, 116, 0.1);
    display: block;
    margin-bottom: 14px;
    background: yellow;
    padding: 2px 10px 2px;
    width: 100%;
    margin: 2px auto !important;
}

.fantazy__rightsaitbar-price span.price-old {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 8px;
}

/* ========== ИНФОРМАЦИЯ О ТОВАРЕ ========== */
.search-results .product-info,
.search-results .fantazia-category__product-desc p,
.fantazia-category__product-desc p {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.5;
    flex-grow: 1;
}

.search-results .product-info span,
.search-results .fantazia-category__product-desc p,
.fantazia-category__product-desc p {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-family: 'Inter', sans-serif;
}

.search-results .product-info strong,
.search-results .fantazia-category__product-desc p strong,
.fantazia-category__product-desc p strong {
    color: var(--primary-deep);
    font-weight: 600;
    min-width: 90px;
}

/* ========== СТАТУС ТОВАРА ========== */
.search-results .product-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.search-results .product-stock.in-stock {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
}

.search-results .product-stock.out-of-stock {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
}

/* ========== ИЗБРАННОЕ ========== */
.fantazy__rightsaitbar-favorites {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
}

.fantazy__rightsaitbar-item:hover .fantazy__rightsaitbar-favorites {
    opacity: 1;
}

.fantazy__rightsaitbar-favorites:hover {
    background: #ff6b6b;
    color: var(--white);
    transform: scale(1.1);
}

/* ========== КНОПКИ ========== */
.search-results .fantazia-open__cart,
.search-results .fantazia-rightsaitbar__item__add-cart,
.fantazia-open__cart,
.fantazia-rightsaitbar__item__add-cart {
    width: 100%;
    margin-top: auto;
}

.search-results .fantazia-open__cart button, .search-results .add-to-cart-btn, .search-results .order-btn, .fantazia-open__cart button, .add-to-cart-btn, .order-btn, .product__order-btn button, .default_btn, .default-btn {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 0;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    color: var(--white);
    letter-spacing: 2px;
}

.search-results .add-to-cart-btn,
.search-results .fantazia-open__cart button:not(.order-btn),
.add-to-cart-btn,
.fantazia-open__cart button:not(.order-btn) {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.search-results .add-to-cart-btn:hover,
.search-results .fantazia-open__cart button:not(.order-btn):hover,
.add-to-cart-btn:hover,
.fantazia-open__cart button:not(.order-btn):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.search-results .order-btn,
.order-btn {
    background: linear-gradient(135deg, #ffc107, #ffb300);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.search-results .order-btn:hover,
.order-btn:hover,
.product__order-btn button:hover,
.default_btn:hover,
.default-btn:hover {
    /*transform: translateY(-2px);*/
    box-shadow: 0 8px 25px var(--shadow-medium);
    background: linear-gradient(135deg, var(--primary-warm) 0%, var(--primary-deep) 100%);
}

/* ========== СТРАНИЦА ТОВАРА ========== */
.fantazy__product {
    padding: 25px 0;
}

.fantazy__product-wrapper {
    background: var(--white);
    border-radius: var(--border-radius-large);
    padding: 15px;
    margin-bottom: 20px;
    border: 1px dashed #ccc;
}

.fantazy__product-slaider-inner {
    margin-bottom: 30px;
}

.slider-for-item,
.slider-nav-item {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.slider-for-item img,
.slider-nav-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slider-for-item:hover img {
    transform: scale(1.05);
}

/* ========== ИНФОРМАЦИЯ О ТОВАРЕ ========== */
.fantazy__product-single-desc h1 {
    font-size: 21px !important;
    color: #000000;
    margin: 0;
    line-height: 1;
    text-align: left;
}

.fantazy__product-info {
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fantazy__product-info strong {
    color: var(--primary-deep);
    font-weight: 600;
    min-width: 100px;
}

/* ========== КАЛЬКУЛЯТОР ТОВАРА ========== */
.product__order {
    padding: 10px;
    margin-top: 25px;
}

.product__order-price p {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.product-availability p {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

/* ========== КОЛИЧЕСТВО ========== */
.product-quantity h3 {
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    color: var(--text-secondary) !important;
    margin-bottom: 10px !important;
    font-weight: 600;
}

.counter-tovara {
    background: var(--white);
    border: 2px solid var(--accent-soft);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: none;
}

.counter-tovara span {
    background: var(--accent-light);
    color: var(--primary-deep);
    font-weight: 600;
    transition: all 0.3s ease;
}

.counter-tovara span:hover {
    background: var(--primary-warm);
    color: var(--white);
}

.counter-tovara input {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    font-weight: 600;
    background: var(--white);
}

/* ========== ХАРАКТЕРИСТИКИ ========== */
.fantazy__product-characteristics {
    background: var(--white);
    border-radius: var(--border-radius-large);
    padding: 15px;
    border: 1px solid var(--accent-soft);
}

.fantazy__product-characteristics-tabs {
    display: flex;
    margin-bottom: 0;
    gap: 0;
}

.fantazy__product-characteristics-tabs a {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 15px 25px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    bottom: -2px;
}

.fantazy__product-characteristics-tabs a.active, .fantazy__product-characteristics-tabs a:hover {
    background: beige;
    border-bottom: 2px solid transparent;
}

.fantazy__product-characteristics-desc p {
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.fantazy__product-characteristics-desc strong {
    color: var(--primary-deep);
    font-weight: 600;
}

/* ========== СВЯЗАННЫЕ ТОВАРЫ ========== */
.fantazy__product-related-products {
    background: var(--white);
    border-radius: var(--border-radius-large);
    box-shadow: 0 10px 40px var(--shadow-soft);
    padding: 30px;
    border: 1px solid var(--accent-soft);
    margin-top: 30px;
}

.fantazy__product-related-products-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-soft);
}

.fantazy__product-related-products-title h3 {
    font-family: 'Merriweather', serif;
    font-size: 24px;
    color: var(--primary-deep);
    margin: 0;
}

.fantazy__product-related-products-title a {
    color: var(--primary-warm);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px dashed var(--primary-warm);
    transition: color 0.3s ease;
}

.fantazy__product-related-products-title a:hover {
    color: var(--primary-deep);
    border-bottom-color: var(--primary-deep);
}

/* ========== КОНСУЛЬТАЦИЯ ========== */
.fantazy__consultation {
    background: url("../images/main_bg.png"),
    var(--gradient-deep) !important;
    background-blend-mode: overlay; /* или multiply, soft-light */
    padding: 40px 0;
}

.fantazy__consultation-inner {
    background-image: url("../images/question.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: auto;
    padding-left: 150px;
}

.fantazy__consultation-info-faq h5 {
    font-family: 'Merriweather', serif;
    font-size: 28px;
    color: var(--white);
    margin: 0 30px 20px;
    font-weight: 400;
}

.fantazy__consultation-info-desc p {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.6;
}

.fantazy__consultation-link a {
    background: var(--white);
    color: var(--primary-deep);
    border: 2px solid var(--white);
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.fantazy__consultation-link a:hover {
    background: transparent;
    color: var(--white);
}

/* ========== ПАГИНАЦИЯ ========== */
.pagination ul {
    display: flex;
    margin: 20px 0 0;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pagination ul li a {
    color: var(--white);
    background: var(--primary-deep);
    margin: 0 3px;
    padding: 7px 13px;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: all 0.3s;
    text-decoration: none;
}

.pagination ul li a:hover {
    background: var(--primary-warm);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.pagination ul li a.active {
    background: var(--primary-warm);
    cursor: default;
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 1200px) {
    .fantazy__rightsaitbar-inner,
    .fantazia-category__product-inner {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
        gap: 20px !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
    }

    .fantazy__catalog-inner {
        flex-direction: column;
    }

    .fantazy__catalog-leftsaitbar {
        max-width: 100%;
        margin: 0 0 30px 0;
        position: static;
        max-height: none;
        top: 125px;
    }

    .fantazy__rightsaitbar-inner,
    .fantazia-category__product-inner {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
        gap: 15px !important;
    }

    .fantazy__product-wrapper {
        padding: 25px 20px;
    }

    .fantazy__consultation-inner {
        background-position: top center;
        background-size: 100px;
        padding-left: 0;
        padding-top: 120px;
        text-align: center;
    }

    .sort__bar-inner {
        flex-direction: column;
        gap: 15px;
    }

    .fantazy__header-center-search .form-search {
        height: 44px !important;
    }

    .fantazy__header-center-search .search-buttons {
        right: 3px;
        top: 3px;
    }

    .fantazy__header-center-search .form-search button {
        width: 45px;
    }

    .search-results .fantazia-category__product-item-search,
    .fantazia-category__product-item-search {
        padding: 15px;
    }

    h1.search_phrase {
        font-size: 18px;
        margin: 15px 20px 12px;
    }
}

@media (max-width: 480px) {
    .fantazy__rightsaitbar-inner,
    .fantazia-category__product-inner {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .heading h2 {
        font-size: 24px;
        padding: 0 20px;
    }

    .fantazy__product-characteristics-tabs {
        flex-wrap: wrap;
    }

    .fantazy__product-characteristics-tabs a {
        padding: 10px 15px;
        font-size: 14px;
    }

    .fantazy__header-center-search .form-search input {
        padding: 0 85px 0 15px;
        font-size: 14px;
    }

    h1.search_phrase {
        font-size: 16px;
        margin: 12px 15px 10px;
    }
}

/* ========== СКРОЛЛБАР ========== */
#search_div_res::-webkit-scrollbar,
.fantazy__catalog-leftsaitbar::-webkit-scrollbar,
.fantazy__saitbar-item-content::-webkit-scrollbar,
.fantazy__category-leftsaitbar-item-content::-webkit-scrollbar {
    width: 6px;
}

#search_div_res::-webkit-scrollbar-track,
.fantazy__catalog-leftsaitbar::-webkit-scrollbar-track,
.fantazy__saitbar-item-content::-webkit-scrollbar-track,
.fantazy__category-leftsaitbar-item-content::-webkit-scrollbar-track {
    background: var(--accent-soft);
    border-radius: 3px;
}

#search_div_res::-webkit-scrollbar-thumb,
.fantazy__catalog-leftsaitbar::-webkit-scrollbar-thumb,
.fantazy__saitbar-item-content::-webkit-scrollbar-thumb,
.fantazy__category-leftsaitbar-item-content::-webkit-scrollbar-thumb {
    background: var(--gradient-warm);
    border-radius: 3px;
}

#search_div_res::-webkit-scrollbar-thumb:hover,
.fantazy__catalog-leftsaitbar::-webkit-scrollbar-thumb:hover,
.fantazy__saitbar-item-content::-webkit-scrollbar-thumb:hover,
.fantazy__category-leftsaitbar-item-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-warm), var(--primary-deep));
}

/* ========== АНИМАЦИИ ЗАГРУЗКИ ========== */
.search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--primary-deep);
    font-family: 'Inter', sans-serif;
}

.search-loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-soft);
    border-top: 2px solid var(--primary-warm);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

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

/* ========== ПУСТЫЕ РЕЗУЛЬТАТЫ ========== */
.no-results {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-family: 'Inter', serif;
    font-size: 18px;
}

.no-results::before {
    content: "🔍";
    display: block;
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* ========== ДОПОЛНИТЕЛЬНЫЕ УЛУЧШЕНИЯ ========== */

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Красивые фокусы */
*:focus {
    outline: 2px solid var(--primary-warm);
    outline-offset: 2px;
}

/* Улучшенные тени */
.card-shadow {
    box-shadow: 0 4px 6px -1px var(--shadow-soft), 0 2px 4px -1px var(--shadow-soft);
}

.card-shadow:hover {
    box-shadow: 0 20px 25px -5px var(--shadow-soft), 0 10px 10px -5px var(--shadow-soft);
}

/* Текстовые элементы */
.text-accent {
    color: var(--primary-warm);
    font-weight: 600;
}

.text-primary {
    color: var(--primary-deep);
}

.text-secondary {
    color: var(--text-secondary);
}

/* Утилиты */
.border-accent {
    border-color: var(--primary-warm);
}

.bg-accent {
    background: var(--gradient-warm);
}

.rounded-lg {
    border-radius: var(--border-radius);
}

.rounded-xl {
    border-radius: var(--border-radius-large);
}

/* Переходы */
.transition-all {
    transition: all 0.3s ease;
}

.transition-transform {
    transition: transform 0.3s ease;
}

/* Hover эффекты */
.hover-lift:hover {
    transform: translateY(-4px);
}

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

/* Кнопки вариации */
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-warm);
    color: var(--primary-warm);
}

.btn-outline:hover {
    background: var(--primary-warm);
    color: var(--white);
}

.btn-ghost {
    background: rgba(212, 165, 116, 0.1);
    color: var(--primary-deep);
    border: 1px solid rgba(212, 165, 116, 0.3);
}

.btn-ghost:hover {
    background: rgba(212, 165, 116, 0.2);
    border-color: var(--primary-warm);
}

/* ========== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СОВМЕСТИМОСТИ ========== */

/* Ссылки в корзину */
.go_to_cart a {
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: var(--primary-deep);
    text-decoration: none;
    transition: color 0.3s ease;
}

.go_to_cart a:hover {
    color: var(--primary-warm);
}

/* Бейджи скидок */
.discount_sale {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

/* Категории товаров */
.search-results .fantazia-category__product-item-search.category-item {
    background: var(--gradient-warm);
    border: 2px solid var(--primary-deep);
    color: var(--white);
}

.search-results .category-item h2 {
    color: var(--white) !important;
    font-family: 'Merriweather', serif;
    font-size: 20px;
    text-align: center;
}

/* Переопределение старых стилей */
.fantazy__header-center-search .form-search {
    border: 2px solid var(--accent-soft) !important;
    height: 48px !important;
    border-radius: 25px !important;
    background: var(--white) !important;
    color: var(--text-primary) !important;
}

.search-results button {
    font-family: 'Inter', sans-serif !important;
}

/* Анимации появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fantazy__rightsaitbar-item,
.fantazia-category__product-item-search {
    animation: fadeInUp 0.6s ease forwards;
}

.fantazy__rightsaitbar-item:nth-child(2),
.fantazia-category__product-item-search:nth-child(2) {
    animation-delay: 0.1s;
}

.fantazy__rightsaitbar-item:nth-child(3),
.fantazia-category__product-item-search:nth-child(3) {
    animation-delay: 0.2s;
}

.fantazy__rightsaitbar-item:nth-child(4),
.fantazia-category__product-item-search:nth-child(4) {
    animation-delay: 0.3s;
}

/* === search.css === */
/* =================================
   ПОИСКОВАЯ СТРОКА
   ================================= */

.fantazy__header-center-search {
    position: relative;
}

.form-search {
    position: relative;
    border: 1px solid #e8e8e8;
    height: 36px;
    border-radius: 3px;
    color: #c2c2c2;
    background: #f0f0f0;
}

.form-search input {
    border: 0;
    padding: 0 80px 0 12px;
    outline: none;
    height: 100%;
    width: 100%;
    font-size: 13px;
    background: transparent;
    color: #333;
}

.search-buttons {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    height: 100%;
}

.form-search button {
    cursor: pointer;
    border: none;
    width: 34px;
    height: 34px;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #ff5740;
    font-size: 15px;
    transition: .3s ease;
}

.form-search button:hover {
    color: #333;
}

/* =================================
   ИКОНКИ КНОПОК
   ================================= */

/* Скрываем старые псевдоэлементы */
.form-search button.icon-search::before,
.form-search button.icon-mic::before {
    display: none;
}

/* SVG иконки */
.form-search button.icon-search {
    background-image: url('data:image/svg+xml,<svg width="18" height="18" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M21 21L16.514 16.506L21 21ZM19 10.5C19 15.194 15.194 19 10.5 19C5.806 19 2 15.194 2 10.5C2 5.806 5.806 2 10.5 2C15.194 2 19 5.806 19 10.5Z" stroke="%23ff5740" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
}

.form-search button.icon-mic {
    background-image: url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 1C13.66 1 15 2.34 15 4V12C15 13.66 13.66 15 12 15C10.34 15 9 13.66 9 12V4C9 2.34 10.34 1 12 1ZM19 10V12C19 16.42 15.42 20 11 20H9C9 20.55 9.45 21 10 21H14C14.55 21 15 21.45 15 22C15 22.55 14.55 23 14 23H10C8.9 23 8 22.1 8 21H6C6 16.42 9.58 13 14 13H19V10Z" fill="%23ff5740"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
}

.form-search button.icon-search:hover {
    background-image: url('data:image/svg+xml,<svg width="18" height="18" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M21 21L16.514 16.506L21 21ZM19 10.5C19 15.194 15.194 19 10.5 19C5.806 19 2 15.194 2 10.5C2 5.806 5.806 2 10.5 2C15.194 2 19 5.806 19 10.5Z" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
}

.form-search button.icon-mic:hover {
    background-image: url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 1C13.66 1 15 2.34 15 4V12C15 13.66 13.66 15 12 15C10.34 15 9 13.66 9 12V4C9 2.34 10.34 1 12 1ZM19 10V12C19 16.42 15.42 20 11 20H9C9 20.55 9.45 21 10 21H14C14.55 21 15 21.45 15 22C15 22.55 14.55 23 14 23H10C8.9 23 8 22.1 8 21H6C6 16.42 9.58 13 14 13H19V10Z" fill="%23333"/></svg>');
}

/* Состояние активного голосового поиска */
#voice-trigger.active {
    color: #333;
    background: rgba(255, 87, 64, 0.1);
    border-radius: 50%;
}

/* =================================
   БЛОК РЕЗУЛЬТАТОВ ПОИСКА
   ================================= */

#search_div_res {
    position: absolute;
    top: 100%;
    left: 15%;
    right: 0;
    z-index: 1000;
    overflow-y: auto;
    /* max-height: 1500px; */
    padding: 15px 25px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    display: none;
    animation: slideDown 0.3s ease-out;
    max-height: 500px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================================
   КНОПКА ЗАКРЫТИЯ
   ================================= */

.search_div_res_close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    z-index: 1001;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: #ff5740;
    font-size: 16px;
    transition: all 0.3s ease;
    /* box-shadow: 0 2px 8px rgba(255, 87, 64, 0.3); */
}

.search_div_res_close:hover {
    /* background: #e64a35; */
    transform: scale(1.1);
    /* box-shadow: 0 4px 12px rgba(255, 87, 64, 0.4); */
}

.search_div_res_close::before {
    content: "×";
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
}

/* =================================
   ИНДИКАТОР ЗАГРУЗКИ
   ================================= */

.loading {
    text-align: center;
    padding: 30px 20px;
    color: #666;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.loading::before {
    content: "";
    width: 20px;
    height: 20px;
    border: 2px solid #ff5740;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* =================================
   РЕЗУЛЬТАТЫ ПОИСКА
   ================================= */

.search_phrase {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #333;
    padding-right: 40px;
    line-height: 1.3;
}

.search_msg {
    color: #ff5740;
    font-weight: bold;
}

.fantazia-category__product-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 10px;
}

/* =================================
   КАРТОЧКИ КАТЕГОРИЙ
   ================================= */

.category-item {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.category-item .fantazia-category__product-img {
    height: 80px;
    margin-bottom: 8px;
}

.category-item .fantazia-category__product-img img {
    max-height: 80px;
    border-radius: 4px;
}

.category-item h2 {
    font-size: 11px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-item h2 a {
    color: #333 !important;
    text-decoration: none;
    font-weight: 500;
}

.category-item h2 a:hover {
    color: #ff5740 !important;
}

.fantazia-category__product-item-search {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 8px;
    transition: all 0.2s ease;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

.fantazia-category__product-item-search:hover {
    border-color: #ff5740;
    box-shadow: 0 2px 8px rgba(255, 87, 64, 0.15);
    transform: translateY(-1px);
}

.fantazia-category__product-img {
    flex-shrink: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
}

.search_style_item {
    display: flex;
    flex-direction: row;
    min-height: fit-content;
}
.search_style_item .search_style_img {
    width: 30%;
    margin: auto 0;
}

.search_style_item .search_style_desc  {
    position: relative;
    margin: 0;
}
.search_style_item .search_style_desc .price {
    align-self: end !important;
    margin: 0 !important;
    font-size: 16px !important; 
    /* position: absolute;
    top: 90%;
    */
}
.search_style_item .search_style_desc p {
    margin: 0 0 5px 0;
}
.search_style_item .search_style_desc h2 {
    margin: 0 0 2px 0 !important;
    text-align: left;
}

.fantazia-category__product-img a {
    max-width: 30px;
    width: 100%;
}

.fantazia-category__product-img h2 a {
    max-width: 100%;
}

.fantazia-category__product-img img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

.fantazia-category__product-desc {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.fantazia-category__product-desc h2 {
    margin: 0 0 4px 0;
    font-size: 12px;
    line-height: 1.2;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fantazia-category__product-desc h2 a {
    color: #333;
    text-decoration: none;
}

.fantazia-category__product-desc h2 a:hover {
    color: #ff5740;
}

.fantazia-category__product-desc p {
    font-size: 12px;
    color: #666;
    line-height: 1;
    flex-direction: row;
    margin: 8px 0 0;
}

.fantazia-category__product-desc p strong {
    min-width: auto;
}

.price {
    font-size: 12px;
    font-weight: bold;
    color: #ff5740;
    margin: 4px 0;
    white-space: nowrap;
}

.in-stock {
    color: #28a745;
}

.out-of-stock {
    color: #dc3545;
}

.add-to-cart-btn, .order-btn {
    background: #ff5740;
    color: white;
    border: none;
    padding: 4px 6px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 10px;
    transition: background 0.2s ease;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.add-to-cart-btn:hover, .order-btn:hover {
    background: #e64a35;
}

.order-btn {
    background: #28a745;
}

.order-btn:hover {
    background: #218838;
}

.fantazia-open__cart {
    margin-top: auto;
    padding-top: 4px;
}

/* =================================
   СООБЩЕНИЕ "НИЧЕГО НЕ НАЙДЕНО"
   ================================= */

.no-results-message {
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    margin: 15px 0;
    color: #666;
    border-left: 4px solid #ff5740;
}

.no-results-message p {
    margin: 8px 0;
    font-size: 13px;
}

.no-results-message ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.no-results-message li {
    margin: 6px 0;
    font-size: 12px;
}

.no-results-message em {
    display: block;
    margin-top: 10px;
    font-size: 11px;
    color: #888;
    font-style: italic;
}

/* =================================
   АДАПТИВНОСТЬ
   ================================= */
@media (max-width: 1600px) {
    .fantazia-category__product-inner {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1300px) {
    .fantazy__header-center-slogan {
        width: 50%;
    }
}

@media (max-width: 1200px) {
    .fantazia-category__product-inner {
        grid-template-columns: repeat(3, 1fr);
    }

    .fantazy__header-center-slogan {
        width: 50%;
    }
}

@media (max-width: 1000px) {
    #search_div_res {
        top: 125px;
    }
}

@media (max-width: 900px) {
    .fantazia-category__product-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #search_div_res {
        left: 0;
        right: auto;
        margin-top: 35px;
        padding: 10px 15px;
        border-radius: 12px;
        top: 85px;
    }

    .fantazia-category__product-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .search_div_res_close {
        top: 10px;
        right: 10px;
        width: 28px;
        height: 28px;
    }

    .fantazia-category__product-item-search {
        min-height: 160px;
        padding: 6px;
    }

    .fantazia-category__product-img {
        height: 50px;
    }

    .fantazia-category__product-img img {
        max-height: 50px;
    }
}

@media (max-width: 700px) {
    #search_div_res {
        top: 55px;
        width: 100%;
    }

    .search_style_item .search_style_img {
        width: 25%;
        margin: auto 0;
    }
    .fantazia-category__product-desc .price {
        padding: 5px 6px;
        font-size: 13px !important;
    }

}

@media (max-width: 700px) {
    h1.search_phrase {
        font-size: 13px;
        margin: 0;
    }

    .search_phrase .search_msg {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .fantazia-category__product-inner {
        grid-template-columns: 1fr;
    }

    .fantazia-category__product-item-search {
        min-height: 140px;
        padding: 6px 6px 25px;
    }

    .fantazia-open__cart button{
        font-size: 0;
        position: absolute;
        right: 5px;
        width: 0;
        padding: 5px 20px;
        border-radius: 5px;
        bottom: 5px;
        display: none;
    }

    .fantazia-open__cart button::before {
        content: "\f07a";
        font-family: 'icomoon' !important;
        font-size: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        content: none;
    }

    .fantazia-category__product-desc .price {
        position: absolute;
        bottom: -20px;
        width: auto;
        right: 0;
        padding: 7px 8px;
        border-radius: 5px;
        font-size: 20px !important;
    }

    .fantazy__catalog-leftsaitbar {
        top: 115px;
    }
}

/* === media.css === */
@media (max-width: 1400px) {
	.slaider-inner .slick-prev {
		left: 20px;
	}

	.slaider-inner .slick-next {
		right: 20px;
	}
}

@media (max-width: 1300px) {
	.slaider-inner {
		padding: 0 0 60px;
	}

	.slaider-item {
		height: 500px;
	}

	.slaider-inner .slick-btn {
		top: auto;
		transform: none;
		bottom: 20px;
	}

	.slaider-inner .slick-prev {
		left: 0;
		right: 55px;
		margin: 0 auto;
	}

	.slaider-inner .slick-next {
		right: 0;
		left: 55px;
		margin: 0 auto;
	}

	.slaider-inner .slick-btn:hover::before {
		background: #e8e8e8;
	}
}

@media (max-width: 1230px) {
    .fantazy__product-single-desc {
        max-width: 450px;
    }

    .product__sku-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 1200px) {
    .fantazy__header-center-logo span.logo_text {
        font-size: 15px;
    }

    .fantazy__footer-menu-item h4 {
        font-size: 15px;
    }

    .fantazy__header-center-logo img {
        width: 30px;
    }

    .fantazy__footer-subscribe {
        max-width: 230px;
    }

    .fantazy__product-single-desc {
        max-width: 350px;
    }
}

@media (max-width: 1100px) {
    .fantazy__header-center-icons ul {
        gap: 12px;
        position: relative;
    }

    .fantazy__header-center-links a {
        font-size: 12px;
    }

	.fantazy__advantages {
		padding: 25px 0;
	}

	.fantazy__advantages-inner {
		flex-wrap: wrap;
		gap: 15px;
	}
	  
	.fantazy__advantages-item {
		width: 48%;
	}

	.fantazy__section {
		padding: 0 0 25px;
	}

    .fantazy__news,
    .fantazy__faq,
    .fantazy__services,
    .fantazy__reviews,
    .fantazy__aboutstore {
        padding: 25px 0;
    }

    .fantazy__consultation {
        padding: 15px 0;
    }

    .fantazy__map {
        padding: 0;
    }

    .fantazy__footer-menu-inner {
        flex-direction: column;
    }

    .fantazy__footer-menu-item {
        text-align: center;
    }

    .fantazy__footer-menu-item h4 {
        font-size: 17px;
    }

    .fantazy__footer-menu {
        max-width: 100%;
    }

    .fantazy__footer-subscribe,
    .fantazy__footer-contacts {
        max-width: 800px;
        margin: 0 auto;
    }

    .fantazy__footer-subscribe h4 {
        font-size: 15px;
        margin: 5px auto 15px;
        text-align: center;
        max-width: 600px;
    }

    .contacts__block-item-btn a,
    .fantazy__footer-basement p {
        text-align: center;
    }

    .fantazy__product-slaider-inner {
        display: block;
        max-width: 500px;
        margin: 0 30px 0 0;
    }

    .slider-for {
        max-width: 620px;
    }

    .slider-for-item img {
        max-width: 620px;
    }

    .slider-nav {
        max-width: 100%;
        padding: 0 0 30px;
    }

    .slider-nav-item {
        margin: 0 5px 10px;
    }

    .slider-nav-item img {
        max-width: 100%;
        width: 100%;
        height: 100px;
    }

    .fantazy__product-characteristics-tabs a {
        font-size: 19px;
    }
}

@media (max-width: 1000px) {
    .fantazy__header-top-inner {
        display: none;
    }

    .fantazy__header-menu {
        display: none;
    }

    .fantazy__header-menu-inner {
        display: none;
        overflow: unset;
    }

    .fantazy__header-center-phone.fantazy__header-top-mobile-phone {
        display: none;
    }

    .fantazy__header-top-email::before,
    .fantazy__header-top-login::before,
    .fantazy__header-top-login.expanded::before {
        content: none;
    }

    .fantazy__header-top-login.expanded .fantazy-open__login .icon-enter::before {
        content: "\ea14";
    }

    form.sign-in button {
        justify-content: center;
    }

    form.sign-in button span.icon-enter::before {
        color: #fff;
    }

    .header__btn-menu {
        display: block;
    }

    .fantazy__header-top-mobile {
        display: block;
    }

    .fantazy__header-top-mobile .fantazy-login__wrapper {
        top: 30px;
    }

    .fantazy__header-center-slogan {
        display: none;
    }

    li.menu-item.menu-item__mobile {
        display: block;
    }

    .fantazy__header-menu > li:hover {
        background-color: rgba(255,255,255,.7);
    }

    .fantazy__header-menu > li:hover > ul {
        display: none !important;
    }

    .fantazy__header-menu > li > a {
        padding: 0;
        font-family: "Ubuntu", sans-serif;
    }

    .fantazy__header-menu > li:first-of-type::before {
        display: none;
    }

    .fantazy__header-menu > li:first-of-type {
        padding-left: 0;
    }

    .fantazy__header-menu > li {
        height: 40px;
        border-left: none;
        border-bottom: 1px solid #333;
    }

    .fantazy__header-menu > li:last-of-type {
        border-right: none;
    }

    .fantazy__header-menu > li.pleasure > a {
        background: transparent;
    }

    .fantazy__header-center-icons li.icon-search__mobile {
        display: block;
    }

    .form-search {
        border-radius: 0;
    }

    .fantazy__header-center-search {
        display: none;
        position: absolute;
        top: 71px;
        width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
        margin: 0 auto;
        z-index: 1;
    }

    .header-bottom__menu li span[class*="icon-"]::before,
    .header-bottom__menu li .icon-shield::before,
    .header-bottom__menu li .icon-object-group::before,
    .header-bottom__menu li .icon-refresh::before,
    .header-bottom__menu li .icon-truck::before,
    .header-bottom__menu li .icon-user::before {
        margin-right: 5px !important;
    }

    .header-bottom__menu li a {
        padding: 10px 8px !important;
    }

    .header-bottom__item button, .header-bottom__item .catalog-toggle {
        z-index: 0;
        flex: 0 0 auto;
    }

    .icon-search__mobile.close-search .icon-search-plus::before {
        content: "\f010";
    }

    .fantazy__main {
        padding-top: 80px;
    }

	.slaider-item {
		height: 400px;
	}

	.slaider-title h2 {
		font-size: 30px;
	}

    .fantazy__news-item {
        width: 100%;
    }

    .fantazy__catalog-leftsaitbar {
        display: none;
        position: absolute;
        right: 0;
        top: 35px;
        z-index: 5;
        max-width: 50%;
        margin: 0;
        background: linear-gradient(180deg, #ffffff, #9fdef9, #9fdef9);
        border: 1px solid #ddd;
        padding: 5px;
    }

    .fantazy__catalog-rightsaitbar {
        max-width: 100%;
    }

    .sort__bar-filter {
        display: block;
    }

    .fantazy__product-single-desc h3 {
        font-size: 30px;
    }

    .fantazy__product-characteristics {
        grid-template-columns: repeat(1, 1fr);
    }

    .fantazy__product-characteristics-inner {
        min-height: auto;
    }

    .fantazy__product-characteristics-info {
        height: auto;
    }

    .fantazy__product-characteristics-question {
        padding: 20px;
        max-width: 100%;
        margin: 15px 0 0;
    }
}

@media (max-width: 900px) {
    .header-bottom__item {
        gap: 5px !important;
    }

    .header-bottom__menu ul {
        gap: 3px !important;
    }

    .header-bottom__menu li span[class*="icon-"]::before,
    .header-bottom__menu li .icon-shield::before,
    .header-bottom__menu li .icon-object-group::before,
    .header-bottom__menu li .icon-refresh::before,
    .header-bottom__menu li .icon-truck::before,
    .header-bottom__menu li .icon-user::before {
        margin-right: 0 !important;
    }

    .header-bottom__item button, .header-bottom__item .catalog-toggle {
        padding: 12px 10px !important;
    }

	.fantazy__sub-slider-block-hide > p {
		border-radius: 0;
		margin: 0 0 15px;
		max-width: 100%;
	}

    .fantazy__services-inner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .fantazy__services-item {
        width: 100%;
    }

    .fantazy__product-wrapper {        
        flex-direction: column;
        gap: 30px;
        overflow: hidden;
    }

    .fantazy__product-slaider-inner {
        max-width: 100%;
        margin: 0;
    }

    .slider-for {
        max-width: 100%;
    }

    .slider-for-item img {
        max-width: 100%;
        height: 500px;
        object-fit: cover;
    }

    .slider-nav {
        max-width: 100%;
    }

    .fantazy__product-single-desc {
        max-width: 100%;
    }

    .sort__bar-item span {
        padding: 0 5px;
    }
}

@media (max-width: 800px) {
    .fantazy__header-menu-inner {
        padding: 20px 0 !important;
    }

    .header-bottom__item {
        flex-direction: column;
        width: 100%;
        font-size: 17px;
    }

    .header-bottom__menu ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 5px !important;
    }

    .header-bottom__menu li {
        width: 100%;
    }

    .header-bottom__menu li a:hover,
    .header-bottom__menu li:hover {
        border-radius: var(--menu-border-radius-small) !important;
    }

    .fantazy__header-top-email {
        display: block;
    }

    .menu-catalog {
        top: 130px;
    }

    .menu-catalog__desc {
        padding: 20px 0 20px 20px;
    }

	.fantazy__actual-inner {
		display: grid;
    	grid-template-columns: repeat(2, 1fr);
	}

	.fantazy__actual-item {
		width: 100%;
	}

    .heading h2 a {
        font-size: 22px;
    }

    .fantazy__reviews-inner {
        grid-template-columns: repeat(1, 1fr);
    }

    .fantazy__reviews-item {
        max-width: 100%;
    }

    .fantazy__aboutstore-inner {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }

    .fantazy__map {
        padding: 0;
    }

    .fantazy__map-contacts {
        position: relative;
        top: 0;
        max-width: 100%;
        height: auto;
        padding: 15px;
    }

    .fantazy__map-inner {
        display: flex;
        flex-direction: column-reverse;
    }

    .fantazy__map-box iframe {
        height: 400px;
    }

    .fantazy__map-contacts {
        position: relative;
        top: 0;
        max-width: 100%;
        height: auto;
    }

    .fantazy__map-inner .container {
        width: 100%;
        padding: 0;
    }

    .fantazy__consultation-inner {
        flex-direction: column;
        height: auto;
    }

    .fantazy__consultation-info-faq {
        margin: 0 15px;
    }

    .fantazy__consultation-info-faq h5 {
        margin: 0 15px;
    }

    .fantazy__consultation-info-desc {
        text-align: center;
    }

    .fantazy__product-related-products-title h3 {
        font-size: 26px;
    }

    .sort__bar-item {
        font-size: 15px;
    }

    .sort__bar-item select {
        padding: 8px;
    }
}

@media (max-width: 768px) {
    .fantazy__catalog-leftsaitbar {
        top: 125px;
    }
}

@media (max-width: 700px) {
    .menu-catalog {
        top: 105px;
    }

    .fantazy__main {
        padding-top: 42px;
    }

    .fantazy__footer-top-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin: 0 0 15px;
    }

    .fantazy__footer-top-item img {
        max-width: 30px;
    }

    .fantazy__header-center-links,
    .fantazy__header-center-time {
        display: none;
    }

    .form-search {
        height: 39px;
    }

    .fantazy__header-center-search {
        top: 42px;
    }

    .fantazy__rightsaitbar-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .sort__bar-inner {
        flex-direction: column;
        gap: 10px;
    }

    .fantazy__catalog-leftsaitbar {
        top: 120px;
        max-width: 100%;
    }

    .slider-for-item img {
        height: 400px;
    }
}

@media (max-width: 600px) {
    .fantazy__header-center-inner {
        gap: 12px;
    }

    .fantazy__header-center-logo img {
        width: 25px;
    }

    .fantazy__header-center-logo span.logo_text {
        font-size: 13px;
    }

    .fantazy__header-center-logo a {
        gap: 10px;
    }

    .fantazy__header-center-phone a {
        font-size: 15px;
    }

    .fantazy__header-center-search {
        top: 36px;
    }

    .menu-catalog {
        top: 100px;
    }
    
    .menu-catalog__inner {
        padding: 5px 0 15px;
        flex-direction: column;
    }

    .fantazy__header-center-icons ul {
        gap: 12px;
    }

    .heading {
        margin: 0 0 25px;
    }

    .heading h2 a {
        font-size: 20px;
    }

	.slaider-title h2 {
		font-size: 25px;
	}

    .fantazy__fabric-products-mini {
        display: block;
    }

	.fantazy__sub-slider-img img {
		height: auto;
	}

    .fantazy__sub-slider-block-hide {
        display: block;
    }

    .fantazy__faq-item-title h4 {
        font-size: 15px;
        font-weight: normal;
    }

    .fantazy__faq-item-content {
        font-size: 14px;
        padding: 10px;
    }

    .slider-for-item img {
        height: 350px;
    }

    .fantazy__product-related-products-title h3 {
        font-size: 23px;
    }

    .fantazy__product-related-products-title a {
        font-size: 16px;
    }
}

@media (max-width: 500px) {
    .fantazy__header-center-phone {
        display: none;
    }

    .fantazy__header-center-phone.fantazy__header-top-mobile-phone {
        display: block;
    }

    .menu-item.menu-item__mobile-phone {
        display: block;
    }

	.slaider-title h2 {
		font-size: 22px;
	}

	.slaider-desc span {
		font-size: 15px;
		padding: 8px 20px;
	}

	.fantazy__advantages-item {
		width: 100%;
	}

	.fantazy__sub-slider-img img {
		height: 320px;
	}

    .fantazy__services-inner {
        grid-template-columns: repeat(1, 1fr);
    }

    .fantazy__reviews-item {
        padding: 20px 10px 20px 60px;
        margin: 0 0 0 30px;
    }

    .fantazy__reviews-img {
        min-width: 70px;
        max-width: 70px;
        left: -30px;
    }

    .fantazy__reviews-img img {
        max-width: 70px;
    }

    .fantazy__reviews-allbtn {
        text-align: center;
    }

    .fantazy__map-box iframe {
        height: 300px;
    }

    .fantazy__footer-menu {
        flex-wrap: wrap;
    }

    .fantazy__footer-menu-item {
        width: 100%;
    }

    .fantazy__footer-contacts-inner {
        gap: 5px;
        flex-direction: column;
    }

    .fantazy__footer-contacts-item {
        width: 100%;
    }

    .slider-for-item img {
        height: 300px;
    }

    .fantazy__product-slider {
        padding: 0 0 60px;
    }

    .fantazy__product-availability-shop-item p {
        text-align: right;
    }

    .fantazy__product-characteristics-tabs {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .fantazy__product-characteristics-question p {
        font-size: 20px;
    }
}

@media (max-width: 400px) {
    .fantazy__header-center-inner {
        gap: 10px;
    }

    .fantazy__header-center-logo span.logo_text {
        font-size: 14px;
    }

    .fantazy__header-center-icons ul {
        gap: 8px;
    }

    .heading h2 a {
        font-size: 18px;
    }

	.slaider-title h2 {
		font-size: 19px;
	}

	.slaider-desc span {
		font-size: 15px;
		padding: 8px 20px;
	}

	.fantazy__sub-slider-img img {
		height: 280px;
	}

	.fantazy__sub-slider-title h3 {
		font-size: 15px;
	}

    .fantazy__consultation-info-faq,
    .fantazy__consultation-info-faq h5 {
        margin: 0 10px;
    }

    .fantazy__rightsaitbar-inner {
        grid-template-columns: repeat(1, 1fr);
    }

    .slider-nav-item img {
        height: 75px;
    }

    .fantazy__product-choice {
        flex-direction: column;
    }

    .fantazy__product-choice-item {
        width: 100%;
    }

    .fantazy__product-choice-item .counter-tovara {
        max-width: 180px;
    }

    .fantazy__product-related-products-title {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        justify-content: center;
    }

    .fantazy__product-related-products-title h3 {
        text-align: center;
    }
}

@media (max-width: 360px) {
    .fantazy__header-center-inner {
        gap: 8px;
    }

    .fantazy__header-center-icons ul {
        gap: 5px;
    }

    .fantazy__header-center-icons ul li a {
        font-size: 20px;
    }

    .fantazy-login__wrapper {
        width: 294px;
    }
    
    .sort__bar-item {
        font-size: 14px;
    }
}


@media (min-width: 1001px) {
    .fantazy__header-menu {
		display: flex !important;
	}

    .fantazy__header-menu-inner,
    .fantazy__header-center-search,
    .fantazy__catalog-leftsaitbar {
        display: block !important;
    }
}

@media (min-width: 701px) {
    .fantazy__header-center-links,
    .fantazy__header-center-time {
        display: block;
    }
}

/* === footer.css === */
/* ============================================================
   Подвал сайта. Отдельный файл, подключается после style.css.
   Создан 01.09.2026 вместе с новой разметкой template/footer.php.
   Фоновая картинка подвала оставлена прежней - images/bg_footer.jpg.
   ============================================================ */

.ft {
    --ft-text: #eaf1f8;
    --ft-muted: #a9bed4;
    --ft-line: rgba(255, 255, 255, .14);
    --ft-accent: #ff9000;

    position: relative;
    margin-top: 60px;
    color: var(--ft-text);
    background: #1f3a5f url('../images/bg_footer.jpg') center / cover no-repeat;
    font-family: 'Inter', 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

.ft::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 32, 56, .88) 0%, rgba(14, 32, 56, .94) 100%);
    pointer-events: none;
}

.ft > * {
    position: relative;
    z-index: 1;
}

/* ---------- лента с цифрами ---------- */

.ft__facts {
    border-bottom: 1px solid var(--ft-line);
    background: rgba(255, 255, 255, .04);
}

.ft__facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 26px 0;
}

.ft__fact {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.ft__fact + .ft__fact {
    padding-left: 24px;
    border-left: 1px solid var(--ft-line);
}

.ft__fact-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 144, 0, .16);
    color: var(--ft-accent);
}

.ft__fact-icon svg {
    width: 22px;
    height: 22px;
}

.ft__fact-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ft__fact-text b {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .2px;
    color: #fff;
}

.ft__fact-text span {
    font-size: 13px;
    color: var(--ft-muted);
}

/* ---------- основная сетка ---------- */

.ft__main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1.2fr;
    gap: 36px;
    padding: 44px 0 36px;
}

.ft__col {
    min-width: 0;
}

.ft__title {
    margin: 0 0 18px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #fff;
}

.ft__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ft__list li + li {
    margin-top: 10px;
}

.ft__list a {
    color: var(--ft-muted);
    text-decoration: none;
    transition: color .2s ease, padding-left .2s ease;
}

.ft__list a:hover {
    color: #fff;
    padding-left: 4px;
}

/* ---------- колонка бренда ---------- */

.ft__logo {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 24px;
    letter-spacing: 3px;
    color: #fff;
    margin-bottom: 14px;
}

.ft__tagline {
    margin: 0 0 22px;
    color: var(--ft-muted);
    font-size: 14px;
}

.ft__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 10px;
    background: var(--ft-accent);
    color: #12233b;
    font-weight: 600;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ft__cta svg {
    width: 18px;
    height: 18px;
}

.ft__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(255, 144, 0, .28);
    color: #12233b;
}

/* ---------- контакты ---------- */

.ft__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.ft__phone svg {
    width: 20px;
    height: 20px;
    color: var(--ft-accent);
}

.ft__phone:hover {
    color: var(--ft-accent);
}

.ft__worktime {
    margin: 8px 0 16px;
    font-size: 13px;
    color: var(--ft-muted);
}

.ft__mail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--ft-text);
    text-decoration: none;
}

.ft__mail svg {
    width: 18px;
    height: 18px;
    color: var(--ft-accent);
}

.ft__mail:hover {
    color: var(--ft-accent);
}

.ft__shops {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ft__shops li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid var(--ft-line);
}

.ft__shops svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--ft-accent);
}

.ft__shops b {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
}

.ft__shops em {
    display: block;
    font-style: normal;
    font-size: 13px;
    color: var(--ft-muted);
}

/* ---------- подписка ---------- */

.ft__sub-text {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--ft-muted);
}

.ft__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ft__field input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--ft-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    transition: border-color .2s ease, background .2s ease;
}

.ft__field input::placeholder {
    color: #8ea6c0;
}

.ft__field input:focus {
    outline: none;
    border-color: var(--ft-accent);
    background: rgba(255, 255, 255, .12);
}

.ft__submit {
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: #12233b;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.ft__submit:hover {
    background: var(--ft-accent);
    color: #12233b;
}

.ft__note {
    margin: 12px 0 0;
    font-size: 12px;
    color: #8ea6c0;
}

.ft__note a {
    color: var(--ft-muted);
}

.ft__note a:hover {
    color: #fff;
}

/* ---------- нижняя строка ---------- */

.ft__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 0 26px;
    border-top: 1px solid var(--ft-line);
}

.ft__copy {
    margin: 0;
    font-size: 13px;
    color: var(--ft-muted);
}

.ft__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
}

.ft__legal a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ft-muted);
    text-decoration: none;
    transition: color .2s ease;
}

.ft__legal svg {
    width: 16px;
    height: 16px;
    color: var(--ft-accent);
    opacity: .85;
    transition: opacity .2s ease;
}

.ft__legal a:hover {
    color: #fff;
}

.ft__legal a:hover svg {
    opacity: 1;
}

/* ---------- адаптив ---------- */

@media (max-width: 1200px) {
    .ft__main {
        grid-template-columns: 1.3fr 1fr 1fr;
        row-gap: 34px;
    }

    .ft__col--contacts,
    .ft__col--subscribe {
        grid-column: span 1;
    }
}

@media (max-width: 900px) {
    .ft__facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ft__fact:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .ft__main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .ft__facts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ft__fact + .ft__fact {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--ft-line);
        padding-top: 16px;
    }

    .ft__main {
        grid-template-columns: 1fr;
        padding: 32px 0 26px;
    }

    .ft__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* === layout-3col.css === */
/* ============================================================
   Трёхколоночная раскладка каталога: фильтры - товары - модули.
   Создан 01.09.2026. Базовая сетка (две колонки) описана в catalog.css,
   здесь она переопределяется на grid, чтобы добавить правую колонку.
   ============================================================ */

.fantazy__catalog-inner {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 280px;
    align-items: start;
    gap: 24px;
}

.fantazy__catalog-leftsaitbar {
    max-width: none;
    width: auto;
    margin: 0;
}

.fantazy__catalog-rightsaitbar {
    min-width: 0;
}

/* ---------- правая колонка ---------- */

.rc {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    color: #2c2c2c;
}

.rc__block {
    padding: 18px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(44, 87, 130, .08);
}

.rc__title {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: #2c5782;
}

/* новые поступления */

.rc__products {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rc__product + .rc__product {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eef2f6;
}

.rc__product a {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.rc__product-img {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 10px;
    overflow: hidden;
    background: #f4f6f9;
}

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

.rc__product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.rc__product-name {
    font-size: 13px;
    line-height: 1.35;
    color: #2c2c2c;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rc__product-price {
    font-weight: 700;
    font-size: 14px;
    color: #2c5782;
}

.rc__product-price em {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    color: #8a94a0;
}

.rc__product a:hover .rc__product-name {
    color: #f90;
}

/* помощь в подборе */

.rc__block--help {
    text-align: center;
    background: linear-gradient(160deg, #2c5782 0%, #1f3f61 100%);
    color: #fff;
}

.rc__block--help .rc__title {
    color: #fff;
}

.rc__help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #ffb055;
}

.rc__help-icon svg {
    width: 22px;
    height: 22px;
}

.rc__help-text {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.5;
    color: #cbdcec;
}

.rc__phone {
    display: block;
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.rc__phone:hover {
    color: #ffb055;
}

.rc__help-time {
    display: block;
    margin-bottom: 14px;
    font-size: 12px;
    color: #9fb6cd;
}

.rc__help-btn {
    display: block;
    padding: 11px 14px;
    border-radius: 10px;
    background: #f90;
    color: #12233b;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease;
}

.rc__help-btn:hover {
    background: #ffb055;
    color: #12233b;
}

/* доставка и оплата */

.rc__facts {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rc__facts li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
}

.rc__facts li + li {
    border-top: 1px solid #eef2f6;
}

.rc__facts svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: #f90;
}

.rc__facts span {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    line-height: 1.4;
    color: #6b7785;
}

.rc__facts b {
    font-size: 13px;
    font-weight: 600;
    color: #2c2c2c;
}

/* ---------- адаптив ---------- */

@media (max-width: 1280px) {
    .fantazy__catalog-inner {
        grid-template-columns: 230px minmax(0, 1fr);
    }

    .fantazy__catalog-leftsaitbar,
    .fantazy__catalog-rightsaitbar {
        min-width: 0;
    }

    .rc {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .rc__block {
        flex: 1 1 280px;
    }
}

@media (max-width: 768px) {
    /* minmax(0, 1fr) обязателен: у grid-элементов min-width по умолчанию auto,
       и длинные названия товаров распирали сетку шире экрана */
    .fantazy__catalog-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .fantazy__catalog-leftsaitbar,
    .fantazy__catalog-rightsaitbar,
    .rc {
        min-width: 0;
        max-width: 100%;
    }

    .rc {
        flex-direction: column;
    }

    .sort__bar-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .sort__bar-inner select {
        width: 100%;
    }
}

/* === ui-modern.css === */
/* ============================================================
   Современная типографика и карточки каталога.
   Создан 01.09.2026. Подключается последним, поверх style.css и catalog.css.
   Фон страницы намеренно не трогаем - он остаётся прежним.
   ============================================================ */

body,
button,
input,
select,
textarea {
    font-family: 'Inter', 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fantazy__catalog .heading h1,
.fantazy__catalog h1 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 400;
    letter-spacing: .2px;
}

/* ---------- сетка карточек ---------- */

.fantazy__rightsaitbar-inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 18px;
    align-items: stretch;
}

/* ---------- карточка товара ---------- */

.fantazy__rightsaitbar-item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(44, 87, 130, .06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.fantazy__rightsaitbar-item:hover {
    transform: translateY(-3px);
    border-color: #d8e4f0;
    box-shadow: 0 12px 26px rgba(44, 87, 130, .14);
}

/* артикул */
.fantazy__products-sku {
    padding: 0 14px 12px;
    background: none;
}

.fantazy__products-sku h2 {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}

.fantazy__products-sku h2 a {
    color: #93a2b3;
    text-decoration: none;
    letter-spacing: .3px;
}

.fantazy__products-sku h2 a:hover {
    color: #2c5782;
}

/* картинка */
.fantazy__rightsaitbar-img {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #f5f7fa;
    overflow: hidden;
}

.fantazy__rightsaitbar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.fantazy__rightsaitbar-item:hover .fantazy__rightsaitbar-img img {
    transform: scale(1.04);
}

/* заглушка для товаров без фото */
.no-photo {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(140deg, #f7f9fc 0%, #eef2f7 100%);
    color: #b9c6d6;
}

.no-photo svg {
    width: 34px;
    height: 34px;
}

.no-photo em {
    font-style: normal;
    font-size: 11px;
    letter-spacing: .3px;
    color: #adbccd;
}

/* название */
.fantazy__rightsaitbar-title {
    padding: 14px 14px 8px;
}

.fantazy__rightsaitbar-title h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    color: #2c2c2c;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.9em;
}

.fantazy__rightsaitbar-item a {
    text-decoration: none;
}

.fantazy__rightsaitbar-item:hover .fantazy__rightsaitbar-title h2 {
    color: #2c5782;
}

/* цена */
.fantazy__rightsaitbar-price {
    padding: 0 14px 12px;
    background: none;
}

/* в new_style.css цена нарисована жёлтой плашкой и с !important,
   поэтому здесь селектор той же силы и тоже с !important */
.fantazy__rightsaitbar-item .fantazy__rightsaitbar-price span.price,
.fantazy__rightsaitbar-price span.price,
.fantazy__rightsaitbar-price span {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    text-shadow: none !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    color: #1f3f61 !important;
    letter-spacing: .2px;
}

/* карточка категории внутри каталога */
.fantazy__category-products-count {
    margin-top: 8px;
}

.products-count-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    background: #eef3f9;
    color: #2c5782;
    font-size: 12px;
    font-weight: 600;
}

/* ---------- панель сортировки ---------- */

.sort__bar-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding: 12px 16px;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
}

.sort__bar-inner select {
    height: 36px;
    padding: 0 10px;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: #2c2c2c;
}

.sub_title {
    margin: 26px 0 14px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #2c5782;
}

@media (max-width: 600px) {
    .fantazy__rightsaitbar-inner {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .fantazy__rightsaitbar-title h2 {
        font-size: 13px;
        min-height: 3.6em;
    }
}

/* ---------- защита от горизонтального переполнения на телефонах ----------
   На узких экранах контент вылезал за правый край: у .container ширина 95%
   плюс собственные отступы, а внутренние сетки и длинные слова его распирали.
   Здесь только страховка, раскладку блоков это не меняет. */

@media (max-width: 768px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .container {
        max-width: 100%;
        padding-left: 14px;
        padding-right: 14px;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .fantazy__catalog-inner,
    .fantazy__rightsaitbar-inner,
    .sort__bar-inner {
        max-width: 100%;
    }
}

/* ---------- заглушка «Фото скоро появится» ----------
   У 96% товаров в базе imgs = 'no_gb', то есть фото ещё не загружено.
   Вместо битой картинки или пустого блока показываем аккуратную заглушку. */

.no-photo {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(140deg, #f7f9fc 0%, #eef2f7 100%);
    color: #b9c6d6;
    text-align: center;
}

.no-photo svg {
    width: 34px;
    height: 34px;
}

.no-photo em {
    font-style: normal;
    font-size: 11px;
    letter-spacing: .2px;
    color: #adbccd;
}

/* вариант для плитки категории: контейнер там без заданной высоты, поэтому
   заглушка стоит в потоке и сама держит пропорции 4:3, а не растягивается
   по absolute внутри блока нулевой высоты. 02.09.2026 */
.no-photo--cat {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: inherit;
}

/* крупный вариант - карточка товара, где под фото отведён большой блок */
.no-photo--big {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 320px;
    border-radius: 14px;
    gap: 14px;
}

.no-photo--big svg {
    width: 64px;
    height: 64px;
}

.no-photo--big em {
    font-size: 15px;
    color: #9aabbd;
}

@media (max-width: 767px) {
    .no-photo--big {
        min-height: 220px;
    }

    .no-photo--big svg {
        width: 48px;
        height: 48px;
    }

    .no-photo--big em {
        font-size: 13px;
    }
}

/* === discount-badge.css === */
/* ============================================================
   Плашки скидки на карточке товара.
   Создан 01.09.2026: стили и анимация вынесены из инлайнового <style>
   в modules/mod_category_products.php, вид переработан по образцу duale.shop -
   круг с пунктирной каймой, но с плавным появлением вместо скролл-скрипта.
   Анимация чисто на CSS: если JS не отработает, плашка всё равно видна.
   ============================================================ */

.fantazy__rightsaitbar-item {
    position: relative;
}

.discount-badge_cat {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.discount-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 3px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, .85);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .2px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(17, 34, 51, .28);
    opacity: 0;
    transform: scale(.5) rotate(-12deg);
    animation: badge-pop .55s cubic-bezier(.2, .9, .3, 1.35) forwards;
}

/* первая ступень скидки */
.discount-circle.right {
    background: radial-gradient(circle at 30% 25%, #ff6a5e 0%, #ef3b2f 55%, #d8261a 100%);
    animation-delay: .1s;
}

/* максимальная скидка */
.discount-circle.left {
    background: radial-gradient(circle at 30% 25%, #3f8ae0 0%, #1f6fd0 55%, #12457f 100%);
    animation-delay: .25s;
}

.explanation {
    margin-top: 1px;
    font-size: 9px;
    white-space: nowrap;
    font-weight: 500;
    line-height: 1.15;
    color: rgba(255, 255, 255, .92);
    text-align: center;
}

@keyframes badge-pop {
    0% {
        opacity: 0;
        transform: scale(.5) rotate(-12deg);
    }
    70% {
        opacity: 1;
        transform: scale(1.08) rotate(3deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

/* лёгкое «дыхание» после появления, чтобы плашка притягивала взгляд */
.discount-circle::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid currentColor;
    color: inherit;
    opacity: 0;
    animation: badge-halo 3.2s ease-out 1s infinite;
}

@keyframes badge-halo {
    0% {
        opacity: .45;
        transform: scale(.86);
    }
    45% {
        opacity: 0;
        transform: scale(1.18);
    }
    100% {
        opacity: 0;
        transform: scale(1.18);
    }
}

.fantazy__rightsaitbar-item:hover .discount-circle {
    transform: scale(1.06);
    transition: transform .2s ease;
}

/* когда скидок две, вторая плашка чуть меньше */
.discount-circle.left + .discount-circle.right,
.discount-circle.right + .discount-circle.left {
    width: 58px;
    height: 58px;
    font-size: 15px;
}

@media (prefers-reduced-motion: reduce) {
    .discount-circle,
    .discount-circle::after {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 600px) {
    .discount-circle {
        width: 54px;
        height: 54px;
        font-size: 14px;
    }

    .explanation {
        font-size: 8px;
    }
}

/* === breadcrumbs.css === */
/* breadcrumbs.css - хлебные крошки на телефоне.
   17.11.2026: вынесено из catalog-ui.css без изменений. Крошки есть почти на
   всех страницах, а catalog-ui.css с раскладкой css по разделам грузится
   только в каталоге. В порядке подключения стоит сразу перед catalog-ui.css -
   то же место в каскаде, что и раньше. */

@media (max-width: 767px) {
    /* хлебные крошки: мелко и без лишней вертикали */
    .fantazy-breadcrumb {
        padding: 6px 0 !important;
        margin: 0 !important;
    }

    .fantazy-breadcrumb .container {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .fantazy-breadcrumb,
    .fantazy-breadcrumb a,
    .fantazy-breadcrumb span {
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    .fantazy-breadcrumb .icon-home::before {
        font-size: 12px !important;
    }
}

/* === catalog-ui.css === */
/* ============================================================
   Каталог: плотная маркетплейс-раскладка, панель инструментов,
   три режима отображения товаров и оформление фильтра.
   Создан 01.09.2026. Подключается последним - переопределяет
   старые правила из style.css / catalog.css / new_style.css.
   ============================================================ */

/* ---------- общая плотность ---------- */

.fantazy__catalog {
    padding-bottom: 40px;
}

.fantazy__catalog .heading {
    margin-bottom: 14px;
}

.fantazy__catalog-inner {
    gap: 20px;
}

/* ---------- панель инструментов ---------- */

.sort__bar-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 16px;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(31, 63, 97, .08);
    font-size: 14px;
    color: #5c6b7d;
}

.sort__bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.sort__bar-item:first-child {
    margin-right: auto;
}

.sort__bar-inner select {
    height: 34px;
    padding: 0 28px 0 10px;
    border: 1px solid #e3e9f0;
    border-radius: 8px;
    background: #fff;
    color: #2c3542;
    font-size: 14px;
    cursor: pointer;
}

.sort__bar-inner strong {
    color: #1f3f61;
}

/* переключатель режима показа */

.view-switch {
    display: flex;
    gap: 4px;
    padding: 3px;
    border-radius: 9px;
    background: #f2f5f9;
}

.view-switch button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: none;
    color: #8a99ab;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.view-switch button svg {
    width: 16px;
    height: 16px;
}

.view-switch button:hover {
    color: #2c5782;
}

.view-switch button.is-active {
    background: #fff;
    color: #1f3f61;
    box-shadow: 0 1px 3px rgba(31, 63, 97, .16);
}

/* ---------- сетка товаров ----------
   Раскладка карточки как на крупных маркетплейсах: картинка во всю ширину,
   сразу под ней цена крупным жирным, затем название в две строки и артикул.
   Никаких внутренних рамок и пустых зон - высота карточки по содержимому. */

.fantazy__rightsaitbar-inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)) !important;
    gap: 10px !important;
    align-items: start;
    grid-auto-rows: min-content;
}

.fantazy__rightsaitbar-item {
    align-self: start;
    display: flex;
    flex-direction: column;
    height: max-content;
    padding: 0 0 10px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
    transition: box-shadow .16s ease, transform .16s ease;
}

.fantazy__rightsaitbar-item:hover {
    transform: none;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(17, 34, 51, .12);
}

.fantazy__rightsaitbar-item > a {
    /* contents ломается в старых движках, а block добавляет пустые строки
       от переносов в разметке - поэтому flex */
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* картинка */
.fantazy__rightsaitbar-img {
    position: relative;
    aspect-ratio: 1 / 1;
    margin: 0 0 8px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    background: #f5f7fa;
}

/* цена - первое, что читает покупатель.
   В catalog.css она была position:absolute внизу карточки и наезжала на артикул. */
.fantazy__rightsaitbar-price {
    position: static !important;
    inset: auto !important;
    padding: 0 10px !important;
    margin: 0 0 4px !important;
    background: none;
    text-align: left !important;
}

.fantazy__rightsaitbar-item .fantazy__rightsaitbar-price span.price {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    text-shadow: none !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: #12233b !important;
    letter-spacing: -.2px;
}

/* название */
.fantazy__rightsaitbar-title {
    padding: 0 10px;
    margin: 0 0 6px;
    text-align: left;
}

.fantazy__rightsaitbar-title h2 {
    margin: 0;
    min-height: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.32;
    color: #2c3542;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fantazy__rightsaitbar-item:hover .fantazy__rightsaitbar-title h2 {
    color: #1f6fd0;
}

/* артикул.
   02.09.2026: в плиточном режиме артикул переехал плашкой в правый верхний
   угол фотографии. Внизу карточки он был четвёртой строкой подряд - цена,
   название, артикул - и спорил с названием за внимание. Плашки скидки стоят
   слева сверху, поэтому углы не конфликтуют.
   В режимах «список» и «таблица» артикул остаётся отдельной колонкой сетки:
   там строка одна, накладывать нечего. */
.fantazy__products-sku {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    padding: 3px 9px;
    border: 1px solid rgba(23, 43, 66, .06);
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 1px 4px rgba(17, 34, 51, .08);
    text-align: left;
    transition: background .15s ease, color .15s ease;
}

.fantazy__products-sku h2 {
    margin: 0;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: .02em;
    color: #6b7686;
    /* цифры одной ширины: артикулы выстраиваются ровным столбцом */
    font-variant-numeric: tabular-nums;
    text-align: left;
    white-space: nowrap;
}

.fantazy__rightsaitbar-item:hover .fantazy__products-sku {
    background: #fff;
}

.fantazy__rightsaitbar-item:hover .fantazy__products-sku h2 {
    color: #3d4757;
}

.fantazy__products-sku h2 a {
    color: inherit;
    text-decoration: none;
}

.fantazy__products-sku h2 a:hover {
    color: #1f6fd0;
}

/* ---------- режим «список» ---------- */

.fantazy__rightsaitbar-inner.view-list {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
}

.view-list .fantazy__rightsaitbar-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 140px;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 4px 14px;
    padding: 10px 14px 10px 10px;
}

.view-list .fantazy__rightsaitbar-item > a {
    /* contents ломается в старых движках, а block добавляет пустые строки
       от переносов в разметке - поэтому flex */
    display: flex;
    flex-direction: column;
    width: 100%;
}

.view-list .fantazy__rightsaitbar-img {
    grid-area: 1 / 1 / 3 / 2;
    width: 96px;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
}

.view-list .fantazy__rightsaitbar-title {
    grid-area: 1 / 2 / 2 / 3;
    align-self: end;
    padding: 0;
    text-align: left;
}

.view-list .fantazy__rightsaitbar-title h2 {
    min-height: 0;
    font-size: 14px;
    line-height: 1.35;
    text-align: left;
    -webkit-line-clamp: 2;
}

.view-list .fantazy__products-sku {
    position: static;
    grid-area: 2 / 2 / 3 / 3;
    align-self: start;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    text-align: left;
}

.view-list .fantazy__products-sku h2 {
    font-size: 12px;
    color: #9aa7b6;
}

.view-list .fantazy__rightsaitbar-price {
    grid-area: 1 / 3 / 3 / 4;
    padding: 0;
    text-align: right;
}

.view-list .discount-badge_cat {
    top: 14px;
    left: 14px;
    flex-direction: row;
    gap: 3px;
}

.view-list .discount-circle {
    width: 34px;
    height: 34px;
    font-size: 10px;
    border-width: 1px;
}

.view-list .discount-circle::after,
.view-list .discount-circle .explanation {
    display: none;
}

/* ---------- режим «таблица» ---------- */

.fantazy__rightsaitbar-inner.view-table {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    border: 1px solid #edf1f6;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.view-table .fantazy__rightsaitbar-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 108px 108px 92px;
    align-items: center;
    gap: 12px;
    padding: 7px 14px;
    border: 0;
    border-bottom: 1px solid #f0f3f7;
    border-radius: 0;
}

.view-table .fantazy__rightsaitbar-item:last-child {
    border-bottom: 0;
}

.view-table .fantazy__rightsaitbar-item:hover {
    background: #f8fafc;
    box-shadow: none;
    transform: none;
}

.view-table .fantazy__rightsaitbar-item > a {
    /* contents ломается в старых движках, а block добавляет пустые строки
       от переносов в разметке - поэтому flex */
    display: flex;
    flex-direction: column;
    width: 100%;
}

.view-table .fantazy__rightsaitbar-img {
    grid-column: 1;
    width: 48px;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
}

.view-table .no-photo em {
    display: none;
}

.view-table .no-photo svg {
    width: 18px;
    height: 18px;
}

.view-table .fantazy__rightsaitbar-title {
    grid-column: 2;
    padding: 0;
    text-align: left;
}

.view-table .fantazy__rightsaitbar-title h2 {
    min-height: 0;
    font-size: 13px;
    line-height: 1.3;
    text-align: left;
    -webkit-line-clamp: 1;
}

/* скидки в таблице - компактные пилюли вместо кругов */
.view-table .discount-badge_cat {
    position: static;
    grid-column: 3;
    flex-direction: row;
    gap: 4px;
    justify-content: flex-start;
}

.view-table .discount-circle {
    width: auto;
    height: auto;
    min-width: 44px;
    white-space: nowrap;
    flex-direction: row;
    padding: 3px 8px;
    border: 0;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: none;
    animation: none;
    opacity: 1;
    transform: none;
}

.view-table .discount-circle::after,
.view-table .discount-circle .explanation {
    display: none;
}

.view-table .fantazy__products-sku {
    position: static;
    grid-column: 4;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    text-align: right;
}

.view-table .fantazy__products-sku h2 {
    font-size: 11px;
    color: #9aa7b6;
    text-align: right;
}

.view-table .fantazy__rightsaitbar-price {
    grid-column: 5;
    padding: 0;
    text-align: right;
}

.view-table .fantazy__rightsaitbar-item .fantazy__rightsaitbar-price span.price {
    font-size: 15px !important;
}

/* ---------- фильтр ---------- */

.fantazy__catalog-leftsaitbar {
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(31, 63, 97, .08);
    overflow: hidden;
}

.fantazy__category-leftsaitbar-item,
.filter-left-item {
    margin: 0;
    border-bottom: 1px solid #eef2f7;
    box-shadow: none;
}

.filter-left-item:last-of-type {
    border-bottom: 0;
}

.fantazy__category-leftsaitbar-item-title {
    padding: 13px 14px;
    background: none;
    color: #12233b;
    font-size: 15px;
    font-weight: 600;
}

.fantazy__category-leftsaitbar-item-content {
    padding: 0 14px 12px;
    max-height: 230px;
    overflow-y: auto;
}

.fantazy__category-leftsaitbar-item-content .checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    color: #3d4855;
    cursor: pointer;
}

.fantazy__category-leftsaitbar-item-content .checkbox:hover {
    color: #1f3f61;
}

.fantazy__category-leftsaitbar-item-content input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #f90;
    cursor: pointer;
}

#fltr_str {
    padding: 12px 14px;
    background: #f7f9fc;
    border-bottom: 1px solid #eef2f7;
}

.default-btn-reset {
    display: block;
    padding: 8px;
    border-radius: 8px;
    background: #eef2f7;
    color: #47535f !important;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
}

.default-btn-reset:hover {
    background: #e3e9f0;
    color: #1f3f61 !important;
}

.fantazy__category-leftsaitbar-item-price {
    padding: 6px 14px 16px;
}

/* выбранные значения фильтра */

.fltr-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

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

.fltr-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 20px;
    background: #eef3f9;
    color: #1f3f61;
    font-size: 12px;
}

.fltr-chip b {
    font-weight: 600;
}

.fltr-chip button {
    border: 0;
    background: none;
    color: #7d8ea0;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.fltr-chip button:hover {
    color: #d8261a;
}

@media (max-width: 900px) {
    .view-list .fantazy__rightsaitbar-item {
        grid-template-columns: 84px minmax(0, 1fr);
    }

    .view-list .fantazy__rightsaitbar-price {
        grid-column: 2;
        grid-row: 2;
        text-align: left;
        margin-top: 6px;
    }

    .view-list .fantazy__products-sku {
        display: none;
    }

    .view-table .fantazy__rightsaitbar-item {
        grid-template-columns: 44px minmax(0, 1fr) 90px;
    }

    .view-table .fantazy__products-sku {
        display: none;
    }
}

/* ============================================================
   Карточки подкатегорий. Отдельный блок: у них нет цены,
   поэтому общие правила товарной карточки растягивали их
   пустотой, а счётчик уезжал вниз.
   ============================================================ */

.cats-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
    gap: 12px !important;
    margin-bottom: 22px;
    /* высота строки сетки по содержимому: иначе карточка тянется
       по самой высокой в ряду и под коротким названием остаётся пустота */
    align-items: start !important;
    grid-auto-rows: min-content !important;
}

.cats-grid .fantazy__rightsaitbar-item {
    /* сброс наследия catalog.css: margin-bottom 30px и боковые padding.
       align-self обязателен: без него grid тянет карточку по высоте самой
       высокой в ряду, и под коротким названием остаётся пустой белый низ. */
    align-self: start !important;
    display: flex;
    flex-direction: column;
    height: max-content !important;
    min-height: 0;
    margin: 0 !important;
    padding: 0 0 12px !important;
    overflow: hidden;
}

.cats-grid .fantazy__rightsaitbar-title,
.cats-grid .fantazy__rightsaitbar-title h2,
.cats-grid .fantazy__category-products-count {
    min-height: 0 !important;
}

.cats-grid .fantazy__rightsaitbar-item > a {
    /* flex, а не block: между блоками в разметке стоят переносы строк,
       и в блочном контексте они превращались в пустые текстовые строки -
       по 40 лишних пикселей в каждой карточке. Во flex такие узлы игнорируются. */
    display: flex;
    flex-direction: column;
    height: auto;
}

.cats-grid .fantazy__rightsaitbar-img {
    aspect-ratio: 4 / 3;
    border-radius: 12px 12px 0 0;
    margin: 0;
    padding: 0;
}

.cats-grid .fantazy__rightsaitbar-title {
}

.cats-grid .fantazy__rightsaitbar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cats-grid .fantazy__rightsaitbar-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    text-align: left;
}

.cats-grid .fantazy__rightsaitbar-title h2 {
    min-height: 0;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
    color: #12233b;
    text-align: left;
    -webkit-line-clamp: 2;
}

.cats-grid .fantazy__category-products-count {
    margin: 0;
    text-align: left;
}

/* в catalog.css бейдж белым по градиенту - здесь перекрываем целиком */
.cats-grid .products-count-badge,
.products-count-badge {
    display: inline-block;
    padding: 3px 10px !important;
    border-radius: 20px;
    background: #eef2f7 !important;
    color: #4a5a6d !important;
    font-size: 13px !important;
    font-weight: 500;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow: none !important;
}

.cats-grid .fantazy__rightsaitbar-item:hover .fantazy__rightsaitbar-title h2 {
    color: #f90;
}

/* ---------- сброс наследия catalog.css в карточках ----------
   Там у картинки жёстко height:150px и max-width:90% с боковыми padding,
   а у заголовка margin:15px 0. В сумме это давало белые поля вокруг фото
   и пустую полосу под текстом. */

.fantazy__rightsaitbar-img img,
.cats-grid .fantazy__rightsaitbar-img img {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    padding: 0 !important;
    border-radius: 0 !important;
    object-fit: cover;
    background: none !important;
}

.fantazy__rightsaitbar-item .fantazy__rightsaitbar-title,
.cats-grid .fantazy__rightsaitbar-item .fantazy__rightsaitbar-title {
    margin: 0 !important;
}

.fantazy__rightsaitbar-item .fantazy__rightsaitbar-title {
    padding: 0 10px !important;
}

.cats-grid .fantazy__rightsaitbar-item .fantazy__rightsaitbar-title {
    padding: 12px !important;
}

/* ============================================================
   Мобильная версия каталога. С телефонов приходит основная часть
   посетителей, поэтому раскладка здесь своя, а не «сжатый десктоп».
   ============================================================ */

@media (max-width: 767px) {
    /* ничто не должно распирать экран: у grid-элементов min-width по умолчанию
       auto, и длинные названия товаров выталкивали сетку за правый край */
    .fantazy__catalog,
    .fantazy__catalog .container,
    .fantazy__catalog-inner,
    .fantazy__catalog-leftsaitbar,
    .fantazy__catalog-rightsaitbar,
    .fantazy__rightsaitbar-inner,
    .cats-grid,
    .sort__bar-inner,
    .rc {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .fantazy__catalog .container {
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    .fantazy__catalog-inner {
        display: block !important;
    }

    .fantazy__catalog .heading {
        margin: 8px 0 12px;
    }

    .fantazy__catalog .heading h1,
    .fantazy__catalog h1 {
        position: static;
        font-size: 22px;
        line-height: 1.2;
        margin: 0 0 12px;
        text-align: left;
    }

    /* панель инструментов - одна строка без подложки и лишних рамок:
       на узком экране каждая рамка и отступ отнимают место у сортировки */
    .sort__bar-inner {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center;
        gap: 6px;
        margin: 0 0 10px;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: none !important;
        box-shadow: none !important;
        font-size: 13px;
    }

    .sort__bar-item {
        gap: 0;
        margin: 0 !important;
        padding: 0 !important;
        min-width: 0;
        border: 0 !important;
        background: none !important;
    }

    /* подписи «Показаны …» и «Сортировать по» на телефоне не нужны */
    .sort__bar-item span:not(.filter),
    .sort__bar-item strong {
        display: none !important;
    }

    .sort__bar-inner select {
        height: 34px;
        padding: 0 20px 0 8px;
        border: 1px solid #e3e9f0;
        border-radius: 8px;
        background-color: #fff;
        font-size: 13px;
    }

    .sort__bar-item:first-child {
        flex: 0 0 auto;
    }

    .sort__bar-item:first-child select {
        width: 64px;
        padding-left: 8px;
        padding-right: 18px;
    }

    .sort__bar-item:nth-child(2) {
        flex: 1 1 auto;
        min-width: 0;
    }

    .sort__bar-item:nth-child(2) select {
        width: 100%;
        min-width: 0;
    }

    /* фильтр - иконкой */
    .sort__bar-filter {
        flex: 0 0 auto;
    }

    .sort__bar-inner .filter {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        padding: 0;
        border-radius: 8px;
        background: #12233b;
        color: #fff;
        font-size: 0;
    }

    .sort__bar-inner .filter i {
        font-size: 14px;
    }

    /* переключатель вида - без подложки, только иконки */
    .view-switch {
        flex: 0 0 auto;
        gap: 0;
        padding: 0;
        border-radius: 8px;
        background: none;
    }

    .view-switch button {
        width: 30px;
        height: 34px;
        border-radius: 6px;
    }

    .view-switch button svg {
        width: 15px;
        height: 15px;
    }

    .view-switch button.is-active {
        background: #eef2f7;
        box-shadow: none;
    }

    /* хлебные крошки - в breadcrumbs.css (17.11.2026): они есть на всех
       страницах, а этот файл грузится только в каталоге */

    /* товары - две колонки */
    .fantazy__rightsaitbar-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .fantazy__rightsaitbar-item {
        border-radius: 10px;
        padding-bottom: 8px;
    }

    .fantazy__rightsaitbar-img {
        margin-bottom: 6px;
        border-radius: 10px 10px 0 0;
    }

    .fantazy__rightsaitbar-item .fantazy__rightsaitbar-price span.price {
        font-size: 17px !important;
    }

    .fantazy__rightsaitbar-title {
        padding: 0 8px !important;
    }

    .fantazy__rightsaitbar-title h2 {
        font-size: 13px;
        line-height: 1.28;
    }

    .fantazy__rightsaitbar-price {
        padding: 0 8px !important;
    }

    /* На телефоне плашка мельче и ближе к краю: карточка вдвое уже,
       и прежние отступы съедали угол фотографии. */
    .fantazy__products-sku {
        top: 6px;
        right: 6px;
        padding: 2px 7px;
    }

    .fantazy__products-sku h2 {
        font-size: 10px;
    }

    .view-list .fantazy__products-sku,
    .view-table .fantazy__products-sku {
        padding: 0;
    }

    /* подкатегории - тоже две колонки, картинка ниже */
    .cats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        margin-bottom: 16px;
    }

    .cats-grid .fantazy__rightsaitbar-img {
        aspect-ratio: 3 / 2;
    }

    .cats-grid .fantazy__rightsaitbar-item .fantazy__rightsaitbar-title {
        padding: 8px !important;
        gap: 6px;
    }

    .cats-grid .fantazy__rightsaitbar-title h2 {
        font-size: 14px;
    }

    /* высота карточки строго по содержимому и на телефоне */
    .cats-grid .fantazy__rightsaitbar-item,
    .cats-grid .fantazy__rightsaitbar-item > a {
        height: max-content !important;
        min-height: 0 !important;
        align-self: start !important;
    }

    .cats-grid {
        align-items: start !important;
        grid-auto-rows: min-content !important;
    }

    .cats-grid .products-count-badge,
    .products-count-badge {
        font-size: 11px !important;
        padding: 2px 8px !important;
    }

    .sub_title {
        margin: 14px 0 8px;
        font-size: 13px;
    }

    /* плашки скидки на маленькой карточке */
    .discount-circle {
        width: 44px;
        height: 44px;
        font-size: 12px;
    }

    .discount-circle .explanation {
        font-size: 8px;
    }

    /* правая колонка уходит вниз и становится компактной */
    .rc {
        gap: 10px;
    }

    .rc__block {
        padding: 14px;
    }

    /* режимы «список» и «таблица» на телефоне сводим к одной колонке */
    .fantazy__rightsaitbar-inner.view-list,
    .fantazy__rightsaitbar-inner.view-table {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .view-list .fantazy__rightsaitbar-item {
        grid-template-columns: 84px minmax(0, 1fr);
        padding: 8px;
    }

    .view-list .fantazy__rightsaitbar-img {
        width: 84px;
    }

    .view-table .fantazy__rightsaitbar-item {
        grid-template-columns: 44px minmax(0, 1fr) 80px;
        padding: 6px 8px;
    }

    .view-table .discount-badge_cat,
    .view-table .fantazy__products-sku {
        display: none;
    }
}

/* Страховка: если класс режима всё-таки попал на сетку подкатегорий,
   она всё равно остаётся плиткой. */
.cats-grid.view-list,
.cats-grid.view-table {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
    gap: 12px !important;
    border: 0 !important;
    background: none !important;
}

.cats-grid.view-list .fantazy__rightsaitbar-item,
.cats-grid.view-table .fantazy__rightsaitbar-item {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    padding: 0 0 12px !important;
    border-bottom: 0 !important;
}

.cats-grid.view-list .fantazy__rightsaitbar-img,
.cats-grid.view-table .fantazy__rightsaitbar-img {
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    border-radius: 12px 12px 0 0 !important;
}

/* ---------- режимы «список» и «таблица»: раскладка через grid ----------
   В плитке ссылка-обёртка сделана flex (иначе переносы строк в разметке
   добавляют пустые строки). Но в списке и таблице карточка сама является
   grid-контейнером, и её колонки должны видеть внутренние блоки -
   поэтому здесь ссылка становится display:contents. Пробельные узлы
   в grid-контейнере игнорируются, лишней высоты они не дают. */

.view-list .fantazy__rightsaitbar-item > a,
.view-table .fantazy__rightsaitbar-item > a {
    display: contents !important;
}

.view-list .fantazy__rightsaitbar-item,
.view-table .fantazy__rightsaitbar-item {
    display: grid !important;
    height: auto !important;
}

/* === mobile-header.css === */
/* ============================================================
   Шапка и меню на телефонах. Создан 01.09.2026.
   Кнопка меню справа, само меню - выезжающая панель с затемнением,
   вместо полосы, разъезжавшейся под шапкой.
   ============================================================ */

@media (max-width: 991px) {
    /* --- бургер справа ---
       Раскладку шапки не трогаем, только переносим кнопку в конец строки:
       попытка переопределить display у контейнера ломает порядок логотипа и иконок. */
    .header__btn-menu {
        order: 9;
        margin-left: auto;
    }

    /* --- меню-панель --- */
    .fantazy__header-menu-inner {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 1300 !important;
        width: min(86vw, 340px);
        display: block !important;
        padding: 18px 0 24px;
        background: #fff !important;
        background-image: none !important;
        padding: 18px 0 24px !important;
        box-shadow: -12px 0 30px rgba(17, 34, 51, .18);
        /* закрытая панель не уезжает за край экрана: translateX(100%)
           расширял документ на свою ширину и срезал контент справа */
        visibility: hidden;
        transform: translateX(16px);
        transition: transform .24s ease, visibility .24s;
        overflow-y: auto;
    }

    body.mobile-menu-open .fantazy__header-menu-inner {
        visibility: visible;
        transform: translateX(0);
    }

    /* Затемнение - на body, а панель поднимаем вместе с шапкой:
       псевдоэлемент внутри панели ложился поверх её собственного фона,
       а оверлей на body перекрывал панель, потому что шапка создаёт
       свой контекст наложения. */
    body.mobile-menu-open::after {
        content: '';
        position: fixed;
        inset: 0;
        z-index: 1100;
        background: rgba(12, 24, 40, .45);
    }

    body.mobile-menu-open .fantazy__header {
        position: relative;
        z-index: 1200;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    .fantazy__header-menu-inner .container {
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
    }

    .header-bottom__item {
        display: block;
    }

    /* кнопка «Каталог» - главный пункт панели */
    .fantazy__header-menu-inner .catalog-toggle {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        margin: 0 0 14px;
        padding: 13px 16px;
        border: 0;
        border-radius: 10px;
        background: #12233b;
        color: #fff;
        font-size: 16px;
        font-weight: 600;
    }

    .fantazy__header-menu-inner .catalog-toggle p {
        margin: 0;
    }

    .header-bottom__menu ul {
        display: block;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .header-bottom__menu ul li {
        margin: 0;
        border-bottom: 1px solid #eef2f7;
    }

    .header-bottom__menu ul li:last-child {
        border-bottom: 0;
    }

    .header-bottom__menu ul,
    .header-bottom__menu ul li,
    .header-bottom__item {
        background: none !important;
        box-shadow: none !important;
    }

    .header-bottom__menu ul li a {
        display: flex !important;
        align-items: center;
        justify-content: flex-start !important;
        gap: 12px;
        width: 100%;
        padding: 13px 4px !important;
        background: none !important;
        background-image: none !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        color: #12233b !important;
        font-size: 15px;
        font-weight: 500;
        text-align: left;
        text-decoration: none;
    }

    .header-bottom__menu ul li a span {
        color: #f90;
        font-size: 17px;
    }

    .header-bottom__menu ul li a:hover {
        color: #1f6fd0;
    }

    /* телефон и почта в панели */
    .fantazy__header-menu-inner .fantazy__header-top-email a,
    .fantazy__header-menu-inner .fantazy__header-top-mobile-phone a {
        color: #12233b !important;
        opacity: 1 !important;
    }

    .fantazy__header-menu-inner .fantazy__header-top-mobile-phone {
        display: block !important;
    }

    .fantazy__header-menu-inner .fantazy__header-top-mobile-phone a {
        font-size: 18px;
        font-weight: 700;
    }

    /* декоративная полоса под шапкой на телефоне не нужна */
    .fantazy__header-menu {
        background: none !important;
    }
}

/* ============================================================
   Ширина страницы на телефонах. У .container стоит max-width:95%
   плюс собственные отступы, и в сумме с отступами родителей строка
   получалась шире экрана - контент срезало по правому краю.
   ============================================================ */

@media (max-width: 767px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* панель меню держит свои отступы независимо от .container */
    .fantazy__header-menu-inner .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* ============================================================
   Отступ под шапкой. Шапка была position:fixed, а место под неё
   компенсировалось жёстким padding-top у .fantazy__main
   (157px на десктопе, 80 и 42px в мобильных медиа). После того как
   мобильная шапка стала компактнее, эта компенсация превратилась
   в пустую полосу между шапкой и хлебными крошками.
   Делаем шапку sticky - место она занимает сама.
   ============================================================ */

@media (max-width: 991px) {
    .fantazy__header {
        position: sticky !important;
        top: 0;
        z-index: 900;
        background: #fff;
        box-shadow: 0 1px 6px rgba(17, 34, 51, .08);
    }

    .fantazy__main {
        padding-top: 0 !important;
    }

    .fantazy-breadcrumb {
        padding-top: 8px !important;
    }
}

/* === header-search.css === */
/* ============================================================
   Поиск: панель в шапке и страница /search.
   Переписан 02.09.2026. Прошлая версия набирала правила слоями и спорила
   сама с собой: у кнопки было два разных :hover, у микрофона два фона,
   половина держалась на !important.
   ============================================================ */

.search-scope {
    padding: 14px 0 16px;
}

.search-scope--header {
    max-width: 720px;
    margin: 0 auto;
}

.search-scope--page {
    max-width: 860px;
    margin: 0 auto;
    padding-top: 22px;
}

/* ---------- приглашение ---------- */

.search-scope__hello {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 8px;
    padding: 0 2px;
}

.search-scope__hello strong {
    font-size: 15px;
    font-weight: 700;
    color: #16181d;
}

.search-scope__hello span {
    font-size: 13px;
    color: #8a94a3;
}

.search-scope__h1 {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    color: #16181d;
    text-align: left;
}

/* ---------- поле ---------- */

/* Селекторы длиннее и с !important не от хорошей жизни: в new_style.css
   те же свойства заданы через !important (борта 2px, радиус 25px, тень,
   а у поля ввода - width: 100% и padding справа 60px, из-за чего кнопки
   выдавливались за край формы с overflow: hidden и просто исчезали). */
.search-scope .fantazy__header-center-search .form-search {
    display: flex !important;
    align-items: center;
    gap: 6px;
    height: 48px !important;
    padding: 0 6px 0 14px;
    border: 1px solid #dfe4ec !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow: visible !important;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.search-scope .fantazy__header-center-search .form-search:hover {
    border-color: #c7cfdb !important;
    box-shadow: none !important;
}

.search-scope .fantazy__header-center-search .form-search:focus-within {
    border-color: #f90 !important;
    box-shadow: 0 0 0 3px rgba(255, 153, 0, .16) !important;
    transform: none !important;
}

/* Лупа внутри поля - указатель на назначение строки, поэтому она слева и
   некликабельна; кнопка действия справа и подписана словом. */
.search-scope .form-search__ico {
    flex: 0 0 auto;
    display: inline-flex;
    color: #9aa4b2;
}

.search-scope .form-search__ico svg {
    width: 19px;
    height: 19px;
}

.search-scope .fantazy__header-center-search .form-search input {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0 !important;
    border: 0;
    outline: none;
    background: none;
    color: #16181d;
    font-family: inherit;
    font-size: 15px;
}

.search-scope .form-search input::placeholder {
    color: #a6afbc;
}

/* крестик очистки у type="search" в вебките */
.search-scope .form-search input::-webkit-search-cancel-button {
    cursor: pointer;
}

/* ---------- кнопки ---------- */

/* Сбрасываем наследие: в style.css у .form-search button стоят
   position: absolute; right: 0; width: 30px - кнопка с подписью «Найти»
   схлопывалась в тридцать пикселей и уезжала под правый край поля. */
.search-scope .fantazy__header-center-search .form-search .search-btn,
.search-scope .search-btn {
    position: static !important;
    width: auto !important;
    height: 36px !important;
    transform: none !important;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 9px;
    font-family: inherit;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.search-scope .fantazy__header-center-search .form-search .search-btn--voice,
.search-scope .search-btn--voice {
    width: 36px !important;
    background: none;
    color: #9aa4b2;
}

.search-scope .search-btn--voice:hover {
    background: #f2f4f7;
    color: #5b6472;
}

.search-scope .search-btn--voice.is-active {
    background: rgba(255, 153, 0, .14);
    color: #e07f00;
}

.search-scope .search-btn--voice svg {
    width: 17px;
    height: 17px;
}

/* Специфичность приходится держать выше, чем у
   `.fantazy__header-center-search .form-search button` в new_style.css:
   там кнопке заданы прозрачный фон и белый текст - подпись «Найти»
   получалась белой на белом и выглядела как отсутствующая кнопка. */
.search-scope .fantazy__header-center-search .form-search .search-btn--submit {
    padding: 0 18px !important;
    background: #f90 !important;
    color: #12233b !important;
    font-size: 14px;
    font-weight: 700;
}

.search-scope .fantazy__header-center-search .form-search .search-btn--submit:hover {
    background: #ffa726 !important;
    color: #12233b !important;
}

.search-scope .fantazy__header-center-search .form-search .search-btn--voice {
    background: none !important;
    color: #9aa4b2 !important;
}

.search-scope .fantazy__header-center-search .form-search .search-btn--voice:hover {
    background: #f2f4f7 !important;
    color: #5b6472 !important;
}

/* старая иконка из шрифта рисовалась псевдоэлементом - было две лупы */
.search-scope .search-btn::before,
.search-scope .search-btn::after {
    content: none !important;
}

/* ---------- быстрые ссылки ---------- */

.search-scope__quick {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 10px 2px 0;
}

.search-scope__quick-label {
    margin-right: 2px;
    color: #8a94a3;
    font-size: 12.5px;
}

.search-chip {
    padding: 5px 11px;
    border: 1px solid #e6e9ef;
    border-radius: 999px;
    background: #f7f8fa;
    color: #3d4757;
    font-size: 12.5px;
    line-height: 1.2;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.search-chip:hover {
    border-color: #f90;
    background: #fff6e9;
    color: #b26a00;
}

/* ---------- выдача ---------- */

/* Выдача.
   В new_style.css и search.css #search_div_res - абсолютный блок с
   left: 15%; width: 70% и position: absolute. В панели шапки он улетал
   вниз мимо экрана, а на странице /search перекрывал подвал. Здесь блок
   возвращается в поток - и в панели, и на странице. */
.search-scope .search-res,
.search-scope #search_div_res {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: auto !important;
    max-height: none !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.search-res:empty {
    display: none !important;
}

/* крестик «закрыть выдачу» в потоке не нужен - панель закрывается своей кнопкой */
.search-scope .search_div_res_close {
    display: none !important;
}

.search-scope .search_phrase {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 600;
    color: #16181d;
    text-align: left;
}

.search-scope .loading {
    padding: 16px 2px;
    color: #8a94a3;
    font-size: 14px;
}

.search-empty {
    padding: 18px 2px 6px;
}

.search-empty__title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
    color: #16181d;
}

.search-empty__hint {
    margin: 0;
    max-width: 560px;
    font-size: 13.5px;
    line-height: 1.5;
    color: #7a828e;
}

@media (max-width: 640px) {
    .search-scope {
        padding: 10px 0 12px;
    }

    .search-scope .form-search {
        height: 44px;
        padding-left: 12px;
    }

    .search-scope .search-btn--submit {
        padding: 0 14px;
        font-size: 13.5px;
    }

    .search-scope__h1 {
        font-size: 20px;
    }

    /* Ряд подсказок не переносим в столбец - прокручиваем вбок,
       иначе он съедает пол-экрана. */
    .search-scope__quick {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .search-scope__quick::-webkit-scrollbar {
        display: none;
    }

    .search-chip {
        white-space: nowrap;
    }
}

/* ---------- карточки в выдаче ----------
   02.09.2026: цена выводилась жёлтой плашкой во всю ширину, а «Артикул» и
   «Код» шли оранжевым над названием - выдача выглядела ярче каталога и
   читалась хуже. Приводим к виду каталога: фото, название, цена, артикул
   мелким серым. */

.search-scope .search-results,
.search-scope .search_style_wrapper,
.search-scope #search_div_res > .search-results {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.search-scope .search_style_item {
    display: flex !important;
    gap: 10px;
    margin: 0 !important;
    padding: 10px !important;
    border: 1px solid #e8edf3 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: none !important;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.search-scope .search_style_item:hover {
    border-color: #d6dee8 !important;
    box-shadow: 0 4px 14px rgba(44, 87, 130, .08) !important;
    transform: none !important;
}

.search-scope .search_style_img {
    flex: 0 0 auto !important;
    position: relative;
    width: 78px !important;
    height: 78px !important;
    margin: 0 !important;
    border-radius: 9px !important;
    background: #f5f7fa;
    overflow: hidden;
}

.search-scope .search_style_img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.search-scope .search_style_desc {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0 !important;
    text-align: left !important;
}

/* название - первым, оно главное */
.search-scope .search_style_desc h2 {
    order: 1;
    margin: 0 !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    text-align: left !important;
}

.search-scope .search_style_desc h2 a {
    color: #16181d !important;
    text-decoration: none;
}

.search-scope .search_style_desc h2 a:hover {
    color: #1f6fd0 !important;
}

.search-scope .search_style_desc .price {
    order: 2;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    background: none !important;
    color: #16181d !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: left !important;
}

/* артикул и код - служебные строки, уводим вниз и гасим */
.search-scope .search_style_desc p {
    order: 3;
    margin: 0 !important;
    color: #9aa7b6 !important;
    font-size: 11.5px !important;
    line-height: 1.3 !important;
}

.search-scope .search_style_desc p strong {
    color: #9aa7b6 !important;
    font-weight: 400 !important;
}

/* заглушка «фото готовится» в мелкой карточке */
.search-scope .search_style_img .no-photo em {
    font-size: 9px;
}

.search-scope .search_style_img .no-photo svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 640px) {
    .search-scope .search-results,
    .search-scope #search_div_res > .search-results {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* === header-actions.css === */
/* ============================================================
   Ряд действий в шапке и его панели. Создан 02.09.2026.

   Было: верхняя полоса высотой 40 пикселей с городом, почтой и «Войти»,
   строка поиска, занимавшая середину шапки всегда, и разнокалиберные
   иконки шрифта icomoon справа. Стало: одна строка шапки, справа пять
   одинаковых иконок, поиск и вход раскрываются панелями.
   ============================================================ */

/* Полоса убрана из разметки; правило на случай кеша страницы у посетителя */
.fantazy__header-top {
    display: none !important;
}

/* ---------- ряд иконок ---------- */

.hdr-actions ul {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hdr-actions li {
    position: relative;
    margin: 0;
    padding: 0;
}

/* Кнопка и ссылка выглядят одинаково: в ряду они соседи, и разница в
   отступах или цвете читалась бы как ошибка вёрстки. */
.fantazy__header-center-icons .hdr-act,
.hdr-act {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #2d3340;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    outline: none;
    transition: background .15s ease, color .15s ease;
}

.hdr-act svg {
    width: 22px;
    height: 22px;
}

.fantazy__header-center-icons .hdr-act:hover,
.hdr-act:hover {
    background: #f4f6f9;
    color: #ff5740;
}

.hdr-act:focus-visible {
    background: #f4f6f9;
    color: #ff5740;
    box-shadow: 0 0 0 3px rgba(255, 87, 64, .18);
}

/* открытая панель подсвечивает свою кнопку - иначе непонятно, что раскрыто */
.hdr-act[aria-expanded="true"] {
    background: #fff1ed;
    color: #ff5740;
}

/* счётчик корзины */
.hdr-act .header-basket__count {
    position: absolute;
    top: 4px;
    right: 3px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    background: #ff5740;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 17px;
    text-align: center;
}

/* Пустой счётчик не показываем: раньше на пустой корзине висел кружок с нулём */
.hdr-act .header-basket__count:empty {
    display: none;
}

/* метка «вы вошли» */
.hdr-act__dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #22a06b;
}

/* ---------- панель поиска ---------- */

.hdr-search {
    border-top: 1px solid #eef2f7;
    background: #fff;
    animation: hdrSearchIn .18s ease;
}

.hdr-search[hidden] {
    display: none !important;
}

@keyframes hdrSearchIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hdr-search .fantazy__header-center-search {
    display: block;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 12px 0;
}

/* ---------- панель входа ---------- */

.hdr-actions__login {
    position: relative;
}

.hdr-actions__login .fantazy-login__wrapper {
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    width: 320px;
    max-width: calc(100vw - 24px);
    padding: 16px;
    border: 1px solid #e6e8ec;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(17, 34, 51, .16);
    z-index: 1400;
}

@media (max-width: 991px) {
    .hdr-actions ul {
        gap: 0;
    }

    .fantazy__header-center-icons .hdr-act,
    .hdr-act {
        width: 40px;
        height: 40px;
    }

    /* На узком экране панель входа прижимаем к правому краю окна, а не к
       кнопке: у правой иконки она вылезала за вьюпорт. */
    .hdr-actions__login .fantazy-login__wrapper {
        position: fixed;
        top: auto;
        right: 12px;
        left: 12px;
        width: auto;
        max-width: none;
    }
}

/* ---------- узкие экраны ----------
   02.09.2026: на телефоне 390px в строку не помещались логотип, пять иконок и
   бургер - ряд упирался в край экрана. Сжимаем кнопки и убираем зазоры;
   область нажатия остаётся не меньше 32px, это ещё в норме для пальца. */

@media (max-width: 767px) {
    .hdr-actions ul {
        gap: 0;
    }

    .fantazy__header-center-icons .hdr-act,
    .hdr-act {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .hdr-act svg {
        width: 20px;
        height: 20px;
    }

    .hdr-act .header-basket__count {
        top: 2px;
        right: 0;
        min-width: 15px;
        height: 15px;
        padding: 0 3px;
        font-size: 10px;
        line-height: 15px;
    }
}

@media (max-width: 480px) {
    .fantazy__header-center-icons .hdr-act,
    .hdr-act {
        width: 32px;
        height: 32px;
        border-radius: 9px;
    }

    .hdr-act svg {
        width: 18px;
        height: 18px;
    }

    /* логотип рядом с иконками тоже поджимаем, иначе ряд снова упрётся */
    .fantazy__header-center-logo img {
        width: 24px !important;
    }

    .fantazy__header-center-logo span.logo_text {
        font-size: 13px !important;
        letter-spacing: 0 !important;
    }

    .fantazy__header-center-logo a {
        gap: 7px !important;
    }

    /* бургер не должен упираться в край экрана */
    .header__btn-menu {
        margin-left: 2px !important;
    }
}

@media (max-width: 380px) {
    .fantazy__header-center-icons .hdr-act,
    .hdr-act {
        width: 30px;
        height: 30px;
    }

    .hdr-act svg {
        width: 17px;
        height: 17px;
    }

    .fantazy__header-center-logo span.logo_text {
        font-size: 12px !important;
    }
}

/* === header-nav.css === */
/* ============================================================
   Строка навигации под шапкой. Создан 02.09.2026.

   Было: полоса с фоном-картинкой стежков поверх сине-жёлтого градиента,
   декоративная фиолетовая линия снизу и четыре пункта, три из которых
   вели в справку. Между полосой и хлебными крошками оставалось около
   тридцати пустых пикселей.

   Стало: белая строка с разделами каталога, справка собрана под «Инфо».
   ============================================================ */

/* Фон-строчка - фирменная деталь сайта, поэтому она остаётся: сине-фиолетовая
   лента со швейным стежком. Убрана только пестрота - жёлто-голубой градиент
   под ней и плавающие белые кружки, из-за которых полоса рябила под текстом. */
.fantazy__header-menu-inner {
    position: relative;
    padding: 0 !important;
    background: linear-gradient(135deg, #eef3ff 0%, #f0ecff 55%, #e9e6ff 100%) !important;
    background-image: linear-gradient(135deg, #eef3ff 0%, #f0ecff 55%, #e9e6ff 100%) !important;
    box-shadow: none !important;
    overflow: visible !important;
}

/* Сама строчка: лиловая лента и белый пунктирный стежок по ней. Рисуется
   градиентами, а не картинкой - тянется на любую ширину и не мылится. */
.fantazy__header-menu-inner::after {
    content: '' !important;
    display: block !important;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 7px;
    width: auto;
    top: auto;
    opacity: 1;
    animation: none;
    background:
        repeating-linear-gradient(90deg,
            rgba(255, 255, 255, .95) 0 9px,
            rgba(255, 255, 255, 0) 9px 18px),
        linear-gradient(90deg, #b6a7f2 0%, #9db6f0 100%);
    background-size: auto 2px, auto auto;
    background-position: center, center;
    background-repeat: repeat-x, repeat;
    pointer-events: none;
}

.fantazy__header-menu-inner::before {
    content: none !important;
    display: none !important;
}

.fantazy__header-menu-inner .header-bottom__item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
}

/* ---------- кнопка каталога ---------- */

.fantazy__header-menu-inner .catalog-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
    height: 38px;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #1f4fa8 !important;
    color: #fff !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .15s ease;
}

.fantazy__header-menu-inner .catalog-toggle:hover {
    background: #17407f !important;
}

.fantazy__header-menu-inner .catalog-toggle p {
    margin: 0 !important;
    font: inherit;
    color: inherit;
}

/* ---------- пункты ---------- */

.hdr-nav {
    flex: 1 1 auto;
    min-width: 0;
}

.hdr-nav ul {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* В style.css у пунктов этой строки висит анимация menuSlideIn: она стартует
   с opacity: 0 и запускается на загрузке страницы с задержкой до 0.6 с. В
   выезжающей панели на телефоне анимация к моменту открытия уже отыграна, но
   пункты остаются прозрачными - панель выглядит пустой, одни разделители.
   Появление здесь ничего не даёт, поэтому анимации нет. */
.hdr-nav li {
    margin: 0;
    padding: 0;
    background: none !important;
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
}

/* !important - против наследия: в style.css пункты этой строки нарисованы
   плашками с рамкой и своим фоном, а любой <button> внутри блока получает
   заливку кнопки «Каталог» - «Инфо» выглядел как вторая синяя кнопка. */
.header-bottom__menu.hdr-nav li a,
.header-bottom__menu.hdr-nav .hdr-nav__info-btn,
.hdr-nav a,
.hdr-nav__info-btn {
    border: 0 !important;
    background: rgba(255, 255, 255, .72) !important;
    box-shadow: none !important;
    color: #2d3340 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 12px;
    border: 0;
    border-radius: 9px;
    background: none;
    color: #2d3340;
    font-family: inherit;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.header-bottom__menu.hdr-nav li a:hover,
.header-bottom__menu.hdr-nav .hdr-nav__info-btn:hover,
.header-bottom__menu.hdr-nav .hdr-nav__info-btn[aria-expanded="true"],
.hdr-nav a:hover,
.hdr-nav__info-btn:hover,
.hdr-nav__info-btn[aria-expanded="true"] {
    background: #fff !important;
    color: #1f4fa8 !important;
    box-shadow: 0 2px 8px rgba(60, 70, 120, .12) !important;
}

/* иконка пункта */
.hdr-nav__ico {
    flex: 0 0 auto;
    display: inline-flex;
    color: #7d8ec9;
}

.hdr-nav__ico svg {
    width: 17px;
    height: 17px;
}

.header-bottom__menu.hdr-nav li a:hover .hdr-nav__ico {
    color: #1f4fa8;
}

/* Заливка-градиент при наведении из style.css: она ползла по ссылке слева
   направо и с плоской строкой не сочетается. */
.header-bottom__menu.hdr-nav li a::before,
.header-bottom__menu.hdr-nav li a::after {
    content: none !important;
    display: none !important;
}

/* число товаров в разделе - подсказка о размере, а не отдельная ссылка */
.hdr-nav__cnt {
    color: #a3aab7;
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
}

.hdr-nav a:hover .hdr-nav__cnt {
    color: #7d90ad;
}

.hdr-nav__info-btn svg {
    width: 14px;
    height: 14px;
    transition: transform .15s ease;
}

.hdr-nav__info-btn[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

/* ---------- выпадающий блок «Инфо» ---------- */

.hdr-nav__info {
    position: relative;
}

.hdr-nav__drop {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 1200;
    display: none;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 4px 26px;
    padding: 16px 18px;
    border: 1px solid #e6e9ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(17, 34, 51, .16);
}

.hdr-nav__info:hover .hdr-nav__drop,
.hdr-nav__info-btn[aria-expanded="true"] + .hdr-nav__drop {
    display: grid;
}

.hdr-nav__drop-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hdr-nav__drop-title {
    margin-bottom: 4px;
    color: #98a2b1;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.header-bottom__menu.hdr-nav .hdr-nav__drop a,
.hdr-nav__drop a {
    height: auto;
    padding: 7px 9px !important;
    font-size: 13.5px !important;
    white-space: nowrap;
}

/* На десктопе почта и телефон из выезжающей панели не нужны */
.hdr-nav .fantazy__header-top-mobile {
    display: none;
}

/* ---------- отступ под фиксированной шапкой ----------
   Значение приходит из js/header-actions.js: там высота шапки измеряется
   после отрисовки. 116px - запасное значение на случай отключённого JS,
   примерно высота двух ярусов. */

@media (min-width: 992px) {
    .fantazy__main {
        padding-top: var(--hdr-h, 116px) !important;
    }
}

/* ---------- крошки вплотную к строке ---------- */

.fantazy-breadcrumb {
    padding: 8px 0 6px !important;
    margin: 0 0 6px !important;
}

.hdr-nav__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* На ноутбуках 1200-1366 пунктам не хватает ширины и строка ломается на два
   ряда: сначала убираем счётчики (это подсказка, а не навигация), потом
   поджимаем отступы и обрезаем самые длинные названия многоточием -
   «Комплектующие для швейных машин» в одиночку занимало треть строки. */
@media (max-width: 1365px) {
    .hdr-nav__cnt {
        display: none;
    }

    .hdr-nav__name {
        max-width: 190px;
    }

    .header-bottom__menu.hdr-nav li a,
    .header-bottom__menu.hdr-nav .hdr-nav__info-btn {
        padding: 0 10px !important;
    }
}

@media (max-width: 1150px) {
    .header-bottom__menu.hdr-nav li a,
    .header-bottom__menu.hdr-nav .hdr-nav__info-btn {
        padding: 0 8px !important;
        font-size: 13.5px !important;
    }

    .hdr-nav__name {
        max-width: 150px;
    }

    .hdr-nav__ico svg {
        width: 15px;
        height: 15px;
    }
}

@media (max-width: 991px) {
    /* ---------- выезжающая панель на телефоне ----------
       02.09.2026: панель выглядела разъехавшейся - названия разделов шли
       оранжевым (в mobile-header.css любой span внутри пункта красился в
       #f90, а название теперь как раз в span), длинное имя вставало по
       центру в две строки, между группами зияли пустоты, а заголовки
       «Покупателям» и «Документы» терялись. Здесь панель описана целиком,
       чтобы не собирать её вид из четырёх файлов. */

    /* ВАЖНО: на телефоне эта полоса - выезжающая панель (mobile-header.css),
       она fixed и скрыта до нажатия на бургер. Базовое правило выше даёт ей
       position: relative, и панель разворачивалась прямо в потоке страницы,
       наваливаясь на контент. Возвращаем позиционирование и прокрутку. */
    .fantazy__header-menu-inner {
        position: fixed !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    .fantazy__header-menu-inner,
    .fantazy__header-menu-inner::after {
        background: #fff !important;
        background-image: none !important;
    }

    .fantazy__header-menu-inner::after {
        display: none !important;
    }

    .fantazy__header-menu-inner .header-bottom__item {
        display: block;
        min-height: 0;
    }

    /* Кнопка «Каталог» в панели не нужна: она раскрывает десктопное выпадающее
       меню, а разделы и так перечислены здесь же строкой ниже. Раньше она
       занимала место вверху панели пустым блоком. */
    .fantazy__header-menu-inner .catalog-toggle {
        display: none !important;
    }

    .fantazy__header-menu-inner .container {
        padding-top: 4px !important;
    }

    .hdr-nav ul {
        display: block;
    }

    .header-bottom__menu.hdr-nav li {
        border-bottom: 1px solid #f0f3f7;
    }

    .header-bottom__menu.hdr-nav li:last-child {
        border-bottom: 0;
    }

    /* пункт: иконка - название - счётчик */
    .header-bottom__menu.hdr-nav li a,
    .header-bottom__menu.hdr-nav .hdr-nav__info-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 12px !important;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        padding: 12px 2px !important;
        border-radius: 0 !important;
        background: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
        /* visibility здесь НЕ задаём: панель скрывается через
           visibility: hidden у контейнера, а у потомка это свойство
           переопределяется - пункты просвечивали сквозь закрытую панель
           поверх контента страницы. */
        font-size: 15px !important;
        line-height: 1.35 !important;
        text-align: left !important;
    }

    /* Название - тёмное. В mobile-header.css есть правило
       `.header-bottom__menu ul li a span { color: #f90 }`, написанное для
       иконок-глифов: теперь под него попадает и название раздела. */
    .header-bottom__menu.hdr-nav li a .hdr-nav__name {
        flex: 1 1 auto;
        max-width: none;
        overflow: visible;
        white-space: normal;
        color: #12233b !important;
        font-size: 15px !important;
        font-weight: 500;
        text-align: left;
    }

    .header-bottom__menu.hdr-nav li a .hdr-nav__cnt {
        display: inline !important;
        flex: 0 0 auto;
        color: #9aa7b6 !important;
        font-size: 12px !important;
    }

    .header-bottom__menu.hdr-nav li a .hdr-nav__ico,
    .header-bottom__menu.hdr-nav .hdr-nav__info-btn .hdr-nav__ico {
        flex: 0 0 auto;
        width: 22px;
        color: #f90 !important;
    }

    .header-bottom__menu.hdr-nav li a .hdr-nav__ico svg,
    .header-bottom__menu.hdr-nav .hdr-nav__info-btn .hdr-nav__ico svg {
        width: 19px;
        height: 19px;
    }

    /* «Инфо» в панели не сворачивается: содержимое сразу под разделами,
       поэтому сама кнопка со стрелкой скрыта. Селектор длинный - правило
       выше в этом же блоке делает её flex-строкой. */
    .header-bottom__menu.hdr-nav .hdr-nav__info-btn,
    .hdr-nav__info-btn {
        display: none !important;
    }

    .header-bottom__menu.hdr-nav li.hdr-nav__info {
        border-bottom: 0;
    }

    .hdr-nav__drop {
        position: static;
        display: block !important;
        grid-template-columns: none;
        gap: 0;
        margin: 0;
        padding: 4px 0 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .hdr-nav__drop-col {
        display: block;
        margin: 0 0 6px;
    }

    .hdr-nav__drop-title {
        display: block;
        margin: 12px 0 2px;
        padding: 0 2px;
        color: #98a2b1;
        font-size: 11px;
        letter-spacing: .05em;
    }

    .header-bottom__menu.hdr-nav .hdr-nav__drop a {
        padding: 10px 2px !important;
        color: #3d4757 !important;
        font-size: 14.5px !important;
        font-weight: 400 !important;
    }

    .header-bottom__menu.hdr-nav .hdr-nav__drop-col a {
        border-bottom: 0;
    }

    /* почта и телефон внизу панели */
    .hdr-nav .fantazy__header-top-mobile {
        display: block;
        border-bottom: 0;
    }

    .hdr-nav .fantazy__header-top-mobile a {
        padding: 11px 2px !important;
        color: #12233b !important;
        font-size: 15px !important;
    }

    .hdr-nav .fantazy__header-top-mobile .icon-envelope {
        color: #f90 !important;
    }
}

/* === menu-catalog.css === */
/* ============================================================
   Выпадающее меню каталога. Создан 02.09.2026.

   Было: слева серый столбец разделов, справа - только свойства выбранной
   категории. У разделов без свойств правая половина оставалась пустой,
   и меню выглядело сломанным. Теперь справа сначала подкатегории, потом
   свойства как быстрые фильтры.
   ============================================================ */

.menu-catalog {
    border-top: 1px solid #e9edf3;
}

.menu-catalog__wrapper {
    background: #fff;
    box-shadow: 0 24px 40px rgba(17, 34, 51, .12);
}

.menu-catalog__inner {
    display: grid !important;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    min-height: 0 !important;
    padding: 0 !important;
}

/* ---------- левый столбец ---------- */

.menu-catalog__list {
    padding: 12px 8px 14px 0;
    border-right: 1px solid #eef2f7;
    background: #fff !important;
}

.menu-catalog__list ul {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-catalog__list ul li {
    margin: 0 0 2px !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
}

.menu-catalog__list ul li a {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 12px !important;
    border-radius: 10px;
    color: #2d3340 !important;
    font-size: 14px !important;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.menu-catalog__list ul li:hover a,
.menu-catalog__list ul li.active a {
    background: #f2f5f9 !important;
    color: #1f4fa8 !important;
}

.menu-catalog__list ul li.active {
    background: none !important;
}

.spisok__list_span {
    color: #a3aab7;
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
}

/* ---------- правая панель ---------- */

.menu-catalog__desc {
    padding: 16px 4px 18px 20px;
}

.menu-catalog__desc h3 {
    margin: 0 0 12px !important;
    font-size: 17px !important;
    font-weight: 700;
    color: #16181d;
    text-align: left;
}

.menu-catalog__desc h3 a {
    color: inherit;
    text-decoration: none;
}

.menu-catalog__desc h3 a:hover {
    color: #1f4fa8;
}

/* подкатегории */

.menu-catalog__subs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 2px 10px;
    margin: 0 0 14px;
}

.menu-catalog__sub {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    color: #3d4757;
    font-size: 13.5px;
    line-height: 1.35;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.menu-catalog__sub:hover {
    background: #f4f6f9;
    color: #1f4fa8;
}

.menu-catalog__sub b {
    flex: 0 0 auto;
    color: #a3aab7;
    font-size: 11.5px;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
}

.menu-catalog__sub--all {
    color: #1f4fa8;
    font-weight: 600;
}

/* свойства как быстрые фильтры */

.catalog-desc__inner {
    display: flex !important;
    flex-wrap: wrap;
    gap: 18px 26px;
    padding: 0 !important;
}

.catalog-desc__item {
    min-width: 150px;
}

.catalog-desc__item ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.catalog-desc__item h4 {
    margin: 0 0 6px !important;
    color: #98a2b1 !important;
    font-size: 11.5px !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* шеврон рядом с названием свойства здесь не нужен: ничего не сворачивается */
.catalog-desc__item h4 .icon-angle-down {
    display: none !important;
}

.catalog-desc__item .li_param {
    margin: 0 0 1px;
}

.catalog-desc__item .li_param a {
    display: block;
    padding: 4px 8px;
    border-radius: 7px;
    color: #4a515d;
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none;
}

.catalog-desc__item .li_param a:hover {
    background: #f4f6f9;
    color: #1f4fa8;
}

/* Пустая панель больше не растягивает меню: раздел без свойств
   заканчивается на подкатегориях. */
.menu-catalog__desc:empty,
.catalog-desc__inner:empty {
    display: none !important;
}

.menu-catalog__close {
    top: 10px !important;
    right: 10px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f2f5f9 !important;
    color: #5b6472;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.menu-catalog__close:hover {
    background: #e6ebf2 !important;
    color: #16181d;
}

.menu-catalog__close svg {
    width: 16px;
    height: 16px;
}

/* Левый столбец задаёт высоту панели, поэтому держим его компактным:
   у раздела с двумя подкатегориями иначе остаётся полоса пустоты. */
.menu-catalog__list ul li a {
    padding: 8px 12px !important;
}

@media (max-width: 991px) {
    .menu-catalog__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .menu-catalog__list {
        border-right: 0;
        border-bottom: 1px solid #eef2f7;
        padding-right: 0;
    }

    .menu-catalog__desc {
        padding: 14px 0 16px;
    }

    .menu-catalog__subs {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

/* === product-buy.css === */
/* ============================================================
   Блок покупки в карточке товара: количество, итог, кнопки.
   Создан 01.09.2026. Раньше эти элементы прижимались к правому краю
   колонки и висели в воздухе - теперь это единая панель.
   ============================================================ */

.quantity-section,
.total-section,
.cart-actions {
    max-width: 100%;
}

/* количество и итог - одной строкой в общей панели */
.quantity-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 18px 0 0;
    padding: 14px 16px;
    border: 1px solid #e8edf3;
    border-radius: 12px 12px 0 0;
    border-bottom: 0;
    background: #fbfcfe;
    text-align: left !important;
}

.quantity-section label {
    flex: 0 0 auto;
    display: inline-block;
    width: auto !important;
    margin: 0 !important;
    font-size: 14px;
    color: #5c6b7d;
    text-align: left !important;
}

.quantity-section .quantity-controls {
    flex: 0 0 auto;
    margin-left: auto !important;
}

.quantity-controls {
    display: inline-flex;
    align-items: center;
    margin: 0;
    border: 1px solid #dde5ee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.quantity-controls .qty-btn {
    width: 34px;
    height: 36px;
    border: 0;
    background: #fff;
    color: #5c6b7d;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease;
}

.quantity-controls .qty-btn:hover {
    background: #eef2f7;
    color: #12233b;
}

.quantity-controls .qty-input {
    width: 62px;
    height: 36px;
    border: 0;
    border-left: 1px solid #eef2f7;
    border-right: 1px solid #eef2f7;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #12233b;
}

.quantity-info {
    width: 100%;
    margin: 0;
    text-align: left;
}

.quantity-info small {
    font-size: 12px;
    color: #93a2b3;
}

/* итог */
.total-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid #e8edf3;
    border-top: 1px dashed #e3e9f0;
    border-radius: 0;
    background: #fbfcfe;
}

.total-display {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0;
}

.total-label {
    font-size: 15px;
    color: #5c6b7d;
}

.total-amount {
    font-size: 26px;
    font-weight: 700;
    color: #12233b;
}

/* кнопки - в ряд, одинаковой высоты */
.cart-actions {
    display: flex;
    gap: 10px;
    margin: 0 0 4px;
    padding: 14px 16px 16px;
    border: 1px solid #e8edf3;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    background: #fbfcfe;
}

.cart-actions .btn-add-cart,
.cart-actions .btn-buy-one-click {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}

.cart-actions .btn-add-cart {
    flex: 1 1 auto;
    background: #2e9e4b;
    color: #fff;
}

.cart-actions .btn-add-cart:hover {
    background: #268a40;
}

.cart-actions .btn-buy-one-click {
    flex: 0 0 auto;
    background: #fff;
    color: #12233b;
    border: 1px solid #dde5ee;
}

.cart-actions .btn-buy-one-click:hover {
    background: #f4f7fb;
}

@media (max-width: 767px) {
    .quantity-section,
    .total-section,
    .cart-actions {
        padding: 12px;
    }

    .total-amount {
        font-size: 22px;
    }

    .cart-actions {
        flex-direction: column;
    }

    .cart-actions .btn-add-cart,
    .cart-actions .btn-buy-one-click {
        width: 100%;
    }
}

/* ---------- колонка с фото ----------
   Блок фото ограничен max-width: 600px, а колонка шире - из-за flex он
   уезжал вправо. Прижимаем к левому верхнему углу, как обычное главное фото. */

.fantazy__product-slaider-inner {
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

.slider-for {
    margin-right: auto !important;
    margin-left: 0 !important;
}

.slider-for-item {
    display: block;
    width: 100%;
}

/* заглушка занимает ту же область, что и фото */
.slider-for-item .no-photo--big {
    width: 100%;
    max-width: 570px;
    min-height: 0;
    aspect-ratio: 1 / 1;
    margin: 0;
}

@media (max-width: 767px) {
    .slider-for-item .no-photo--big {
        max-width: 100%;
        aspect-ratio: 4 / 3;
    }
}

/* пустая полоса превью не должна занимать место рядом с фото */
.slider-nav.is-empty {
    display: none !important;
}

/* ============================================================
   Карточка товара на телефоне. Дополнено 02.09.2026.
   ============================================================ */

/* Главное фото не режем.
   В media.css у него `height: 500px; object-fit: cover` - у товаров, где на
   картинке подписан размер («4х5,3 см»), подпись срезалась по нижнему краю. */
.slider-for-item img,
.slider-for .slider-for-item img {
    height: auto !important;
    max-height: 520px;
    object-fit: contain !important;
    background: #fff;
}

/* Артикул рядом с названием.
   Был плашкой моноширинным шрифтом: на узком экране «902-2303» разрывалось
   на две строки посреди номера. */
.product-sku {
    flex: 0 0 auto;
    gap: 6px !important;
    white-space: nowrap;
}

.sku-label {
    font-size: 12.5px !important;
    color: #98a2b1 !important;
}

.sku-value {
    padding: 3px 8px !important;
    border-radius: 7px;
    background: #fff4e0 !important;
    color: #b26a00 !important;
    font-family: inherit !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Вкладки «Описание / Доставка и оплата / Отзывы».
   Своих стилей у них не было вовсе - на телефоне пункты расползались
   разными строками и разным кеглем. */
.fantazy__product-characteristics-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 4px;
    margin: 0 0 14px;
    padding: 4px;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    background: #f7f8fa;
    overflow-x: auto;
    scrollbar-width: none;
}

.fantazy__product-characteristics-tabs::-webkit-scrollbar {
    display: none;
}

.fantazy__product-characteristics-tabs .spisok-list,
.spisok-list {
    flex: 0 0 auto;
    margin: 0 !important;
    border: 0 !important;
    background: none;
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 14px;
    border-radius: 9px;
    color: #5b6472;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.spisok-list:hover {
    color: #16181d;
}

/* у активной вкладки в старых стилях была тёмная черта снизу -
   в плашечном виде она лишняя */
.fantazy__product-characteristics-tabs .spisok-list::after,
.fantazy__product-characteristics-tabs .spisok-list::before {
    content: none !important;
    display: none !important;
}

.fantazy__product-characteristics-tabs .spisok-list.active,
.spisok-list.active {
    background: #fff !important;
    border-bottom: 0 !important;
    color: #16181d;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(17, 34, 51, .10);
}

@media (max-width: 767px) {
    .slider-for-item img,
    .slider-for .slider-for-item img {
        max-height: 380px;
    }

    /* название и артикул в столбик: рядом они делили 340 пикселей на двоих */
    .fantazy__product-single-desc > div[style*="justify-content"] {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 6px;
    }

    .product-title {
        font-size: 19px !important;
        line-height: 1.3 !important;
    }

    .spisok-list {
        height: 34px;
        padding: 0 12px;
        font-size: 13.5px;
    }
}

/* === filters-ui.css === */
/* ============================================================
   Панель фильтров каталога. Создан 01.09.2026.
   Раскладка как на маркетплейсах: шапка со сбросом, аккуратные группы
   с шевронами, ровные чекбоксы со счётчиками, кнопка показа снизу.
   ============================================================ */

.fantazy__catalog-leftsaitbar {
    padding: 0;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
    overflow: hidden;
}

/* ---------- шапка панели ---------- */

#fltr_str {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    padding: 12px 14px;
    border-bottom: 1px solid #eef2f7;
    background: #fff;
}

#fltr_str::before {
    content: 'Фильтры';
    font-size: 15px;
    font-weight: 700;
    color: #12233b;
}

#fltr_str .default-btn-reset {
    order: 2;
    display: inline-block;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: none !important;
    color: #7d8ea0 !important;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
}

#fltr_str .default-btn-reset:hover {
    color: #d8261a !important;
    text-decoration: underline;
}

/* выбранные значения перечисляем компактными строками */
#fltr_str p {
    order: 3;
    width: 100%;
    margin: 0;
    padding: 6px 0 0;
    font-size: 12px;
    color: #5c6b7d;
}

#fltr_str p strong {
    font-weight: 600;
    color: #12233b;
}

/* ---------- группы ---------- */

.fantazy__category-leftsaitbar-item,
.filter-left-item {
    margin: 0;
    border-bottom: 1px solid #eef2f7;
    box-shadow: none;
}

.filter-left-item:last-of-type {
    border-bottom: 0;
}

.fantazy__category-leftsaitbar-item-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 14px;
    background: none;
    color: #12233b;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}

.fantazy__category-leftsaitbar-item-title:hover {
    color: #1f6fd0;
}

/* шеврон: вниз - свёрнуто, вверх - раскрыто */
.filter-left-item .fantazy__category-leftsaitbar-item-title::after {
    /* в catalog.css шеврон - иконка icomoon с position:absolute,
       поэтому здесь сбрасываем и рисуем уголок рамками */
    content: '' !important;
    position: static !important;
    width: 8px;
    height: 8px;
    margin: 0 2px 0 8px;
    border-right: 2px solid #9aa7b6;
    border-bottom: 2px solid #9aa7b6;
    line-height: 1 !important;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .2s ease;
}

.filter-left-item.active .fantazy__category-leftsaitbar-item-title::after {
    transform: rotate(-135deg) translateY(-2px);
}

/* ---------- значения ---------- */

.fantazy__category-leftsaitbar-item-content {
    padding: 0 14px 12px;
    max-height: 232px;
    overflow-y: auto;
}

.fantazy__category-leftsaitbar-item-content::-webkit-scrollbar {
    width: 6px;
}

.fantazy__category-leftsaitbar-item-content::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: #dfe6ee;
}

.fantazy__category-leftsaitbar-item-content .checkbox {
    display: flex !important;
    align-items: flex-start;
    gap: 9px;
    padding: 6px 0;
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
    color: #3d4855;
    cursor: pointer;
}

.fantazy__category-leftsaitbar-item-content input[type="checkbox"] {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin: 1px 0 0;
    accent-color: #f90;
    cursor: pointer;
}

.fantazy__category-leftsaitbar-item-content label.qntity {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex: 1 1 auto;
    margin: 0;
    cursor: pointer;
}

.fantazy__category-leftsaitbar-item-content .s_cnt {
    margin-left: auto;
    color: #a3b0bf;
    font-size: 12px;
    white-space: nowrap;
}

.fantazy__category-leftsaitbar-item-content .checkbox:hover label.qntity {
    color: #12233b;
}

/* ---------- цена ----------
   02.09.2026: заголовка «Цены» больше нет, значения показывают поля ввода,
   а «пузыри» над ручками ползунка выключены - одна цифра в одном месте.
   Раньше блок занимал три строки высоты и подписи налезали друг на друга
   на узкой колонке. */

.fantazy__category-leftsaitbar-item-price {
    padding: 12px 14px 18px;
}

.price-filter__inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.price-filter__field {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    height: 36px;
    padding: 0 9px;
    border: 1px solid #e3e9f0;
    border-radius: 9px;
    background: #fff;
    cursor: text;
    transition: border-color .15s, box-shadow .15s;
}

.price-filter__field:focus-within {
    border-color: #f90;
    box-shadow: 0 0 0 3px rgba(255, 153, 0, .14);
}

.price-filter__label {
    flex: 0 0 auto;
    color: #97a4b4;
    font-size: 12px;
}

.price-filter__field input {
    width: 100%;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    background: none;
    color: #12233b;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
}

.price-filter__field b {
    flex: 0 0 auto;
    color: #97a4b4;
    font-size: 12.5px;
    font-weight: 400;
}

/* ползунок.
   Плагин - ion.rangeSlider 2.2.0: у него разметка старого образца
   (.irs-slider, .irs-line-left/mid/right) и скин картинкой-спрайтом
   images/sprite-skin-nice1.png. Классы .irs--flat из более новых версий
   здесь не существуют, поэтому селекторы без них, а фоны спрайта гасим
   явным background-image: none - иначе поверх цвета остаётся кусок PNG. */

.irs {
    height: 26px;
}

.irs-line,
.irs-line-left,
.irs-line-mid,
.irs-line-right {
    height: 4px;
    top: 11px;
    background-image: none;
}

.irs-line {
    background-color: #eef2f7;
    border-radius: 2px;
}

.irs-line-left,
.irs-line-mid,
.irs-line-right {
    background-color: transparent;
}

.irs-bar {
    height: 4px;
    top: 11px;
    background-color: #f90;
    background-image: none;
    border-radius: 2px;
}

.irs-bar-edge {
    display: none;
}

.irs-slider {
    width: 18px;
    height: 18px;
    top: 4px;
    background-color: #fff;
    background-image: none;
    border: 2px solid #f90;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(17, 34, 51, .18);
    cursor: pointer;
    transition: box-shadow .15s, transform .1s;
}

.irs-slider.state_hover,
.irs-slider:hover {
    background-color: #fff;
    background-image: none;
    box-shadow: 0 2px 7px rgba(255, 153, 0, .35);
}

.irs-slider:active {
    transform: scale(.94);
}

/* Подписи над ручками, границы шкалы и тень выключены:
   значения показывают поля ввода выше. */
.irs-from,
.irs-to,
.irs-single,
.irs-min,
.irs-max,
.irs-shadow {
    display: none !important;
}

/* В категории с единственной ценой ползунок прячем - двигать нечего */
.price-filter--flat .irs {
    display: none;
}

/* ---------- кнопка показа ---------- */

.update-search {
    position: sticky;
    bottom: 0;
    padding: 12px 14px;
    border-top: 1px solid #eef2f7;
    background: #fff;
}

.update-search .default-btn {
    display: block;
    width: 100% !important;
    margin: 0 !important;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: #f90;
    color: #12233b;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .2px;
    text-transform: none;
    cursor: pointer;
    transition: background .18s ease;
}

.update-search .default-btn:hover {
    background: #ffa726;
}

@media (max-width: 767px) {
    .fantazy__catalog-leftsaitbar {
        margin-bottom: 14px;
    }

    .fantazy__category-leftsaitbar-item-content {
        max-height: 260px;
    }
}

/* === cookie-consent.css === */
/* cookie-consent.css - плашка согласия на аналитические cookie.
   02.09.2026: стили вынесены из template/politika.php, где лежали блоком
   <style> посреди разметки вместе с jQuery-обработчиками. */

.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9990;
    padding: 14px 16px;
    background: #ffffff;
    border-top: 1px solid #e6e8ec;
    box-shadow: 0 -6px 24px rgba(16, 20, 28, .10);
    transform: translateY(110%);
    transition: transform .35s ease;
}

.cookie-consent.is-shown {
    transform: translateY(0);
}

.cookie-consent[hidden] {
    display: none !important;
}

.cookie-consent__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    text-align: left;
}

.cookie-consent__text {
    flex: 1 1 420px;
    min-width: 260px;
    font-size: 13.5px;
    line-height: 1.5;
    color: #3a4150;
}

.cookie-consent__text a {
    color: #1a56db;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent__buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-consent__button {
    padding: 9px 18px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 13.5px;
    line-height: 1.2;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}

.cookie-consent__button--accept {
    background: #1a56db;
    border-color: #1a56db;
    color: #ffffff;
}

.cookie-consent__button--accept:hover {
    background: #123ea8;
    border-color: #123ea8;
    color: #ffffff;
}

.cookie-consent__button--reject {
    background: #ffffff;
    border-color: #d6dae1;
    color: #3a4150;
}

.cookie-consent__button--reject:hover {
    border-color: #9aa2b1;
    color: #16181d;
}

/* Плашка перекрывает низ подвала, пока висит */
body.has-cookie-bar .fantazy__footer {
    padding-bottom: 110px;
}

@media (max-width: 640px) {
    .cookie-consent {
        padding: 12px 14px;
    }

    .cookie-consent__inner {
        gap: 10px;
    }

    .cookie-consent__text {
        flex-basis: 100%;
        font-size: 13px;
    }

    .cookie-consent__buttons {
        width: 100%;
    }

    .cookie-consent__button {
        flex: 1 1 0;
    }
}

/* === density.css === */
/* ============================================================
   Плотность интерфейса. Подключается последним.
   Единый вертикальный ритм: секции, заголовки, крошки, карточки
   и подвал приведены к компактным отступам. Создан 01.09.2026.
   ============================================================ */

:root {
    --gap-xs: 6px;
    --gap-sm: 10px;
    --gap-md: 16px;
    --gap-lg: 24px;
}

/* ---------- секции ---------- */

.fantazy__catalog,
.fantazy__product,
section.content {
    padding-top: 0 !important;
    padding-bottom: var(--gap-lg) !important;
}

/* Переносы строк между PHP-инклудами превращались в пустые текстовые строки
   и добавляли 15 px между шапкой и хлебными крошками. Во flex-контейнере
   такие узлы не создают строк - раскладку блоков это не меняет. */
.fantazy__main {
    display: flex;
    flex-direction: column;
}

.fantazy__main > * {
    flex: 0 0 auto;
}

.fantazy-breadcrumb {
    /* в старом CSS у крошек стоит top: 15px - он срабатывает, как только
       элементу задать position: relative, и отрывает их от шапки */
    position: static !important;
    top: auto !important;
    margin: 0 0 10px !important;
    padding: 6px 0 8px !important;
}

.fantazy__header {
    margin-bottom: 0 !important;
}

.fantazy-breadcrumb,
.fantazy-breadcrumb a,
.fantazy-breadcrumb span {
    font-size: 13px;
    line-height: 1.4;
}

/* ---------- заголовки ---------- */

.heading {
    margin: 0 0 var(--gap-md) !important;
}

.fantazy__catalog .heading h1,
.fantazy__catalog h1,
section.content h1 {
    margin: 0 0 var(--gap-sm) !important;
    font-size: 30px;
    line-height: 1.15;
}

h2,
.heading h2 {
    margin-top: 0;
}

.sub_title {
    margin: var(--gap-md) 0 var(--gap-sm) !important;
    font-size: 14px;
}

/* ---------- каталог ---------- */

.fantazy__catalog-inner {
    gap: var(--gap-md) !important;
}

.fantazy__rightsaitbar-inner {
    gap: var(--gap-sm) !important;
}

.cats-grid {
    gap: var(--gap-sm) !important;
    margin-bottom: var(--gap-md) !important;
    /* высота строки и карточки строго по содержимому: правила повторены здесь,
       потому что этот файл подключается последним и закрывает вопрос
       с растяжкой карточек по высоте самой высокой в ряду */
    align-items: start !important;
    grid-auto-rows: min-content !important;
}

.cats-grid .fantazy__rightsaitbar-item,
.cats-grid .fantazy__rightsaitbar-item > a,
.fantazy__rightsaitbar-inner .fantazy__rightsaitbar-item {
    height: max-content !important;
    min-height: 0 !important;
    align-self: start !important;
}

/* Ссылка-обёртка обязана быть flex: в блочном контексте переносы строк
   между <div> в разметке превращаются в пустые строки и добавляют
   к карточке по 40 пикселей. В режимах списка и таблицы обёртка,
   наоборот, должна быть contents - там карточка сама grid. */
.fantazy__rightsaitbar-inner:not(.view-list):not(.view-table) .fantazy__rightsaitbar-item > a,
.cats-grid .fantazy__rightsaitbar-item > a {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    /* в catalog.css у ссылки внутри карточки padding-bottom: 40px -
       именно он давал пустую полосу под названием и счётчиком */
    padding: 0 !important;
}

.fantazy__rightsaitbar-inner {
    align-items: start !important;
    grid-auto-rows: min-content !important;
}

.sort__bar-inner {
    margin-bottom: var(--gap-sm) !important;
}

/* карточка: внутренние отступы одинаковые сверху и снизу */
.fantazy__rightsaitbar-item {
    padding-bottom: var(--gap-sm) !important;
}

.fantazy__rightsaitbar-img {
    margin-bottom: var(--gap-xs) !important;
}

.fantazy__rightsaitbar-title {
    margin-bottom: 4px !important;
}

/* ---------- правая колонка ---------- */

.rc {
    gap: var(--gap-sm);
}

.rc__block {
    padding: 14px;
}

.rc__title {
    margin-bottom: var(--gap-sm);
}

/* ---------- карточка товара ---------- */

.fantazy__product-wrapper {
    padding: var(--gap-md) !important;
}

.quantity-section,
.total-section,
.cart-actions {
    padding: 12px 14px !important;
}

/* ---------- подвал ---------- */

.ft {
    margin-top: 40px;
}

.ft__facts-grid {
    padding: 18px 0;
}

.ft__main {
    padding: 30px 0 24px;
    gap: 28px;
}

.ft__title {
    margin-bottom: 14px;
}

.ft__bottom {
    padding: 16px 0 20px;
}

/* ---------- телефоны ---------- */

@media (max-width: 767px) {
    :root {
        --gap-lg: 18px;
        --gap-md: 12px;
        --gap-sm: 8px;
    }

    .fantazy-breadcrumb {
        padding: 6px 0 !important;
    }

    .fantazy__catalog .heading,
    section.content .heading {
        margin-top: 10px !important;
    }

    .fantazy__catalog .heading h1,
    .fantazy__catalog h1,
    section.content h1 {
        font-size: 21px;
        padding-top: 2px;
    }

    /* крошки и заголовок не должны наезжать друг на друга */
    .fantazy-breadcrumb {
        position: static !important;
        top: auto !important;
        margin: 0 0 8px !important;
        padding: 4px 0 6px !important;
    }

    .fantazy__product-wrapper {
        padding: 12px !important;
    }

    .ft {
        margin-top: 24px;
    }

    .ft__main {
        padding: 22px 0 18px;
        gap: 20px;
    }
}

/* === pagination.css === */
/* Перелистывание каталога. 03.09.2026: раньше страниц не было вовсе -
   каталог показывал первые двести товаров и обрывался. */

.pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 18px 0 6px;
}

.pager__page,
.pager__step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #d9dee6;
    border-radius: 6px;
    background: #fff;
    color: #3d4855;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    transition: border-color .15s, color .15s;
}

.pager__page:hover,
.pager__step:hover {
    border-color: #f7941d;
    color: #f7941d;
}

.pager__page.is-current {
    border-color: #f7941d;
    background: #f7941d;
    color: #fff;
    cursor: default;
}

.pager__gap {
    padding: 0 2px;
    color: #97a1ad;
}

@media (max-width: 480px) {
    .pager__step {
        width: 100%;
        order: 1;
    }
}

/* === mobile-readable.css === */
/*
 * Читаемость на телефоне.
 *
 * 29.09.2026: Вебмастер держал «сайт не оптимизирован для мобильных»
 * (NOT_MOBILE_FRIENDLY). Ширина и viewport в порядке - горизонтальной
 * прокрутки на 390 px нет, но в карточках каталога на телефоне был текст
 * 8-10 px: подпись под скидкой («от 3 м») - 8 px, артикул на фото - 10 px,
 * счётчик товаров у подкатегории - 11 px. Здесь поднят минимум до 11-12 px,
 * круг скидки чуть больше, чтобы подпись в него влезала.
 *
 * Подключается после catalog-ui.css и discount-badge.css (в index.php -
 * последним), селекторы длиннее тамошних.
 */
@media (max-width: 767px) {
    .fantazy__rightsaitbar-item .discount-circle {
        width: 52px;
        height: 52px;
        font-size: 13px;
    }

    .fantazy__rightsaitbar-item .discount-circle .explanation {
        font-size: 11px;
    }

    .fantazy__rightsaitbar-item .fantazy__products-sku h2 {
        font-size: 12px;
    }

    .cats-grid .fantazy__rightsaitbar-item .products-count-badge,
    .fantazy__rightsaitbar-item .products-count-badge {
        font-size: 12px !important;
    }
}
