.entry-summary {
  padding: 0 !important;
}

.entry-summary .clearfix {
    display: none;
}

.entry-summary__inner {
    background-color: #f2f2f2;
    border-radius: 23px;
    padding: 30px !important;
}

.product-single-header .product_title {
    font-size: 28px;
    position: relative;
    text-transform: none;
    text-align: left;
    font-weight: 700;
}

.single-product__cat {
    color: #7b7b7b;
    margin-bottom: 10px;
}

.single-product__stock {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.single-product__stock-label {
    font-weight: 600;
}

.single-product__stock-status.button {
    text-transform: none !important;
    border-radius: 20px !important;
    padding: 7px 19px !important;
    cursor: auto !important;
}

.product-single-header .amount {
  font-size: 24px;
}

.price {
  font-size: 16px;
  position: relative;
  top: -4px;
  display: flex;
}

.price > span,
.price ins > span {
  color: #eb9d00;
}

.price del {
  color: #a4a4a4;
  order: 2;
  margin-left: 20px;
}

.price ins {
  text-decoration: none;
}

/* ### Gallery slider */

.woocommerce div.product div.images .flex-control-thumbs {
  overflow: hidden;
  zoom: 1;
  margin: 42px -4px 0;
  padding: 0;
}

.woocommerce div.product div.images .flex-control-thumbs li {
  width: calc(20% - 20px);
  float: left;
  margin: 0;
  margin-right: 20px;  
  margin-bottom: 20px; 
  overflow: hidden;
  padding: 4px 4px;
  list-style: none;
}

.woocommerce div.product div.images .flex-control-thumbs img:hover,
.woocommerce div.product div.images .flex-control-thumbs img:focus {
  opacity: .7;
}

.woocommerce div.product div.images .flex-control-thumbs img {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  cursor: pointer;
  margin: 0;
  transition: .2s opacity;
  border-radius: 16px;
  width: 100% !important;
  height: 100%;
}

.flex-active {
  opacity: 1 !important;
  transition: .2s opacity;
  border: 1px solid #ff9100;
}

.woocommerce div.product div.images img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: none;
}

.woocommerce-product-gallery {
  position: relative;
}

.woocommerce-product-gallery__trigger {
  border-radius: 50%;
  color: #fff;
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 19px;
  line-height: 50px;
  overflow: hidden;
  text-align: center;
  text-indent: -999px;
  z-index: 99;
  width: 50px;
}

.woocommerce-product-gallery__trigger:hover,
.woocommerce-product-gallery__trigger:focus {
  color: #fff;
}

.woocommerce-product-gallery__trigger img {
  display: none !important;
}

