.elementor-41 .elementor-element.elementor-element-utalg80{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;padding:0px 0px 0px 0px;}.elementor-41 .elementor-element.elementor-element-utalg80 > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-41 .elementor-element.elementor-element-92533c3{--spacer-size:125px;}.elementor-41 .elementor-element.elementor-element-08xex4q.elementor-element{--align-self:center;}.elementor-41 .elementor-element.elementor-element-08xex4q > .elementor-widget-container{border-style:none;}.elementor-41 .elementor-element.elementor-element-08xex4q:hover .elementor-widget-container{border-style:none;}.elementor-41 .elementor-element.elementor-element-4023796{--spacer-size:125px;}/* Start custom CSS for case27-explore-widget, class: .elementor-element-08xex4q */.cts-term-hierarchy.form-group.md-group.tpl-default label {
    color: black;
    display: inline;
    margin-top: -30px;
}
.form-group.explore-filter.wp-search-filter.md-group input {
    border: 1px solid #AAAAAA;
    border-radius: 7px;
    margin-bottom: 30px;
    margin-top: 60px;
}
.form-group.explore-filter.wp-search-filter.md-group input:focus + label {
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    transition: 0.2s ease;
    pointer-events: none;
    font-size: 14px;
    right: 0;
    color: #232328;

    /* برای جلوگیری از وراثت یا اعمال استایل‌های قبلی */
    animation: none !important;
}
.form-group.explore-filter.wp-search-filter.md-group label {
    margin-top: -7px;
    
}
.select2-selection.select2-selection--single .select2-selection__rendered {
    margin-top: -16px;
}

.md-group input:focus ~ label,
.md-group input:required:valid ~ label,
.md-group select:required:valid ~ label,
.md-group select[multiple] ~ .select2-container--focus ~ label {
    top: 10px;
    transform: none;
    font-size: 14px;
    color: black;
    display: inline;
    margin-top: -30px;
}
.md-group input:focus~label, .md-group input:required:valid~label, .md-group select:required:valid~label, .md-group select[multiple]~.select2-container--focus~label{
        top: 10px !important;
    transform: none;
    font-size: 14px;
}
.select2-selection__clear{
    display: none !important;
}






/* نمایش کامل فرم و اجزای داخلی */
.form-group.explore-filter.orderby-filter.md-group {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
  position: relative; /* برای موقعیت‌گذاری label */
    margin-top: 30px;
  margin-bottom: 30px;
}

/* نمایش select2 container */
.select2-container {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
}

/* برگرداندن حالت label به نمایان */
.form-group.explore-filter.orderby-filter.md-group label {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-bottom: -10px; /* برای درخواست قبلی شما */
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.2s ease;
  pointer-events: none;
  font-size: 14px;
  color: #232328;
}

/* وقتی input/select فوکوس شد یا مقدار داشت، label بالا بره */
.md-group input:focus ~ label,
.md-group input:required:valid ~ label,
.md-group select:required:valid ~ label,
.md-group select[multiple] ~ .select2-container--focus ~ label {
  top: 10px !important;
  transform: none !important;
  font-size: 14px !important;
  color: black !important;
  margin-top: -30px !important;
}
.select2-selection__rendered{
    border: none !important;
}

.form-group.explore-filter.wp-search-filter.md-group input:focus + label{
    top: 70px !important;
}/* End custom CSS */