/* =============================================================================
   MVTOOLS STYLESHEET
   Структура:
   1. CSS-переменные
   2. Шрифты
   3. Базовые стили (reset / типографика)
   4. Шапка: #top, поиск, логотип, иконки
   5. Навигация: #menu, navbar, dropdown
   6. Слайдер
   7. Контент
   8. Карточки товаров
   9. Корзина
  10. Кнопки
  11. Футер
  12. Формы / Модалки (smca, mgrform)
  13. Разное (breadcrumb, pagination, alert, list-group, carousel, rating)
  14. MVTools — кастомные компоненты
  15. Media-queries (сгруппированы в конце)
============================================================================= */

/* =============================================================================
   1. CSS-ПЕРЕМЕННЫЕ
============================================================================= */
:root {
  /* Бренд */
  --mvtools-primary:          #1f90bb;

  /* Акцентні / статуси */
  --mvtools-color-success:    #2fc562;
  --mvtools-color-buy:        lightgreen;
  --mvtools-color-action:     #29AB30;
  --mvtools-color-discount:   #FF9900;
  --mvtools-color-used:       #C0C0C0;
  --mvtools-color-topsale:    #a22930;
  --mvtools-color-attention:  #f0a30a;

  /* Нейтральные */
  --mvtools-bg-dark:          #303030;
  --mvtools-bg-light:         #f3f3f3;
  --mvtools-bg-white:         #ffffff;
  --mvtools-bg-muted:         #eee;
  --mvtools-border-color:     #e2e2e2;
  --mvtools-border-product:   #e3d8d8;

  /* Текст */
  --mvtools-text-base:        #666;
  --mvtools-text-heading:     #444;
  --mvtools-text-dark:        #333;
  --mvtools-text-muted:       #888;
  --mvtools-text-link:        var(--mvtools-primary);
  --mvtools-text-white:       #ffffff;

  /* Типографика */
  --mvtools-font-base:        "Montserrat", sans-serif;
  --mvtools-font-size-base:   14px;
  --mvtools-line-height-base: 20px;

  /* Радиусы */
  --mvtools-radius-sm:        4px;
  --mvtools-radius-md:        8px;
  --mvtools-radius-lg:        10px;

  /* Переходы */
  --mvtools-transition-fast:  0.2s ease;
  --mvtools-transition-base:  0.3s ease-in-out;
}


/* =============================================================================
   2. ШРИФТЫ
============================================================================= */
@font-face {
  font-family: 'Montserrat';
  src: url('Montserrat-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}


/* =============================================================================
   3. БАЗОВЫЕ СТИЛИ
============================================================================= */
body {
  font-family: var(--mvtools-font-base);
  font-weight: 400;
  font-size: var(--mvtools-font-size-base);
  line-height: var(--mvtools-line-height-base);
  color: var(--mvtools-text-base);
  background-color: var(--mvtools-bg-white);
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--mvtools-text-heading);
}

/* Переопределение размеров Bootstrap */
h1 { font-size: 33px; }
h2 { font-size: 27px; }
h3 { font-size: 21px; }
h4 { font-size: 15px; }
h5 { font-size: 12px; }
h6 { font-size: 10.2px; }

a {
  color: var(--mvtools-text-link);
}
a:hover {
  text-decoration: none;
}

legend {
  font-size: 18px;
  padding: 7px 0;
}

label {
  font-size: var(--mvtools-font-size-base);
  font-weight: normal;
}

/* Font Awesome default */
.fa {
  font-size: var(--mvtools-font-size-base);
}

/* Поля формы — единый размер шрифта */
select.form-control,
textarea.form-control,
input[type="text"].form-control,
input[type="password"].form-control,
input[type="datetime"].form-control,
input[type="datetime-local"].form-control,
input[type="date"].form-control,
input[type="month"].form-control,
input[type="time"].form-control,
input[type="week"].form-control,
input[type="number"].form-control,
input[type="email"].form-control,
input[type="url"].form-control,
input[type="search"].form-control,
input[type="tel"].form-control,
input[type="color"].form-control,
.input-group input,
.input-group select,
.input-group .dropdown-menu,
.input-group .popover,
.btn-group > .btn,
.btn-group > .dropdown-menu,
.btn-group > .popover {
  font-size: var(--mvtools-font-size-base);
}

.input-group .input-group-addon {
  font-size: var(--mvtools-font-size-base);
  height: 30px;
}

/* Bootstrap fixes */
span.hidden-xs,
span.hidden-sm,
span.hidden-md,
span.hidden-lg {
  display: inline;
}

.input-group-sm > .form-control,
.input-group-sm > .input-group-addon,
.input-group-sm > .input-group-btn > .btn {
  height: 33px;
}

.nav-tabs {
  margin-bottom: 15px;
}

div.required .control-label::before {
  content: '* ';
  color: #f00;
  font-weight: bold;
}


/* =============================================================================
   4. ШАПКА
============================================================================= */
.underheader {
  background-color: var(--mvtools-primary);
}

/* --- #top --- */
#top {
  background-color: var(--mvtools-bg-light);
  border-bottom: 1px solid var(--mvtools-border-color);
  padding: 4px 0 3px;
  min-height: 40px;
}

