/* =====================================================
   FuturePages — design polish layer
   ===================================================== */

:root {
  --fp-radius: 18px;
  --fp-radius-sm: 12px;
  --fp-shadow: 0 1px 2px rgba(11, 18, 32, 0.05), 0 8px 24px rgba(11, 18, 32, 0.07);
  --fp-shadow-lg: 0 2px 4px rgba(11, 18, 32, 0.06), 0 20px 44px rgba(11, 18, 32, 0.14);
  --fp-line: #e5e8f0;
  --fp-ink: #0b1220;
  --fp-muted: #5b6478;
  --fp-primary: #5b5bf0;
  --fp-primary-dark: #4338ca;
  --fp-accent: #22d3ee;
  --fp-ease: cubic-bezier(0.16, 0.8, 0.24, 1);
}

html {
  scroll-behavior: smooth;
}

/* No gaps between header / main / footer root blocks. */
.wp-site-blocks {
  gap: 0;
}

.wp-site-blocks > * + * {
  margin-block-start: 0 !important;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 781px) {
  .fp-header-cta {
    display: none !important;
  }
}

/* ---------- Announcement bar ---------- */

.fp-announce {
  background: linear-gradient(120deg, #5b5bf0, #7c3aed 55%, #22d3ee 130%);
  color: #fff;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.fp-announce strong {
  font-weight: 700;
}

.fp-announce a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.fp-announce a:hover {
  border-bottom-color: #fff;
}

@media (max-width: 600px) {
  .fp-announce {
    font-size: 0.78rem;
    padding: 8px 14px;
    gap: 8px;
  }
}

/* ---------- Social links (footer) ---------- */

.fp-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.fp-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.fp-social-link:hover {
  background: var(--fp-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Brand / logo ---------- */

.fp-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.fp-mark {
  filter: drop-shadow(0 4px 10px rgba(109, 91, 255, 0.35));
  transition: transform 0.2s ease;
}

.fp-brand:hover .fp-mark {
  transform: translateY(-1px) rotate(-2deg);
}

.fp-wordmark {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.42rem;
  letter-spacing: -0.025em;
  color: var(--fp-ink);
  line-height: 1;
}

.fp-wordmark-grad {
  background: linear-gradient(120deg, #6d5bff, #8b5cf6 55%, #22d3ee 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fp-brand-light .fp-wordmark {
  color: #fff;
}

.fp-footer-support {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.75);
}

.fp-footer-support a {
  color: #f5b93f !important;
}

/* ---------- Shop filter pills ---------- */

.fp-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin: 4px 0 28px;
}

.fp-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.55em 1.25em;
  border-radius: 999px;
  border: 1.5px solid var(--fp-line);
  background: #fff;
  color: var(--fp-ink) !important;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.fp-pill:hover {
  border-color: var(--fp-primary);
  transform: translateY(-1px);
}

.fp-pill.is-active {
  background: var(--fp-primary);
  border-color: var(--fp-primary);
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(91, 91, 240, 0.28);
}

/* ---------- Product page guarantee block ---------- */

.fp-guarantee {
  margin: 22px 0 8px;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius);
  background: #fff;
  overflow: hidden;
}

.fp-guarantee-badge {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  background: linear-gradient(120deg, rgba(245, 185, 63, 0.1), rgba(245, 185, 63, 0.03));
  border-bottom: 1px solid var(--fp-line);
}

.fp-guarantee-badge svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.fp-guarantee-badge strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  color: var(--fp-ink);
}

.fp-guarantee-badge span {
  font-size: 0.88rem;
  color: var(--fp-muted);
}

.fp-trust-list {
  list-style: none;
  margin: 0;
  padding: 12px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.fp-trust-list li {
  font-size: 0.88rem;
  color: #4b5563;
}

.fp-trust-list a {
  font-weight: 600;
}

@media (max-width: 560px) {
  .fp-trust-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Checkout ---------- */

.woocommerce-checkout h3,
.woocommerce-checkout h3#order_review_heading {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  margin-bottom: 0.8em;
}

.woocommerce-checkout form.checkout {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}

.woocommerce-checkout form.checkout #customer_details {
  flex: 1 1 420px;
  width: auto;
  float: none;
  background: #fff;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius);
  box-shadow: var(--fp-shadow);
  padding: 26px 26px 10px;
}

