.certificate-form{
  justify-content: space-between;
}
.category-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    padding:.9rem 1rem;
    margin:0;
    width:100%;
    transition:all .1s ease-in;
    -webkit-transition:all .1s ease-in;
    -moz-transition:all .1s ease-in;
    -ms-transition:all .1s ease-in;
    -o-transition:all .1s ease-in;
    cursor:pointer
}

.categories-list{
  background: #fff;
}
.category-summary .category-title{
  color: #c57922;
  margin: 0;
  text-align: left;
}
/* .modal-content .wrap div.category-accordion:nth-child(1), .modal-content .wrap div.category-accordion:nth-child(2){
  border-top: 1px solid transparent;
} */
.modal-content .wrap div.category-accordion{
  width: calc(50% - .5rem);
  margin: 0 0 .714rem;
}
.modal-content .wrap div.category-accordion.open .category-content{
  display: block!important;
  background: #fbf6ef;
  padding:.9rem 1rem;
  width: calc(200% + 1rem);
  z-index: 2;
position: relative;
}
.modal-content .wrap div.category-accordion.open:nth-child(even) .category-content{
margin-left: calc(-100% - 1rem);
}
/* .modal-content .wrap div.category-accordion:hover {
    color:#fff;
    background:#c57922;
} */
/* .modal-content .wrap div.category-accordion.open .category-summary .category-title, .modal-content .wrap div.category-accordion:hover .category-title{
color: #fff;
} */
/* .modal-content .wrap div.category-accordion.open .category-summary{
  background:#c57922;
} */
.modal-content .wrap div.category-accordion .category-summary .toggle-icon{
width: 1rem;
height: 1rem;
/* margin-right: 1rem; */
transform: rotate(90deg);
fill: #c57922;
transition:all .1s ease-in;
    -webkit-transition:all .1s ease-in;
    -moz-transition:all .1s ease-in;
    -ms-transition:all .1s ease-in;
    -o-transition:all .1s ease-in;
}
.modal-content .wrap div.category-accordion:hover .category-summary .toggle-icon{
  fill: #fff;
  transition:all .1s ease-in;
    -webkit-transition:all .1s ease-in;
    -moz-transition:all .1s ease-in;
    -ms-transition:all .1s ease-in;
    -o-transition:all .1s ease-in;
}
.category-count {
  color: #b0a69a;
  margin: 0;
  text-transform: lowercase;
}
.modal-content .wrap div.category-accordion.open .category-summary .toggle-icon{
transition:all .1s ease-in;
    -webkit-transition:all .1s ease-in;
    -moz-transition:all .1s ease-in;
    -ms-transition:all .1s ease-in;
    -o-transition:all .1s ease-in;
    transform: rotate(180deg);
fill: #fff;
}
.modal-content .wrap div.category-accordion:hover .category-count, .modal-content .wrap div.category-accordion.open .category-count{
  margin: 0;
  color: #fbf6ef;
  font-size: .7;
}

.service-item {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  transition: background 0.15s;
  border: 1px solid rgba(197, 121, 34, 0);
}

/* .service-item:hover {
  background: rgba(197, 121, 34, 0.05);
  border: 1px solid rgba(197, 121, 34, 0.1);
} */
.modal-content .wrap div.category-accordion.open .category-summary, .modal-content .wrap div.category-accordion:hover .category-summary{
    background-color: #c57922;
}
.modal-content .wrap div.category-accordion.open .category-summary .category-title, .modal-content .wrap div.category-accordion:hover .category-title {
  color: #fff;
}
.service-item input[type="checkbox"] {
  position: relative;
  width: 2rem;
  height: 2rem;
  border: 1px solid #871c32;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  margin-top: .2rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.service-item input[type="checkbox"]:checked {
  background: #c57922;
  border-color: #c57922;
}
.service-item:hover input[type="checkbox"]::after {
content: "✓";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #c57922;
font-size: 1rem;
font-weight: bold;
}
.service-item input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1rem;
  font-weight: bold;
}
.service-variants{
  margin-bottom: .5rem;
}
.service-name{
  margin-bottom: .3rem;
  color: #871c32;
}
.service-info {
  flex: 1;
  line-height: 1.5;
  color: #c57922;
}
.service-info small{
  margin-bottom: 0;
  color: #871c32;
}
.service-meta {
  display: block;
  font-size: 0.85em;
  color: #777;
  margin-top: 4px;
}

.total-section {
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.total-section label {
  display: block;
  color: #c57922;
}
.total-amount.changed {
  animation: pulse 0.5s ease-in-out;
}
.categories-list{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-top: 1px solid #c57922;
  border-bottom: 1px solid #c57922;
  padding: .8rem;
}
.certificate-form .error { color: #d32f2f; font-size: 0.875rem; margin-top: 0.25rem; }
.service-item {
  display: flex;
align-items: start;
cursor: pointer;
padding: .8rem;
}
.service-item input[type="checkbox"] {
  width: auto;
}
.service-item:hover input[type="checkbox"]{
  border: 1px solid #c57922;
}

.total-section {
  margin: 1rem 0;
  padding: 1rem;
  background: #fbf6ef;
}
.total-amount {
  font-size: 2.25rem;
  line-height: 3rem;
  margin-bottom: 0;
  font-weight: bold;
  transition: all 0.3s ease;
  color: #871c32;
}
.loader-wrapper {
  margin-top: 20px;
  text-align: center;
}
.spinner {
  border: 1px solid #f3f3f3;
  border-top: 1px solid #c57922;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn[disabled] {
filter: grayscale(.8);
cursor: default;
opacity: .7;
}
#ordersert .modal-content{
  max-width: 80svw;
  width: 100%;
}
#ordersert .modal-content textarea {
  margin: 0 0 .714rem;
  height: calc(100% - .714rem);
}
#ordersert .modal-content .form-group{
  width: calc(50% - 1rem);
}
.services-section h5 {
font-size: 1.214rem;
line-height: 1.5rem;
text-align: left;
margin-top: 2rem;
}