html {
  overflow-y: scroll;
}
body {
   font-family: 'Fira Sans', sans-serif;
  font-size: 13px;
}
h1, h2, h3, h4, h5, h6 {
  color: #444;
}
legend {
  padding: 7px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}
label {
  font-size: 12px;
  font-weight: normal;
}
/* Chrome border line */
button:focus {
  outline: none !important;
}
a {
  color:  #383428!important;
}
/* container */
#container {
  width: 100%;
  min-height: 100%;
  position: absolute;
  margin-bottom: 300px;
}
/* content */
#content, #column-left, #column-right {
  padding-bottom: 730px;
}
@media (min-width: 576px) {
  #content, #column-left, #column-right {
    padding-bottom: 400px;
  }
}
#alert {
  z-index: 9999;
  position: fixed;
  top: 30%;
  left: 50%;
  width: 400px;
  margin-left: -200px;
}
@media (min-width: 992px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
@media (min-width: 1140px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
@media (min-width: 1320px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
#alert .alert {
  margin-bottom: 15px;
}
#alert .alert-primary {
  box-shadow: 0 0 0 5px rgb(var(--bs-primary-rgb), 0.1);
}
#alert .alert-secondary {
  box-shadow: 0 0 0 5px rgb(var(--bs-secondary-rgb), 0.1);
}
#alert .alert-success {
  box-shadow: 0 0 0 5px rgb(var(--bs-success-rgb), 0.1);
}
#alert .alert-warning {
  box-shadow: 0 0 0 5px rgb(var(--bs-warning-rgb), 0.1);
}
#alert .alert-danger {
  box-shadow: 0 0 0 5px rgb(var(--bs-danger-rgb), 0.1);
}
#alert .alert-info {
  box-shadow: 0 0 0 5px rgb(var(--bs-info-rgb), 0.1);
}
#alert .alert-light {
  box-shadow: 0 0 0 5px rgb(var(--bs-light-rgb), 0.1);
}
#alert .alert-dark {
  box-shadow: 0 0 0 5px rgb(var(--bs-dark-rgb), 0.1);
}
/* top */
#top {
  background-color: var(--bs-tertiary-bg);
  border-bottom: 1px solid var(--bs-border-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 5px;
}
#top ul.list-inline {
  margin-bottom: 0;
}
#top .list-inline-item > a, #top .list-inline-item .dropdown > a {
  font-size: 1.1em;
  color: var(--bs-gray-600);
  line-height: 40px;
  vertical-align: middle;
  padding: 10px 0px 5px 0px;
}
/* logo */
#logo {
  text-align: center;
  margin: 7px 0 7px 0;
}
#logo img {
  max-width: 200px;
}
@media (min-width: 768px) {
  #logo {
    text-align: left;
  }
}
.btn-primary {
  background-color: #E69500!important;
  border: 1px solid #E69500;
}

.btn-primary:hover {
  background-color: #E69500!important;
  border: 1px solid #E69500;
}
/* cart */
#cart {
  margin-bottom: 10px;
}
#cart .img-thumbnail {
  min-width: 100px;
}
#cart .btn-lg {
  font-size: 15px;
  line-height: 18px;
  padding: 14px 35px;
}
#cart .dropdown-menu {
  background: #eee;
}
#cart .dropdown-menu li {
  min-width: 300px;
}
@media (max-width: 768px) {
  #cart .dropdown-menu li {
    min-width: 100%;
  }
}
/* menu */
#menu {
  background-color: #229ac8;
  background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
  background-repeat: repeat-x;
  border: 1px solid #1f90bb;
  border-color: #1f90bb #1f90bb #145e7a;
  min-height: 40px;
  border-radius: 4px;
  padding: 0 1rem;
  margin-bottom: 20px;
}
#menu .navbar-nav > li > a {
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  padding: 10px 15px 10px 15px;
  background-color: transparent;
}
#menu .navbar-nav > li > a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
#menu .dropdown-menu {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
#menu .dropdown-inner {
  display: flex;
  flex-direction: column;
}
#menu .dropdown-inner ul {
  width: 100%;
  min-width: 200px;
}
@media (min-width: 960px) {
  #menu .dropdown:hover .dropdown-menu {
    display: block;
  }
  #menu .dropdown-inner {
    flex-direction: row;
  }
  #menu .nav-item + .nav-item + .nav-item .dropdown-column-3 {
    left: -200px;
  }
  #menu .nav-item + .nav-item + .nav-item .dropdown-column-4 {
    left: -400px;
  }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-2 {
    left: -200px;
  }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-3 {
    left: -400px;
  }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-4 {
    left: -600px;
  }
}
#category {
  float: left;
  font-size: 16px;
  font-weight: 700;
  line-height: 40px;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
