body {
  background: #fafafa;
}

h1.pagetitle_product {
  font-size: 1.3rem;
  font-weight: bold;
}

/*Начало теги в карточке товара*/
.flag {
  display: flex;
  position: absolute;
  flex-wrap: inherit;
  justify-content: start;
  margin-top: 15px;
  margin-left: 15px;
}
.tag_product {
  display: block;
  float: left;
  width: 80px;
  height: 35px;
  line-height: 32px;
  border-radius: 35px;
  text-align: center;
  font-size: 1rem;
  margin-right: 10px;
  letter-spacing: 0.5px;
  z-index: 1;
}
.tag_product span {
  position: relative;
  z-index: 100;
  font-weight: 600;
}
.tag_product.popular {
  text-transform: uppercase;
  background: #ff7a00;
  color: #fff;
}
.tag_product.new {
  text-transform: uppercase;
  background: #00bc3d;
  color: #fff;
  width: 132px;
}

.tag_product.utsenka {
  text-transform: uppercase;
  background: #df0d00;
  width: 100px;
  color: #fff;
}

.tag_product.sale {
  background-image: url(../icons/sale.svg);
  color: #fff;
  width: 98px;
  display: block;
  height: 35px;
  z-index: 1;
  border-radius: 2px;
}
.tag_product.sale span {
  margin-left: -15px;
}
/*Конец теги в карточке товара*/

span.conf {
  font-size: 0.7rem;
  display: block;
  margin-top: -21px;
  margin-left: 17px;
}

.sidebar-card-widget {
  background: #f2f2f2;
  border-radius: 5px;
  padding: 25px;
}

.sidebar-card-widget_cart_title {
  font-size: 18px;
  font-weight: 700;
  line-height: 25px;
  letter-spacing: 0em;
  text-align: center;
  color: #5a5a5a;
}

.sidebar-card-widget_cart_number_product {
  margin-top: 15px;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0em;
  text-align: center;
  color: #5a5a5a;
}

.sidebar-card-widget_cart_price_product {
  margin-top: 15px;
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 25px;
  text-align: center;
  color: #c30000;
}

.sidebar-card-widget_cart_buy_one_click {
  margin-top: 15px;
  text-align: center;
}

.sidebar-card-widget_cart_buy_one_click button {
  padding: 8px 36px;
  margin-bottom: 0rem;
  color: #e80000;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 15px;
  border: 1px solid #e80000;
  border-radius: 5px;
  text-align: center;
  background: transparent;
}

.sidebar-card-widget_cart_rassrochka_click {
  margin-top: 18px;
  border-radius: 5px;
  text-align: center;
}

.sidebar-card-widget_cart_rassrochka_click a {
  padding: 10px 73px;
  background: #ffdd2d;
  border-radius: 5px;
  color: #282828;
  font-weight: 400;
  font-size: 0.9rem;
  transition: 0.5s;
}

.sidebar-card-widget_cart_rassrochka_click a:hover {
  background: #e80000;
  color: #fff;
  text-decoration: none;
}

ul.item_preim_cart {
  margin-top: 30px;
  font-weight: 400;
  font-size: 0.8rem;
  line-height: 2;
}

ul.item_preim_cart li.item a {
  color: #222;
}

.imgOne {
  border: 1px solid #e80000;
  border-radius: 5px;
  padding: 5px;
}

.product-item-holder {
  margin-bottom: 35px;
}
.fotorama__stage__frame,
.fotorama__thumb {
  border: 1px solid #e80000;
  border-radius: 5px;
}
.fotorama__stage {
  margin-bottom: 12px;
}

.detail-block {
  overflow: hidden;
}

.single-product .product-info .price-container .price-box {
  background: #f2f2f2;
  border-radius: 5px;
  padding: 20px;
}

.single-product .product-info .price-container .price-box .price {
  color: #e80000;
}

.price_inner {
  border-bottom: 1px dotted #5a5a5a;
  line-height: 30px;
  font-size: 1.12rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}

.price_inner.noPrice {
  border-bottom: none;
}

.price_inner .left,
.price_inner .right {
  background: #f2f2f2 none repeat scroll 0 0;
  margin: 0 0 -5px;
  padding: 0 5px 0 0;
}

.product_price_discont {
  margin-top: 15px;
  font-weight: 600;
}

.stock-box {
  margin-top: 22px;
}

.stock_box_title,
.vendor_box_title,
.volume_product {
  font-size: 1rem;
  font-weight: 600;
}
.stock_box_title svg {
  margin-top: -4px;
}
.volume_product {
  margin-top: 22px;
}

.product_param {
  margin-top: 22px;
}

.product_param_wrapper {
  display: flex;
  margin-bottom: 20px;
}

.product_name_param {
  width: 15%;
  margin-right: 20px;
}

.product_value_param a {
  border: 2px solid #d3d3d3;
  padding: 1px 15px;
  color: #5a5a5a;
  font-weight: 400;
  font-size: 1rem;
  display: inline-flex;
  margin-bottom: 5px;
}

.product_value_param a:hover {
  background: #ffffff;
  border: 2px solid #e80000;
  transition: 0.5s;
}

.cart_product3 {
  width: 180px;
  height: 50px;
  border-radius: 5px;
  font-size: 1.12rem;
  font-weight: 600;
}

.cart-product-quantity_product .quantity .minus,
.cart-product-quantity_product .quantity .plus,
.cart-product-quantity_product .quantity .qty {
  display: block;
  float: left;
  border-radius: 1px;
  cursor: pointer;
  border: 0;
  padding: 2px 0px;
  color: #fff;
  width: 50px;
  background: #e80000;
  height: 50px;
  line-height: 20px;
  text-align: center;
  font-size: 20px;
  margin: 0px 4px 5px 4px;
}

