

/* Start:/local/templates/mercury52/vendor/swiper/swiper-bundle.min.css?179239508718454*/
/**
 * Swiper 11.2.10
 * Most modern mobile touch slider and framework with hardware accelerated transitions
 * https://swiperjs.com
 *
 * Copyright 2014-2025 Vladimir Kharlampidi
 *
 * Released under the MIT License
 *
 * Released on: June 28, 2025
 */

@font-face{font-family:swiper-icons;src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:'next'}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active{pointer-events:auto}.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-right,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-right,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}
/* End */


/* Start:/local/templates/mercury52/css/fonts.css?17879216213049*/
/* ==========================================================================
   MERCURY52 — LOCAL WEB FONTS
   1. Muller     (ExtraBold Italic / ExtraBold / Bold Italic / Bold) — заголовки
   2. Gotham Pro (Regular / Italic / Medium / Bold / Black)          — текст

   Только woff2: его понимают все браузеры с 2016 года, а других форматов
   в поставке нет. Имена файлов в нижнем регистре — на сервере Linux,
   и путь чувствителен к регистру.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. MULLER
   -------------------------------------------------------------------------- */

/* Muller ExtraBold Italic (800 Italic) — основные заголовки */
@font-face {
  font-family: 'Muller';
  src: url('/local/templates/mercury52/css/../fonts/muller-extrabold-italic.woff2') format('woff2');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

/* Muller ExtraBold (800 Normal) */
@font-face {
  font-family: 'Muller';
  src: url('/local/templates/mercury52/css/../fonts/muller-extrabold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Muller Bold Italic (700 Italic) */
@font-face {
  font-family: 'Muller';
  src: url('/local/templates/mercury52/css/../fonts/muller-bold-italic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* Muller Bold (700 Normal) */
@font-face {
  font-family: 'Muller';
  src: url('/local/templates/mercury52/css/../fonts/muller-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. GOTHAM PRO
   -------------------------------------------------------------------------- */

/* Gotham Pro Regular (400 Normal) — основной текст */
@font-face {
  font-family: 'Gotham Pro';
  src: url('/local/templates/mercury52/css/../fonts/gothampro-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Gotham Pro Italic (400 Italic) */
@font-face {
  font-family: 'Gotham Pro';
  src: url('/local/templates/mercury52/css/../fonts/gothampro-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Gotham Pro Medium (500 Normal) */
@font-face {
  font-family: 'Gotham Pro';
  src: url('/local/templates/mercury52/css/../fonts/gothampro-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Gotham Pro Bold (700 Normal) — подзаголовки и кнопки */
@font-face {
  font-family: 'Gotham Pro';
  src: url('/local/templates/mercury52/css/../fonts/gothampro-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Gotham Pro Black (900 Normal) — акцентные цены и цифры */
@font-face {
  font-family: 'Gotham Pro';
  src: url('/local/templates/mercury52/css/../fonts/gothampro-black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* End */


/* Start:/local/templates/mercury52/css/search.css?17930943356296*/
/* Shared search styling; the stock title controller positions its popup under body. */
.title-search-result:has(.mercury-quick-search),.title-search-result:has(.mercury-quick-empty){z-index:150;box-sizing:border-box;max-width:calc(100vw - 24px);max-height:65vh;overflow:auto;background:var(--color-bg-card,#fff);border:1px solid var(--color-border,#dedbd5);border-radius:8px;box-shadow:0 16px 40px #211e1826;text-align:left}
.mercury-quick-search{width:100%;border-collapse:collapse;font-family:var(--font-family-base,inherit)}
/* Match the catalogue filter scrollbar; scoped to Mercury search suggestions. */
.title-search-result:has(.mercury-quick-search),
.title-search-result:has(.mercury-quick-empty){scrollbar-width:thin;scrollbar-color:#000 #eee}
.title-search-result:has(.mercury-quick-search)::-webkit-scrollbar,
.title-search-result:has(.mercury-quick-empty)::-webkit-scrollbar{width:6px;height:6px}
.title-search-result:has(.mercury-quick-search)::-webkit-scrollbar-track,
.title-search-result:has(.mercury-quick-empty)::-webkit-scrollbar-track{background:#eee}
.title-search-result:has(.mercury-quick-search)::-webkit-scrollbar-thumb,
.title-search-result:has(.mercury-quick-empty)::-webkit-scrollbar-thumb{background:#000;border-radius:3px}
.title-search-result:has(.mercury-quick-search)::-webkit-scrollbar-button,
.title-search-result:has(.mercury-quick-empty)::-webkit-scrollbar-button{display:none;width:0;height:0}
.mercury-quick-search td{padding:0;border-bottom:1px solid var(--color-border,#e5e2db)}
.mercury-quick-search tr:last-child td{border-bottom:0}
.mercury-quick-search a{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:52px;padding:14px 18px;color:var(--color-text-main,#242321);text-decoration:none;font-size:14px;line-height:1.45}
.mercury-quick-search a span:first-child{overflow-wrap:anywhere}
.mercury-quick-search a span:last-child{color:var(--color-text-muted,#777);flex-shrink:0}
.mercury-quick-search tr:hover,.mercury-quick-search .title-search-selected{background:var(--color-bg-page,#f5f4f0)}
.mercury-quick-search a:focus-visible{outline:2px solid #eac239;outline-offset:-3px}
.mercury-quick-empty{padding:20px;font-size:14px;line-height:1.5}
.mercury-search-page{margin:24px 0 0;min-width:0}
.mercury-search-head{margin-bottom:24px;padding:0 var(--space-container-p,32px)}
.mercury-search-head h1{font-size:clamp(28px,4vw,42px);line-height:1.15;margin:10px 0 12px;font-weight:700}
.mercury-search-form{margin:0;width:100%;border-bottom: 1px solid #000;}
.mercury-search-label{display:block;font-size:13px;margin-bottom:10px;padding:0 var(--space-container-p,32px)}
.mercury-search-fields{display:flex;gap:0}
.mercury-search-fields input{flex:1;min-width:0;min-height:50px;border: none;border-radius:0;padding:12px 16px;background:#fff;color:var(--color-text-main,#242321);font:inherit;font-size:16px;box-sizing:border-box}
.mercury-search-fields button{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:50px;padding:12px 28px;border:0;border-radius:6px;background:var(--color-accent,#f4cb46);color:var(--color-primary,#242321);font:inherit;font-weight:600;text-decoration:none;cursor:pointer;box-sizing:border-box}
.mercury-search-fields button{border-radius:0}
.mercury-search-fields button:hover{filter:brightness(.96)}
.mercury-search-empty{display:flex;flex-direction:column;align-items:center;gap:12px;padding:56px 24px;text-align:center;border:1px solid var(--color-border,#dedbd5);background:var(--color-bg-card,#fff)}
.mercury-search-empty-icon {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: 50%;
  color: var(--color-text-main);
  margin-bottom: 4px;

  margin-left: auto;
  margin-right: auto;
}
.mercury-search-empty-icon svg{color:inherit}
/* Match the empty comparison state in compare.css. */
.mercury-search-catalog {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 13px 26px;
  background: var(--color-primary);
  color: var(--color-accent);
  font-family: var(--font-family-heading);
  font-size: 13px;
  font-weight: var(--font-weight-extrabold);
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  transform: skewX(-12deg);
  cursor: pointer;
  transition: all 0.15s ease;

  min-height: 44px;
  max-width: 100%;
  box-sizing: border-box;
  text-decoration: none;
}
.mercury-search-catalog:hover {
  background: var(--color-accent);
  color: var(--color-primary);

}
.mercury-search-empty h2 {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-extrabold);
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--color-text-main);
  margin: 0;

}
.mercury-search-empty p {
  max-width: 460px;
  font-size: var(--font-size-body-sm);
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0;

  margin-left: auto;
  margin-right: auto;
}
.mercury-search-page .catalog-grid{gap:0}
/* «Возможно, вы имели в виду…» над результатами (опечатка или раскладка). */
.mercury-search-fixed{margin:0;padding:14px var(--space-container-p,32px);border-bottom:1px solid var(--color-border,#dedbd5);background:var(--color-bg-alt,#f5f4f0);font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.mercury-search-fixed a{color:inherit;text-decoration:underline;margin-left:4px}
.mercury-search-fixed a:hover{text-decoration:none}
.mercury-search-pages{margin-top:32px}
.mercury-search-pages h2{font-size:22px;margin-bottom:16px}
.mercury-search-pages>a{display:flex;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid var(--color-border,#dedbd5);color:inherit;min-height:48px;overflow-wrap:anywhere}
.mercury-search-pagination{margin:0}
@media(max-width:600px){.mercury-search-page{padding:16px 0 32px}.mercury-search-fixed{padding:12px 16px;font-size:14px}.mercury-search-empty{padding:36px 16px}.mercury-search-fields{flex-wrap:wrap}.mercury-search-fields input{flex-basis:100%;width:100%;min-height:50px}.mercury-search-fields button{width:100%}.mercury-quick-search a{padding:12px;gap:12px}}

/* End */


/* Start:/local/templates/mercury52/css/main.css?179319427052228*/
/* ==========================================================================
   MERCURY52 — DESIGN SYSTEM & MAIN STYLES (BEM METHODOLOGY)
   Сайт сети строительно-хозяйственных магазинов «Меркурий»
   (Арзамас, Дивеево, Кстово)
   ========================================================================== */

/* --- Подключение локальных шрифтов (Muller & Gotham Pro) --- */
/* fonts.css подключается отдельно в header.php через Asset (см. header.php) */

/* ==========================================================================
   1. ПЕРЕМЕННЫЕ (CSS VARIABLES / DESIGN TOKENS)
   ========================================================================== */

:root {
  /* --- Цветовая палитра --- */
  --color-primary: #141312;
  /* Фирменный угольно-черный */
  --color-primary-hover: #26231f;
  /* Черный при наведении */
  --color-primary-light: #201e1c;
  /* Темная поверхность */

  --color-accent: #fff200;
  /* Фирменный ярко-желтый акцент */
  --color-accent-hover: #e5d600;
  /* Акцент при наведении */
  --color-accent-contrast: #141312;
  /* Текст на акцентном фоне */

  --color-bg-page: #f6f4f1;
  /* Светлый фоновый оттенок страницы */
  --color-bg-alt: #ece8e3;
  /* Дополнительный нейтральный фон */
  --color-bg-card: #ffffff;
  /* Фон белых блоков / карточек */
  --color-bg-dark: #141312;
  /* Фон темных секций */
  --color-bg-input: #ffffff;
  /* Фон полей ввода */

  --color-text-main: #141312;
  /* Основной текст */
  --color-text-secondary: #5e5b58;
  /* Второстепенный текст */
  --color-text-muted: #8c8884;
  /* Приглушенный текст / подписи */
  --color-text-light: #f6f4f1;
  /* Светлый текст на темном фоне */
  --color-text-light-muted: #b8b5b3;
  /* Приглушенный светлый текст */

  --color-border: rgba(20, 19, 18, 0.14);
  /* Границы блоков на светлом */
  --color-border-strong: #141312;
  /* Акцентная черная граница */
  --color-border-dark: rgba(246, 244, 241, 0.18);
  /* Границы на темном фоне */

  --color-badge-hit: #141312;
  --color-badge-sale: #e03131;

  /* --- Типографика --- */
  --font-family-base: "Gotham Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-heading: "Muller", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-subheading: "Gotham Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: "Gotham Pro", -apple-system, BlinkMacSystemFont, monospace;

  /* Начертания */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 900;

  /* --- Размеры шрифтов: ДЕСКТОП --- */
  --font-size-hero: 76px;
  /* Главный заголовок Hero */
  --font-size-h1: 44px;
  /* Заголовок H1 */
  --font-size-h2: 34px;
  /* Заголовок H2 секций */
  --font-size-h3: 24px;
  /* Заголовок H3 / акцентные карточки */
  --font-size-h4: 18px;
  /* Заголовок H4 / категории */

  --font-size-lead: 16px;
  /* Вводный текст / лид */
  --font-size-base: 15px;
  /* Базовый текст страницы */
  --font-size-body-sm: 13.5px;
  /* Второстепенный текст */
  --font-size-caption: 12px;
  /* Подписи и мета-данные */
  --font-size-badge: 11px;
  /* Бейджи и метки */

  --font-size-stat: 40px;
  /* Крупные акцентные цифры преимуществ */
  --font-size-price-hero: 30px;
  /* Крупные цифры статистики в баннере */
  --font-size-price: 24px;
  /* Цена товара */
  --font-size-price-old: 13px;
  /* Старая цена */

  /* Высота строк (Line Heights) */
  --line-height-hero: 1.06;
  /* Достаточный интервал для предотвращения наложения диакритических знаков Й/Ё */
  --line-height-heading: 1.12;
  --line-height-tight: 1.25;
  --line-height-base: 1.55;
  --line-height-single: 1;

  /* --- Отступы между блоками --- */
  --space-section-gap: 16px;
  /* Отступ между основными секциями */
  --space-container-p: 32px;
  /* Горизонтальный отступ контейнера */

  /* Внутренние отступы элементов */
  --space-xs: 6px;
  --space-sm: 10px;
  --space-md: 16px;
  --space-lg: 22px;
  --space-xl: 30px;

  /* Блоки внутри родителя — БЕЗ ОТСТУПОВ (стык-в-стык) */
  --grid-flush-gap: 1px;
  --grid-flush-bg: var(--color-border);

  /* --- Закругления кнопок и интерактивных элементов --- */
  --radius-none: 0px;
  --radius-btn-sm: 4px;
  --radius-btn: 6px;
  --radius-btn-lg: 8px;
  --radius-badge: 3px;

  /* --- Контейнер --- */
  --container-max-width: 1440px;
}

/* ==========================================================================
   2. АДАПТИВНЫЕ МЕДИА-ЗАПРОСЫ
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --font-size-hero: 52px;
    --font-size-h1: 36px;
    --font-size-h2: 28px;
    --font-size-h3: 20px;
    --font-size-h4: 16px;

    --font-size-lead: 15px;
    --font-size-base: 14.5px;
    --font-size-body-sm: 13px;
    --font-size-caption: 11.5px;
    --font-size-badge: 10.5px;

    --font-size-stat: 32px;
    --font-size-price-hero: 24px;
    --font-size-price: 20px;

    --space-section-gap: 12px;
    --space-container-p: 20px;
    --space-xl: 22px;
    --space-lg: 16px;
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-hero: 38px;
    --font-size-h1: 28px;
    --font-size-h2: 24px;
    --font-size-h3: 18px;
    --font-size-h4: 15px;

    --font-size-lead: 14px;
    --font-size-base: 14px;
    --font-size-body-sm: 12.5px;
    --font-size-caption: 11px;
    --font-size-badge: 10px;

    --font-size-stat: 26px;
    --font-size-price-hero: 20px;
    --font-size-price: 18px;

    --space-section-gap: 10px;
    --space-container-p: 14px;
    --space-xl: 18px;
    --space-lg: 14px;
    --space-md: 12px;
  }
}

@media (max-width: 480px) {
  :root {
    --font-size-hero: 30px;
    --font-size-h1: 24px;
    --font-size-h2: 21px;
    --font-size-h3: 17px;
    --font-size-h4: 14.5px;

    --font-size-stat: 24px;
    --space-section-gap: 8px;
    --space-container-p: 10px;
  }
}

/* ==========================================================================
   3. БАЗОВЫЙ СБРОС (RESET & BASE)
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: #e9e6e2;
  color: var(--color-text-main);
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  font-weight: var(--font-weight-regular);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* ==========================================================================
   4. БЭМ-БЛОКИ: ОБЩИЕ ЭЛЕМЕНТЫ (PAGE, SECTION, GRID, BUTTONS)
   ========================================================================== */

/* Блок: page */
.page {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  background: var(--color-bg-page);
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
}

/* Блок: section */
.section {
  margin-top: var(--space-section-gap);
  padding: 0;
}

.section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 0 var(--space-container-p) 12px;
}

.section__header-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section__num {
  font-family: 'Gotham Pro', sans-serif;
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-regular);
  font-style: italic;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.section__title {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-extrabold);
  font-style: italic;
  line-height: var(--line-height-heading);
  letter-spacing: -0.02em;
  color: var(--color-text-main);
  margin: 0;
}

.section__link {
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-main);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--color-accent);
  white-space: nowrap;
}

.section__link:hover {
  color: var(--color-text-secondary);
  border-color: var(--color-primary);
}

.section__desc {
  font-size: var(--font-size-body-sm);
  color: var(--color-text-secondary);
  max-width: 380px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .section__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 10px;
  }

  .section__desc {
    max-width: 100%;
    margin-top: 2px;
  }

  .section__link {
    align-self: flex-start;
    margin-top: 4px;
  }

  .tabs {
    width: 100%;
    overflow-x: auto;
    margin-top: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .tabs__item {
    flex: 1;
    text-align: center;
    padding: 8px 10px;
  }
}

/* Блок: grid-flush */
.grid-flush {
  display: grid;
  gap: 1px;
  background: var(--color-border);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  width: 100%;
}

.grid-flush--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-flush--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-flush--6 {
  grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 992px) {
  .grid-flush--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-flush--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-flush--6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {

  .grid-flush--3,
  .grid-flush--4 {
    grid-template-columns: 1fr;
  }

  .grid-flush--6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Блок: btn */
.btn {
  padding: 16px 28px;
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background: var(--color-text-light);
  color: var(--color-primary);
  border-color: var(--color-text-light);
}

.btn--outline {
  background: transparent;
  color: var(--color-text-light);
  border-color: rgba(246, 244, 241, 0.4);
}

.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ==========================================================================
   5. БЭМ-БЛОК: TOPBAR
   ========================================================================== */

.topbar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 var(--space-container-p);
  height: 42px;
  background: var(--color-primary);
  color: #cfcdcb;
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-regular);
}

.topbar__city {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-light);
  font-weight: var(--font-weight-semibold);
  white-space: nowrap;
}

.topbar__dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  display: block;
}

.topbar__stores {
  color: var(--color-text-muted);
  white-space: nowrap;
}

.topbar__nav {
  margin-left: auto;
  display: flex;
  gap: 20px;
  align-items: center;
  white-space: nowrap;
}

.topbar__link {
  color: #cfcdcb;
}

.topbar__link:hover {
  color: var(--color-accent);
}

.topbar__link--b2b {
  color: var(--color-accent) !important;
  font-weight: var(--font-weight-semibold);
}

.topbar__link--login {
  padding: 6px 14px;
  border: 1px solid rgba(246, 244, 241, 0.3);
  color: var(--color-text-light) !important;
  border-radius: var(--radius-btn-sm);
}

.topbar__link--login:hover {
  background: rgba(246, 244, 241, 0.1);
}

/* ==========================================================================
   6. БЭМ-БЛОК: HEADER & SEARCH-BOX
   ========================================================================== */

.header {
  padding: 14px var(--space-container-p);
  background: var(--color-bg-page);
  border-bottom: 1px solid var(--color-border);
}

.header__top-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  flex: none;
}

.header__logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.header__catalog-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: var(--color-primary);
  color: var(--color-text-light);
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-btn);
  white-space: nowrap;
  flex: none;
  transition: all 0.15s ease;
}

.header__catalog-btn:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

.header__burger {
  display: flex;
  flex-direction: column;
  gap: 3.5px;
}

.header__burger-line {
  width: 16px;
  height: 2px;
  background: currentColor;
  display: block;
}

/* Блок: search-box */
.search-box {
  flex: 1;
  display: flex;
  align-items: stretch;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  overflow: hidden;
  min-width: 0;
  height: 46px;
}

.search-box__input {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 0 18px;
  font-size: var(--font-size-base);
  color: var(--color-text-main);
  background: transparent;
  outline: none;
}

.search-box__input::placeholder {
  color: var(--color-text-muted);
}

.search-box__excel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-family: var(--font-family-mono);
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  border-left: 1px solid var(--color-border);
  background: transparent;
  cursor: pointer;
  border-top: none;
  border-right: none;
  border-bottom: none;
  transition: all 0.15s ease;
}

.search-box__excel-btn:hover {
  background: var(--color-bg-page);
  color: var(--color-primary);
}

.search-box__submit-btn {
  padding: 0 24px;
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
}

.search-box__submit-btn:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}

.search-box__btn-icon {
  display: none;
}

/* Блок действий шапки: header__actions */
.header__actions {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  border-radius: var(--radius-btn);
  overflow: hidden;
  flex: none;
  height: 46px;
}

.header__action-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 6px 16px;
  border: none;
  border-right: 1px solid var(--color-border);
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  min-width: 86px;
  background: var(--color-bg-card);
  transition: background-color 0.15s ease, color 0.15s ease;
  position: relative;
  text-decoration: none;
}

.header__action-btn:hover {
  background: var(--color-bg-page);
  color: var(--color-text-main);
}

.header__action-icon {
  display: none;
}

.header__action-badge {
  font-size: var(--font-size-body-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-main);
  line-height: 1;
}

.header__cart-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 6px 20px;
  background: var(--color-primary);
  color: var(--color-text-light);
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-medium);
  min-width: 124px;
  border: none;
  transition: background-color 0.15s ease;
  position: relative;
  text-decoration: none;
}

.header__cart-btn:hover {
  background: var(--color-primary-hover);
}

.header__cart-icon {
  display: none;
}

.header__cart-badge {
  display: none;
}

.header__cart-count {
  color: var(--color-accent);
  font-weight: var(--font-weight-semibold);
  font-size: 11.5px;
  line-height: 1.1;
}

.header__cart-sum {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
}

/* ==========================================================================
   АДАПТИВНЫЕ МЕДИА-ПРАВИЛА ДЛЯ ШАПКИ
   ========================================================================== */

/* --- Ноутбуки и экраны: до 1240px (перенос поиска на 2-ю строку) --- */
@media (max-width: 1240px) {
  .header__top-row {
    flex-wrap: wrap;
    gap: 12px;
  }

  .header__search {
    order: 3;
    width: 100%;
    flex: 0 0 100%;
    margin-top: 4px;
  }

  .header__actions {
    margin-left: auto;
  }
}

/* --- Планшеты и мобильные: до 900px (ранний перевод кнопок в компактные иконки) --- */
@media (max-width: 900px) {
  .topbar {
    height: 36px;
    padding: 0 var(--space-container-p);
    justify-content: space-between;
    font-size: 11.5px;
  }

  .topbar__city-other,
  .topbar__city-sep,
  .topbar__stores,
  .topbar__link:not(.topbar__link--b2b):not(.topbar__link--login) {
    display: none;
  }

  .topbar__nav {
    gap: 12px;
  }

  .topbar__link--login {
    padding: 4px 10px;
    font-size: 11px;
  }

  .header {
    padding: 10px var(--space-container-p);
  }

  .header__top-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .header__logo {
    flex: 0 0 auto;
  }

  .header__logo-img {
    height: 38px;
  }

  /* Каталог кнопка - компактная иконка */
  .header__catalog-btn {
    padding: 0;
    gap: 0;
    width: 42px;
    height: 42px;
    min-width: 42px;
    justify-content: center;
    border-radius: var(--radius-btn-sm);
  }

  .header__catalog-text {
    display: none;
  }

  /* Панель действий шапки (Сравнение, Избранное, Корзина в виде иконок) */
  .header__actions {
    margin-left: auto;
    border-radius: var(--radius-btn-sm);
    height: 42px;
  }

  .header__action-btn {
    min-width: 42px;
    width: 42px;
    height: 42px;
    padding: 0;
    align-items: center;
    justify-content: center;
  }

  .header__action-label {
    display: none;
  }

  .header__action-icon {
    display: block;
    width: 19px;
    height: 19px;
  }

  .header__action-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--color-accent);
    color: var(--color-primary);
    font-size: 10px;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
    line-height: 1;
  }

  /* Корзина - иконка с бейджем */
  .header__cart-btn {
    min-width: 46px;
    width: 46px;
    height: 42px;
    padding: 0;
    align-items: center;
    justify-content: center;
  }

  .header__cart-info {
    display: none;
  }

  .header__cart-icon {
    display: block;
    width: 20px;
    height: 20px;
    color: var(--color-accent);
  }

  .header__cart-badge {
    display: flex;
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--color-accent);
    color: var(--color-primary);
    font-size: 10px;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
    line-height: 1;
  }
}

/* --- Смартфоны: до 600px (кнопки поиска заменяются на иконки) --- */
@media (max-width: 600px) {
  .header__logo-img {
    height: 34px;
  }

  .header__catalog-btn {
    width: 38px;
    min-width: 38px;
    height: 38px;
  }

  .header__actions {
    height: 38px;
  }

  .header__action-btn {
    width: 38px;
    min-width: 38px;
    height: 38px;
  }

  .header__cart-btn {
    width: 42px;
    min-width: 42px;
    height: 38px;
  }

  .search-box {
    border-radius: var(--radius-btn-sm);
    height: 40px;
  }

  .search-box__input {
    padding: 0 12px;
    font-size: 13px;
  }

  .search-box__input::placeholder {
    font-size: 12.5px;
  }

  .search-box__btn-text {
    display: none;
  }

  .search-box__btn-icon {
    display: block;
  }

  .search-box__excel-btn {
    padding: 0 12px;
  }

  .search-box__submit-btn {
    padding: 0 14px;
  }
}

/* --- Сверхмалые мобильные экраны: до 380px --- */
@media (max-width: 380px) {
  .header__logo-img {
    height: 28px;
  }

  .header__catalog-btn {
    width: 34px;
    min-width: 34px;
    height: 34px;
  }

  .header__actions {
    height: 34px;
  }

  .header__action-btn {
    width: 34px;
    min-width: 34px;
    height: 34px;
  }

  .header__cart-btn {
    width: 38px;
    min-width: 38px;
    height: 34px;
  }

  .search-box {
    height: 38px;
  }

  .search-box__input {
    padding: 0 8px;
    font-size: 12px;
  }

  .search-box__excel-btn {
    padding: 0 8px;
  }

  .search-box__submit-btn {
    padding: 0 10px;
  }
}

/* ==========================================================================
   7. БЭМ-БЛОК: TICKER
   ========================================================================== */

.ticker {
  display: none;
  overflow: hidden;
  background: var(--color-accent);
  border-bottom: 1px solid rgba(20, 19, 18, 0.2);
  user-select: none;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-anim 35s linear infinite;
}

.ticker__item {
  display: flex;
  align-items: center;
  gap: 34px;
  flex-shrink: 0;
  padding: 10px 17px;
  font-family: var(--font-family-heading);
  font-size: 12px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  white-space: nowrap;
}

@keyframes ticker-anim {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   8. БЭМ-БЛОК: HERO & HERO-SLIDER & HERO-STATS
   ========================================================================== */

.hero {
  position: relative;
  background: var(--color-primary);
  padding: 0;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  left: 20%;
  top: -40px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(242, 226, 0, 0.12) 0 60%, transparent 61%);
  pointer-events: none;
  z-index: 1;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.18fr);
  gap: 0;
  align-items: stretch;
  min-height: 490px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 44px 32px 44px var(--space-container-p);
  position: relative;
  z-index: 2;
}

.hero__tagline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__tagline-line {
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  display: block;
}

.hero__tagline-text {
  font-family: var(--font-family-mono);
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.hero__title {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-hero);
  font-weight: var(--font-weight-extrabold);
  font-style: italic;
  line-height: var(--line-height-hero);
  letter-spacing: -0.01em;
  color: var(--color-text-light);
  margin: 0;
  text-transform: uppercase;
}

.hero__title span {
  color: var(--color-accent);
}

.hero__desc {
  font-size: var(--font-size-lead);
  line-height: var(--line-height-base);
  color: var(--color-text-light-muted);
  max-width: 520px;
  margin: 0;
}

.hero__buttons {
  display: flex;
  gap: 12px;
  align-items: stretch;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  border-left: 1px solid var(--color-border-dark);
  background: var(--color-primary-light);
  overflow: hidden;
}

/* Блок: hero-swiper */
.hero-swiper {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
}

.hero-slide {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slide__link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
}

.hero-slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.hero-slide__link:hover .hero-slide__img {
  transform: scale(1.02);
}

.hero-swiper__nav {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-swiper__arrow {
  width: 38px;
  height: 38px;
  background: rgba(20, 19, 18, 0.75);
  color: var(--color-text-light);
  border: 1px solid rgba(246, 244, 241, 0.25);
  border-radius: var(--radius-btn-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all 0.15s ease;
  padding: 0;
}

.hero-swiper__arrow:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}

.hero-swiper__pagination {
  position: absolute !important;
  top: 24px !important;
  left: 24px !important;
  bottom: auto !important;
  width: auto !important;
  display: flex !important;
  gap: 8px !important;
  z-index: 10 !important;
}

.hero-swiper__bullet {
  width: 26px;
  height: 4px;
  background: rgba(246, 244, 241, 0.4);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-block;
}

.hero-swiper__bullet--active {
  width: 42px;
  background: var(--color-accent);
}

/* Блок: hero-stats */
.hero-stats {
  position: relative;
  width: 100%;
  background: var(--color-bg-page);
  padding: 16px 24px;
  display: grid;
  grid-template-columns: 1fr 1px 1.25fr 1px 1fr;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
  z-index: 5;
  border-radius: 0;
  box-sizing: border-box;
}

.hero-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-stats__val {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-price-hero);
  font-weight: var(--font-weight-black);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-text-main);
}

.hero-stats__label {
  font-family: var(--font-family-mono);
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-top: 6px;
}

.hero-stats__divider {
  width: 1px;
  height: 38px;
  background: var(--color-border);
}

@media (max-width: 992px) {
  .hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__content {
    padding: 36px var(--space-container-p);
  }

  .hero__visual {
    border-left: none;
    border-top: 1px solid var(--color-border-dark);
  }

  .hero-slider {
    min-height: 320px;
  }
}

/* ==========================================================================
   9. БЭМ-БЛОК: CAT-CARD (КАРТОЧКА КАТЕГОРИИ)
   ========================================================================== */

.cat-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--color-bg-card);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.cat-card:hover {
  background: var(--color-primary);
  box-shadow: inset 0 0 0 1px var(--color-primary);
  z-index: 1;
}

.cat-card__thumb {
  width: 68px;
  height: 68px;
  flex: none;
  background-color: #f1efec;
  border-radius: var(--radius-btn-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

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

.cat-card:hover .cat-card__thumb {
  background-color: var(--color-primary-light);
}

.cat-card__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cat-card__title {
  font-family: var(--font-family-subheading);
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-bold);
  font-style: normal;
  line-height: var(--line-height-tight);
  letter-spacing: -0.01em;
  color: var(--color-text-main);
  transition: color 0.2s ease;
}

.cat-card:hover .cat-card__title {
  color: var(--color-accent);
}

.cat-card__subtitle {
  font-family: var(--font-family-base);
  font-size: var(--font-size-body-sm);
  font-weight: var(--font-weight-regular);
  font-style: normal;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin-top: 4px;
  transition: color 0.2s ease;
}

.cat-card:hover .cat-card__subtitle {
  color: var(--color-text-light-muted);
}

.cat-card__count {
  font-family: 'Gotham Pro', sans-serif;
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-regular);
  font-style: italic;
  color: var(--color-text-muted);
  margin-top: 8px;
  transition: color 0.2s ease;
}

.cat-card:hover .cat-card__count {
  color: var(--color-text-light-muted);
}

/* ==========================================================================
   10. БЭМ-БЛОК: TASK-CARD (КАРТОЧКА ЗАДАЧИ)
   ========================================================================== */

.task-card {
  padding: 24px 20px;
  background: var(--color-bg-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 170px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.task-card:hover {
  box-shadow: inset 0 0 0 1px var(--color-border-strong);
  z-index: 1;
}

.task-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  font-family: var(--font-family-heading);
  font-size: 13.5px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.02em;
  background: #ffffff;
  border: 1.5px solid #8e8b88;
  border-radius: 2px;
  transform: skewX(-12deg);
  color: var(--color-text-main);
  align-self: flex-start;
  line-height: 1.2;
  transition: all 0.15s ease;
}

.task-card:hover .task-card__num {
  background: var(--color-primary);
  color: var(--color-accent);
  border-color: var(--color-primary);
  transform: skewX(-12deg) scale(1.05);
}

.task-card__title {
  font-family: var(--font-family-subheading);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  font-style: normal;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--color-text-main);
}

.task-card__desc {
  font-size: var(--font-size-body-sm);
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin-top: auto;
}

/* Плитка-ссылка в разделы каталога (include/home_tasks.php) */
a.task-card {
  color: inherit;
  text-decoration: none;
}

a.task-card:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -3px;
  z-index: 1;
}

.task-card--static {
  cursor: default;
}

.task-card__count {
  font-family: 'Gotham Pro', sans-serif;
  font-size: var(--font-size-caption);
  font-style: italic;
  color: var(--color-text-muted);
  margin-top: -8px;
  transition: color 0.15s ease;
}

a.task-card:hover .task-card__count {
  color: var(--color-text-main);
}

/* ==========================================================================
   11. БЭМ-БЛОК: TABS (ТАБЫ ФИЛЬТРАЦИИ)
   ========================================================================== */

.tabs {
  display: flex;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn-sm);
  overflow: hidden;
}

.tabs__item {
  padding: 10px 16px;
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.06em;
  background: var(--color-bg-card);
  color: var(--color-text-main);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.tabs__item:hover {
  background: var(--color-bg-page);
}

.tabs__item--active {
  background: var(--color-primary);
  color: var(--color-accent);
}

/* ==========================================================================
   12. БЭМ-БЛОК: PRODUCT-CARD (КАРТОЧКА ТОВАРА)
   ========================================================================== */

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-card);
  min-width: 0;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  z-index: 5;
}

.product-card__image-box {
  position: relative;
  height: 220px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.product-card__image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.product-card__image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .product-card__image {
  transform: scale(1.06);
}

/* Бейджи товара (скошенный параллелограмм по брендбуку) */
.product-card__badges {
  position: absolute;
  left: 10px;
  top: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.product-card__badge {
  position: absolute;
  left: 10px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px 3px;
  font-family: var(--font-family-base);
  font-size: 11px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: skewX(-12deg);
  border-radius: 2px;
  z-index: 2;
  line-height: 1;
}

.product-card__badges .product-card__badge {
  position: static;
}

.product-card__badge--hit {
  background: #141312;
  color: var(--color-accent);
}

.product-card__badge--season {
  background: var(--color-accent);
  color: #141312;
}

.product-card__badge--new {
  background: #43a0ae;
  color: #ffffff;
}

.product-card__badge--sale {
  background: #e03131;
  color: #ffffff;
}

/* Кнопки действий (Избранное и Сравнение) */
.product-card__actions {
  position: absolute;
  right: 10px;
  top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.product-card__action-btn {
  width: 34px;
  height: 34px;
  border: 1.5px solid #8e8b88;
  background: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-main);
  cursor: pointer;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.15s ease;
}

.product-card__action-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-page);
  transform: scale(1.05);
}

.product-card__action-btn:first-child svg {
  fill: none;
  stroke: #141312;
  stroke-width: 2;
}

.product-card__action-btn:last-child svg {
  stroke: #141312;
}

.product-card__action-btn svg {
  display: block;
}

.product-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-card);
}

.product-card__info-col {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.product-card__art {
  font-family: var(--font-family-mono);
  font-size: var(--font-size-caption);
  color: var(--color-text-muted);
  font-style: italic;
}

.product-card__title-link {
  display: block;
  color: var(--color-text-main);
}

.product-card__title-link:hover .product-card__title {
  color: var(--color-text-secondary);
}

.product-card__title {
  font-family: var(--font-family-base);
  font-size: 15px;
  font-weight: var(--font-weight-bold);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--color-text-main);
  margin: 0 0 6px;
  height: 40px;
  min-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__spec {
  font-size: var(--font-size-body-sm);
  line-height: 1.4;
  color: var(--color-text-secondary);
  height: 38px;
  min-height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

/* Блок расширенных характеристик скрыт в режиме сетки */
.product-card__specs-grid {
  display: none;
}

.product-card__stock {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-medium);
  margin-top: auto;
  padding-top: 6px;
}

.product-card__stock-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #2b8a3e;
  flex: none;
}

.product-card__stock-text {
  color: var(--color-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card__price-col {
  margin-top: auto;
  width: 100%;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--color-border);
  min-height: 46px;
}

.product-card__price-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 38px;
}

.product-card__price-old {
  font-family: var(--font-family-mono);
  font-size: var(--font-size-price-old);
  color: var(--color-text-muted);
  text-decoration: line-through;
  line-height: 1;
  margin-bottom: 3px;
  min-height: 13px;
  display: block;
}

.product-card__price-old:empty {
  visibility: hidden;
}

.product-card__price-val {
  font-family: var(--font-family-base);
  font-size: var(--font-size-price);
  font-weight: var(--font-weight-black);
  letter-spacing: -0.025em;
  color: var(--color-text-main);
  line-height: 1;
}

.product-card__price-val .product-card__price-currency {
  font-weight: var(--font-weight-bold);
  font-size: 0.9em;
}

.product-card__buy-btn {
  padding: 11px 18px;
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  font-family: var(--font-family-heading);
  font-size: 13.5px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  transform: skewX(-12deg);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.product-card__buy-btn:hover {
  background: var(--color-primary);
  color: var(--color-accent);
  transform: skewX(-12deg) translateY(-1px);
}

.product-card__buy-btn:active {
  transform: skewX(-12deg) translateY(1px);
}

/* Товар уже в корзине: кнопка чёрная и неактивная (класс ставит js/mercury.js).
   Селектор усилен, чтобы перебить :disabled из css/catalog-bitrix.css. */
.product-card .product-card__buy-btn.product-card__buy-btn--in-basket,
.product-card .product-card__buy-btn.product-card__buy-btn--in-basket:hover,
.product-card .product-card__buy-btn.product-card__buy-btn--in-basket:disabled {
  background: #000;
  color: #fff;
  opacity: 1;
  cursor: default;
  transform: skewX(-12deg);
}

/* Контейнер элементов управления в шапке секции (табы + стрелки слайдера) */
.section__header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Блок: products-swiper */
.products-swiper {
  position: relative;
  width: 100%;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-border);
  overflow: hidden;
  padding-bottom: 0;
}

.products-swiper__slide {
  height: auto;
  display: flex;
  box-sizing: border-box;
}

.products-swiper__slide .product-card {
  width: 100%;
  height: 100%;
}

.products-swiper__nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.products-swiper__arrow {
  width: 38px;
  height: 38px;
  background: var(--color-bg-card);
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
}

.products-swiper__arrow:hover {
  background: var(--color-primary);
  color: var(--color-accent);
  border-color: var(--color-primary);
}

.products-swiper__arrow.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.products-swiper__pagination {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  position: static !important;
  width: 100% !important;
  background: var(--color-bg-page);
}

.products-swiper__bullet {
  width: 24px;
  height: 4px;
  background: rgba(20, 19, 18, 0.22);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-block;
}

.products-swiper__bullet--active {
  width: 42px;
  background: var(--color-primary);
}

@media (max-width: 768px) {
  .section__header-controls {
    width: 100%;
    justify-content: space-between;
    margin-top: 6px;
  }
}

/* ==========================================================================
   13. БЭМ-БЛОК: B2B-SECTION & B2B-FEATURE
   ========================================================================== */

.b2b-section {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--color-primary);
  border-top: 1px solid var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
}

.b2b-section__info {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.b2b-section__tag {
  font-family: var(--font-family-mono);
  font-size: var(--font-size-caption);

  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.b2b-section__title {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-heading);
  letter-spacing: -0.03em;
  color: var(--color-text-light);
  margin: 0;
}

.b2b-section__desc {
  font-size: var(--font-size-base);
  line-height: 1.65;
  color: var(--color-text-light-muted);
  max-width: 480px;
  margin: 0;
}

.b2b-section__actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.b2b-section__grid {
  border-left: 1px solid var(--color-border-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--color-border-dark);
}

.b2b-feature {
  padding: 28px 24px;
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.b2b-feature__val {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-stat);
  font-weight: var(--font-weight-black);
  line-height: 1;
  color: var(--color-accent);
  letter-spacing: -0.03em;
}

.b2b-feature__label {
  font-size: var(--font-size-base);
  line-height: 1.45;
  color: var(--color-text-light-muted);
  margin-top: 10px;
}

@media (max-width: 900px) {
  .b2b-section {
    grid-template-columns: 1fr;
  }

  .b2b-section__grid {
    border-left: none;
    border-top: 1px solid var(--color-border-dark);
  }
}

/* ==========================================================================
   14. БЭМ-БЛОК: NEWS-CARD (НОВОСТИ И СТАТЬИ)
   ========================================================================== */

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-card);
  min-width: 0;
  position: relative;
  transition: box-shadow 0.2s ease;
}

.news-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  z-index: 5;
}

.news-card__image-box {
  position: relative;
  height: 250px;
  background-color: #e9e6e2;
  overflow: hidden;
}

.news-card__image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.news-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.news-card:hover .news-card__image {
  transform: scale(1.05);
}

.news-card__tag {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px 3px;
  font-family: var(--font-family-base);
  font-size: 11px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: skewX(-12deg);
  border-radius: 2px;
  background: var(--color-primary);
  color: var(--color-accent);
  z-index: 2;
  line-height: 1.2;
}

.news-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-card);
}

.news-card__date {
  font-family: var(--font-family-mono);
  font-size: var(--font-size-caption);
  color: var(--color-text-muted);
}

.news-card__title-link {
  display: block;
  color: var(--color-text-main);
}

.news-card__title-link:hover .news-card__title {
  color: var(--color-text-secondary);
}

.news-card__title {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-bold);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--color-text-main);
  margin: 0;
  min-height: 48px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__desc {
  font-size: var(--font-size-body-sm);
  line-height: 1.55;
  color: var(--color-text-secondary);
  margin: 0;
}

.news-card__footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-card__link {
  font-family: var(--font-family-mono);
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-main);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-card:hover .news-card__link {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ==========================================================================
   15. БЭМ-БЛОК: BRANDS-MARQUEE (БЕСКОНЕЧНАЯ БЕГУЩАЯ СТРОКА БРЕНДОВ)
   ========================================================================== */

.brands-marquee {
  width: 100%;
  overflow: hidden;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-top: var(--space-section-gap);
  user-select: none;
}

.brands-marquee:hover .brands-marquee__track {
  animation-play-state: paused;
}

.brands-marquee__track {
  display: flex;
  width: max-content;
  animation: brands-scroll 32s linear infinite;
}

.brands-marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brands-marquee__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 42px;
  height: 90px;
  font-family: var(--font-family-heading);
  font-size: 16px;
  font-weight: var(--font-weight-extrabold);
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
  border-right: 1px solid var(--color-border);
  transition: color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.brands-marquee__item:hover {
  background: var(--color-bg-page);
  color: var(--color-text-main);
}

.brands-marquee__item--alt {
  font-family: var(--font-family-mono);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
}

@keyframes brands-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   16. БЭМ-БЛОК: FOOTER
   ========================================================================== */

.footer {
  background: var(--color-primary);
  color: var(--color-text-light-muted);
  padding: 38px var(--space-container-p) 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
}

.footer__logo img {
  height: 38px;
}

.footer__about-text {
  font-size: var(--font-size-body-sm);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 290px;
}

.footer__col-title {
  font-family: var(--font-family-mono);
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: var(--font-size-body-sm);
  line-height: 1.6;
}

.footer__link {
  color: var(--color-text-light-muted);
}

.footer__link:hover {
  color: var(--color-accent);
}

.footer__bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border-dark);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-family-mono);
  font-size: var(--font-size-caption);
  color: var(--color-text-muted);
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  /* О сети — на всю ширину, под ней «Покупателям» и «Контакты» */
  .footer__about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}
/* End */


/* Start:/local/templates/mercury52/css/store-stock.css?17931899435699*/
/* ==========================================================================
   MERCURY52 — наличие по магазинам
   1) кнопка «В наличии в N магазинах» на карточке + всплывающее окно (js/store-stock.js)
   2) блок «Наличие в магазинах» на детальной странице товара
   ========================================================================== */

/* --- 1. Карточка: текст наличия как кнопка с пунктиром --- */
.product-card__stock .mercury-stock-trigger {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  border-radius: 0;
  margin: 0;
  padding: 0;
  font: inherit;
  color: var(--color-text-secondary);
  text-align: left;
  cursor: pointer;
  min-width: 0;
  text-decoration: underline dotted;
  text-decoration-color: var(--color-text-muted);
  text-underline-offset: 3px;
  -webkit-tap-highlight-color: transparent;
}

.product-card__stock .mercury-stock-trigger:hover,
.product-card__stock .mercury-stock-trigger[aria-expanded="true"] {
  color: var(--color-text-main);
  text-decoration-color: var(--color-text-main);
}

.product-card__stock .mercury-stock-trigger:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* --- Всплывающее окно: одно на страницу, висит на body --- */
.mercury-stock-pop {
  position: fixed;
  z-index: 1000;
  width: 300px;
  max-width: calc(100vw - 16px);
  max-height: calc(100vh - 16px);
  overflow-y: auto;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-strong);
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(20, 19, 18, 0.16);
  font-size: var(--font-size-body-sm);
  color: var(--color-text-main);
}

.mercury-stock-pop[hidden] {
  display: none;
}

.mercury-stock-pop__head {
  padding: 10px 14px;
  background: var(--color-primary);
  color: var(--color-text-light);
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mercury-stock-pop__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mercury-stock-pop__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--color-border);
}

.mercury-stock-pop__place {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mercury-stock-pop__place b {
  font-weight: var(--font-weight-semibold);
}

.mercury-stock-pop__place span {
  font-size: var(--font-size-caption);
  color: var(--color-text-secondary);
}

.mercury-stock-pop__qty {
  flex: none;
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
}

.mercury-stock-pop__qty::before,
.product-stores__qty::before {
  content: "";
  display: inline-block;
  width: 6.5px;
  height: 6.5px;
  margin-right: 6px;
  border-radius: 50%;
  background: #2b8a3e;
  vertical-align: 1px;
}

.mercury-stock-pop__row--none,
.mercury-stock-pop__row--none .mercury-stock-pop__place span {
  color: var(--color-text-muted);
}

.mercury-stock-pop__row--none .mercury-stock-pop__qty {
  font-weight: var(--font-weight-medium);
}

.mercury-stock-pop__row--none .mercury-stock-pop__qty::before,
.product-stores__row--none .product-stores__qty::before {
  background: var(--color-text-muted);
  opacity: 0.5;
}

.mercury-stock-pop__foot {
  padding: 9px 14px;
  background: var(--color-bg-alt);
  font-size: var(--font-size-caption);
  color: var(--color-text-secondary);
}

.mercury-stock-pop__foot a {
  color: var(--color-text-main);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- 2. Детальная: блок «Наличие в магазинах» (строки во всю ширину, как характеристики) --- */
.product__block--stores {
  padding-left: 0;
  padding-right: 0;
}

.product__block--stores .product__block-head,
.product-stores__empty,
.product-stores__note {
  padding-left: var(--product-pad);
  padding-right: var(--product-pad);
}

.product-stores {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
}

.product-stores[hidden],
.product-stores__empty[hidden] {
  display: none;
}

.product-stores__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px var(--product-pad);
  border-bottom: 1px solid var(--color-border);
}

.product-stores__row:nth-child(odd) {
  background: var(--product-row-alt, var(--color-bg-page));
}

.product-stores__place {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-stores__title {
  font-size: var(--font-size-body-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-main);
}

.product-stores__address {
  font-size: var(--font-size-caption);
  color: var(--color-text-secondary);
}

.product-stores__qty {
  flex: none;
  font-size: var(--font-size-body-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-main);
  white-space: nowrap;
}

.product-stores__row--none .product-stores__title,
.product-stores__row--none .product-stores__qty {
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
}

.product-stores__empty {
  margin: 0;
  font-size: var(--font-size-body-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-secondary);
}

.product-stores__note {
  margin: 12px 0 0;
  font-size: var(--font-size-caption);
  color: var(--color-text-muted);
}

@media (max-width: 604px) {
  .product-stores__row {
    padding-top: 9px;
    padding-bottom: 9px;
  }
}

/* End */


/* Start:/local/templates/mercury52/template_styles.css?179325406621718*/
/* ==========================================================================
   MERCURY52 — СТИЛИ УРОВНЯ ШАБЛОНА (template_styles.css)
   Подключается Битриксом автоматически, поверх css/main.css.
   Здесь только то, что появилось при переносе вёрстки на Битрикс:
   замена inline-стилей макета, состояния счётчиков и подсказки поиска.
   ========================================================================== */

/* ==========================================================================
   0. КАРКАС СТРАНИЦЫ — подвал прижат к низу окна
   --------------------------------------------------------------------------
   В макете у .page был только min-height: 100vh, поэтому на коротких страницах
   под подвалом оставалась пустая полоса. Делаем колонку и растягиваем контент.
   ========================================================================== */

.page {
  display: flex;
  flex-direction: column;
}

.page__content {
  flex: 1 0 auto;
  min-width: 0;
}

.topbar,
.header,
.footer {
  flex-shrink: 0;
}

/* ==========================================================================
   1. TOPBAR — бывшие inline-стили макета
   ========================================================================== */

.topbar__link--active {
  color: var(--color-accent);
}

/* Ссылка на страницу магазинов вместо режима работы:
   он у точек разный, поэтому в шапке его больше нет */
.topbar__stores-link {
  color: inherit;
  border-bottom: 1px dotted #7d7979;
}

.topbar__stores-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* ==========================================================================
   1.1. ВЫБОР ГОРОДА
   --------------------------------------------------------------------------
   Выбор запоминается в localStorage и на странице /stores/ сам включает
   нужный фильтр. Разметка списка — в include/topbar_cities.php.
   ========================================================================== */

.city-select {
  position: relative;
}

.city-select__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-text-light);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
}

.city-select__toggle:hover {
  color: var(--color-accent);
}

.city-select__caret {
  width: 10px;
  height: 10px;
  transition: transform 0.15s ease;
}

.city-select--open .city-select__caret {
  transform: rotate(180deg);
}

.city-select__drop {
  position: absolute;
  top: calc(100% + 9px);
  left: -12px;
  z-index: 200;
  min-width: 170px;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn-sm);
  box-shadow: 0 14px 30px rgba(20, 19, 18, 0.22);
}

/* Идёт после display: flex, иначе атрибут hidden не сработает */
.city-select__drop[hidden] {
  display: none;
}

.city-select__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 16px;
  border: none;
  background: transparent;
  font-size: var(--font-size-body-sm);
  color: var(--color-text-main);
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.city-select__option:hover {
  background: var(--color-bg-page);
}

.city-select__option--active {
  font-weight: var(--font-weight-bold);
}

.city-select__option--active::after {
  content: '✓';
  color: var(--color-text-muted);
}

/* ==========================================================================
   2. СЧЁТЧИКИ И КНОПКА КОРЗИНЫ
   ========================================================================== */

.header__action-badge--empty,
.header__cart-badge--empty {
  display: none !important;
}

/* В макете «Корзина · N» и сумма переносились только потому, что длинный текст
   не влезал в ширину кнопки. С пустой корзиной они склеивались в одну строку —
   фиксируем колонку явно. */
.header__cart-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* До 900px кнопка корзины сжимается до иконки с бейджем, и main.css прячет этот
   блок. Но template_styles.css грузится после main.css, и правило выше — той же
   специфичности — выигрывало у мобильного display: none: текст «Корзина · N» и
   сумма оставались видимыми и вылезали за пределы кнопки шириной 46px.
   Повторяем скрытие на той же границе. */
@media (max-width: 900px) {
  .header__cart-info {
    display: none;
  }
}

/* ==========================================================================
   3. ПОДСКАЗКИ ПОИСКА (bitrix:search.title)
   --------------------------------------------------------------------------
   Компонент вставляет выпадающий список внутрь #mercury-search, поэтому
   контейнер не должен обрезать содержимое. Скругление, которое раньше давал
   overflow: hidden, возвращаем крайним элементам формы.
   ========================================================================== */

#mercury-search {
  position: relative;
  overflow: visible;
}

#mercury-search .search-box__input {
  border-top-left-radius: var(--radius-btn);
  border-bottom-left-radius: var(--radius-btn);
}

#mercury-search .search-box__submit-btn {
  border-top-right-radius: var(--radius-btn);
  border-bottom-right-radius: var(--radius-btn);
}

