/** FONTS **/
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../font/Manrope.woff2") format("woff2"), 
         url("../font/Manrope.woff") format("woff"), 
         url("../font/Manrope.ttf") format("truetype"); 
}

@font-face {
    font-family: 'Xolonium-Bold';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../font/Xolonium-Bold.woff2") format("woff2"), 
         url("../font/Xolonium-Bold.woff") format("woff"), 
         url("../font/Xolonium-Bold.ttf") format("truetype"); 
}

@font-face {
    font-family: 'Xolonium-Bold';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../font/Xolonium-Bold.woff2") format("woff2"), 
         url("../font/Xolonium-Bold.woff") format("woff"), 
         url("../font/Xolonium-Bold.ttf") format("truetype"); 
}

/** VARIABLES **/
:root {
    --primary: #100F0D;
    --selected: #E92F34;
    --white: white;
    --dark: #40404180;
    --gray: #404041;
    --black: #100F0D;
    --red: #E92F34;
    --green: #169E00;
}

/** COMMON **/
* {
    /*color: var(--primary);*/
    font-family: 'Manrope';
    font-size: 18px;
}
h1,h2,h3,.review-link {
    font-family: 'Xolonium-Bold' !important;
}

h1,h2 {
    font-size: 40px !important;
}
h3 {
    font-size: 24px !important;
}

ul {
    /*list-style: none;*/
    font-size: 18px;
}

p {
    font-size: 18px;
}

small {
    font-size: 12px;
}

section {
    padding: 48px 0px;
}

table {
    font-size: 18px;
}

.form-check-input:checked {
    border-color: var(--black);
    background-color: var(--selected) !important;
}

.bg-black {
    background-color: black !important;
}

.bg-dark {
    background-color: var(--dark) !important;
}

.bg-section {
    background-position: center;
    background-size: cover;
    padding: 48px 0px;
}

.text-primary {
    color: var(--selected) !important;
}

.text-success {
    color: var(--green) !important;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: #fff;
    z-index: 48;
    /*overflow: hidden;*/
    /*border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;*/
}
.header-offset {
    margin-top:100px
}

/* links */

a {
    color: var(--black);
    text-decoration: none;
}

a:hover {
    color: var(--selected);
}

button {
    border:none;
    background-color: white;
}

a.met-link,
button.met-link {
    color: var(--selected);
    text-decoration: none;
    display: inline-block;
    border-bottom: 1px solid var(--selected);
    padding: 5px 20px;
    position: relative;
    overflow: hidden;
    font-weight: 400;
    font-size: 1.2rem;
    z-index: 9;
}
a.met-link::before,
button.met-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    transition: height 0.3s ease, background-color 0.3s ease; /* Анимация */
    z-index: -1;
}
a.met-link:hover::before,
button.met-link:hover::before {
    height: 100%;
    background-color: var(--selected);
}
a.met-link:hover,
button.met-link:hover {
    color: #fff;
    border-radius: 5px;
}

a.met-link:hover > .phone-img-white {
    display: inline-block;
}

a.met-link:hover > .phone-img-red {
    display: none;
}

.phone-num {
    display: none;
}


.phone-img-white {
    display: none;
}

.product-card_footer a.met-link {
     overflow: initial;
}

.product-card_footer a.met-link:hover {
    border-radius: 5px 5px 0px 0px;
}

/* black link */
a.met-link.black {
    color: var(--primary);
    border-bottom: 1px solid var(--primary);
}
a.met-link.black:hover {
    color: #fff;
}
a.met-link.black:hover::before {
    height: 100%;
    background-color: var(--primary);
} 

/** HEADER **/
.active {
    color: var(--selected);
}

.user-check span {
    width: 15px;
    height: 15px;
}
.user-check span img {
    position: absolute;
    top: 4px;
    left: 3px;
}

/** MAIN PAGE **/
.top-category button {
    text-decoration: none;
}
.top-category button:hover::after,
.top-category a:hover::after
{
    content: "";
    display: inline-block;
    height: 35px;
    width: 35px;
    background: url(../image/Arrow_right_light.svg);
    background-repeat: no-repeat;
    position: absolute;
    top: 3px;
    right: 5px;
}
.top-category button:hover,
.top-category a:hover {
    color: var(--selected) !important;
}