.woocommerce-product-gallery__trigger::before {
  content: "\f00e";
  text-indent: 0;
  font-family: FontAwesome;
  position: absolute;
  left: 50%;
  top: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.variations {
    margin-top: 30px;
}

.variation-row > .label label {
    font-weight: 700 !important;
}

.product-single-header .variations label {
  font-size: 14px;
  font-weight: 300;
  top: -13px;
  margin-top: 10px;
  margin-bottom: 4px;
  margin-right: 5px;
  position: relative;
  text-transform: uppercase;
}

.variations-radio label span {
    justify-content: center;
}

.variations a.reset_variations {
  font-size: 12px;
}

.generate-pdf-btn {
    margin-top: 31px;
}

/* Custom radio */

.option-item-wrap,
.option-subitem-wrap {
    position: relative;
}

/* Прячем стандартные радио */
.variations-radio input[type="radio"] {
  display: none;
}

/* Базовый стиль кнопок */
.variations-radio label span {
  display: flex;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  user-select: none;
  text-transform: none;
}

.variations-radio label span svg {
    width: 21px;
    margin-right: 8px;
    transform: translateY(3px);
}

.variations-radio label[for="pa_direction-right"] span svg {
    width: 21px;
    margin-right: 8px;
    transform: scaleX(-1) translateY(2px);
}

.variations-radio label input[name=pa_size] + span:after {
    content: 'mm';
    margin-left: 5px;
}

/* Активное состояние (выбран radio) */
.variations-radio input[type="radio"]:checked + span,
.variations-radio input[type="radio"]:checked + label {
  border-color: #eb3736;   /* WooCommerce цвет */
  background: #eb3736;
  color: #fff;
}

/* Чтобы текст был внутри label */
.variations-radio label input {
  display: none;
}

/* Toogle btn */

.s-prod__options {
    margin-top: -5px;
    margin-bottom: 30px;
}

.product-total > div {
    display: flex;
    justify-content: space-between;
}

.option-item-tax {
    margin: 7px 0 10px 0 !important;
}

.option-item {
    font-weight: 400;
    margin-bottom: 10px;
    /* max-width: max-content; */
}

.option-item__price {
    white-space: nowrap;
    margin-left: auto;
    margin-bottom: 0;
}

.option-item__info .amount {
    font-size: 13pt !important;
}

.option-item__info > div > p {
    display: inline;
}

.option-item__selection {
    display: flex;
    align-items: center;
}

.option-item-disabled {
    pointer-events: none;
}

.option-item__selection-hidden {
    display: none;
}

.option-item__selection-hidden .option-item__title {
    pointer-events: none;
}

.option-item__info {
    padding-right: 40px;
}

.option-item__info,
.option-item__info > div {
    width: 100%;
}

.option-item__info > div {
    position: relative;
    align-items: center;
}

.option-item__text {
    position: relative;
    display: inline-block;
}

.option-item__text input {
    text-align: center;
    width: 79px;
    height: 44px;
    padding: 0 26px 0 0;
}

.option-item__text-minus,
.option-item__text-plus {
    border: none;
    color: #fff;
    display: block;
    padding: 0;
    margin: 0;
    position: absolute;
    right: 0;
    text-align: center;
    width: 26px;
    height: 24px;
    text-decoration: none;
    cursor: pointer;
    line-height: 23px;
    font-size: 14px;
    transition: 0.2s;
    background-color: #292929;
}

.option-item__text-minus {
    bottom: 0;
}

.option-item__text-plus {
    top: 0;
}

.option-item__text-minus:hover,
.option-item__text-plus:hover {
    background-color: #eb4236;
}

/* .option-item + input, */
.option-subitems {
    display: none;
}

.option-item__separator {
    display: none !important;
}

/* .option-item:not(.option-item-price-per) .option-item__separator,
.option-item:not(.option-item-price-per) .option-item__price, */
.option-item.option-item.checked[data-skipped="1"] .option-item__separator,
.option-item.option-item.checked[data-skipped="1"] .option-item__price {
    text-decoration: line-through;
}


.option-item.checked + input,
.option-item.checked + .option-subitems {
    display: block;
}

.option-item.checked .option-item__separator,
.option-item.checked .option-item__price {
    opacity: 1;
}

/* Контейнер чипса */
.option-chip {
    display: inline-block;
    margin: 0 12px 0 0;
    position: relative;
    width: 40px;   /* ширина переключателя */
    height: 20px;  /* высота переключателя */
}

.option-item__title {
    margin-bottom: 0;
}

/* Скрываем стандартный чекбокс */
.option-chip input[type="checkbox"] {
    display: none;
}

/* Ползунок / переключатель */
.option-chip__btn {
    width: 100%;
    height: 100%;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 20px;
    transition: background-color 0.2s;
}

/* Круг внутри */
.option-chip__btn::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 2px;
    top: 1px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.2s;
}

/* Состояние включено */
.option-chip input[type="checkbox"]:checked + .option-chip__btn {
    background-color: #eb3736;
}

.option-chip input[type="checkbox"]:checked + .option-chip__btn::before {
    transform: translateX(18px);
}

.options__items > div {
    flex: 1;
}

/* Tooltip */

.tooltip {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ccc;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    right: 0;
    line-height: 1;
    cursor: pointer;
}

.tooltip_templates { display: none; }

.tooltipster-sidetip .tooltipster-box {
    background: #eb3736 !important;
}

.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-background {
    border-top-color: #eb3736 !important;
}

/* woocommerce tabs */

.woocommerce-tabs .panel {
  background: #f2f2f2;
  border-top: 1px solid #ececec;
  box-shadow: none;
}

div.woocommerce-tabs ul.tabs {
  margin-bottom: -1px;
  padding-left: 0;
}

div.woocommerce-tabs ul.tabs li {
  border: none;
  display: table-cell;
  float: none;
  position: relative;
}

div.woocommerce-tabs ul.tabs li.active {
  border: 1px solid #ececec;
}

div.woocommerce-tabs ul.tabs li.active:before {
  content: "";
  height: 9px;
  left: -1px;
  position: absolute;
  right: -1px;
  top: -9px;
}

div.woocommerce-tabs ul.tabs li.active a {
    color: #2C2C2C;
    background-color: #f2f2f2;
}

div.woocommerce-tabs ul.tabs li a {
  color: #919191;
  font-weight: 500;
  padding: 16px 64px;
  display: block;
}

ol.commentlist {
  padding-left: 0;
}

ol.commentlist li {
  list-style: none;
}

.woocommerce-tabs h2 {
  padding-top: 30px;
  padding-bottom: 20px;
}

.woocommerce-tabs {
  /* Form */
}

