.container_slider {
  margin: 0 auto;
  max-width: 400px;
  overflow: hidden;
}
.main-img {
  width: 100%;
  text-align: center;
  margin-bottom: 1px;
  cursor: pointer;
}
.main-img img {
  height: auto;
  max-height: 318px;
}
.sub-img {
  display: flex;
  margin-top: 1px;
  align-items: center;
}
.product_slide ul {
  padding: 0;
  max-width: 100%;
}
.sub-img li {
  width: calc(100% / 3);
  text-decoration: none;
  list-style-type: none;
}
.sub-img li:nth-child(4n) {
  margin-right: 0;
}
.sub-img li img {
  border: 2px solid var(--bg-primary);
  transition: border .5s;
}
.sub-img img {
  cursor: pointer;
  width: 100%;
}

.sub-img li.active img {
  border: 2px solid var(--secondary-color);
  transition: border .5s;
  filter: blur(0);
  -webkit-filter: blur(0);
}
.product_slide .icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
}

.btn_slider {
  display: block;
  margin: 5px 0;
}
.button-module {
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  position: relative;
  font-family: inherit;
  text-shadow: none;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-decoration: none !important;
  font-weight: 400 !important;
  cursor: pointer;
  background: var(--text-primary);
  color: var(--bg-primary);
  border: none;
  border-radius: 4px;
  padding-block: 10px;
  padding-inline: 16px;
  margin-inline: 10px;
  margin-block: 1px;
}
.button-module svg {
  width: 7px;
  margin-right: 4px;
  height: 16px;
  min-height: 1.2em;
  display: inline-block;
  pointer-events: none;
  vertical-align: bottom;
  fill: currentColor;
}
.button-module:hover {
  outline-offset: 3px;
  background: var(--text-muted);
}
.left_before:before {
  background-image: linear-gradient(to right, var(--bg-primary) 0%, rgba(255, 255, 255, 0) 100%);
}
.img-gradient {
  position: relative;
  display: inline-block;
}
.img-gradient:after {
  content: '';
  left: 0;
  top: 0;
  margin: 0 2% 0 0%;
  position: absolute;
  width: 100%;
  height: 100%;
  display: inline-block;
  background: linear-gradient(to right, var(--bg-primary) 0%, rgba(220, 66, 37, 0) 100%);
}
.img-gradient_right {
  position: relative;
  display: inline-block;
}
.img-gradient_right:after {
  content: '';
  left: 0;
  top: 0;
  margin: 0 2%;
  position: absolute;
  width: 100%;
  height: 100%;
  display: inline-block;
  background: linear-gradient(to left, var(--bg-primary) 0%, rgba(220, 66, 37, 0) 100%);
}