#top .container {
  padding: 0 20px;
}

#top #form-currency .currency-select,
#top #form-language .language-select {
  text-align: left;
}

#top #form-currency .currency-select:hover,
#top #form-language .language-select:hover {
  text-shadow: none;
  color: var(--mvtools-text-white);
  background-color: var(--mvtools-primary);
  background-image: linear-gradient(to bottom, var(--mvtools-primary), var(--mvtools-primary));
}

#top .btn-link,
#top-links li,
#top-links a {
  color: #000;
  text-shadow: 0 1px 0 #fff;
  text-decoration: none;
}

#top .btn-link:hover,
#top-links a:hover {
  color: var(--mvtools-text-heading);
}

#top-links .dropdown-menu a {
  text-shadow: none;
}

#top-links .dropdown-menu a:hover {
  color: var(--mvtools-text-white);
}

#top .btn-link strong {
  font-size: var(--mvtools-font-size-base);
  line-height: var(--mvtools-font-size-base);
}

/* --- Поиск --- */
#search .input-lg {
  height: 40px;
  line-height: 20px;
  padding: 0 10px;
  width: 200px;
}

#search.input-group {
  border: 1px solid var(--mvtools-border-color);
  border-radius: var(--mvtools-radius-lg);
  background-color: var(--mvtools-bg-light);
  display: flex;
  align-items: center;
  padding: 0 5px;
}

#search .input-group-btn .btn {
  font-size: 18px;
  line-height: 18px;
  padding: 10px 15px 10px 12px;
  border: none;
  background: none;
  box-shadow: none;
  border-radius: 0;
  color: #999;
}

#search .form-control {
  border: none;
  background-color: transparent;
  box-shadow: none;
  border-radius: 0;
  margin-left: 30px;
}

/* --- Социальные иконки в шапке --- */
.social {
  display: inline-block;
  margin-right: 20px;
}

.social img {
  width: auto;
  height: 43px;
  margin-left: -7px;
  border-radius: var(--mvtools-radius-lg);
}

.social img:hover {
  border: 1px solid #476c74;
}

#top-links .list-inline {
  display: inline-block;
  margin-bottom: 0;
  position: relative;
  top: 2px;
}

/* --- Строка шапки (mvhead-row2) --- */
.mvhead-row2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 5px 0;
  flex-wrap: wrap;
}

.mvhead-row2 > div {
  display: flex;
  align-items: center;
}

.mvhead-row2_1 img {
  max-height: 70px;
  width: auto;
}

.mvhead-row2_2 {
  flex: 1;
}

.mvhead-row2_3 {
  flex: 0 1 auto;
}

.mvhead-row2_3 #menu {
  background-image: none;
  border: none;
  margin-bottom: 0;
}

.mvhead-row2_3 #menu li a {
  color: #000;
  font-weight: 400;
}

.mvhead-row2_4 {
  flex: 0 0 auto;
}

.mvhead-row2_4 .fa {
  font-size: 19px;
}


/* =============================================================================
   5. НАВИГАЦИЯ
============================================================================= */
.navbar {
  min-height: auto;
}

.mvmenu {
  background: var(--mvtools-primary);
  color: var(--mvtools-text-white);
  font-weight: 700;
}

#menu .mvmenu .nav.navbar-nav.megamenu {
  float: none;
  display: flex;
  justify-content: space-between;
}

/* Посилання в navbar */
#menu .nav > li > a {
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  padding: 10px 15px;
  min-height: 15px;
  background-color: transparent;
  font-size: 13px;
}

/* Меню в хедері поза .mvmenu — колір успадковується від батька */
.mvhead-row2_3 #menu .nav > li > a {
  color: inherit;
  text-shadow: none;
}

#menu .nav > li > a:hover,
#menu .nav > li.open > a {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: var(--mvtools-radius-md);
}

#menu .dropdown-menu {
  padding-bottom: 0;
}

#menu .dropdown-inner {
  display: table;
  padding-top: 14px;
}

#menu .dropdown-inner ul {
  display: table-cell;
}

#menu .dropdown-inner a {
  min-width: 160px;
  display: block;
  padding: 3px 20px;
  clear: both;
  line-height: 20px;
  color: var(--mvtools-text-dark);
  font-size: var(--mvtools-font-size-base);
}

#menu .dropdown-inner li a:hover {
  color: var(--mvtools-text-white);
  border-radius: var(--mvtools-radius-md);
}

#menu .see-all {
  display: block;
  margin-bottom: 7px;
  margin-top: 4px;
  margin: 4px 8px 7px;
  padding: 3px 20px;
  border-radius: border-radius: var(--mvtools-radius-md);;
  font-size: var(--mvtools-font-size-base);
}

#menu .see-all:hover,
#menu .see-all:focus {
  text-decoration: none;
  border-radius: 10px;
  margin-bottom: 7px;
  color: var(--mvtools-text-white);
  background-color: var(--mvtools-primary);
  background-image: linear-gradient(to bottom, var(--mvtools-primary), var(--mvtools-primary));
}

