/* ── DreamArt More Text ── */

.dreamart_text_more{
  background: #EECE4B1A;
  padding: 60px 0;

  @media (max-width: 576px) {
    padding: 40px 30px;
  }

  h2 {
    font-size: 26px;
    margin-bottom: 25px;
    font-weight: 700;
  }

}

.damt-wrapper {
  padding: 1.25rem 1.5rem 1rem;
}

.damt-text,
.damt-more {
	font-family: Jost;
	font-weight: 400;
	font-size: 16px;
	line-height: 26px;
}

/* More section – collapsed by default */
.damt-more {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.damt-wrapper.damt-open .damt-more {
  max-height: 9999px;
}

.damt-more[aria-hidden="false"] {
  /* fallback for non-JS (aria toggled by JS) */
}

/* Toggle button */
.damt-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.75rem;
  padding: 0;
  background: transparent;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: inherit;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.damt-toggle:hover {
  opacity: 1;
}

/* Chevron icon */
.damt-chevron {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  transition: transform 0.3s ease;
  margin-top: 1px;
}

.damt-wrapper.damt-open .damt-chevron {
  transform: rotate(180deg);
}

/* ── FAQ: rozwijane pytania (<details>) ── */
.damt-faq {
  padding: 0 1.5rem;
  margin-top: 2.5rem;
}

.damt-faq__intro h2 {
  margin-bottom: 1.25rem;
}

.damt-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.damt-faq__item {
  background: #fff;
  border: 1px solid #00000014;
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.damt-faq__item:hover {
  border-color: #59358c;
}

.damt-faq__item[open] {
  border-color: #59358c;
  box-shadow: 0 4px 14px rgba(89, 53, 140, 0.08);
}

.damt-faq__question {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
}

.damt-faq__question::-webkit-details-marker {
  display: none;
}

.damt-faq__question:focus-visible {
  outline: 2px solid #59358c;
  outline-offset: 2px;
  border-radius: 8px;
}

.damt-faq__title {
  margin: 0;
  font-family: Jost;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: #2d2d2d;
}

.damt-faq__item[open] .damt-faq__title {
  color: #59358c;
}

/* Plus zamieniający się w minus */
.damt-faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: #eece4b;
  border-radius: 50%;
}

.damt-faq__icon::before,
.damt-faq__icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  content: "";
  background: #59358c;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.damt-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.damt-faq__item[open] .damt-faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.damt-faq__answer {
  padding: 0 1.25rem 1.1rem;
  font-family: Jost;
  font-size: 16px;
  line-height: 26px;
}

.damt-faq__answer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 576px) {
  .damt-faq,
  .damt-wrapper {
    padding-inline: 0;
  }

  .damt-faq__question {
    padding: 0.875rem 1rem;
  }

  .damt-faq__answer {
    padding: 0 1rem 1rem;
  }
}
