.b-bestprice {
  position: relative;
  max-width: 510px;
}
.b-bestprice__loading {
  display: none;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.5) url("../img/loading.svg") no-repeat center center;
}
.b-bestprice__success {
  font-size: 120%;
  color: darkgreen;
  margin: 30px 0;
  text-align: center;
}
.b-bestprice__page {
  overflow: hidden;
}
.b-bestprice__page_image {
  float: left;
  margin-right: 15px;
  max-width: 48px;
  max-height: 48px;
}
.b-bestprice__phone_error {
  display: none;
}
.b-bestprice__wrapper {
  margin-bottom: 20px;
}
.b-bestprice .wa-value input[type="text"],
.b-bestprice .wa-value input[type="email"] {
  max-width: none;
}
.b-bestprice .wa-value textarea {
  max-width: none;
  min-height: 4em;
  resize: vertical;
}
.b-bestprice__supreme {
  margin: 10px auto;
  background: #FFF;
  padding: 30px 40px;
  position: relative;
  max-width: 510px;
  border-radius: 5px;
}
.b-bestprice__supreme h2{
  
}
@media (max-width: 479px) {
  .b-bestprice__supreme {
    padding: 40px 5px 10px 5px;
  }
}
.b-bestprice__pretext {
	margin-bottom: 20px;
    background: #fff8db;
    border: 1px solid #f2f2f2;
    border-radius: 5px;
    padding: 19px;
    transition: box-shadow .2s ease-in-out;
}
.b-bestprice .c-modal__header{
      margin-bottom: 15px;
}
.b-bestprice .wa-field{
  display: block;
  margin-top: 15px;
}
.b-bestprice .wa-name{
	display: table-cell;
    vertical-align: middle;
  width: 60px;
}
.b-bestprice .wa-value{
	display: table-cell;
    vertical-align: middle;
}
.b-bestprice .wa-textarea-field{
  
}
.b-bestprice .wa-textarea-value{
  
}
.b-bestprice .wa-textarea-value textarea{
    vertical-align: top;
    background: #fff;
    border: 1px solid #f2f2f2;
    border-radius: 4px;
    padding: 8px 15px;
    height: 100px;
    max-width: 100%;
    outline: 0;
    resize: vertical;
    width: 100%;
}

.b-bestprice .wa-value input[type="text"],
.b-bestprice .wa-value input[type="email"]{
	max-width: 100%;
    line-height: 1.2;
    padding: 8px 14px 9px;
    font-size: 14px;
    vertical-align: top;
    border: 1px solid #f2f2f2;
    border-radius: 4px;
    outline: 0;
    background: #fff;
}
.fancybox-wrap .b-bestprice {
  padding: 15px 15px 5px 15px;
}
@media (max-width: 479px) {
  .fancybox-wrap .b-bestprice {
    padding: 5px 5px 5px 5px;
  }
}
.mfp-wrap .b-bestprice__success {
  margin: 0 0 30px 0;
}
.b-buy__line_price .b-bestprice__wrapper,
.b-modal__block .b-bestprice__wrapper {
  margin-top: 15px;
}
@media (min-width: 736px) {
  .b-buy__line_price .b-bestprice__wrapper,
  .b-modal__block .b-bestprice__wrapper {
    text-align: right;
  }
}
.b-bestprice--pro_land .b-bestprice__pretext,
.b-bestprice--pro_land1 .b-bestprice__pretext,
.b-bestprice--pro_land2 .b-bestprice__pretext {
  padding-right: 20px;
}
.b-bestprice--your_shop,
.b-bestprice--your_shop1,
.b-bestprice--your_shop2 {
  max-width: 400px;
}
.b-bestprice--topshop,
.b-bestprice--topshop1,
.b-bestprice--topshop2 {
  max-width: 470px;
}
.b-bestprice--topshop.wa-form .wa-field .wa-value textarea,
.b-bestprice--topshop1.wa-form .wa-field .wa-value textarea,
.b-bestprice--topshop2.wa-form .wa-field .wa-value textarea {
  min-width: 260px;
}
.b-bestprice--prostore.wa-form .wa-field,
.b-bestprice--prostore1.wa-form .wa-field,
.b-bestprice--prostore2.wa-form .wa-field {
  margin-bottom: 15px;
}