#menu #category {
  float: left;
  padding-left: 15px;
  font-size: 16px;
  font-weight: 700;
  line-height: 40px;
  margin-right: 15px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

#menu .btn-navbar {
  font-size: 15px;
  font-stretch: expanded;
  color: var(--mvtools-text-white);
  padding: 2px 18px;
  float: right;
  background-color: var(--mvtools-primary);
  background-image: linear-gradient(to bottom, var(--mvtools-primary), var(--mvtools-primary));
  border-color: var(--mvtools-primary) var(--mvtools-primary) #145e7a;
}

#menu .btn-navbar:hover,
#menu .btn-navbar:focus,
#menu .btn-navbar:active,
#menu .btn-navbar.disabled,
#menu .btn-navbar[disabled] {
  color: var(--mvtools-text-white);
  background-color: var(--mvtools-primary);
}

/* Dropdown общий */
.dropdown-menu:not(.megamenu .dropdown-menu) li > a:hover {
  text-decoration: none;
  color: var(--mvtools-text-white);
  background-color: var(--mvtools-primary);
  background-image: linear-gradient(to bottom, var(--mvtools-primary), var(--mvtools-primary));
}

.parent.dropdown .dropdown-menu .dropdown-menu-inner{
  background-color: var(--mvtools-primary);
  border-radius: var(--mvtools-radius-lg);
  padding: 10px 19px;
  margin-top: 5px;
}

.parent.dropdown .dropdown-menu .dropdown-menu-inner li {
  border-bottom: 1px solid cadetblue;
  padding: 7px 5px;
}


.parent.dropdown .dropdown-menu .dropdown-menu-inner li a {
  color: var(--mvtools-text-white);
  font-size: 13px;
  width: 100%;
  display: inline-block;
}

.megamenu .dropdown-menu.level1 {
  padding-left: 0;
}
 .parent.dropdown .dropdown-menu .dropdown-menu-inner li:hover {
  border-radius: 10px;
  background-color: var(--mvtools-bg-light);
}
.parent.dropdown .dropdown-menu .dropdown-menu-inner li:hover a span{
  color: #000;
}

/* Кастомное меню-пилюли */
.mvtools.custom-menu {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

.mvtools.custom-menu .menu-item {
  padding: 8px 16px;
  background: #f1f1f1;
  border-radius: var(--mvtools-radius-md);
  text-decoration: none;
  color: var(--mvtools-text-dark);
  font-size: var(--mvtools-font-size-base);
  transition: var(--mvtools-transition-fast);
}

.mvtools .menu-item:hover {
  background: #2d2d2d;
  color: var(--mvtools-text-white);
}

#menu .langattr_ru .nav li a {
  font-size: 13px;
}


/* =============================================================================
   6. СЛАЙДЕР
============================================================================= */
.slideshow.swiper-viewport {
  margin-top: 25px;
}

.mvtools-slider-wrap {
  margin-bottom: 30px;
}


/* =============================================================================
   7. КОНТЕНТ
============================================================================= */
#content {
  min-height: 600px;
}

/* Категории */
.catimg {
  border-radius: var(--mvtools-radius-lg);
  border: 1px solid var(--mvtools-border-product);
  overflow: hidden;
}