.top-banner {
    background: url(../image/banner.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.nav-link.active {
    color: var(--selected) !important;
}

/** FOOTER **/

footer, .maps {
    background-color: var(--primary);
    color: var(--white) !important;
}

footer a, .maps a {
    color: var(--white);
    position: relative;
}

footer a:hover, .maps a:hover {
    color: var(--selected) !important;
}

footer p, .maps p {
    font-size: 18px;
}

footer .footer_list span, .maps .footer_list span {
    font-size: 16px;
}

footer .footer_maps iframe, .maps .footer_maps iframe {
    width: 100%;
    height: 400px;
}

/* all */
.corner {
    position: absolute;
    height:50px;
    width: 100px;  
    border: 1px solid var(--gray);
}

.corner-top-left {   
    top: -15px;
    left: -8px;        
    border-right: none;
    border-bottom: none;
}

.corner-top-right {   
    top: -15px;
    right: -8px;        
    border-left: none;
    border-bottom: none;
}

.corner-bottom-left {   
    bottom: -15px;
    right: -8px;        
    border-left: none;
    border-top: none;
}

.corner-bottom-right {   
    bottom: -15px;
    left: -8px;        
    border-right: none;
    border-top: none;
}

.sertificat .corner-bottom-right, .sertificat .corner-bottom-left {
    bottom: 25px;
}

/* Cards */
.product-card {
    border: none;
    box-shadow: 0px 2px 8px 0px #4040411A;
    border-radius: 4px 4px 0px 0px;
}

.product-card a {
    /*position: relative;
    top: 7px;*/
}

.product-card_body .price-list {
    position: absolute;
    bottom: 0;
    right: 4px;
}

.product-card_body {
    padding: 15px 15px 0px 15px;
    position: relative;
}

.product-card_body img {
    margin: 10px;
}

.card-title {
    font-size: 24px;
}

.card-text {
    color: var(--gray);
    font-size: 18px;
}

.product-card .badge {
    position: absolute;
    top: 0px;
    background: var(--red);
    padding: 10px 16px 10px 16px;
    border-radius: 4px;
    z-index: 1;
}

.card-category img {
    height: 172px;
    object-fit: cover;
}

.card-img, .card-img-top {
    height: 250px;
    object-fit: contain;
}

.news_tags {
    font-size: 12px;
}

#news img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.categories a:hover .card-body {
    background-color: var(--selected);
}

.breadcrumb-item {
    font-size: 18px;
}

.breadcrumb-item a {
    color: var(--gray) !important;
}

.breadcrumb-item.active {
    color: var(--black) !important;
}

.pagination li a {
    border: none !important;
    font-size: 18px;
    color: var(--gray) !important;
}

.pagination li.active>.page-link {
    color: var(--selected) !important;
    background-color: white !important;
}

.filter {
    font-size: 18px;
}

.filter_list {
    box-shadow: 0px 2px 8px 0px #4040411A;
}

.filter_list .accordion-button {
    border: none;
    background-color: white !important;
}

.filter_list .accordion-item {
    border: none;

}

.bg-section_title {
    width: 220px;
} 

.manufacturers a {
    color: white !important;
}

.contacts-section input,
.contacts-section textarea {
    border:none;
    box-shadow: 0px 2px 8px 0px #4040411A;
}

.contacts-section_address {
    box-shadow: 0px 2px 8px 0px #4040411A;
}

/* map */

.st3 {
    fill: var(--dark);
    stroke: #fff;
    stroke-width: 1px;
}

.st5 {
    font-size: 7px;
    fill: var(--white);
}

.st6 {
    font-size: 9px;
    fill: var(--selected);
}

.st2 {
    fill: var(--selected);
    stroke: #525252;
}

#tooltip {
    position: absolute;
    font-size: 17px;
    background-color: var(--selected);
    color: var(--white);
    padding: 15px;
    border-radius: 5px;
    display: none;
    pointer-events: none;
}

.arrows {
    position: relative;
}

.slick-arrow:before {
    color: var(--black);
}

.slick-prev {
    left: 0px;
}

.slick-next {
    right: 10px !important;
}

.slick-track {
    height: 100%;
    padding: 10px 0px 20px 0px;
}