#mercury-search .title-search-result {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 120;
  display: none;
  max-height: 60vh;
  overflow-y: auto;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn-sm);
  box-shadow: 0 18px 40px rgba(20, 19, 18, 0.14);
  text-align: left;
}

#mercury-search .title-search-result table {
  width: 100%;
  border-collapse: collapse;
}

#mercury-search .title-search-result td {
  padding: 10px 14px;
  vertical-align: middle;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--font-size-body-sm);
  line-height: 1.35;
}

#mercury-search .title-search-result tr:last-child td {
  border-bottom: none;
}

#mercury-search .title-search-result a {
  color: var(--color-text-main);
}

#mercury-search .title-search-selected,
#mercury-search .title-search-result tr:hover td {
  background: var(--color-bg-page);
}

#mercury-search .title-search-separator {
  padding: 8px 14px;
  font-family: var(--font-family-mono);
  font-size: var(--font-size-caption);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
}

#mercury-search .title-search-fader {
  display: none;
}

/* ==========================================================================
   4. ХЛЕБНЫЕ КРОШКИ
   --------------------------------------------------------------------------
   В макете стили лежали в catalog.css, но крошки выводит header.php
   на всех внутренних страницах — поэтому они уровня шаблона.
   ========================================================================== */

.breadcrumbs {
  padding: 14px var(--space-container-p) 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.breadcrumbs::-webkit-scrollbar {
  display: none;
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--font-size-caption);
  color: var(--color-text-muted);
  white-space: nowrap;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs__link {
  color: var(--color-text-secondary);
  transition: color 0.15s ease;
}

.breadcrumbs__link:hover {
  color: var(--color-text-main);
  text-decoration: underline;
}

.breadcrumbs__sep {
  color: var(--color-text-muted);
  font-size: 10px;
  opacity: 0.6;
  user-select: none;
}

.breadcrumbs__current {
  color: var(--color-text-main);
  font-weight: var(--font-weight-medium);
}

/* ==========================================================================
   5. ПОДВАЛ — бывшие inline-стили макета
   ========================================================================== */

.footer__logo {
  display: inline-block;
}

.footer__link--phone {
  color: var(--color-accent);
  font-weight: var(--font-weight-bold);
  font-size: 15px;
}

.footer__link--active {
  color: var(--color-accent);
}

/* ==========================================================================
   6. КАРТОЧКА ПУБЛИКАЦИИ
   ========================================================================== */

/* Анонс — максимум три строки. В макете клампа не было: там тексты подогнали
   вручную. В инфоблоке длина произвольная, и без ограничения карточки в ряду
   разъезжаются по высоте. Заголовок обрезается на две строки уже в main.css. */
.news-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   7. ПУСТОЕ СОСТОЯНИЕ
   --------------------------------------------------------------------------
   Общий блок для «ничего не найдено»: список статей, поиск, избранное.
   Во всю ширину и встык, как остальные блоки-ленты в системе.
   ========================================================================== */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 72px var(--space-container-p);
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.empty-state__icon {
  width: 44px;
  height: 44px;
  color: var(--color-text-muted);
  opacity: 0.55;
}

.empty-state__title {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-extrabold);
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--color-text-main);
}