#menu .navbar-toggler i {
  color: #fff;
  border-color: #fff;
  font-size: 0.9em;
}
/* default boostrap changes */
div.required .col-form-label:before, div.required .form-label:before {
  content: "* ";
  color: #F00;
  font-weight: bold;
}
.form-switch-lg {
  font-size: 20px;
  min-height: 30px;
  line-height: 30px;
}
.nav-tabs {
  margin-bottom: 15px;
}
.form-check .form-check-input {
  margin-top: 0.25rem;
}
@media (min-width: 768px) {
  .col-form-label {
    text-align: right;
  }
}
/* footer */

footer hr {
  border-top: none;
  border-bottom: 1px solid #666;
}
footer a {
  color: #ccc;
  text-decoration: none;
}
footer a:hover {
  color: #fff;
}
footer h5 {
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 10px;
}


.product-thumb {
  border: 1px solid #ddd;
  position: relative;
  height: 100%;
}
.product-thumb .image {
  text-align: center;
}
.product-thumb .image a:hover {
  opacity: 0.8;
}
.product-thumb .description {
  padding: 15px;
  margin-bottom: 45px;
}
.product-thumb .description h4 {
  font-weight: bold;
}
.product-thumb .button {
  display: flex;
  position: absolute;
  width: 100%;
  bottom: 0;
}
.product-thumb .button button {
  width: 33.33%;
  border: none;
  border-top: 1px solid var(--bs-border-color);
  background-color: var(--bs-tertiary-bg);
  color: var(--bs-gray-600);
  line-height: 38px;
  text-align: center;
}
.product-thumb .button button:hover {
  color: var(--bs-gray-600);
  background-color: #ddd;
  text-decoration: none;
  cursor: pointer;
}
.product-thumb .button button + button {
  border-left: 1px solid var(--bs-border-color);
}
@media (min-width: 960px) {
  .product-list .product-thumb {
    display: flex;
  }
  .product-list .product-thumb .image {
    flex-direction: column;
    margin-bottom: 0px;
  }
  .product-list .product-thumb .content {
    flex-direction: column;
    flex: 75%;
    position: relative;
  }
  .product-list .product-thumb .button {
    border-left: 1px solid #ddd;
    width: calc(100% -  15px);
    margin-left: 15px;
  }
}
.rating .fa-stack {
  width: 20px;
}
.rating .fa-star {
  color: #999;
  font-size: 15px;
}
.rating .fa-star {
  color: #FC0;
  font-size: 15px;
}
.rating .fa-star + .fa-star {
  color: #E69500;
}
/* product list */
.price {
  color: #444;
}
.price-new {
  font-weight: 600;
}
.price-old {
  color: #dc512c;
  text-decoration: line-through;
}
.price-tax {
  color: #999;
  font-size: 12px;
  display: block;
}
/* blog */
.blog-thumb {
  border: 1px solid #ddd;
  margin-bottom: 15px;
}
.blog-thumb h4 {
  font-weight: bold;
}
.blog-thumb .image {
  text-align: center;
  margin-bottom: 15px;
}
.blog-thumb .image a:hover {
  opacity: 0.8;
}
.blog-thumb .description {
  padding: 15px;
}

/* Theme Custom CSS */
#cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 9999;
  opacity: 0.95;
  color: #ecf0f1;
  background: #343a40;
}
#cookie div {
  font-size: 16px;
  color: #FFFFFF;
}

#weld-top {
    background:#E69500;
    /*#383428*/
}

#logo-weld {
  color: #383428;
}
.double-line {
  height: 4px; /* общая высота */
  border-top: 2px solid #383428;
  border-bottom: 1px solid #383428;
}
#phone {
  font-size: 24px;
  color: #383428;
}


.search_button {
  background-color: #383428;
  border: 1px solid #383428;
  color: #fff!important;
}

.search_button:hover {
  background-color: #383428;
  border: 1px solid #383428;
  color: #e69500!important;
}


.button_weld {
  background-color: #e69500;
  border: 1px solid #e69500;
  color: #fff!important;
}

.button_weld:hover {
  background-color: #383428;
  border: 1px solid #383428;
  color: #fff!important;
}

