:root {
  --cfm-primary: #6366f1;
  --cfm-hover: #4f46e5;
  --cfm-q-color: #1e293b;
  --cfm-q-size: 18px;
  --cfm-a-color: #475569;
  --cfm-a-size: 16px;
  --cfm-font-family: inherit;
}

/* Section title */
.cfm-section-title {
  font-weight: 700;
  margin-bottom: 16px;
  color: #000;
  text-align: center;
}

/* Wrapper */
.cfm-faq-wrapper {
  font-family: var(--cfm-font-family, inherit);
  padding: 0;
}

/* Grid */
.cfm-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* FAQ Item */
.cfm-faq-item {
  background: #13275b;
  border: 1px solid #13275b;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.cfm-faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Active item */
.cfm-faq-item.cfm-active {
  border-color: #13275b;
  background: #13275b;
}

/* Question row */
.cfm-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  cursor: pointer;
  text-align: left;
}

/* Question text */
.cfm-qtext {
  font-size: var(--cfm-q-size);
  color: var(--cfm-q-color);
  margin: 0;
  flex: 1;
}

/* Icon */
.cfm-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #df2b2b;
  flex: 0 0 30px;
  position: relative;
  transition: transform 0.3s ease;
}

.cfm-icon::before,
.cfm-icon::after {
  content: "";
  position: absolute;
  background: #fff;
  transition: transform 0.25s ease;
}

.cfm-icon::before {
  height: 2px;
  left: 9px;
  right: 9px;
  top: 14px;
}

.cfm-icon::after {
  width: 2px;
  top: 8px;
  bottom: 8px;
  left: 14px;
}

/* Panel */
.cfm-faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, padding 0.35s ease;
  padding: 0 !important;
}

.cfm-faq-panel p {
  margin: 0 !important;
}

/* Content */
.cfm-faq-panel .cfm-faq-content {
  padding: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  background: #fbfdff;
  color: var(--cfm-a-color);
  font-size: var(--cfm-a-size);
  line-height: 1.7;
  text-align: left;
}

/* Active state */
.cfm-faq-item.cfm-active .cfm-faq-panel {
  max-height: 800px;
  padding: 16px 0;
}

.cfm-faq-item.cfm-active .cfm-icon {
  transform: rotate(180deg);
}

.cfm-faq-item.cfm-active .cfm-icon::after {
  opacity: 0;
  transform: scaleY(0);
}

/* Mobile */
@media (max-width: 768px) {
  .cfm-qtext {
    font-size: calc(var(--cfm-q-size) - 2px);
  }
}
.category-after-products-shortcode{
  margin-top: 30px;
}