body .wp-admin {
  overflow-y: auto !important;
}
@media screen and (min-width: 576px) {
  .front-page-header .main-top-header {
    margin-bottom: 235px !important;
  }
}
.stars {
  position: relative;
}
.stars .block-description-stars {
  font-size: 14px;
  margin: 15px 0;
  line-height: 20px;
  text-align: center;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 5px;
  white-space: nowrap;
  color: #212529;
}
.sp-slide {
  position: relative;
}
#slider-category .sp-slide {
  min-height: 0 !important;
}
.img-caption {
  position: absolute;
  bottom: 0;
  left: 40px;
  width: calc(100% - 370px);
  background: rgba(255,255,255,0.4);
  padding: 25px 15px 25px 15px;
  border-radius: 0 0 30px 30px;
}
@media screen and (max-width: 1199px) {
  .img-caption {
    left: 40px;
    width: calc(100% - 80px);
  }
}
@media screen and (max-width: 991px) {
  .img-caption {
    left: 36px;
    width: calc(100% - 72px);
  }
}
@media screen and (max-width: 767px) {
  .img-caption {
    left: 0;
    width: 100%;
    padding: 18px 10px 15px 10px;
    border-radius: 0 0 8px 8px;
  }
}
#slider-category .sp-mask {
  min-height: 29.5rem;
}
@media screen and (max-width: 1199px) {
  #slider-category .sp-mask {
    min-height: 0;
  }
}
.custom-price {
  align-items: center;
}
.custom-price span:last-child {
  text-align: right;
}
.custom-price a {
  padding: 15px 20px;
  border-radius: 33px;
  max-width: 260px;
  width: 100%;
  display: inline-block;
}
.category-extra-content .custom-price {
  margin-top: 20px;
  max-width: 686px;
  width: 100%;
  margin-left: auto;
}
@media screen and (max-width: 1199px) {
  .category-extra-content .custom-price {
    max-width: 600px;
    margin: 20px auto 0 auto;
  }
}


#work-category {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-top: 0px;
 }
#work-category:before {
   display: none;
 }
#work-category .work-category-select {
  order: -1;
  width: 100px;
  border-bottom: 10px solid black; 
 }

 


/* Стили для группы политики конфиденциальности */
.privacy-policy-group {
  margin: 00px auto 0 auto;
  justify-content: center;
  text-align: left;
  display: flex;
  align-items: center;
  padding: 0px !important;
  cursor: pointer;
}

.privacy-policy-group input[type="checkbox"] {
  width: 20px !important;
  height: 20px !important;
  padding: 0 !important;
  margin: 0 !important;
  margin-right: 10px !important;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 2px solid #ef1212;
  border-radius: 4px !important;
  position: relative;
  transition: all 0.2s ease; 
}

.privacy-policy-group input[type="checkbox"]:checked {
  background-color: #007bff;
  border-color: #007bff;
}
.privacy-policy-group p {
  display: flex;
  align-items: center;
}
.privacy-policy-group input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTAgM0w0IDlMMiA3IiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.privacy-label {
  position: relative !important;
  cursor: pointer;
  text-transform: none !important;
  font-size: 13px !important;
  line-height: 100% !important;
  width: fit-content !important;
  color: #222 !important;
}
.form-sms form {
  flex-wrap: wrap;
}
.privacy-label a {
  color: #007bff;
  text-decoration: underline;
}

.privacy-label a:hover {
  text-decoration: none;
}

/* Стили для заблокированной кнопки */
button[disabled], input[type="submit"][disabled] {
  opacity: 0.6; 
  cursor: not-allowed;
  box-shadow: none !important;
}    


#wpcf7-f4335-o4 .wpcf7-spinner {
  position: absolute;
  bottom: 28px;
  left: auto;
  right: 10px;
  margin: auto;
}

#wpcf7-f4335-o4 .wpcf7-form > p {
 margin-bottom: 8px;
}