.woocommerce-checkout form.checkout #customer_details .col-1,
.woocommerce-checkout form.checkout #customer_details .col-2 {
  float: none;
  width: 100%;
}

.woocommerce-checkout form.checkout #order_review_heading,
.woocommerce-checkout form.checkout #order_review {
  flex: 1 1 340px;
  width: auto;
  float: none;
}

.woocommerce-checkout #order_review {
  position: sticky;
  top: 90px;
}

.woocommerce-checkout #payment {
  background: var(--fp-base, #f6f7fb);
  border-radius: var(--fp-radius-sm);
}

.woocommerce-checkout #payment div.payment_box {
  background: #eef0f7;
  color: #4b5563;
}

.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: #eef0f7;
}

.woocommerce #payment #place_order {
  width: 100%;
  font-size: 1.08rem;
  padding: 1em 1.5em;
  margin-top: 6px;
}

.fp-checkout-trust {
  margin-top: 16px;
  text-align: center;
}

.fp-checkout-trust p {
  font-size: 0.85rem;
  color: var(--fp-muted);
  margin: 0.4em 0;
}

.fp-checkout-support a {
  font-weight: 600;
}

.woocommerce-form-coupon-toggle .woocommerce-info {
  border-radius: var(--fp-radius-sm);
}

@media (max-width: 900px) {
  .woocommerce-checkout #order_review {
    position: static;
  }
}

/* ---------- Thank-you page ---------- */

.fp-thankyou {
  background: #fff;
  border: 1px solid var(--fp-line);
  border-radius: 22px;
  box-shadow: var(--fp-shadow-lg);
  padding: 42px 36px;
  margin: 10px 0 40px;
  text-align: center;
}

.fp-thankyou-check {
  margin-bottom: 10px;
}

.fp-thankyou h2 {
  font-size: 1.7rem;
  margin: 0 0 8px;
}

.fp-thankyou-sub {
  color: var(--fp-muted);
  max-width: 520px;
  margin: 0 auto 26px;
}

.fp-thankyou-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
  margin-bottom: 26px;
}

.fp-ty-step {
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius-sm);
  padding: 16px;
  font-size: 0.88rem;
  color: var(--fp-muted);
}

.fp-ty-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--fp-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.fp-ty-step strong {
  display: block;
  color: var(--fp-ink);
  margin-bottom: 4px;
  font-family: "Space Grotesk", sans-serif;
}

.fp-thankyou-guarantee {
  background: linear-gradient(120deg, rgba(245, 185, 63, 0.12), rgba(245, 185, 63, 0.04));
  border: 1px solid rgba(232, 169, 60, 0.35);
  border-radius: var(--fp-radius-sm);
  padding: 14px 18px;
  font-size: 0.92rem;
  color: #4b5563;
  margin-bottom: 18px;
}

.fp-thankyou-social {
  font-size: 0.88rem;
  color: var(--fp-muted);
}

.fp-thankyou-social a {
  font-weight: 600;
}

@media (max-width: 760px) {
  .fp-thankyou {
    padding: 28px 20px;
  }

  .fp-thankyou-steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Rating summary + review stars ---------- */

.fp-rating-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
}

.fp-stars-lg {
  font-size: 1.5rem;
  letter-spacing: 3px;
}

.fp-rating-text {
  font-size: 0.95rem;
  color: var(--fp-muted);
}

.fp-rating-text strong {
  color: var(--fp-ink);
}

/* WooCommerce star ratings — brand gold */
.woocommerce .star-rating span::before,
.woocommerce p.stars a::before,
.woocommerce .comment-form-rating .stars a::before {
  color: #f5b93f;
}

.woocommerce .star-rating {
  color: #f5b93f;
}

.woocommerce ul.products li.product .star-rating {
  margin: 0 1.2rem 0.6em;
  font-size: 0.9em;
}

.fp-loop-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 1.2rem;
  margin-bottom: 0.5em;
}

.fp-loop-rating .star-rating {
  margin: 0;
  font-size: 0.85em;
}