.empty-state__text {
  max-width: 520px;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

@media (max-width: 600px) {
  .empty-state {
    padding: 48px var(--space-container-p);
  }
}

/* ==========================================================================
   8. СЛУЖЕБНЫЕ СООБЩЕНИЯ ДЛЯ АДМИНИСТРАТОРА
   Видны только авторизованному админу, посетителю не показываются.
   ========================================================================== */

.stores-setup-note {
  margin: 0 var(--space-container-p) 24px;
  padding: 16px 20px;
  background: #fff8db;
  border: 1px solid #e8d75a;
  border-radius: var(--radius-btn-sm);
  font-size: var(--font-size-body-sm);
  color: var(--color-text-main);
}

/* ==========================================================================
   9. АДМИНИСТРАТИВНАЯ ПАНЕЛЬ БИТРИКСА
   Панель управления не должна «наезжать» на верхнюю строку сайта.
   ========================================================================== */

body.bx-panel-fixed .page {
  padding-top: 0;
}
.product-card__action-btn[aria-pressed="true"],
.product__action-btn[aria-pressed="true"] { background: var(--color-accent, #ffd600); color: #141312; }
.product-card__action-btn[data-favorite-id][aria-pressed="true"] svg,
.product__action-btn[data-favorite-id][aria-pressed="true"] svg { fill: currentColor; }
.product-card__action-btn:focus-visible,
.product__action-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.product__action-btn { min-height: 44px; }
@media (pointer: coarse) {
  .product-card__action-btn { width: 44px; height: 44px; }
}
.product-card__image-box.mercury-noimage,
.compare-product__media.mercury-noimage,
.product__stage.mercury-noimage { padding: 0; overflow: hidden; background: #fff; }
.mercury-noimage .product-card__image,
.mercury-noimage .compare-product__img,
.mercury-noimage .product__stage-img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}
.product-card:hover .mercury-noimage .product-card__image,
.compare-product:hover .mercury-noimage .compare-product__img { transform: none; }
.product__stage.mercury-noimage .product__stage-img { position: absolute; inset: 0; }

/* ==========================================================================
   Адаптив (проверка 26.10.2026: 320 / 375 / 768 / 1024)
   ========================================================================== */

/* Корень каталога до 960px: лента разделов в боковом меню не переносится
   (white-space: nowrap), и колонка 1fr растягивалась под неё — страница
   уезжала вбок до ~1200px. minmax(0, 1fr) держит колонку в ширине экрана,
   лента прокручивается внутри себя. */
@media (max-width: 960px) {
  .cat-root-layout { grid-template-columns: minmax(0, 1fr); }
  .cat-root-sidebar,
  .cat-sections-feed { min-width: 0; }
}

/* Чипы подразделов: длинное название на 320px не помещалось в строку */
@media (max-width: 480px) {
  .catalog-chips__item { white-space: normal; text-align: center; min-width: 0; }
  .catalog-chips__count { white-space: nowrap; }
}

/* Пальцем по мелким ссылкам: верхняя строка, подвал, мелкие действия */
@media (pointer: coarse) {
  .topbar__link:not(.topbar__link--login),
  .city-select__toggle { display: inline-flex; align-items: center; min-height: 36px; }
  .footer__link { display: inline-flex; align-items: center; min-height: 32px; }
  .lk-order__cancel,
  .store-card__fact-value--phone,
  .compare-toolbar__switch { display: inline-flex; align-items: center; min-height: 40px; }
  .compare-toolbar__nav-btn { min-width: 40px; min-height: 40px; }
}

/* iPhone/iPad увеличивают страницу при фокусе на поле со шрифтом меньше 16px
   (поиск в шапке — 12px, количество, промокод, фильтр, формы кабинета и заказа).
   Правило срабатывает только в Safari на iOS, на остальных устройствах вид прежний. */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 1024px) {
    input[type="text"], input[type="search"], input[type="email"], input[type="tel"],
    input[type="number"], input[type="password"], input:not([type]), select, textarea {
      font-size: 16px !important;
    }
  }
}

/* Карточки товаров на телефоне и планшете: чёрная рамка, чтобы было видно,
   где карточка начинается и кончается. Рамку рисует box-shadow 1px вокруг
   каждой карточки, зазор между карточками тоже 1px, поэтому общие границы
   соседей совпадают и не удваиваются. padding 1px у сетки оставляет место
   под внешний край (у сетки overflow: hidden). Пустая ячейка в неполном ряду
   остаётся белой. :not(#_) поднимает вес правила над search.css и favorites.css,
   где у сеток стоит gap: 0. Десктоп не меняется. */
@media (max-width: 768px) {
  .catalog-grid:not(#_),
  .fav .fav-grid:not(#_) {
    gap: 1px;
    padding: 1px;
    background: var(--color-bg-card, #fff);
  }
  .catalog-grid:not(#_) .product-card,
  .fav .fav-grid:not(#_) .product-card {
    border: 0;
    border-radius: 0;
    box-shadow: 0 0 0 1px var(--color-primary, #141312);
  }
  .catalog-grid:not(#_) .product-card:hover,
  .fav .fav-grid:not(#_) .product-card:hover {
    box-shadow: 0 0 0 1px var(--color-primary, #141312), 0 10px 30px rgba(0, 0, 0, 0.08);
  }
  /* «Товары недели» на главной: слайды разделены 1px (spaceBetween).
     Та же рамка у карточек, края слайдера закрывает его собственная граница,
     подложка белая — если товаров меньше, чем влезает, не будет чёрного поля. */
  .products-swiper:not(#_) {
    background: var(--color-bg-card, #fff);
    border: 1px solid var(--color-primary, #141312);
  }
  .products-swiper:not(#_) .product-card {
    box-shadow: 0 0 0 1px var(--color-primary, #141312);
  }
}

/* Главная, первый экран: когда hero складывается в одну колонку (≤992px,
   см. main.css), баннер со статистикой идёт первым, текст и кнопки — под ним.
   Разметка и десктоп не меняются. Граница-разделитель переезжает вниз баннера. */
@media (max-width: 992px) {
  .hero__visual {
    order: -1;
    border-top: none;
    border-bottom: 1px solid var(--color-border-dark);
  }
}

/* Плашки товара («Хит», «Распродажа», …) — вывод из include/product_badges.php.
   Столбиком слева сверху, стык-в-стык, без скруглений. Новый цвет: .product-card__badge--<class> и .product__badge--<class>. */
.product-card__image-box .product-card__badges {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  pointer-events: none;
}
.product-card__badges .product-card__badge,
.product__badges .product__badge {
  border-radius: 0;
}
.product__badges {
  gap: 0;
}
.product-card__badge--new,
.product__badge--new {
  background: #43a0ae;
  color: #ffffff;
}
.product-card__badge--season,
.product__badge--season {
  background: var(--color-accent, #fff200);
  color: #141312;
}
@media (max-width: 480px) {
  .product-card__image-box .product-card__badges {
    left: 6px;
    top: 6px;
  }
  .product-card__badges .product-card__badge {
    padding: 3px 7px 2px;
    font-size: 10px;
  }
}

/* ===== Поля ввода: наведение и фокус =====
   Без выступающих обводок (outline / box-shadow поверх рамки):
   при наведении и фокусе чернеет собственная граница поля,
   размеры не меняются. Действует на все поля сайта, включая
   оформление заказа (sale.order.ajax), кабинет, вход, поиск, фильтр. */
:is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea):is(:hover, :focus, :focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}
:is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea):not(:disabled):not([readonly]):not(.cart-item__qty-input):not(.product__qty-input):is(:hover, :focus) {
  border-color: #161616 !important;
}
/* Поля внутри общей рамки (шапка-поиск, цена в фильтре, количество):
   чернеет рамка обёртки */
.search-box:is(:hover, :focus-within),
.filter__price-field:is(:hover, :focus-within),
.cart-item__qty:focus-within,
.product__qty:focus-within {
  border-color: #161616;
}
/* Ошибка валидации остаётся красной */
#mercury-checkout .has-error .form-control,
:is(input, select, textarea)[aria-invalid="true"]:not(#mercury-none) {
  border-color: #bd3535 !important;
}
#mercury-checkout .bx-soa-customer-field:has(> .bx-soa-tooltip-danger[data-state="opened"]) .form-control {
  border-color: #bd3535 !important;
}

/* End */
/* /local/templates/mercury52/vendor/swiper/swiper-bundle.min.css?179239508718454 */
/* /local/templates/mercury52/css/fonts.css?17879216213049 */
/* /local/templates/mercury52/css/search.css?17930943356296 */
/* /local/templates/mercury52/css/main.css?179319427052228 */
/* /local/templates/mercury52/css/store-stock.css?17931899435699 */
/* /local/templates/mercury52/template_styles.css?179325406621718 */