.catname {
  text-align: center;
  border: 1px solid var(--mvtools-border-product);
  border-radius: var(--mvtools-radius-lg);
  background-color: var(--mvtools-bg-white);
  padding: 5px 10px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.catname a {
  color: #000;
  display: block;
  min-height: 40px;
  align-content: center;
  font-weight: 700;
  font-size: 15px;
}

.catname:hover {
  background-color: #000;
  color: var(--mvtools-text-white);
}

.catname:hover a {
  color: var(--mvtools-text-white);
}


/* =============================================================================
   8. КАРТОЧКИ ТОВАРОВ
============================================================================= */
.product-thumb {
  overflow: auto;
}

.product-thumb.mvtools-product-thumb {
  margin: 10px 0 20px;
}

.product-thumb .image {
  text-align: center;
}

.product-thumb .image a {
  display: block;
}

.product-thumb .image a:hover {
  opacity: 0.8;
}

.product-thumb .image img {
  margin-left: auto;
  margin-right: auto;
}

.product-grid .product-thumb .image {
  float: none;
}

.product-thumb h4 {
  font-weight: bold;
  min-height: 50px;
}

.product-thumb .caption {
  padding: 0 20px;
  min-height: 145px;
}

.product-list .product-thumb .caption {
  margin-left: 230px;
}

.product-thumb .rating {
  padding-bottom: 10px;
}

/* Цены */
h2.price {
  margin: 0;
}

.product-thumb .price {
  color: var(--mvtools-text-heading);
  font-size: 16px;
}

.product-thumb .price-new {
  font-weight: 600;
  color: red;
}

.product-thumb .price-old {
  color: #999;
  text-decoration: line-through;
  margin-left: 10px;
}

.product-thumb .price-tax {
  color: #999;
  font-size: var(--mvtools-font-size-base);
  display: block;
}

.product-layout .price {
  margin: 0;
}

.product-layout .mv_quantity {
  font-size: 12px;
}

/* Кнопки карточки */
.product-thumb .button-group {
  border-top: 1px solid #ddd;
  background-color: var(--mvtools-bg-muted);
  overflow: auto;
}

.button-group.mvtools-btngroup_wish {
  border: none;
  border-radius: 10px;
}

.product-list .product-thumb .button-group {
  border-left: 1px solid #ddd;
}

.product-thumb .button-group button {
  width: 100%;
  border: none;
  display: inline-block;
  background-color: var(--mvtools-bg-muted);
  color: var(--mvtools-text-muted);
  line-height: 38px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
}

.product-thumb .button-group button + button {
  width: 20%;
  border-left: 1px solid #ddd;
}

.product-thumb .button-group button:hover {
  color: var(--mvtools-primary);
  cursor: pointer;
}

/* Группа "купить" */
.product-thumb .button-group.mvtools-btngroup_buy {
  text-align: center;
  border: 1px solid var(--mvtools-border-product);
  border-radius: var(--mvtools-radius-lg);
  background-color: var(--mvtools-bg-white);
}

.product-thumb .button-group.mvtools-btngroup_buy button {
  background-color: var(--mvtools-bg-white);
}

.product-thumb .button-group.mvtools-btngroup_buy button:hover {
  background-color: #000;
  color: var(--mvtools-text-white);
}

/* Группа "избранное" */
.product-thumb .button-group.mvtools-btngroup_wish {
  text-align: right;
  background-color: var(--mvtools-bg-white);
}

.product-thumb .button-group.mvtools-btngroup_wish button {
  width: 17%;
  background-color: var(--mvtools-bg-white);
}

.product-thumb .caption h4 a {
  color: #000;
}

.mv-captioncat a {
  color: grey;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 12px;
}

.mv-instock {
  color: green;
}

/* Макет товара */
#mv-product-layout {
  border: 1px solid var(--mvtools-bg-white);
  border-radius: var(--mvtools-radius-lg);
  transition: border-color var(--mvtools-transition-base);
}

#mv-product-layout:hover {
  border-color: var(--mvtools-border-product);
}

/* Лейблы */
.mv-labels {
  width: 52%;
  display: inline-block;
  position: absolute;
  left: 31px;
  top: 10px;
  text-align: center;
  z-index: 100;
}

.novinki-label {
  top: 5px;
  left: 35px;
  padding: 5px 14px;
  background-color: var(--mvtools-primary);
  border-radius: 7px;
  color: var(--mvtools-text-white);
  font-weight: 700;
  margin-top: 4px;
}

.novinki-label_action    { background-color: var(--mvtools-color-action); }
.novinki-label_disconts  { background-color: var(--mvtools-color-discount); }
.novinki-label_used      { background-color: var(--mvtools-color-used); }
.novinki-label_topsale   { background-color: var(--mvtools-color-topsale); }

.mv-novinki_ref a {
  padding: 7.5px 12px;
  display: block;
  color: #000;
  font-size: var(--mvtools-font-size-base);
}

/* Страница товара */
h1.mvproduct-h1,
h2.mvproduct-h2_price {
  margin-top: 0;
  font-size: 20px;
  display: inline-block;
}

.mvbuy {
  display: flex;
  align-items: flex-end;
  gap: 15px;
}

.mvbuy > div {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.mvbuy > div:last-child {
  margin-left: auto;
}

.mvbuy .btn-primary {
  height: 34px;
  padding: 0 8px;
  background: var(--mvtools-color-success);
  font-weight: 700;
}

.mvtools-btngroup_wish {
  margin-bottom: 10px;
}

.mvtools-info {
  color: green;
  font-weight: 700;
}

.summ_txt {
  font-size: 20px;
  margin: 9px 0;
  display: inline-block;
}

.mvtotals-total {
  font-size: larger;
  font-weight: 600;
}

/* Optbox */
.optbox {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.optbox p {
  padding: 0 0 0 7px;
  margin: 0;
}

.optbox .optbox-title {
  border-bottom: 1px solid grey;
  min-height: 30px;
  margin-top: 5px;
  font-weight: bold;
  font-size: var(--mvtools-font-size-base);
  color: #000;
  position: relative;
}

.optbox-bigopt,
.optbox-price {
  border: 1px solid grey;
  border-radius: 10%;
  text-align: center;
  padding-bottom: 6px;
  transition: all var(--mvtools-transition-fast);
}

.optbox-bigopt {
  background-color: rgb(240, 240, 240);
  margin-left: 12px;
}

.optbox-price {
  background-color: #d6f8d6;
  margin-right: 12px;
  border: 2px solid grey;
  transform: scale(1.05);
  box-shadow: 0 0 10px limegreen;
}

.optbox .optbox-priceval {
  font-size: 15px;
  font-weight: bold;
  color: #000;
}

.optbox-attent {
  color: var(--mvtools-color-attention);
  margin-top: 15px;
}

.optbox-attent_rest,
.optbox-attent_base,
.optbox-attent_opt,
.optbox-attent_special {
  display: inline;
}

.optbox-attent_opt,
.optbox-attent_rest {
  display: none;
}

/* Info-подсказки */
.jeyopt-info,
.optbox-opt_info,
.optbox-bigopt_info {
  font-size: 17px;
  display: inline-block;
  position: relative;
}

.jeyopt-info:hover,
.optbox-opt_info:hover,
.optbox-bigopt_info:hover {
  cursor: pointer;
  transform: scale(1.2);
}

.jeyopt-info_txt,
.optbox-opt_info_txt,
.optbox-bigopt_info_txt {
  display: none;
  position: absolute;
  background-color: var(--mvtools-bg-muted);
  border-radius: var(--mvtools-radius-sm);
  font-size: 15px;
  z-index: 1;
  color: #000;
  padding: 5px;
  border: 1px solid;
}

.optbox-opt_info_txt,
.optbox-bigopt_info_txt {
  top: -154px;
  left: -51px;
}

.jeyopt-info_txt:hover,
.optbox-opt_info_txt:hover,
.optbox-bigopt_info_txt:hover {
  cursor: pointer;
}

.optbox-opt_info:hover + span,
.optbox-bigopt_info:hover + span {
  display: block;
  width: 200px;
}

.jeyopt-onetxt { color: #476c74; }

.jeyopt-price {
  font-size: var(--mvtools-font-size-base);
  color: rgb(130 130 130);
  font-weight: bold;
}

/* Опции табличного вида */
.taboptions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--mvtools-font-size-base);
  margin-bottom: 10px;
}

.taboptions_el {
  display: flex;
}

.taboptions_price {
  margin-right: 30px;
}

.taboptions_buy {
  margin-left: 30px;
  background-color: lightgreen;
  border: 1px solid lightgreen;
}

.taboptions_buy:hover {
  border-color: green;
}


/* =============================================================================
   9. КОРЗИНА
============================================================================= */
#cart {
  margin-bottom: 10px;
}