.slick-slide img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.slider-custom {
    display: grid;
}

.slick-dots li button:before  {
    font-size: 20px;
    color: white;
}

.slick-dots li.slick-active button:before {
    opacity: .75;
    color: var(--selected)
}

.manufacturers a {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.manufacturers a:hover {
    color: var(--selected) !important;
}

.manufacturers a img {
    height: 100%;
    filter: contrast(0.01) brightness(200%) hue-rotate(90deg);
    object-fit: contain;
}

.user-form.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: initial;
    margin: 30px !important;
}
.user-form .modal-content {
    width: 100%;
    max-width: 500px;
    margin: auto;
}

.form-control {
    box-shadow: 0px 2px 8px 0px #4040411A;
    border: none;
    border-radius: 4px;
}


/* Стили для меню */

.dropdown-toggle::after {
    display: none;
}

.nav-link > a {
    color: var(--bs-nav-link-color);
}

.navbar-nav .dropdown-menu .fs-4 {
    color: var(--black) !important;
    font-weight: bold;
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
    color: var(--selected) !important;
        background-color: transparent !important;
}

.navbar-nav .dropdown-menu {
    font-size: 18px;
    top: 80px;
    left: 0;
    border: none;
    border-radius: 0;
    max-height: 80vh;
    overflow: scroll;
      width: 100%;
}

/*.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
}*/

.dropdown-menu .row {
    margin: 0;
}

.dropdown-menu .col-md-3 {
    padding: 1rem;
}

.dropdown-item {
    padding: 0.5rem 0rem;
    color: #333;
    text-decoration: none;
    display: block;
    white-space: normal !important;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #000;
}

.navbar .dropdown {
    position:static;
}

.container-lg {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.search-input {
    width: calc(100% - 25px);
    display: none;
    position: absolute;
    top: 18px;
    left: 13px;
    z-index: 10001;
}


.call-button {
    transition: opacity 0.4s ease-in-out;
}

.call-button.hide {
    opacity: 0;
    pointer-events: none;
    display: none;
}

/* Search */

.search-container {
    position: relative;
}

.search-input #search {
    border-bottom:2px solid var(--selected);
}

.search-input .btn {
    border: none;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.search-input .form-control {
    padding: 10px 15px;
    font-size: 18px;
    border-radius: 4px;
}

.search-input .btn {
    background-color: var(--white);
    color: var(--selected);
    border-color: #dee2e6;
}

.search-input .btn:hover {
    background-color: var(--selected);
    color: var(--white);
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 1000;
    background-color: #000;
    opacity: .05
}

.live-search {
    margin-top: 40px;
    left: 1px !important;
    top: 9px !important;
    padding: 0px !important;
    border: none !important;
    box-shadow: none !important;
}

.live-search .result-text {
    position: relative !important;
    background-color: #ffffff !important;
    bottom: 0px !important;
    padding: 10px 0px 10px 0px;
    border-top: 1px solid;
}

.live-search ul li.list-group-item {
    border-bottom: 2px solid var(--white);
}

.live-search ul li:hover {
    background-color: var(--white) !important;
}

.live-search ul li.list-group-item:hover {
    border-bottom: 2px solid var(--selected);
}

.live-search ul li.list-group-item {
    margin: 0px !important;
}

.live-search ul li.list-group-item:nth-child(even) {
    background-color: var(--white) !important;
}

.live-search .result-text .btn {
    border-radius: 4px !important;
}

/* MEGA Filter */

.mfilter-box {
    box-shadow: 0px 2px 8px 0px #4040411A;
    border-radius: 4px 4px 0px 0px; 
    padding: 0;
}

.mfilter-box .mfilter-heading-content {
    /*background: white;*/
}

.mfilter-content {
    border: none !important;
}

.mfilter-opts-container {
    border: none !important;
}

input[type="checkbox"]:checked, input[type="radio"]:checked {
    background-color: var(--selected);
    border-color: var(--selected);
}

input[type=checkbox] {
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(0, 0, 0, .25);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;
    float: left;
    border-radius: 0.25em;
}

input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.mfilter-heading-text {
    font-size: 24px;
}

.mfilter-heading .mfilter-head-icon {
    margin-top: 15px !important; 
}

.mfilter-content-wrapper {
    max-height: initial !important;
}

.mfilter-tb-as-td {
    border: none !important;
}

.mfilter-col-input {
    padding-right: 10px !important;
}

.mfilter-selected-filters-cnt span {
    font-size: 12px;
}

.mfilter-selected-filters-cnt .mfilter-close i {
    margin: 8px 10px 0 4px !important;
    background-position: top -11px left !important;
}

.mfilter-selected-filters .mfilter-selected-filters-cnt {
    background: #ffffff !important;
    border: none !important;
    padding: 0px !important;
    margin: 0px 0px 10px 0px !important;
}

.mfilter-selected-filters-cnt a {
    margin: 0px !important;
}

.filter-counter {
    position: absolute;
    top: -3px;
    right: 0px;
}

.list-view.active,
.grid-view.active {
    border: none;
}

.list-view.active .fa-th-list:before,
.grid-view.active .fa-th:before {
    color: var(--selected);
}

/*      MAP STYLES      */
#mapCanvas .city-name,
#mapCanvas .city-name tspan {
    font-family: 'Arial', sans-serif;
    font-size: 5px;
    cursor:pointer;
    fill: #fefefe;
}
#mapCanvas .city-name.capital {
    font-size: 7px;
}
#mapCanvas .region-total-sales {
    font-size: 12px;
    fill: #E92F34;
    font-weight: bold;
    font-family: 'Xolonium-Bold';
}
#mapCanvas .region-bound {
    fill: #21201f;
    stroke: #8b8b8b;
    stroke-width: 0.3;
    transition: stroke 0.3s, fill 0.3s;
}
#mapCanvas .center-point {
    fill: #fefefe;
    stroke: #2b2a29;
    stroke-width: 0.154634;
    transition: stroke 0.5s, fill 0.3s;
}
#mapCanvas .inner-point {
    fill:none;
    stroke:#2b2a29;
    stroke-width:0.18562099
}