.woocommerce-tabs .commentlist {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.woocommerce-tabs .commentlist .comment_container {
  min-height: 60px;
  position: relative;
}

.woocommerce-tabs .commentlist .comment-text {
  display: flex;
  flex-direction: column;
  position: relative;
}

.woocommerce-tabs .commentlist .comment-head:before,
.woocommerce-tabs .commentlist .comment-head:after {
  content: " ";
  display: table;
}

.woocommerce-tabs .commentlist .comment-head:after {
  clear: both;
}

.woocommerce-tabs .commentlist li {
  padding-bottom: 25px;
}

.woocommerce-tabs .commentlist li:not(:last-child) {
  border-bottom: 1px solid #b2b2b2;
}

.woocommerce-tabs .commentlist li:before,
.woocommerce-tabs .commentlist li:after {
  content: " ";
  display: table;
}

.woocommerce-tabs .commentlist li:after {
  clear: both;
}

.woocommerce-tabs .commentlist li + li {
  padding-top: 32px;
}

.woocommerce-tabs .commentlist .meta {
  float: left;
  font-size: 14px;
  margin-bottom: 5px;
}

.woocommerce-tabs .commentlist .meta strong {
  padding-right: 7px;
}

.woocommerce-tabs .commentlist .meta time {
    color: #7b7b7b;
    font-weight: 600;
}

.woocommerce-tabs .commentlist .star-rating {
  clear: right;
  float: left;
  margin-left: 40px;
  margin-top: 4px;
}

.woocommerce-tabs .commentlist .description {
  color: #7b7b7b;
  display: inline-block;
}

.woocommerce-tabs .commentlist .description > * {
  margin-bottom: 0;
}

.woocommerce-tabs .commentlist img {
  position: absolute;
  left: 0;
  top: 0;
}

.woocommerce-tabs h3 {
  font-size: 18px;
  margin-top: 30px;
  margin-bottom: 10px;
  text-transform: none;
}

.woocommerce-tabs .comment-reply-title {
  color: #7b7b7b;
  margin-top: 55px;
  margin-bottom: 25px;
}

.comment-notes {
  font-size: 21px;
  display: block;
  margin-top: 10px;
  margin-bottom: 30px;
}

.comment-notes + .comment-form {
  margin-top: 30px;
}

.woocommerce-tabs .comment-form-author,
.woocommerce-tabs .comment-form-email {
  max-width: 380px;
  margin-bottom: 20px;
}

.woocommerce-tabs .form-submit #submit {
  display: inline-block;
  margin-top: 10px;
}

.woocommerce-tabs p.stars {
  margin: 20px 0 25px 0;
  position: relative;
  font-size: 16px;
}

.woocommerce-tabs p.stars a {
  display: inline-block;
  margin-right: 1em;
  text-indent: -9999px;
  position: relative;
}

.woocommerce-tabs p.stars a:last-child {
  border-right: 0;
}

.woocommerce-tabs p.stars a.star-1,
.woocommerce-tabs p.stars a.star-2,
.woocommerce-tabs p.stars a.star-3,
.woocommerce-tabs p.stars a.star-4,
.woocommerce-tabs p.stars a.star-5 {
  border-right: 1px solid #ccc;
}

.woocommerce-tabs p.stars a.star-1:after,
.woocommerce-tabs p.stars a.star-2:after,
.woocommerce-tabs p.stars a.star-3:after,
.woocommerce-tabs p.stars a.star-4:after,
.woocommerce-tabs p.stars a.star-5:after {
  font-family: "FontAwesome";
  text-indent: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.woocommerce-tabs p.stars a.star-1 {
  width: 2em;
}

.woocommerce-tabs p.stars a.star-1:after {
  content: "\f006";
}

.woocommerce-tabs p.stars a.star-1:hover:after,
.woocommerce-tabs p.stars a.star-1.active:after {
  content: "\f005";
}

.woocommerce-tabs p.stars a.star-2 {
  width: 3em;
}

.woocommerce-tabs p.stars a.star-2:after {
  content: "\f006\f006";
}

.woocommerce-tabs p.stars a.star-2:hover:after,
.woocommerce-tabs p.stars a.star-2.active:after {
  content: "\f005\f005";
}

.woocommerce-tabs p.stars a.star-3 {
  width: 4em;
}

.woocommerce-tabs p.stars a.star-3:after {
  content: "\f006\f006\f006";
}

.woocommerce-tabs p.stars a.star-3:hover:after,
.woocommerce-tabs p.stars a.star-3.active:after {
  content: "\f005\f005\f005";
}

.woocommerce-tabs p.stars a.star-4 {
  width: 5em;
}

.woocommerce-tabs p.stars a.star-4:after {
  content: "\f006\f006\f006\f006";
}

.woocommerce-tabs p.stars a.star-4:hover:after,
.woocommerce-tabs p.stars a.star-4.active:after {
  content: "\f005\f005\f005\f005";
}

.woocommerce-tabs p.stars a.star-5 {
  width: 6em;
  border: 0;
}

.woocommerce-tabs p.stars a.star-5:after {
  content: "\f006\f006\f006\f006\f006";
}

.woocommerce-tabs p.stars a.star-5:hover:after,
.woocommerce-tabs p.stars a.star-5.active:after {
  content: "\f005\f005\f005\f005\f005";
}

.woocommerce-tabs h2 {
  font-size: 18px;
}

.woocommerce-tabs .form-submit #submit {
  font-size: 15px;
  padding: 7px 19px;
  border: none;
  border-radius: 36px;
  color: #fff;
  text-transform: uppercase;
  transition: background-color 0.2s ease 0s, border 0.2s ease 0s;
}