#cart > .btn {
  font-size: var(--mvtools-font-size-base);
  line-height: 18px;
  color: var(--mvtools-text-white);
}

#cart.open > .btn {
  background-image: none;
  background-color: var(--mvtools-bg-white);
  border: 1px solid #e6e6e6;
  color: var(--mvtools-text-base);
  box-shadow: none;
  text-shadow: none;
}

#cart.open > .btn:hover {
  color: var(--mvtools-text-heading);
}

#cart .dropdown-menu {
  background: var(--mvtools-bg-muted);
  min-width: 100%;
  max-height: 800px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  z-index: 1001;
}

#cart .dropdown-menu table {
  margin-bottom: 10px;
}

#cart .dropdown-menu li > div {
  min-width: 427px;
  padding: 0 10px;
}

#cart .dropdown-menu li p {
  margin: 20px 0;
}

/* Фиксированное количество в корзине */
.input-group .form-control[name^=quantity] {
  min-width: 50px;
}


/* =============================================================================
   10. КНОПКИ
============================================================================= */
.buttons {
  margin: 1em 0;
}

.btn {
  padding: 7.5px 12px;
  font-size: var(--mvtools-font-size-base);
  border: 1px solid #ccc;
  border-radius: var(--mvtools-radius-sm);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
}

.btn-xs             { font-size: 9px; }
.btn-sm             { font-size: 10.2px; }
.btn-lg             { padding: 10px 16px; font-size: 15px; }
.btn-group > .btn-xs { font-size: 9px; }
.btn-group > .btn-sm { font-size: 10.2px; }
.btn-group > .btn-lg { font-size: 15px; }