.cart-product-quantity_product .quantity .qty {
  font-weight: 600;
  font-size: 18px;
  color: #5a5a5a;
  background: #eee;
}

.single-product .product-info .quantity-container {
  margin-bottom: 0;
  padding: 20px 0;
  display: flex;
}

.single-product .product-info .quantity-container .cart-quantity .quant-input {
  display: inline-block;
  height: 35px;
  position: relative;
  width: 70px;
}

.single-product
  .product-info
  .quantity-container
  .cart-quantity
  .quant-input
  input {
  background: none repeat scroll 0 0 #fff;
  border: 1px solid #f2f2f2;
  box-sizing: border-box;
  font-size: 15px;
  height: 35px;
  left: 0;
  padding: 0 10px 0 10px;
  position: absolute;
  top: 0;
  width: 70px;
  z-index: 1;
}

.product-tabs .nav-tabs {
  margin-top: 30px;
  justify-content: space-around;
  padding: 20px;
  background: #f2f2f2;
}

.nav-tabs {
  border-bottom: transparent;
}

.nav-tabs .nav-link {
  float: left;
  display: block;
  color: #212529;
  text-align: center;
  padding: 0px 10px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.12rem;
  font-weight: 400;
  border-bottom: 3px solid transparent;
}

.nav-tabs .nav-link:hover {
  border-bottom: 3px solid #e80000;
  font-size: 1.12rem;
  background-color: transparent;
  border-color: #f2f2f2 #f2f2f2 #e80000;
}

.nav-tabs .nav-link.active {
  border-bottom: 3px solid #e80000;
  font-size: 1.12rem;
  font-weight: 700;
  background-color: transparent;
  border-color: #f2f2f2 #f2f2f2 #e80000;
}

.tab-content {
  margin-top: 30px;
}

.table-bordered,
.table-bordered td,
.table-bordered th {
  border: none;
}

table {
  caption-side: bottom;
  border-collapse: collapse;
  width: 100%;
  max-width: 100%;
}

.table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

.table-bordered td,
.table-bordered th {
  border-bottom: 1px solid #e3e3e3;
  padding: 10px 10px 10px 20px;
}

@media (min-width: 992px) {
  table {
    overflow-x: hidden;
  }
}
.download {
  padding: 37px 0px;
  border-bottom: 1px solid #e3e3e3;
}
.download_inner {
  display: flex;
  height: 100%;
  justify-content: center;
}
.download_inner_2 {
  justify-content: center;
  -ms-flex-item-align: center !important;
  align-self: center !important;
}

.watch_link {
  color: #3e3e3e;
  text-decoration: none;
}

a.watch {
  margin-right: 23px;
}

a.watch i {
  background: #dbdbdb;
  width: 40px;
  border-radius: 40px;
  height: 40px;
  text-align: center;
  line-height: 38px;
  font-size: 1rem;
  color: #ffffff;
  transition: 0.5s;
}

a.watch i:hover {
  background: #e80000;
}

.modal-dialog {
  max-width: 760px;
  margin: 1.75rem auto;
}

.accordion_container {
  display: none;
}
@media (max-width: 768px) {
  .product-tabs .nav-tabs {
    display: none;
  }

  .fade:not(.show) {
    opacity: 1;
  }
  .accordion_container {
    display: block;
    justify-content: space-around;
    padding: 10px 20px 15px 20px;
    background: #f2f2f2;
  }
  .tab-content .accordion_container:not(:first-child) {
    padding: 0px 20px 15px 20px;
  }
  .tab_accordion {
    width: 100%;
    border-bottom: 2px solid #d2d2d2;
    padding: 5px 25px 38px 25px;
  }
  .tab_accordion span {
    float: left;
    display: block;
    color: #212529;
    text-align: center;
    padding: 0px 10px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.12rem;
    font-weight: 400;
    border-bottom: 3px solid transparent;
  }
  .tab_accordion span.active {
    border-bottom: 3px solid #e80000;
    font-size: 1.12rem;
    font-weight: 700;
    background-color: transparent;
    border-color: #f2f2f2 #f2f2f2 #e80000;
  }
  #param,
  #doc {
    display: none;
  }

  .tag_product.new {
    left: 108px;
  }

  .single-product .product-info .quantity-container .cart-quantity {
    width: 100%;
  }
  .single-product .product-info .quantity-container {
    display: block;
    margin-bottom: 0;
    padding: 20px 0;
    text-align: center;
  }

  .sidebar-card-widget {
    padding: 25px 35px;
  }
  .cart_product3 {
    width: 240px;
    height: 50px;
    border-radius: 5px;
    margin-top: 25px;
    margin-left: 0px;
    font-size: 1.5rem;
    font-weight: 600;
  }
  .sidebar-card-widget_cart_buy_one_click button {
    padding: 8px 35px;
    width: 100%;
  }
  .sidebar-card-widget_cart_rassrochka_click a {
    padding: 10px 100px;
  }

  .product-tabs .nav li.nav-item {
    width: 100%;
    border-bottom: 2px solid #d2d2d2;
    padding: 22px 25px;
  }
  .download {
    padding: 15px 0px;
  }

  .price-box_modal {
    margin: 15px 0;
  }
  span.conf {
    margin-top: -19px;
  }
}

@media (min-width: 768px) {
  .modal-dialog {
    width: 720px;
    margin: 30px auto;
    top: 8%;
  }
}
.modal-body,
.modal-footer {
  background: #f2f2f2;
}