.fp-loop-count {
  font-size: 0.8rem;
  color: var(--fp-muted);
}

.woocommerce #reviews #comments ol.commentlist li {
  background: #fff;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius);
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: var(--fp-shadow);
}

.woocommerce #reviews #comments ol.commentlist li img.avatar {
  position: static;
  float: left;
  width: 42px;
  border-radius: 999px;
  padding: 0;
  border: none;
  margin-right: 12px;
  background: linear-gradient(120deg, #5b5bf0, #22d3ee);
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
  margin-left: 56px;
  border: none;
  padding: 0;
}

.woocommerce #review_form_wrapper {
  background: #fff;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius);
  padding: 22px;
  box-shadow: var(--fp-shadow);
}

.fp-verified-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 999px;
  padding: 2px 9px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---------- Product gallery ---------- */

.woocommerce div.product div.images .flex-control-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding: 0;
}

.woocommerce div.product div.images .flex-control-thumbs li {
  width: 33.333%;
  margin: 0;
  list-style: none;
}

.woocommerce div.product div.images .flex-control-thumbs img {
  border-radius: 10px;
  opacity: 0.7;
  transition: opacity 0.15s ease;
  border: 1.5px solid transparent;
}

.woocommerce div.product div.images .flex-control-thumbs img:hover,
.woocommerce div.product div.images .flex-control-thumbs img.flex-active {
  opacity: 1;
  border-color: var(--fp-primary);
}

/* ---------- Contact page ---------- */

.fp-contact {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  margin-top: 28px;
  align-items: start;
}

.fp-contact-form-wrap,
.fp-contact-side {
  background: #fff;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius);
  box-shadow: var(--fp-shadow);
  padding: 26px;
}

.fp-contact-side {
  background: var(--fp-ink);
  color: rgba(255, 255, 255, 0.82);
}

.fp-contact-side h3 {
  color: #fff;
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.fp-contact-email a {
  color: #f5b93f !important;
  font-weight: 600;
}

.fp-contact-facts {
  list-style: none;
  margin: 18px 0;
  padding: 0;
}

.fp-contact-facts li {
  font-size: 0.92rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fp-contact-facts a {
  color: #fff;
  text-decoration: underline;
}

.fp-contact-social {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.fp-contact-social a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.9rem;
}

.fp-contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fp-ink);
  margin-bottom: 14px;
}

.fp-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fp-contact-form input,
.fp-contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 0.7em 0.9em;
  border: 1px solid var(--fp-line);
  border-radius: 10px;
  font: inherit;
  font-weight: 400;
  background: #fff;
}

.fp-contact-form input:focus,
.fp-contact-form textarea:focus {
  border-color: var(--fp-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(91, 91, 240, 0.15);
}

.fp-hp {
  position: absolute;
  left: -9999px;
}

.fp-contact-btn {
  background: var(--fp-primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.85em 2em;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(91, 91, 240, 0.28);
  transition: background 0.15s ease, transform 0.15s ease;
}

.fp-contact-btn:hover {
  background: var(--fp-primary-dark);
  transform: translateY(-1px);
}

.fp-contact-alert {
  border-radius: var(--fp-radius-sm);
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 0.92rem;
}

.fp-contact-alert.is-ok {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #047857;
}

.fp-contact-alert.is-err {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #b91c1c;
}

@media (max-width: 820px) {
  .fp-contact {
    grid-template-columns: 1fr;
  }

  .fp-field-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Header ---------- */

.fp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--fp-line);
}

.fp-header .wp-block-site-title a {
  color: var(--fp-ink);
  text-decoration: none;
}

.fp-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(130deg, #5b5bf0, #7c3aed 60%, #22d3ee 130%);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(91, 91, 240, 0.35);
}

.fp-header .wp-block-navigation a:hover {
  color: var(--fp-primary);
}

.fp-header-cta a.wp-block-button__link {
  padding: 0.55em 1.4em;
  font-size: 0.9rem;
}

/* ---------- Buttons ---------- */

.wp-block-button__link,
.wc-block-components-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--fp-primary);
  color: #fff !important;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  padding: 0.75em 1.8em;
  line-height: 1.3;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 6px 16px rgba(91, 91, 240, 0.28);
  text-decoration: none;
}