.btn-default {
  color: #777;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
  background-color: #e7e7e7;
  background-image: linear-gradient(to bottom, #eee, #ddd);
  border-color: #ddd #ddd #b3b3b3 #b7b7b7;
}

.btn-primary {
  color: var(--mvtools-text-white);
  text-shadow: 0 -1px 0 rgba(0,0,0,.25);
  background-color: var(--mvtools-primary);
  background-image: linear-gradient(to bottom, var(--mvtools-primary), var(--mvtools-primary));
  border-color: var(--mvtools-primary) var(--mvtools-primary) #145e7a;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
  background-color: var(--mvtools-primary);
  background-position: 0 -15px;
}

.btn-warning {
  color: var(--mvtools-text-white);
  text-shadow: 0 -1px 0 rgba(0,0,0,.25);
  background-color: #faa732;
  background-image: linear-gradient(to bottom, #fbb450, #f89406);
  border-color: #f89406 #f89406 #ad6704;
}

.btn-warning:hover,
.btn-warning:active,
.btn-warning.active,
.btn-warning.disabled,
.btn-warning[disabled] {
  box-shadow: inset 0 1000px 0 rgba(0,0,0,.1);
}

.btn-danger {
  color: var(--mvtools-text-white);
  text-shadow: 0 -1px 0 rgba(0,0,0,.25);
  background-color: #da4f49;
  background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
  border-color: #bd362f #bd362f #802420;
}

.btn-danger:hover,
.btn-danger:active,
.btn-danger.active,
.btn-danger.disabled,
.btn-danger[disabled] {
  box-shadow: inset 0 1000px 0 rgba(0,0,0,.1);
}

.btn-success {
  color: var(--mvtools-text-white);
  text-shadow: 0 -1px 0 rgba(0,0,0,.25);
  background-color: #5bb75b;
  background-image: linear-gradient(to bottom, #62c462, #51a351);
  border-color: #51a351 #51a351 #387038;
}

.btn-success:hover,
.btn-success:active,
.btn-success.active,
.btn-success.disabled,
.btn-success[disabled] {
  box-shadow: inset 0 1000px 0 rgba(0,0,0,.1);
}

.btn-info {
  color: var(--mvtools-text-white);
  text-shadow: 0 -1px 0 rgba(0,0,0,.25);
  background-color: #df5c39;
  background-image: linear-gradient(to bottom, #e06342, #dc512c);
  border-color: #dc512c #dc512c #a2371a;
}

.btn-info:hover,
.btn-info:active,
.btn-info.active,
.btn-info.disabled,
.btn-info[disabled] {
  background-image: none;
  background-color: #df5c39;
}

.btn-link {
  border-color: transparent;
  cursor: pointer;
  color: var(--mvtools-primary);
  border-radius: 0;
}

.btn-link,
.btn-link:active,
.btn-link[disabled] {
  background-color: transparent;
  background-image: none;
  box-shadow: none;
}

.btn-inverse {
  color: var(--mvtools-text-white);
  text-shadow: 0 -1px 0 rgba(0,0,0,.25);
  background-color: #363636;
  background-image: linear-gradient(to bottom, #444, #222);
  border-color: #222 #222 #000;
}

.btn-inverse:hover,
.btn-inverse:active,
.btn-inverse.active,
.btn-inverse.disabled,
.btn-inverse[disabled] {
  background-color: #222;
  background-image: linear-gradient(to bottom, #333, #111);
}


/* =============================================================================
   11. ФУТЕР
============================================================================= */
footer {
  margin-top: 30px;
  padding-top: 94px;
  background-color: var(--mvtools-bg-dark);
  border-top: 1px solid #ddd;
  color: #e2e2e2;
}

footer hr {
  border-top: none;
  border-bottom: 1px solid #666;
}

footer a       { color: #ccc; }
footer a:hover { color: var(--mvtools-text-white); }

footer h5 {
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: var(--mvtools-text-white);
}

/* Социальный блок в футере */
.footer__social {
  width: 100%;
  display: flex;
  justify-content: space-between;
  max-width: 1140px;
  background-color: var(--mvtools-primary);
  padding: 28px 36px;
  border-radius: var(--mvtools-radius-lg);
  margin-top: -60px;
  gap: 20px;
  z-index: 10;
  position: absolute;
   flex-wrap: wrap;
}

.footer__social h3 {
  cursor: default;
  line-height: 23.832px;
  margin-bottom: 5px;
  color: var(--mvtools-text-white);
}

.footer__social > div > p {
  color: var(--mvtools-text-white);
  line-height: 24px;
  cursor: default;
  margin-bottom: 10px;
}

.footer__social .footer__social__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.footer__social .footer__social__list svg {
  border: 1px solid var(--mvtools-primary);
  height: 33px;
  width: 33px;
}

.footer__social .footer__social__list svg:hover {
  border-color: var(--mvtools-text-white);
}

#footer-form-subscribe {
  display: flex;
}

.footer__social__submit {
  display: flex;
  align-items: center;
}

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

.footer__social__submit__input p {
  display: flex;
  align-items: center;
}

.footer__social__submit__input p svg {
  margin-right: 10px;
}

.footer__social__submit p button {
  padding: 10px 20px;
  background-color: var(--mvtools-bg-white);
  text-transform: capitalize;
  color: #000;
  border-radius: var(--mvtools-radius-md);
  border: 2px solid var(--mvtools-text-white);
  font-weight: bold;
}

.footer__social__submit p button:hover {
  border-color: var(--mvtools-primary);
}

.footer__social__submit__input input {
  color: var(--mvtools-text-white);
  max-width: 170px;
  background-color: var(--mvtools-primary);
  border: none;
}

.footer__social__submit__input input::placeholder {
  color: var(--mvtools-text-white);
}

.follow-us {
  display: flex;
  justify-content: center;
  margin-top: 70px;
}


/* =============================================================================
   12. ФОРМЫ / МОДАЛКИ
============================================================================= */
#smca-modal-body {
  background: var(--mvtools-bg-white);
  max-width: 600px;
  width: 90%;
  margin: 0 auto;
  min-height: 100px;
  position: relative;
}

/* Сброс стилей внутри модалки */
#smca-modal-body *,
#smca-modal-body * {
  vertical-align: baseline;
  font-weight: inherit;
  font-family: inherit;
  font-style: inherit;
  font-size: 100%;
  border: 0 none;
  outline: 0;
  padding: 0;
  margin: 0;
  box-sizing: content-box;
}

.mfp-content {
  top: -250px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045;
}

#smca-modal-body .name-right {
  font-size: 18px;
  color: #000;
  font-style: italic;
}

#smca-modal-body .modal-form_qty {
  margin-top: 13px;
  font-size: var(--mvtools-font-size-base);
  font-weight: 600;
}

#smca-modal-body .modal-form_qty input {
  border: 1px solid #000;
}

#smca-modal-body .modal-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 20px;
  font-size: var(--mvtools-font-size-base);
  row-gap: 10px;
}

