/* FuturePages Convert — conversion layer (product pages only). */

/* ---- Payment trust badges ------------------------------------------ */

.fp-cv-pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 14px 0 4px;
}

.fp-cv-pay-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--fp-muted, #5b6478);
  white-space: nowrap;
}

.fp-cv-pay-label svg {
  color: #16a34a;
  flex: none;
}

.fp-cv-pay-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fp-cv-pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 9px;
  background: #fff;
  border: 1px solid var(--fp-line, #e5e8f0);
  border-radius: 8px;
}

.fp-cv-pay-badge img {
  height: 18px;
  width: auto;
  display: block;
}

/* Cart / checkout placement breathes a little more. */
.cart_totals .fp-cv-pay,
#order_review .fp-cv-pay {
  justify-content: center;
  margin-top: 16px;
}

/* ---- Upgrade card -------------------------------------------------- */

.fp-cv-upgrade {
  display: block;
  margin: 18px 0 6px;
  padding: 14px 16px;
  border-radius: var(--fp-radius-sm, 12px);
  border: 1px solid rgba(91, 91, 240, 0.25);
  background:
    linear-gradient(120deg, rgba(91, 91, 240, 0.06), rgba(34, 211, 238, 0.06));
  text-decoration: none;
  transition: border-color 0.25s var(--fp-ease, ease), box-shadow 0.25s var(--fp-ease, ease);
}

.fp-cv-upgrade:hover {
  border-color: rgba(91, 91, 240, 0.55);
  box-shadow: 0 8px 24px rgba(91, 91, 240, 0.14);
}

.fp-cv-upgrade-head {
  display: block;
  font-weight: 700;
  color: var(--fp-ink, #0b1220);
  margin-bottom: 2px;
}

.fp-cv-upgrade-sub {
  display: block;
  font-size: 0.88rem;
  color: var(--fp-muted, #5b6478);
  margin-bottom: 6px;
}

.fp-cv-upgrade-cta {
  display: inline-block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--fp-primary, #5b5bf0);
}

.fp-cv-upgrade-cta .woocommerce-Price-amount {
  color: inherit;
}

/* ---- At a glance ---------------------------------------------------- */

.fp-cv-glance {
  max-width: 720px;
  margin: 36px auto 0;
  padding: 0 16px;
}

.fp-cv-glance h2 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.fp-cv-glance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin: 0;
}

.fp-cv-glance-item {
  border: 1px solid var(--fp-line, #e5e8f0);
  border-radius: var(--fp-radius-sm, 12px);
  background: #fff;
  padding: 11px 14px;
}

.fp-cv-glance-item dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fp-muted, #5b6478);
  margin-bottom: 2px;
}

.fp-cv-glance-item dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--fp-ink, #0b1220);
}

/* ---- FAQ ------------------------------------------------------------ */

.fp-cv-faq {
  max-width: 720px;
  margin: 40px auto 8px;
  padding: 0 16px;
}

.fp-cv-faq h2 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.fp-cv-faq-item {
  border: 1px solid var(--fp-line, #e5e8f0);
  border-radius: var(--fp-radius-sm, 12px);
  background: #fff;
  margin-bottom: 10px;
  padding: 0 16px;
}

.fp-cv-faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  color: var(--fp-ink, #0b1220);
  padding: 13px 26px 13px 0;
  position: relative;
}

.fp-cv-faq-item summary::-webkit-details-marker {
  display: none;
}

.fp-cv-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--fp-primary, #5b5bf0);
  transition: transform 0.25s var(--fp-ease, ease);
}