.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: var(--fp-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(67, 56, 202, 0.35);
}

.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline > .wp-block-button__link {
  background: transparent;
  color: currentColor !important;
  border: 1.5px solid currentColor;
  box-shadow: none;
}

/* ---------- Hero ---------- */

.fp-hero {
  overflow: hidden;
  position: relative;
}

.fp-hero h1 {
  color: #fff;
}

.fp-hero .fp-hero-sub {
  color: rgba(255, 255, 255, 0.78);
  max-width: 640px;
}

.fp-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fp-accent);
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.08);
  border-radius: 999px;
  padding: 0.45em 1.1em;
}

.fp-hero .wp-block-button.is-style-outline > .wp-block-button__link {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.4);
}

.fp-hero .wp-block-button.is-style-outline > .wp-block-button__link:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* trust chips */
.fp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fp-chip {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.5em 1.1em;
}

/* ---------- Section helpers ---------- */

.fp-section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fp-primary);
}

.fp-sub {
  color: var(--fp-muted);
  max-width: 620px;
}

/* ---------- Category cards ---------- */

.fp-cat-card {
  background: #fff;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius);
  padding: 1.8rem 1.6rem !important;
  box-shadow: var(--fp-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  height: 100%;
}

.fp-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fp-shadow-lg);
  border-color: rgba(91, 91, 240, 0.4);
}

.fp-cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 26px;
  background: linear-gradient(135deg, rgba(91, 91, 240, 0.12), rgba(34, 211, 238, 0.12));
  border: 1px solid rgba(91, 91, 240, 0.18);
}

.fp-cat-card h3 {
  font-size: 1.15rem;
  margin: 0;
}

.fp-cat-card p {
  color: var(--fp-muted);
  font-size: 0.925rem;
  margin: 0;
}

.fp-cat-card a {
  color: var(--fp-ink);
  text-decoration: none;
}

.fp-cat-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fp-primary) !important;
}

/* ---------- Feature / value cards ---------- */

.fp-value-card {
  background: #fff;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius);
  padding: 2rem 1.8rem !important;
  box-shadow: var(--fp-shadow);
  height: 100%;
}

.fp-value-card h3 {
  font-size: 1.1rem;
}

.fp-value-card p {
  color: var(--fp-muted);
  font-size: 0.94rem;
}

/* ---------- Testimonials ---------- */

.fp-quote-card {
  background: #fff;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius);
  padding: 1.9rem 1.7rem !important;
  box-shadow: var(--fp-shadow);
  height: 100%;
}

.fp-quote-card p {
  font-size: 0.97rem;
}

.fp-stars {
  color: #f5b93f;
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.fp-quote-author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fp-ink);
}

.fp-quote-role {
  color: var(--fp-muted);
  font-size: 0.83rem;
}

/* ---------- Bundle banner ---------- */

.fp-bundle {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--fp-shadow-lg);
}

.fp-bundle h2,
.fp-bundle p {
  color: #fff;
}

.fp-bundle .fp-bundle-note {
  color: rgba(255, 255, 255, 0.8);
}

.fp-price-old {
  text-decoration: line-through;
  opacity: 0.6;
  font-weight: 500;
}

.fp-price-new {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
}

.fp-badge-gold {
  display: inline-block;
  background: rgba(245, 185, 63, 0.15);
  border: 1px solid rgba(245, 185, 63, 0.5);
  color: #f5b93f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.4em 1em;
}

/* ---------- WooCommerce product grid ---------- */

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0 0 1em;
}

@media (max-width: 1024px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
}

.woocommerce ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  background: #fff;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius);
  overflow: hidden;
  box-shadow: var(--fp-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-bottom: 1.2rem;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-5px);
  box-shadow: var(--fp-shadow-lg);
}

.woocommerce ul.products li.product a img {
  margin: 0 0 0.9em;
  border-radius: 0;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 0 1.2rem 0.35em;
  color: var(--fp-ink);
}

.woocommerce ul.products li.product .price {
  padding: 0 1.2rem;
  color: var(--fp-ink);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.9em;
}