#mapCanvas .highlight-color {
    stroke: #E92F34;
    stroke-width: 0.7;
    transition: stroke 0.3s, fill 0.3s;
}
#mapCanvas .highlight-bg {
    fill: #E92F34;
}

#regionSalesData .sales-data-content {
    border: 1px solid #E92F34;
    padding: 5px;
    background-color: #E92F34;
    font-size: 5px;
    font-family: 'Arial', sans-serif;
    color: #fefefe;
}
#regionSalesData .regional-center {
    margin: 0 0 2px 0px;
    font-size: 6px;
    white-space: nowrap;
}
#regionSalesData .sales-data {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
#regionSalesData li {
    white-space: nowrap;
    font-size: 5px;
}
#regionSalesData li .total {
    font-weight: bold;
    font-size: 7px;
}

/*      ACCOUNT STYLES      */
#accountMenu .list-group-item.active {
    background: var(--selected);
    color: #fff;
    border-color: var(--selected);
}

input.has-error, textarea.has-error {
    color: var(--selected);
    border-bottom: 1px solid var(--selected);
    box-shadow: 0px 0px 10px 0px var(--selected);
}

.mfilter-close img {
    margin: -3px 5px 0px 0px
}

.mfilter-head-icon img {
    margin-top: -13px;
    width: 30px;
}

/*.dropdown-menu {
    right: -30px !important;
    left: initial !important;
}*/

.offcanvas.offcanvas-end {
    z-index: 1048;
}

.modal {
    z-index: 1050;
}
.modal-backdrop {
    z-index: 1049;
}
.fade-in {
    animation: fadeIn .5s forwards;
}

@keyframes fadeIn {
    from    { opacity: 0; }
    to      { opacity: 1; }
}

#custom-cart .img-thumbnail {
    max-height: 150px;
}

.text-develop,
.text-develop a{
    color: gray;
}

.blured > div,
.blured > section,
.blured > footer
{
    filter: blur(5px);
}
#overlay {
    display: none;
    position: fixed;
    z-index: 9;
    background: #000;
    opacity: 0.05;
    width: 100%;
    top: 100px;
    height: calc(100vh - 100px);
}

.container-menu {
  column-width: 300px;
}

.card-menu {
  padding: 10px;
  margin: 0 0 1em 0;
  break-inside: avoid;
  page-break-inside: avoid;
}