.dropdown-item {
white-space: unset;
}
    /* Стили сайдбара */
    .sidebar {
      width: 100%;
      position: relative;
      box-shadow: 2px 0 5px rgba(0,0,0,0.1);
      z-index: 1001;
    }

    /* Пункт меню */
    .menu-item {
      position: relative;
      padding: 0px 20px;
    }

    .menu-link {
      display: block;
      padding: 10px 2px;
      color: #333;
      text-decoration: none;
      border-bottom: 1px solid #e2e2e2; 
    }

    .menu-link:hover {
      color: #E69500!important;
      -webkit-transition: 500ms ease;
    }

    /* Выпадающее подменю */
    .submenu {
      position: absolute;
      left: 100%;      /* Выпадает СПРАВА */
      top: 0;
      width: max-content;  
      min-width: 250px;    /* минимальная ширина на случай коротких строк */
      background: white;
      border: 1px solid #ddd;
      margin: 0;
      padding: 5px;
      box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
      z-index: 1002;
   /* Анимация */
      opacity: 0;
      transform: translateX(-40px);
      visibility: hidden;
      transition: opacity 0.45s, transform 0.75s;
    }

    .submenu::before {
      content: '';
      border-top: 10px solid transparent;
      border-bottom: 10px solid transparent;
      border-right: 10px solid #dddddd;
      position: absolute;
      top: 10px;
      left: -10px;
    }

    .submenu ul {
      list-style: none;
      padding: 0;
      width: 250px;
      margin: 0;
      display: table-cell; 
      float: none;
      border-right: dotted 1px #dddddd
    }

      .submenu ul:last-child {
        border: none;
      }
      .submenu li {
        padding: 0px 16px;
      }
    .submenu .menu-link {                        
      border-bottom: none; 
    }

    /* Показ подменю при наведении */
    .menu-item:hover > .submenu {
      opacity: 1;
      transform: translateX(0);
      visibility: visible;
    }
    .menu-head {
        background: #E69500;
        cursor: pointer;
        font-weight: 400;
        font-size: 18px;
        line-height: 24px;
        text-transform: capitalize;
        color: #000000;
        text-align: left;
        padding: 13px 20px;
        position: relative;
    }
    .menu-link.arrow::before {
        content: '';
        background-image: url(/image/catalog/vertical-menu-icon-active.svg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 8px;
        display: block;
        position: absolute;
        top: 15px;
        bottom: auto;
        right: 16px;
        left: auto;
        padding: 7px 5px;
}

/* Анимированная кнопка — растягивается на ширину родителя */
.btn.animated-button {
  position: relative;
  overflow: hidden;
  background-color: #383428 !important;
  border-color: #383428 !important;
  color: #fff !important;
  padding: 0 !important;
  margin: 0 !important;
  /* Растягиваем на всю ширину */
  width: 100%;
  min-height: 47px; /* высота как у btn-lg */
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-align: center;
}

/* Слои содержимого */
.btn.animated-button .visible-content,
.btn.animated-button .hidden-content {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0.5rem 1rem; /* как у btn-lg */
  color: #fff !important;
  transition: transform 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

/* Анимация */
.btn.animated-button .visible-content {
  transform: translateX(0);
}
.btn.animated-button .hidden-content {
  transform: translateX(100%);
}
.btn.animated-button:hover .visible-content {
  transform: translateX(-100%);
}
.btn.animated-button:hover .hidden-content {
  transform: translateX(0);
}

/* Hover */
.btn.animated-button:hover {
  background-color: #383428 !important;
  border-color: #383428 !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

/* Иконки */
.btn.animated-button i {
  color: #fff !important;
}

/* Стиль для кнопки внутри input-group */
.input-group .btn.animated-button.vertical {
  /* Убираем width: 100% */
  width: auto !important;
  /* Минимальная ширина — чуть больше, чем по умолчанию */
  min-width: 60px !important; /* ← увеличено с ~48px до 60px */
  padding: 0 !important;
  /* Высота как у form-control-lg */
  min-height: calc(1.5em + 1rem + 2px);
  /* Скругления */
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-top-right-radius: 0.3rem !important;
  border-bottom-right-radius: 0.3rem !important;
  /* Стили */
  background-color: #383428 !important;
  border-color: #383428 !important;
  color: #fff !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* Слои */
.input-group .btn.animated-button.vertical .visible-content,
.input-group .btn.animated-button.vertical .hidden-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem; /* немного меньше, чтобы влезло */
  color: #fff !important;
  transition: transform 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

/* Вертикальная анимация */
.input-group .btn.animated-button.vertical .visible-content {
  transform: translateY(0);
}
.input-group .btn.animated-button.vertical .hidden-content {
  transform: translateY(100%);
}
.input-group .btn.animated-button.vertical:hover .visible-content {
  transform: translateY(-100%);
}
.input-group .btn.animated-button.vertical:hover .hidden-content {
  transform: translateY(0);
}

/* Hover */
.input-group .btn.animated-button.vertical:hover {
  background-color: #383428 !important;
  border-color: #383428 !important;
  box-shadow: none !important; /* убираем тень, чтобы не ломать input-group */
}

/* Иконки */
.input-group .btn.animated-button.vertical i {
  color: #fff !important;
  font-size: 1.25rem;
}

footer {
  background-color: #383428 !important;
  border-top: 1px solid #E69500;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.5);
  color: #fff;
}

footer a {
   color: #E69500 !important;
 }

 footer a:hover {
   text-decoration: underline;
 }