.woocommerce ul.products li.product .price del {
  color: var(--fp-muted);
  font-weight: 500;
  opacity: 0.8;
  margin-right: 6px;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none;
  color: var(--fp-primary);
}

.woocommerce ul.products li.product .button {
  margin: auto 1.2rem 0;
  text-align: center;
  font-size: 0.9rem;
  padding: 0.65em 1.2em;
}

.woocommerce span.onsale {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  min-height: 0;
  min-width: 0;
  line-height: 1;
  padding: 0.5em 0.9em;
  border-radius: 999px;
  background: var(--fp-ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  color: var(--fp-muted);
  font-size: 0.9rem;
}

.woocommerce nav.woocommerce-pagination ul {
  border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: none;
  margin: 0 3px;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border-radius: 10px;
  padding: 0.6em 1em;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--fp-primary);
  color: #fff;
}

/* single product */
.woocommerce div.product .product_title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.woocommerce div.product p.price {
  color: var(--fp-ink);
  font-size: 1.6rem;
  font-weight: 700;
}

.woocommerce div.product p.price del {
  color: var(--fp-muted);
  font-size: 1.1rem;
}

.woocommerce div.product p.price ins {
  text-decoration: none;
  color: var(--fp-primary);
}

.woocommerce div.product div.images img {
  border-radius: var(--fp-radius);
  box-shadow: var(--fp-shadow);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding-left: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent;
  border: none;
  border-radius: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  border-bottom: 2px solid var(--fp-primary);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: var(--fp-muted);
  font-weight: 600;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--fp-ink);
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  border-bottom: 1px solid var(--fp-line);
}

/* notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--fp-primary);
  border-radius: var(--fp-radius-sm);
  background: #fff;
  box-shadow: var(--fp-shadow);
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--fp-primary);
}

/* cart & checkout */
.woocommerce table.shop_table {
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius-sm);
  border-collapse: separate;
}

.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
  border-top: 1px solid var(--fp-line);
}

#add_payment_method .cart-collaterals .cart_totals,
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review {
  background: #fff;
  border-radius: var(--fp-radius);
  padding: 1.2rem;
  border: 1px solid var(--fp-line);
  box-shadow: var(--fp-shadow);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 1px solid var(--fp-line);
  border-radius: 10px;
  padding: 0.7em 1em;
  background: #fff;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--fp-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(91, 91, 240, 0.15);
}

/* ---------- Blog cards ---------- */

.fp-post-card {
  background: #fff;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius);
  overflow: hidden;
  box-shadow: var(--fp-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.fp-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fp-shadow-lg);
}

.fp-post-card .wp-block-post-featured-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.fp-post-card .wp-block-post-title {
  font-size: 1.12rem;
  line-height: 1.4;
  padding: 0 1.4rem;
  margin-top: 1.1rem;
}

.fp-post-card .wp-block-post-title a {
  color: var(--fp-ink);
  text-decoration: none;
}

.fp-post-card .wp-block-post-title a:hover {
  color: var(--fp-primary);
}

.fp-post-card .wp-block-post-excerpt {
  padding: 0 1.4rem;
  color: var(--fp-muted);
  font-size: 0.92rem;
}

.fp-post-card .wp-block-post-date {
  padding: 0 1.4rem 1.3rem;
  color: var(--fp-muted);
  font-size: 0.82rem;
}

.fp-post-card .wp-block-post-excerpt__more-link {
  font-weight: 600;
}

/* ---------- Article prose ---------- */

.fp-prose h2 {
  margin-top: 2.2em;
}

.fp-prose h3 {
  margin-top: 1.6em;
}

.fp-prose ul,
.fp-prose ol {
  padding-left: 1.3em;
}

.fp-prose blockquote {
  border-left: 3px solid var(--fp-primary);
  padding: 0.4em 0 0.4em 1.2em;
  color: var(--fp-muted);
  font-style: normal;
  background: #fff;
  border-radius: 0 var(--fp-radius-sm) var(--fp-radius-sm) 0;
}

/* ---------- Footer ---------- */

.fp-footer {
  background: var(--fp-ink);
  color: rgba(255, 255, 255, 0.75);
}

.fp-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.4em;
}

.fp-footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.92rem;
}

.fp-footer a:hover {
  color: #fff;
}