#smca-modal-body .modal-form label {
  font-weight: 600;
}

#smca-modal-body .modal-heading {
  text-align: left;
  background-color: #ededed;
  font-family: Roboto-Regular, Arial, Tahoma;
  font-size: 20px;
  color: var(--mvtools-text-dark);
  font-weight: normal;
  border-bottom: 1px solid #ddd;
  padding: 0 20px;
  position: relative;
  min-height: 50px;
  line-height: 50px;
  overflow: hidden;
}

#smca-modal-body .modal-close {
  width: 24px;
  height: 24px;
  background: url(close.png) no-repeat;
  right: 15px;
  top: 13px;
  position: absolute;
  opacity: 0.5;
  cursor: pointer !important;
}

#smca-modal-body .modal-body {
  background: var(--mvtools-bg-white);
  padding: 20px;
  overflow: auto;
}

#smca-modal-body > .modal-footer,
#smca-modal-body .modal-footer {
  background-color: #ededed;
  border-radius: 0 0 6px 6px;
  border-top: 1px solid #ddd;
  padding: 17px 20px;
  position: relative;
  display: block;
  text-align: center;
}

#smca-modal-body .modal-footer {
  display: inline-block;
  width: 100%;
  height: 100%;
  vertical-align: bottom;
  box-sizing: border-box;
}

.mfp-bgr {
  display: none;
  background: var(--mvtools-bg-white);
  opacity: 0.8;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
}

#mgrform {
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
}

#mgrform .mfp-success {
  display: none;
  color: red;
  font-weight: bold;
  font-style: italic;
  font-size: var(--mvtools-font-size-base);
  text-align: center;
}


/* =============================================================================
   13. РАЗНОЕ
============================================================================= */

/* Breadcrumb */
.breadcrumb {
  margin: 8px 0 20px;
  padding: 8px 0;
  background-color: var(--mvtools-bg-white);
  border: none;
}

.breadcrumb i {
  font-size: 15px;
}

.breadcrumb > li {
  text-shadow: 0 1px 0 #fff;
  padding: 0 20px;
  position: relative;
  white-space: nowrap;
}

.breadcrumb li:first-child a svg {
  vertical-align: middle;
}

.breadcrumb > li + li::before {
  content: '';
  padding: 0;
}

.breadcrumb > li::after {
  content: '';
  display: block;
  position: absolute;
  top: 6px;
  right: -6px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--mvtools-primary);
  border-bottom: 1px solid var(--mvtools-primary);
  transform: rotate(-45deg);
}

/* Pagination */
.pagination {
  margin: 0;
}

/* Alert */
.alert {
  padding: 8px 14px;
}

.alert-dismissable .close,
.alert-dismissible .close {
  right: -1px;
}

/* List group */
.list-group a {
  border: 1px solid #ddd;
  color: #888;
  padding: 8px 12px;
}

.list-group a.active,
.list-group a.active:hover,
.list-group a:hover {
  color: var(--mvtools-text-heading);
  background: var(--mvtools-bg-muted);
  border: 1px solid #ddd;
  text-shadow: 0 1px 0 #fff;
}

/* Carousel */
.carousel-caption {
  color: var(--mvtools-text-white);
  text-shadow: 0 1px 0 #000;
}

.carousel-control .icon-prev::before {
  content: '\f053';
  font-family: FontAwesome;
}

.carousel-control .icon-next::before {
  content: '\f054';
  font-family: FontAwesome;
}

