/* Podoblock FAQ: product FAQ tab. */

.woocommerce-tabs ul.tabs li.pb_faq_tab a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -26px;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  background: var(--pdb-purple, #5b57a2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .9-1 1.6v.6M12 17h.01'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .9-1 1.6v.6M12 17h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pbfaq-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 0 8px;
  border-radius: 30px;
  background: var(--pdb-orange, #ff7c10);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 2px;
}

.pbfaq-product {
  max-width: 820px;
  margin-top: 8px;
  border-bottom: 1px solid #e4e3ef;
}

.pbfaq-product__item {
  border-top: 1px solid #e4e3ef;
}

.pbfaq-product__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 4px;
  cursor: pointer;
  list-style: none;
}

.pbfaq-product__item summary::-webkit-details-marker {
  display: none;
}

.pbfaq-product__item summary:focus-visible {
  outline: 2px solid var(--pdb-purple, #5b57a2);
  outline-offset: 2px;
  border-radius: 4px;
}

.woocommerce-Tabs-panel .pbfaq-product__q {
  margin: 0;
  color: var(--pdb-text, #4f5055);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.15s;
}

.pbfaq-product__item summary:hover .pbfaq-product__q,
.pbfaq-product__item[open] .pbfaq-product__q {
  color: var(--pdb-purple, #5b57a2);
}

.pbfaq-product__toggle {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--pdb-light, #efeef6);
  transition: background-color 0.15s;
}

.pbfaq-product__toggle::before,
.pbfaq-product__toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--pdb-purple, #5b57a2);
  transition: transform 0.2s;
}

.pbfaq-product__toggle::after {
  transform: rotate(90deg);
}

.pbfaq-product__item[open] .pbfaq-product__toggle {
  background: var(--pdb-purple, #5b57a2);
}

.pbfaq-product__item[open] .pbfaq-product__toggle::before,
.pbfaq-product__item[open] .pbfaq-product__toggle::after {
  background: #fff;
}

.pbfaq-product__item[open] .pbfaq-product__toggle::after {
  transform: rotate(0deg);
}

.pbfaq-product__a {
  padding: 0 4px 20px;
  line-height: 1.75;
}

.pbfaq-product__a > *:first-child {
  margin-top: 0;
}

.pbfaq-product__a > *:last-child {
  margin-bottom: 0;
}

.pbfaq-product__more {
  margin: 20px 0 0;
  color: #7c7d88;
  font-size: 15px;
}

.pbfaq-product__more a {
  color: var(--pdb-purple, #5b57a2);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .pbfaq-product__toggle::before,
  .pbfaq-product__toggle::after {
    transition: none;
  }
}