.woocommerce-tabs .panel {
	display:table-cell;
	padding: 0em 3em;
	width: 10%;
	min-height:300px;
  position: relative;
  z-index: 9999;
}

div.woocommerce-tabs ul.tabs li {
	display: block !important;
}

.woocommerce-tabs.wc-tabs-wrapper {
	border-bottom: 1px solid #eee;
  padding-top: 30px;
	padding-bottom: 50px;
  position: relative;
}

.woocommerce-tabs.wc-tabs-wrapper:before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    display: block;
    background: #f2f2f2;
    top: 0;
}

.additional_information_tab a::before {
	content: "\f05a" !important;
}

.woocommerce-noreviews {
  font-size: 16px;
  font-weight: 600;
}

.single-product.woocommerce input[type="text"], 
.single-product.woocommerce input[type="email"], 
.single-product.woocommerce textarea {
  border: 1px solid #000;
  border-radius: 36px;
  padding: 7px 19px;
}

/* Related products */

.related {
  padding-bottom: 60px;
}

.related h2,
.upsells h2 {
  font-size: 22px;
  padding-bottom: 13px;
  border-bottom: 1px solid #b2b2b2;
  margin-bottom: 30px;
  margin-top: 50px;
}

.upsells + .related h2 {
  margin-top: 10px;
}

/* Slick */

.slick-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
}

.slick-arrow.slick-prev {
	left: 0;
}

.slick-arrow.slick-next {
	right: 0;
}

.slick-arrow.slick-next svg {
  transform: scaleX(-1);
}

.slick-dots {
  position: absolute;
	bottom: -41px;
	left: 50%;
	transform: translateX(-50%);
  display: flex !important;
}

.slick-dots button {
  width: calc(22 * 100vw / 1920);
  height: calc(22 * 100vw / 1920);
  border-radius: 999999px;
  background: #fff;
  margin: 0 calc(6 * 100vw / 1920);
  cursor: pointer;
  border: 4px solid #616161;
}

.products .slick-dots li {
  height: auto !important;
  margin-bottom: 0 !important;
}

.slick-dots .slick-active button {
  position: relative;
  border-color: rgb(229, 37, 31);
}

.slick-dots .slick-active button:before {
  content: '';
  display: block;
  width: calc(7 * 100vw / 1920);
  height: calc(7 * 100vw / 1920);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: red;
  border-radius: 50%;
}

.slick-dots li:not(:last-child) {
	margin-right: 9px;
}

@media only screen and (min-width: 600px){
  .woocommerce-tabs.wc-tabs-wrapper{
    overflow: unset;
  }
  div.woocommerce-tabs ul.tabs{
    position: absolute;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    transform: translateY(-100%);
  }
  .woocommerce ul.wc-tabs::after{
    display: none;
  }
  div.woocommerce-tabs ul.tabs li a{
    border: 0;
  }
  div.woocommerce-tabs ul.tabs li.active:before{
    display: none;
  }
}

@media ( min-width: 992px ) {

    .variations-radio {
        display: flex;
        flex-wrap: wrap;
    }

    .variations-radio > * {
        flex: 1 1 calc(100% / 3 - 5px);
        max-width: calc(100% / 3 - 5px);
    }

    .quantity-cart-wrap {
        display: flex;
        align-items: flex-start;
    }

    .product-total {
        display: inline-block;
        padding-right: 40px;
        margin-left: 20px;
        flex: auto;
    }

}

@media ( max-width: 991.98px ) {

  .woocommerce-tabs.wc-tabs-wrapper:before {
    z-index: 0;
  }
  .woocommerce-tabs .panel {
    z-index: 1;
  }

  .slick-dots button {
    width: 22px;
    height: 22px;
    margin: 0 calc(3 * 100vw / 570);
  }

  .slick-dots .slick-active button:before {
    width: 7px;
    height: 7px;
  }

}