html, body, input, textarea, select, button {
  font-family: 'IRANSansXV', sans-serif;
  font-feature-settings: "ss01" 1, "salt" 1, "locl" 1;
}

.pd-wrap{
  position: relative;
  display: inline-block;
  direction: rtl;
  font-family: inherit;
}

textarea#form-field-message {
    height: 70px;
}

.elementor-field-group .elementor-field-textual:focus {
    box-shadow: none!important;
}

.elementor-form .elementor-button-content-wrapper, .elementor-form .elementor-button>span {
    flex-direction: row-reverse;
}


.elms_center.header_2_center {
    flex-basis: 40%;
}

.pd-trigger{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 16px;
  font-size:14px;
  border-radius: clamp(12px, 1.2vw, 18px);
  background: #e8f5f6;
  cursor: pointer;
  color: #1f6f7a;
}

button.pd-trigger i {
    font-size: 18px;
}

[data-count]:after {
    font-family: 'IRANSansXV';
}

.pd-trigger .pd-text{ line-height: 1; }

.pd-trigger .pd-caret{
  margin-right: .25rem;
  transition: transform .18s ease;
  font-size: 12px;
}

a.pd-item.pd-item--icon i {
  font-size: 12px;
}

.pd-wrap.is-open .pd-trigger .pd-caret{
  transform: rotate(180deg);
}

/* ✅ Dropdown with animation (no display:none) */
.pd-menu{
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 90%;
  padding: 8px;
  border-radius: clamp(12px, 1.2vw, 18px);
  background: #fff;
  box-shadow: 0 7px 26px -8px #1f6f7a29;
  z-index: 9999;

  /* closed state */
  opacity: 0;
  transform: translateY(-6px);
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;

  transition:
    opacity .18s ease,
    transform .18s ease,
    max-height .22s ease,
    visibility 0s linear .22s; /* hide after close animation */
  will-change: opacity, transform, max-height;
}

.pd-wrap.is-open .pd-menu{
  opacity: 1;
  transform: translateY(0);
  max-height: 260px; /* اگر آیتم‌ها بیشتر شد افزایش بده */
  pointer-events: auto;
  visibility: visible;

  transition:
    opacity .18s ease,
    transform .18s ease,
    max-height .22s ease,
    visibility 0s; /* show instantly */
}

.pd-item{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .55rem;
  padding: 4px 12px;
  border-radius: clamp(12px, 1.2vw, 18px);
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
  font-size: 14px;
}

.pd-item:hover{
  background: #e9f6f7;
  color: #1f6f7a;
}

.pd-item--icon{
  justify-content: space-between;
}

.pd-item--icon > span{
  flex: 1;
}

/* .pd-wrap:hover .pd-menu{
  opacity: 1;
  transform: translateY(0);
  max-height: 260px;
  pointer-events: auto;
  visibility: visible;
  transition:
    opacity .18s ease,
    transform .18s ease,
    max-height .22s ease,
    visibility 0s;
}
.pd-wrap:hover .pd-trigger .pd-caret{ transform: rotate(180deg); }
 */