.slider-nav .slick-list {
    margin-top: 11px;
  
    padding: 0 !important;
}

#back-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    opacity: .5;
    z-index: 9999;
    margin: 0;
}

#back-top:hover {
    opacity: .8;
    transition: 1s;
    -moz-transition: 1s;
    -webkit-transition: 1s;
}

#back-top a {
    width: 55px;
    display: block;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}
#back-top span, #back-top i {
    width: 55px;
    height: 55px;
    padding-top: 15px;
    line-height: 20px;
    font-size: 20px;
    display: block;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: var(--selected);
    -webkit-box-shadow: 3px 5px 4px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 3px 5px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 3px 5px 4px rgba(0, 0, 0, 0.3);
}

/******************************************* Telegram Pop-up START ****/
 #telegram-popup {
    position: fixed;
    bottom: 130px;
    right: 20px;
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: none;
    max-width: 250px;
    text-align: center;
    font-family: Arial, sans-serif;
    z-index: 1000;
}

#telegram-popup a {
    color: #0088cc;
    font-weight: bold;
    text-decoration: none;
}

#telegram-popup button {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 10px;
    color: #888;
}
/******************************************* Telegram Pop-up END ****/

.navbar .dropdown-menu.show {
    min-width: auto !important;
}

.navbar .dropdown-menu[data-bs-popper] {
    left: -18px !important;
    border-radius: 0px;
}

.slider-sertificat .slick-list {
    overflow: hidden;
    display: flex !important;
    justify-content: center;
}

.slider-sertificat .slick-track {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    transform: none !important;
}

.slider-sertificat .slick-slide {
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
}

.slider-sertificat img {
    height: 330px;
    width: auto;
    object-fit: contain;
    background: none;
}

.certificates-wrapper {
    display: flex;
    flex-wrap: wrap;        /* Перенос на следующую строку */
    justify-content: center; /* Центрирует картинки по горизонтали */
    gap: 15px;               /* Отступы между сертификатами */
}

.certificate-item {
    height: 330px;           /* Фиксированная высота */
    width: auto;             /* Ширина подстраивается сама */
    object-fit: contain;     /* Картинка не обрезается */
    cursor: pointer;
    transition: transform 0.2s;
}

.certificate-item:hover {
    transform: scale(1.02);
}

/* Центрирование для модального окна */
.modal-body {
    display: flex;
    justify-content: center;
}

/*
                NEW YEAR 2026
*/

/* sparkle buttons */
/*
.btn, .button, .btn-primary, .met-link {
    position: relative;
    overflow: visible;
}

.btn::after, .button::after, .btn-primary::after, .met-link::after {
    content: '✨';
    position: absolute;
    right: -1px;
    top: 50%;
    animation: sparkle 1s infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: .2; transform: translateY(-50%) scale(1); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.3); }
}*/

/* garland */
/*.garland {
    list-style: none;
    margin: 0;
    padding: 0;
    position: fixed;
    top: 90px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    z-index: 500;
}
.garland li {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: red;
    animation: garlandBlink 1s infinite alternate;
}
.garland li:nth-child(2) { margin-top: 10px; background: orange; animation-delay: .2s; }
.garland li:nth-child(3) { background: green; animation-delay: .4s; }
.garland li:nth-child(4) { margin-top: 10px; background: blue; animation-delay: .6s; }
.garland li:nth-child(5) { background: cyan; animation-delay: .8s; }

@keyframes garlandBlink {
    0% { transform: scale(1); opacity: .5; }
    100% { transform: scale(1.5); opacity: 1; }
}*/

/*  cursor snowflakes   */
/*.cursor-snowflake {
    position: fixed;
    pointer-events: none;
    user-select: none;
    z-index: 99999;
    color: #79b5ff;
    will-change: transform, opacity;
}

@keyframes snowFade {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -20px) scale(0.3);
        opacity: 0;
    }
}*/

/* SNOW FALL */
/*.snowflakes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: #79b5ff;
    font-size: 10px;
    opacity: 0.8;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(0);
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0.2;
    }
}*/

/* BRANCH */
/*.main-header {
    background: #fff url(../../../../../image/branches.png) repeat-x 0px -15px;
}*/