/* Mahdafzar Product Studio 6.6.4.0 — native product Q&A */
body.single-product .mdzps-product-experience .mdzps-qna,
.mdzps-qna {
  --mdz-qna-ink: #202633;
  --mdz-qna-muted: #788293;
  --mdz-qna-line: #e7ebf1;
  --mdz-qna-red: #ed3154;
  --mdz-qna-red-soft: #fff2f5;
  --mdz-qna-green: #13865c;
  display: block;
  width: 100%;
  min-width: 0;
  margin: 16px 0 0;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid var(--mdz-qna-line);
  border-radius: 17px;
  background: #fff;
  color: var(--mdz-qna-ink);
  box-shadow: 0 5px 22px rgba(26, 37, 55, .035);
  font-size: 14px;
  line-height: 1.8;
}
body.single-product .mdzps-product-experience .mdzps-qna *,
.mdzps-qna * { box-sizing: border-box; }
body.single-product .mdzps-product-experience .mdzps-qna [hidden],
.mdzps-qna [hidden] { display: none !important; }

.mdzps-qna__head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin: 0 0 18px;
}
.mdzps-qna__head-icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border: 1px solid #ffdbe3;
  border-radius: 13px;
  background: var(--mdz-qna-red-soft);
  color: var(--mdz-qna-red);
}
.mdzps-qna__head-icon svg { width: 23px; height: 23px; }
.mdzps-qna__head-copy { min-width: 0; flex: 1 1 auto; }
.mdzps-qna__eyebrow {
  display: block;
  margin: 0 0 2px;
  color: #9aa3b1;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.4;
}
.mdzps-qna__head h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  color: var(--mdz-qna-ink);
  font-size: 19px;
  font-weight: 850;
  line-height: 1.6;
}
.mdzps-qna__head h2 small {
  display: inline-grid;
  place-items: center;
  min-width: 25px;
  height: 24px;
  padding: 0 7px;
  border-radius: 8px;
  background: #f2f4f7;
  color: #596477;
  font-size: 11px;
  font-weight: 800;
}
.mdzps-qna__head p { margin: 2px 0 0; color: var(--mdz-qna-muted); font-size: 11px; line-height: 1.8; }

