/* =========================================================================
   Pearl Island — FAQ Tabs
   Category chips that filter grouped Q&A sections, each an accordion with a
   +/- toggle. Classes prefixed .pff- and scoped under .pi-widget; colors
   reuse the brand tokens. Hard resets on the chip / question buttons keep
   the theme's own button styling from leaking in.
   ========================================================================= */
.pi-widget .pff { }

/* ------------------------------- Chips ---------------------------------- */
.pi-widget .pff-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 34px;
}
.pi-widget button.pff-chip {
  font-family: var(--hx-sans, 'Nunito', sans-serif);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .03em;
  padding: 9px 18px;
  border-radius: 999px !important;
  border: 1.5px solid rgba(59, 95, 95, .2) !important;
  background: #fff !important;
  color: var(--smaragd, #3B5F5F) !important;
  cursor: pointer;
  transition: .2s;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.2;
}
.pi-widget button.pff-chip:hover { border-color: var(--petrol, #609AAD) !important; }
.pi-widget button.pff-chip.active {
  background: var(--pff-active, var(--smaragd, #3B5F5F)) !important;
  color: #fff !important;
  border-color: var(--pff-active, var(--smaragd, #3B5F5F)) !important;
}

/* ------------------------------- Groups --------------------------------- */
.pi-widget .pff-wrap { max-width: 820px; margin: 0 auto; }
.pi-widget .pff-cat { margin-bottom: 14px; }
.pi-widget .pff-cat.hide { display: none; }
.pi-widget .pff-cat > h3 {
  font-size: 1.15rem;
  color: var(--pi-heading, var(--smaragd, #3B5F5F));
  margin: 26px 0 6px;
  display: flex;
  align-items: center;
  gap: 9px;
}

/* ------------------------------- Items ---------------------------------- */
.pi-widget .pff-item { border-bottom: 1px solid var(--pff-divider, rgba(59, 95, 95, .12)); }
.pi-widget button.pff-q {
  width: 100%;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--hx-sans, 'Nunito', sans-serif);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--pi-heading, var(--smaragd, #3B5F5F));
  padding: 20px 44px 20px 0;
  position: relative;
  line-height: 1.4;
}
.pi-widget button.pff-q:hover,
.pi-widget button.pff-q:focus { background: transparent !important; color: var(--lobster, #EE7266); outline: none; }
.pi-widget .pff-q::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 18px;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--pff-icon, var(--lobster, #EE7266));
  transition: transform .3s;
  line-height: 1;
}
.pi-widget .pff-item.open .pff-q::after { content: "\2013"; }

.pi-widget .pff-a {
  height: 0;
  overflow: hidden;
  transition: height .32s ease;
  color: var(--pi-text, var(--hx-body, #5a6372));
  font-size: .96rem;
}
.pi-widget .pff-a-inner { padding: 0 0 20px; }
.pi-widget .pff-a-inner p { margin: 0 0 10px; }
.pi-widget .pff-a-inner p:last-child { margin-bottom: 0; }