/* Rating */
.rating .fa-stack  { font-size: 8px; }
.rating .fa-star-o { color: #999; font-size: 15px; }
.rating .fa-star   { color: #fc0; font-size: 15px; }
.rating .fa-star + .fa-star-o { color: #e69500; }

/* Thumbnails */
.thumbnails {
  clear: both;
  list-style: none;
  padding: 0;
  margin: 0 0 20px -20px;
}

.thumbnails > li {
  margin-left: 20px;
}

.thumbnails > img {
  width: 100%;
}

.image-additional {
  max-width: 78px;
}

.image-additional a {
  margin-bottom: 20px;
  padding: 5px;
  display: block;
  border: 1px solid #ddd;
}

.image-additional div:last-child a {
  margin-bottom: 0;
}

.thumbnails .image-additional {
  margin-left: 10px;
  vertical-align: top;
}

/* Дополнительные миниатюры (scrollable) */
.image-additional {
  max-width: 15%;
  display: inline-block;
  height: 400px;
  overflow-y: auto;
  position: relative;
  left: 15px;
  scrollbar-width: thin;
  scrollbar-color: #cdcdcd #eee;
}

.thumbnails .image-additional::-webkit-scrollbar       { width: 9px; }
.thumbnails .image-additional::-webkit-scrollbar-thumb { background-color: #cdcdcd; }
.thumbnails .image-additional::-webkit-scrollbar-track { border-width: 0; background-color: #eee; }

/* Главное изображение товара */
.jey-mainimg {
  display: inline-block;
}

.jey-mainimg .thumbnail {
  margin-bottom: 0;
}

.thumbnail360 img {
  animation: pulsing 3s infinite;
}

.thumbnail360 img:hover {
  cursor: pointer;
}

@keyframes pulsing {
  0%   { transform: rotateZ(10deg); }
  33%  { transform: rotateZ(0deg); }
  66%  { transform: rotateZ(-10deg); }
  100% { transform: rotateZ(10deg); }
}

.tabcustom360-close {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 45px;
  color: red;
  transform: rotateZ(45deg);
}

.tabcustom360-close:hover {
  cursor: pointer;
}

/* Колонки контента */
#column-left .product-layout,
#column-right .product-layout {
  width: 100%;
}

.mvtnews-wrap{
margin-bottom: 30px;
}

#common-home #content iframe{
  margin-bottom: 30px;
}


/* =============================================================================
   14. MEDIA QUERIES
============================================================================= */

/* Корзина — мобилка */
@media (max-width: 478px) {
  #cart .dropdown-menu {
    width: 100%;
  }

  #cart .dropdown-menu li > div {
    min-width: 100%;
  }
}

/* Меню — десктоп: hover открывает dropdown */
@media (min-width: 768px) {
    #menu .dropdown:hover .dropdown-menu .dropdown-menu.level2 {
    margin-top: -5px;
    padding-top: 0;
  }
  #menu .dropdown:hover .dropdown-menu {
    display: block;
    width: max-content;
    background-color: var(--mvtools-bg-white);
    box-shadow: none;
  }
   header #menu .dropdown:hover .dropdown-menu{}
  header #menu .dropdown:hover .dropdown-menu ::before {
        content: '';
        position: absolute;
        top: 7px;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        border-radius: 10px;
        border: 1px solid #dfdada;
        background-color: #fff;
}

 
  #menu .megamenu .dropdown:hover .dropdown-menu {
    background-color: transparent;
  }
}

@media (min-width: 767px) {
  .product-list .product-thumb .image {
    float: left;
    padding: 0 15px;
  }
}

/* Меню — мобилка */
@media (max-width: 767px) {
  #menu {
    border-radius: var(--mvtools-radius-sm);
  }

  #menu div.dropdown-inner > ul.list-unstyled {
    display: block;
  }

  #menu div.dropdown-menu {
    margin-left: 0 !important;
    padding-bottom: 10px;
    background-color: rgba(0,0,0,.1);
  }

  #menu .dropdown-inner {
    display: block;
  }

  #menu .dropdown-inner a {
    width: 100%;
    color: #fff;
  }

  #menu .dropdown-menu a:hover,
  #menu .dropdown-menu ul li a:hover {
    background: rgba(0,0,0,.1);
  }

  #menu .see-all {
    margin-top: 0;
    border: none;
    border-radius: 0;
    color: var(--mvtools-text-white);
  }

  .product-list .product-thumb .caption {
    min-height: 0;
    margin-left: 0;
    padding: 0 10px;
  }

  .product-grid .product-thumb .caption {
    min-height: 0;
  }

  .product-thumb .button-group button,
  .product-thumb .button-group button + button {
    width: 33.33%;
  }

  .product-list .product-thumb .button-group {
    border-left: none;
  }
}

/* Карточки — планшет */
@media (max-width: 768px) {
  .product-list .product-thumb .button-group {
    border-left: none;
  }
}

/* Сетка — средний экран */
@media (max-width: 1200px) {
  .product-grid .product-thumb .caption {
    min-height: 210px;
    padding: 0 10px;
  }

  .product-thumb .button-group button,
  .product-thumb .button-group button + button {
    width: 33.33%;
  }
}

/* Очистка колонок по сетке */
@media (min-width: 1200px) {
  #content .col-lg-2:nth-child(6n+1),
  #content .col-lg-3:nth-child(4n+1),
  #content .col-lg-4:nth-child(3n+1),
  #content .col-lg-6:nth-child(2n+1) {
    clear: left;
  }

  .underheader .container {
    width: 1300px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  #content .col-md-2:nth-child(6n+1),
  #content .col-md-3:nth-child(4n+1),
  #content .col-md-4:nth-child(3n+1),
  #content .col-md-6:nth-child(2n+1) {
    clear: left;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #content .col-sm-2:nth-child(6n+1),
  #content .col-sm-3:nth-child(4n+1),
  #content .col-sm-4:nth-child(3n+1),
  #content .col-sm-6:nth-child(2n+1) {
    clear: left;
  }
}

/* Фиксированные колонки с сайдбарами */
@media (min-width: 768px) {
  #column-left .product-layout .col-md-3 {
    width: 100%;
  }

  #column-left + #content .product-layout .col-md-3 {
    width: 50%;
  }

  #column-left + #content + #column-right .product-layout .col-md-3 {
    width: 100%;
  }

  #content + #column-right .product-layout .col-md-3 {
    width: 100%;
  }
}



*:focus,
*:focus-visible {
  outline: none;
}
img {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

a:focus,
a:focus-visible,
a:active {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}