.mdzps-qna__notice {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #d9eee4;
  border-radius: 11px;
  background: #f2fbf6;
  color: #176e4d;
  font-size: 12px;
  line-height: 1.8;
}
.mdzps-qna__notice.is-error { border-color: #ffdce2; background: #fff5f6; color: #b51f3d; }

.mdzps-qna__ask {
  margin: 0 0 16px;
  padding: 15px;
  border: 1px solid #edf0f4;
  border-radius: 14px;
  background: linear-gradient(135deg, #fbfcfe 0%, #fff7f8 100%);
}
.mdzps-qna__ask-copy { display: flex; align-items: center; gap: 10px; min-width: 0; margin-bottom: 12px; }
.mdzps-qna__ask-icon {
  display: grid;
  place-items: center;
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #f7dfe4;
  color: var(--mdz-qna-red);
  font-size: 20px;
  font-weight: 800;
}
.mdzps-qna__ask-copy > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mdzps-qna__ask-copy strong { color: #242a36; font-size: 13px; font-weight: 850; line-height: 1.8; }
.mdzps-qna__ask-copy span:not(.mdzps-qna__ask-icon) { color: var(--mdz-qna-muted); font-size: 11px; line-height: 1.8; }
.mdzps-qna__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0; }
.mdzps-qna__input-label { color: #414b5b; font-size: 11px; font-weight: 800; }
.mdzps-qna__form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 94px;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid #dfe4eb;
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: var(--mdz-qna-ink);
  font: inherit;
  font-size: 13px;
  line-height: 1.9;
  resize: vertical;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.mdzps-qna__form textarea:focus { border-color: #f08ba0; box-shadow: 0 0 0 3px rgba(237,49,84,.09); }
.mdzps-qna__form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mdzps-qna__form-foot small { color: #929baa; font-size: 10px; line-height: 1.7; }
.mdzps-qna__form-foot button,
.mdzps-qna__login a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid var(--mdz-qna-red);
  border-radius: 10px;
  background: var(--mdz-qna-red);
  color: #fff !important;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 5px 12px rgba(237,49,84,.13);
}
.mdzps-qna__form-foot button:hover,
.mdzps-qna__login a:hover { background: #d92749; border-color: #d92749; }
.mdzps-qna__login { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mdzps-qna__login > span { color: #6e7888; font-size: 11px; line-height: 1.8; }
.mdzps-qna__honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }

.mdzps-qna__tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.mdzps-qna__search {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1 1 320px;
  min-width: 0;
  max-width: 540px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #e3e8ef;
  border-radius: 11px;
  background: #fff;
  color: #8c96a6;
}
.mdzps-qna__search svg { flex: 0 0 19px; width: 19px; height: 19px; }
.mdzps-qna__search input {
  width: 100%;
  min-width: 0;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  color: var(--mdz-qna-ink);
  font: inherit;
  font-size: 12px;
}
.mdzps-qna__search input:focus { outline: 0; box-shadow: none; }
.mdzps-qna__stats { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; flex: 0 0 auto; color: #687487; font-size: 10px; }
.mdzps-qna__stats span { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 9px; border: 1px solid #edf0f4; border-radius: 8px; background: #f8f9fb; }
.mdzps-qna__stats .is-answered { border-color: #d9efe4; background: #f0faf5; color: var(--mdz-qna-green); }
.mdzps-qna__result-count { flex-basis: 100%; color: #8b95a4; font-size: 10px; text-align: left; }

.mdzps-qna__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mdzps-qna__item { min-width: 0; margin: 0; padding: 0; border: 1px solid #e8ecf2; border-radius: 12px; background: #fff; overflow: hidden; }
.mdzps-qna__item details { margin: 0; }
.mdzps-qna__item summary {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) auto 18px;
  grid-template-areas: "icon main state chev";
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 70px;
  padding: 12px 14px;
  list-style: none;
  cursor: pointer;
  touch-action: manipulation;
}
.mdzps-qna__item summary::-webkit-details-marker { display: none; }
.mdzps-qna__item-icon { grid-area: icon; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #e7ebf1; border-radius: 10px; background: #f8f9fb; color: #657185; }
.mdzps-qna__item-icon svg { width: 19px; height: 19px; }
.mdzps-qna__item-main { grid-area: main; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mdzps-qna__question { color: #252c39; font-size: 12px; font-weight: 800; line-height: 1.9; overflow-wrap: anywhere; }
.mdzps-qna__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 9px; color: #8c96a5; font-size: 10px; line-height: 1.7; }
.mdzps-qna__meta time { direction: rtl; }
.mdzps-qna__state { grid-area: state; display: inline-flex; align-items: center; justify-content: center; min-height: 26px; padding: 3px 8px; border: 1px solid #f0e3c9; border-radius: 7px; background: #fffaf0; color: #9b6b17; font-size: 9px; font-weight: 800; white-space: nowrap; }
.mdzps-qna__state.is-answered { border-color: #d7eee3; background: #f0faf5; color: var(--mdz-qna-green); }
.mdzps-qna__chevron { grid-area: chev; display: grid; place-items: center; color: #8b95a4; font-size: 22px; line-height: 1; transition: transform .18s ease; }
.mdzps-qna__item details[open] .mdzps-qna__chevron { transform: rotate(180deg); }
.mdzps-qna__answer { margin: 0 12px 12px 58px; padding: 13px 14px; border: 1px solid #e1eee7; border-radius: 10px; background: #f7fcf9; }
.mdzps-qna__answer-head { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 0 0 8px; color: #1c684b; font-size: 11px; }
.mdzps-qna__answer-icon { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 7px; background: #e2f5eb; color: var(--mdz-qna-green); font-weight: 900; }
.mdzps-qna__staff-badge { display: inline-flex; align-items: center; min-height: 22px; padding: 2px 7px; border-radius: 6px; background: #e5f6ed; color: #13784f; font-size: 9px; font-weight: 800; }
.mdzps-qna__answer-text { color: #465265; font-size: 12px; line-height: 2; overflow-wrap: anywhere; white-space: normal; }
.mdzps-qna__pending { margin: 0; color: #7d8795; font-size: 11px; line-height: 1.9; }
.mdzps-qna__none { margin: 8px 0 0; padding: 14px; border: 1px dashed #e2e7ee; border-radius: 10px; background: #fafbfd; color: #737e8e; font-size: 12px; text-align: center; }
.mdzps-qna__more { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 42px; margin: 12px 0 0; padding: 8px 12px; border: 1px solid #e3e8ef; border-radius: 10px; background: #fff; color: #3e4858; font: inherit; font-size: 11px; font-weight: 850; cursor: pointer; }
.mdzps-qna__more:hover { border-color: #f1a0b0; background: #fff7f8; color: var(--mdz-qna-red); }
.mdzps-qna__empty { display: grid; justify-items: center; gap: 5px; padding: 22px 12px; border: 1px dashed #e0e6ed; border-radius: 12px; background: #fafbfd; text-align: center; }
.mdzps-qna__empty > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--mdz-qna-red-soft); color: var(--mdz-qna-red); }
.mdzps-qna__empty strong { color: #3b4554; font-size: 12px; }
.mdzps-qna__empty p { max-width: 480px; margin: 0; color: #8993a1; font-size: 11px; line-height: 1.8; }

@media (max-width: 767.98px) {
  body.single-product .mdzps-product-experience .mdzps-qna,
  .mdzps-qna {
    margin: 0;
    padding: 13px 12px 14px;
    border: 0;
    border-top: 7px solid #f4f6f8;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
    font-size: 13px;
  }
  .mdzps-qna__head { gap: 9px; margin-bottom: 13px; }
  .mdzps-qna__head-icon { flex-basis: 39px; width: 39px; height: 39px; border-radius: 11px; }
  .mdzps-qna__head-icon svg { width: 21px; height: 21px; }
  .mdzps-qna__head h2 { gap: 7px; font-size: 17px; }
  .mdzps-qna__head h2 small { min-width: 23px; height: 22px; font-size: 10px; }
  .mdzps-qna__head p { font-size: 10px; }
  .mdzps-qna__ask { margin-bottom: 12px; padding: 11px; border-radius: 12px; }
  .mdzps-qna__ask-copy { align-items: flex-start; gap: 8px; margin-bottom: 10px; }
  .mdzps-qna__ask-icon { flex-basis: 31px; width: 31px; height: 31px; font-size: 18px; }
  .mdzps-qna__ask-copy strong { font-size: 12px; }
  .mdzps-qna__ask-copy span:not(.mdzps-qna__ask-icon) { font-size: 10px; }
  .mdzps-qna__form { gap: 7px; }
  .mdzps-qna__form textarea { min-height: 86px; padding: 10px; border-radius: 9px; font-size: 16px; }
  .mdzps-qna__form-foot { align-items: stretch; flex-direction: column; gap: 8px; }
  .mdzps-qna__form-foot small { font-size: 9px; }
  .mdzps-qna__form-foot button,
  .mdzps-qna__login a { width: 100%; min-height: 45px; border-radius: 10px; font-size: 12px; }
  .mdzps-qna__login { align-items: stretch; flex-direction: column; gap: 9px; }
  .mdzps-qna__login > span { font-size: 10px; }
  .mdzps-qna__tools { align-items: stretch; flex-direction: column; gap: 8px; margin-bottom: 9px; }
  .mdzps-qna__search { flex: 0 0 auto; width: 100%; max-width: none; min-height: 44px; border-radius: 10px; }
  .mdzps-qna__search input { height: 42px; font-size: 16px; }
  .mdzps-qna__stats { justify-content: flex-start; gap: 5px; }
  .mdzps-qna__stats span { min-height: 25px; padding: 3px 7px; font-size: 9px; }
  .mdzps-qna__result-count { margin-inline-start: auto; flex-basis: auto; align-self: center; font-size: 9px; }
  .mdzps-qna__list { gap: 7px; }
  .mdzps-qna__item { border-radius: 11px; }
  .mdzps-qna__item summary {
    grid-template-columns: 29px minmax(0,1fr) 16px;
    grid-template-areas: "icon main chev" "icon state chev";
    gap: 3px 8px;
    min-height: 68px;
    padding: 10px;
  }
  .mdzps-qna__item-icon { width: 29px; height: 29px; border-radius: 9px; }
  .mdzps-qna__item-icon svg { width: 17px; height: 17px; }
  .mdzps-qna__question { font-size: 11px; line-height: 1.9; }
  .mdzps-qna__meta { gap: 3px 7px; font-size: 9px; }
  .mdzps-qna__state { justify-self: start; min-height: 22px; margin-top: 3px; padding: 2px 7px; font-size: 9px; }
  .mdzps-qna__chevron { font-size: 20px; }
  .mdzps-qna__answer { margin: 0 9px 9px; padding: 10px; border-radius: 9px; }
  .mdzps-qna__answer-head { gap: 6px; margin-bottom: 6px; font-size: 10px; }
  .mdzps-qna__answer-icon { width: 21px; height: 21px; }
  .mdzps-qna__answer-text { font-size: 11px; line-height: 1.95; }
  .mdzps-qna__pending { font-size: 10px; }
  .mdzps-qna__more { min-height: 43px; margin-top: 9px; font-size: 11px; }
  .mdzps-qna__empty { padding: 17px 9px; }
  .mdzps-qna__empty strong { font-size: 11px; }
  .mdzps-qna__empty p { font-size: 10px; }
}
@media (max-width: 380px) {
  .mdzps-qna__head h2 { font-size: 16px; }
  .mdzps-qna__item summary { padding: 9px; gap: 3px 7px; }
  .mdzps-qna__question { font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .mdzps-qna * { transition: none !important; scroll-behavior: auto !important; }
}