.fp-footer .wp-block-site-title a {
  color: #fff;
  font-size: 1.3rem;
}

.fp-footer-note {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.83rem;
}

.fp-footer-divider {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ---------- Misc ---------- */

.fp-dark {
  color: #fff;
}

.fp-dark h2,
.fp-dark h3 {
  color: #fff;
}

.fp-dark p {
  color: rgba(255, 255, 255, 0.75);
}

::selection {
  background: rgba(91, 91, 240, 0.25);
}

/* =====================================================
   Motion layer — scroll reveal, micro-interactions,
   trust-building flourishes. GPU-friendly (opacity +
   translate/transform only). Fully disabled under
   prefers-reduced-motion, see bottom of this section.
   ===================================================== */

/* ---------- Scroll reveal: single elements ---------- */

.fp-reveal {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.7s var(--fp-ease), translate 0.7s var(--fp-ease);
}

.fp-reveal.is-in {
  opacity: 1;
  translate: 0 0;
}

/* ---------- Scroll reveal: staggered card groups ---------- */
/* Apply .fp-reveal-stagger to a direct parent (columns row,
   post-template list); its immediate children cascade in. */

.fp-reveal-stagger > * {
  opacity: 0;
  translate: 0 24px;
  transition: opacity 0.6s var(--fp-ease), translate 0.6s var(--fp-ease);
}

.fp-reveal-stagger.is-in > * {
  opacity: 1;
  translate: 0 0;
}

.fp-reveal-stagger.is-in > *:nth-child(1) {
  transition-delay: 0.03s;
}
.fp-reveal-stagger.is-in > *:nth-child(2) {
  transition-delay: 0.11s;
}
.fp-reveal-stagger.is-in > *:nth-child(3) {
  transition-delay: 0.19s;
}
.fp-reveal-stagger.is-in > *:nth-child(4) {
  transition-delay: 0.27s;
}
.fp-reveal-stagger.is-in > *:nth-child(n + 5) {
  transition-delay: 0.34s;
}

/* ---------- Scroll reveal: WooCommerce product grids ---------- */
/* No wrapper needed — JS observes ul.products directly on every
   page (shop, category, homepage shortcode grid). */

.woocommerce ul.products li.product {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.6s var(--fp-ease), translate 0.6s var(--fp-ease), box-shadow 0.18s ease,
    transform 0.18s ease;
}

.woocommerce ul.products.is-in li.product {
  opacity: 1;
  translate: 0 0;
}

.woocommerce ul.products.is-in li.product:nth-child(1) {
  transition-delay: 0.02s;
}
.woocommerce ul.products.is-in li.product:nth-child(2) {
  transition-delay: 0.08s;
}
.woocommerce ul.products.is-in li.product:nth-child(3) {
  transition-delay: 0.14s;
}
.woocommerce ul.products.is-in li.product:nth-child(4) {
  transition-delay: 0.2s;
}
.woocommerce ul.products.is-in li.product:nth-child(n + 5) {
  transition-delay: 0.26s;
}

/* ---------- Header: shrink + firm up on scroll ---------- */

.fp-header {
  transition: padding 0.25s var(--fp-ease), box-shadow 0.25s var(--fp-ease),
    background-color 0.25s var(--fp-ease);
}

.fp-header.is-scrolled {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  box-shadow: 0 4px 24px rgba(11, 18, 32, 0.08);
  background: rgba(255, 255, 255, 0.94);
}

/* ---------- Card hover polish: icon motion + image zoom ---------- */

.fp-cat-icon {
  transition: transform 0.35s var(--fp-ease);
}

.fp-cat-card:hover .fp-cat-icon,
.fp-value-card:hover .fp-cat-icon {
  transform: scale(1.1) rotate(-4deg);
}

.fp-value-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.fp-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fp-shadow-lg);
  border-color: rgba(91, 91, 240, 0.35);
}

.fp-quote-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.fp-quote-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--fp-shadow-lg);
}

.woocommerce ul.products li.product a img {
  transition: transform 0.5s var(--fp-ease);
}

.woocommerce ul.products li.product:hover a img {
  transform: scale(1.045);
}