.fp-cv-faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.fp-cv-faq-item p {
  margin: 0 0 14px;
  color: var(--fp-muted, #5b6478);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ---- You may also like --------------------------------------------- */

.fp-cv-rel {
  max-width: 980px;
  margin: 28px auto 40px;
  padding: 0 16px;
}

.fp-cv-rel h2 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.fp-cv-rel-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 781px) {
  .fp-cv-rel-row {
    grid-template-columns: 1fr;
  }
}

.fp-cv-rel-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--fp-line, #e5e8f0);
  border-radius: var(--fp-radius, 18px);
  background: #fff;
  box-shadow: var(--fp-shadow, 0 8px 24px rgba(11, 18, 32, 0.07));
  text-decoration: none;
  transition: transform 0.2s var(--fp-ease, ease), box-shadow 0.2s var(--fp-ease, ease);
}

.fp-cv-rel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(11, 18, 32, 0.08), 0 18px 40px rgba(91, 91, 240, 0.15);
}

.fp-cv-rel-card img {
  border-radius: var(--fp-radius-sm, 12px);
  width: 100%;
  height: auto;
}

.fp-cv-rel-name {
  font-weight: 650;
  color: var(--fp-ink, #0b1220);
  font-size: 0.95rem;
}

.fp-cv-rel-price {
  color: var(--fp-primary, #5b5bf0);
  font-weight: 700;
  font-size: 0.92rem;
}

.fp-cv-rel-price del {
  color: var(--fp-muted, #5b6478);
  font-weight: 500;
  margin-right: 6px;
}

/* ---- Shop grid enrichment ------------------------------------------- */

.fp-cv-shop-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  margin: 2px auto 22px;
  padding: 12px 18px;
  max-width: 860px;
  border: 1px solid var(--fp-line, #e5e8f0);
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(91, 91, 240, 0.045), rgba(34, 211, 238, 0.045));
}

.fp-cv-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 650;
  color: #3c4358;
  white-space: nowrap;
}

.fp-cv-strip-item svg {
  color: #16a34a;
  flex: none;
}

@media (max-width: 781px) {
  .fp-cv-shop-strip {
    border-radius: var(--fp-radius, 18px);
    gap: 8px 18px;
  }
}

/* Category chip — aligned to the card's 1.2rem inner gutter,
   color-coded per category via the loop item's classes. */

.woocommerce ul.products li.product .fp-cv-eyebrow {
  display: inline-block;
  align-self: flex-start;
  margin: 0 1.2rem 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(91, 91, 240, 0.09);
  color: #4338ca;
}

.woocommerce ul.products li.product.product_cat-ai-prompts .fp-cv-eyebrow {
  background: rgba(34, 211, 238, 0.13);
  color: #0e7490;
}

.woocommerce ul.products li.product.product_cat-ai-agents .fp-cv-eyebrow {
  background: rgba(124, 58, 237, 0.1);
  color: #6d28d9;
}

.woocommerce ul.products li.product.product_cat-bundles .fp-cv-eyebrow {
  background: rgba(217, 169, 62, 0.16);
  color: #92650a;
}

/* ---- Mobile sticky buy bar ------------------------------------------ */

.fp-cv-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--fp-line, #e5e8f0);
  box-shadow: 0 -8px 24px rgba(11, 18, 32, 0.08);
  transform: translateY(100%);
  transition: transform 0.28s var(--fp-ease, ease);
}

@media (max-width: 781px) {
  .fp-cv-bar {
    display: flex;
  }
}

.fp-cv-bar.is-visible {
  transform: translateY(0);
}

.fp-cv-bar-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.fp-cv-bar-info strong {
  font-size: 0.85rem;
  color: var(--fp-ink, #0b1220);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fp-cv-bar-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fp-primary, #5b5bf0);
}

.fp-cv-bar-price del {
  color: var(--fp-muted, #5b6478);
  font-weight: 500;
  margin-right: 5px;
}

.fp-cv-bar-btn {
  flex: none;
  border: none;
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  cursor: pointer;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 42%),
    linear-gradient(120deg, #5b5bf0, #6448ee 55%, #4f46e5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 6px 16px rgba(91, 91, 240, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  .fp-cv-bar,
  .fp-cv-rel-card,
  .fp-cv-upgrade {
    transition: none;
  }
}