/* ---------- Button shine sweep (solid buttons only) ---------- */

.wp-block-button:not(.is-style-outline) > .wp-block-button__link,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce #respond input#submit,
.fp-contact-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.wp-block-button:not(.is-style-outline) > .wp-block-button__link::before,
.woocommerce a.button.alt::before,
.woocommerce button.button.alt::before,
.woocommerce #respond input#submit::before,
.fp-contact-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover::before,
.woocommerce a.button.alt:hover::before,
.woocommerce button.button.alt:hover::before,
.woocommerce #respond input#submit:hover::before,
.fp-contact-btn:hover::before {
  left: 130%;
}

/* ---------- Hero: floating depth blobs + shimmering headline ---------- */

.fp-hero::before,
.fp-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.fp-hero::before {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.35), transparent 70%);
  top: -90px;
  right: -60px;
  animation: fp-float 9s ease-in-out infinite;
}

.fp-hero::after {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.38), transparent 70%);
  bottom: -110px;
  left: -60px;
  animation: fp-float 11s ease-in-out infinite reverse;
}

.fp-hero > .wp-block-group {
  position: relative;
  z-index: 1;
}

.fp-hero mark {
  background-size: 200% auto !important;
  animation: fp-gradient-shift 6s ease-in-out infinite;
}

/* ---------- Announcement bar: subtle shine sweep ---------- */

.fp-announce {
  position: relative;
  overflow: hidden;
}

.fp-announce::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: fp-announce-sweep 5s ease-in-out infinite;
  pointer-events: none;
}

/* ---------- Bundle CTA: gentle attention glow ---------- */

.fp-bundle .wp-block-button__link {
  animation: fp-pulse-glow 2.6s ease-in-out infinite;
}

/* ---------- Guarantee badge: pulsing trust ring ---------- */

.fp-badge-icon {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.fp-badge-icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(232, 169, 60, 0.5);
  animation: fp-pulse-ring 2.2s ease-out infinite;
  pointer-events: none;
}

/* ---------- Animated counters + rating stars pop ---------- */

.fp-count {
  font-variant-numeric: tabular-nums;
}

.fp-reveal.is-in .fp-stars-lg {
  animation: fp-pop 0.6s var(--fp-ease) 0.25s both;
}

/* ---------- Thank-you page: entrance on load ---------- */

.fp-pop-in {
  animation: fp-thankyou-in 0.55s var(--fp-ease) both;
}

.fp-pop-in .fp-thankyou-check {
  animation: fp-pop 0.6s var(--fp-ease) 0.15s both;
}

/* ---------- Back to top ---------- */

.fp-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--fp-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(91, 91, 240, 0.35);
  opacity: 0;
  translate: 0 12px;
  pointer-events: none;
  transition: opacity 0.25s var(--fp-ease), translate 0.25s var(--fp-ease), background 0.15s ease,
    transform 0.15s ease;
}

.fp-to-top.is-visible {
  opacity: 1;
  translate: 0 0;
  pointer-events: auto;
}

.fp-to-top:hover {
  background: var(--fp-primary-dark);
  transform: translateY(-3px);
}

@media (max-width: 600px) {
  .fp-to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }
}

/* ---------- Keyframes ---------- */

@keyframes fp-float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-14px, 18px);
  }
}

@keyframes fp-gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes fp-announce-sweep {
  0% {
    left: -30%;
  }
  60% {
    left: 130%;
  }
  100% {
    left: 130%;
  }
}

@keyframes fp-pulse-glow {
  0%,
  100% {
    box-shadow: 0 6px 16px rgba(91, 91, 240, 0.28);
  }
  50% {
    box-shadow: 0 6px 26px rgba(245, 185, 63, 0.45);
  }
}

@keyframes fp-pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 169, 60, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(232, 169, 60, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(232, 169, 60, 0);
  }
}

@keyframes fp-pop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  60% {
    transform: scale(1.15);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fp-thankyou-in {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ---------- Respect reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .fp-reveal,
  .fp-reveal-stagger > *,
  .woocommerce ul.products li.product {
    opacity: 1 !important;
    translate: none !important;
  }

  .fp-to-top {
    transition: opacity 0.001ms, translate 0.001ms;
  }
}
