/*
Theme Name: FunPrintly Kadence Child
Theme URI: https://funprintly.com
Description: A conversion-focused Kadence child theme for selling printable party games and digital downloads.
Author: FunPrintly
Author URI: https://funprintly.com
Template: kadence
Version: 1.0.0
Text Domain: funprintly
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --fp-ink: #24183f;
  --fp-muted: #6f6880;
  --fp-purple: #6f4bf2;
  --fp-purple-dark: #5432d6;
  --fp-coral: #ff5f7d;
  --fp-yellow: #ffd166;
  --fp-mint: #dff8ef;
  --fp-cream: #fff8f3;
  --fp-white: #ffffff;
  --fp-border: #e8e1ef;
  --fp-shadow: 0 18px 50px rgba(43, 28, 74, .12);
  --fp-shadow-soft: 0 10px 28px rgba(43, 28, 74, .08);
  --fp-radius: 24px;
  --fp-radius-sm: 14px;
  --fp-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.funprintly-theme {
  margin: 0;
  color: var(--fp-ink);
  background: var(--fp-white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .fp-site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .fp-site-header { top: 46px; } }
img { max-width: 100%; height: auto; }
a { color: inherit; }
.fp-container { width: min(calc(100% - 40px), var(--fp-max)); margin-inline: auto; }
.fp-narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.fp-section { padding: 88px 0; }
.fp-section--soft { background: var(--fp-cream); }
.fp-section--mint { background: linear-gradient(135deg, #ecfff8, #fff8f3); }
.fp-section-heading { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.fp-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--fp-purple-dark); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.fp-kicker::before { content: ""; width: 24px; height: 3px; border-radius: 999px; background: var(--fp-coral); }
h1, h2, h3, h4 { color: var(--fp-ink); line-height: 1.12; letter-spacing: -.035em; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; }
h1 { font-size: clamp(2.55rem, 6vw, 5.2rem); margin: 0 0 22px; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin: 0 0 18px; }
h3 { font-size: 1.25rem; margin: 0 0 10px; }
p { margin: 0 0 1.15em; }
.fp-lead { color: var(--fp-muted); font-size: clamp(1.06rem, 2vw, 1.3rem); }
.fp-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 13px 22px; border: 2px solid transparent; border-radius: 14px; background: var(--fp-purple); color: #fff !important; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; box-shadow: 0 10px 24px rgba(111, 75, 242, .22); }
.fp-button:hover { transform: translateY(-2px); background: var(--fp-purple-dark); box-shadow: 0 14px 30px rgba(111, 75, 242, .28); }
.fp-button--secondary { background: #fff; color: var(--fp-ink) !important; border-color: var(--fp-border); box-shadow: none; }
.fp-button--secondary:hover { background: var(--fp-cream); }
.fp-button--coral { background: var(--fp-coral); box-shadow: 0 10px 24px rgba(255, 95, 125, .22); }
.fp-button--small { min-height: 44px; padding: 10px 16px; font-size: .92rem; }
.fp-button--wide { width: 100%; }
.fp-text-link { color: var(--fp-purple-dark); font-weight: 800; text-decoration: none; }
.fp-text-link:hover { text-decoration: underline; }

.fp-announcement { background: var(--fp-ink); color: #fff; font-size: .9rem; font-weight: 700; text-align: center; padding: 9px 18px; }
.fp-announcement a { color: var(--fp-yellow); text-decoration: none; }
.fp-site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(232,225,239,.85); backdrop-filter: blur(14px); }
.fp-header-row { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.fp-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--fp-ink); text-decoration: none; font-weight: 900; font-size: 1.42rem; letter-spacing: -.04em; white-space: nowrap; }
.fp-brand-mark { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--fp-purple), var(--fp-coral)); box-shadow: 0 8px 20px rgba(111,75,242,.22); font-size: 1.24rem; }
.fp-brand .custom-logo { max-height: 52px; width: auto; }
.fp-main-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.fp-main-nav ul { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.fp-main-nav a { color: var(--fp-ink); text-decoration: none; font-size: .95rem; font-weight: 760; }
.fp-main-nav a:hover, .fp-main-nav .current-menu-item > a { color: var(--fp-purple); }
.fp-menu-toggle { display: none; margin-left: auto; border: 0; background: var(--fp-cream); color: var(--fp-ink); width: 46px; height: 46px; border-radius: 12px; font-size: 1.35rem; cursor: pointer; }
.fp-header-cta { margin-left: 4px; }

.fp-hero { position: relative; overflow: hidden; padding: 84px 0 74px; background: radial-gradient(circle at 90% 0, #efe9ff 0, transparent 34%), radial-gradient(circle at 6% 80%, #fff0d3 0, transparent 28%), var(--fp-cream); }
.fp-hero::after { content: ""; position: absolute; inset: auto -70px -110px auto; width: 280px; height: 280px; border: 36px solid rgba(255,95,125,.10); border-radius: 50%; }
.fp-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 68px; }
.fp-hero-copy { max-width: 680px; }
.fp-hero-copy h1 span { color: var(--fp-purple); }
.fp-hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 30px 0 28px; }
.fp-mini-trust { display: flex; flex-wrap: wrap; gap: 18px; color: var(--fp-muted); font-size: .92rem; font-weight: 700; }
.fp-mini-trust span::before { content: "✓"; margin-right: 7px; color: #1e9e6f; font-weight: 900; }
.fp-paper-stage { min-height: 540px; position: relative; display: grid; place-items: center; }
.fp-paper-card { position: absolute; width: min(74%, 355px); aspect-ratio: .74; border-radius: 20px; background: #fff; box-shadow: 0 26px 65px rgba(43,28,74,.20); padding: 26px; border: 1px solid rgba(232,225,239,.8); }
.fp-paper-card:nth-child(1) { transform: rotate(-9deg) translate(-70px, 14px); background: #fff4d9; }
.fp-paper-card:nth-child(2) { transform: rotate(8deg) translate(70px, 18px); background: #e8fff6; }
.fp-paper-card:nth-child(3) { transform: translateY(-8px); }
.fp-paper-top { height: 10px; width: 48%; border-radius: 999px; background: var(--fp-coral); margin-bottom: 30px; }
.fp-paper-title { font-family: Georgia, serif; font-size: 2rem; line-height: 1.05; margin: 0 0 12px; }
.fp-paper-sub { color: var(--fp-muted); font-weight: 700; font-size: .9rem; margin-bottom: 24px; }
.fp-paper-line { height: 11px; border-radius: 999px; background: #eee9f4; margin: 13px 0; }
.fp-paper-line:nth-of-type(2n) { width: 82%; }
.fp-paper-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 28px; }
.fp-paper-checks span { display: flex; align-items: center; gap: 8px; color: var(--fp-muted); font-size: .82rem; font-weight: 700; }
.fp-paper-checks i { width: 16px; height: 16px; border: 2px solid var(--fp-purple); border-radius: 4px; }
.fp-float-badge { position: absolute; right: 1%; bottom: 11%; z-index: 5; background: var(--fp-yellow); color: var(--fp-ink); border-radius: 999px; padding: 12px 18px; font-weight: 900; transform: rotate(-5deg); box-shadow: var(--fp-shadow-soft); }

.fp-trust-strip { border-block: 1px solid var(--fp-border); background: #fff; }
.fp-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fp-trust-item { padding: 26px 22px; text-align: center; border-right: 1px solid var(--fp-border); }
.fp-trust-item:last-child { border-right: 0; }
.fp-trust-item strong { display: block; font-size: 1rem; }
.fp-trust-item span { color: var(--fp-muted); font-size: .88rem; }

.fp-occasion-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fp-occasion-card { min-height: 235px; padding: 25px; border-radius: var(--fp-radius); color: var(--fp-ink); text-decoration: none; position: relative; overflow: hidden; box-shadow: var(--fp-shadow-soft); transition: transform .2s ease, box-shadow .2s ease; }
.fp-occasion-card:hover { transform: translateY(-5px); box-shadow: var(--fp-shadow); }
.fp-occasion-card:nth-child(1) { background: #ffe7ed; }
.fp-occasion-card:nth-child(2) { background: #e8fff6; }
.fp-occasion-card:nth-child(3) { background: #eee9ff; }
.fp-occasion-card:nth-child(4) { background: #fff1d5; }
.fp-occasion-icon { font-size: 2.3rem; margin-bottom: 35px; }
.fp-occasion-card h3 { font-size: 1.35rem; }
.fp-occasion-card p { color: var(--fp-muted); font-size: .92rem; margin: 0; }
.fp-occasion-card::after { content: "→"; position: absolute; right: 22px; bottom: 18px; font-size: 1.35rem; font-weight: 900; }

.fp-products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.fp-product-card { display: flex; flex-direction: column; border: 1px solid var(--fp-border); border-radius: var(--fp-radius); background: #fff; overflow: hidden; box-shadow: var(--fp-shadow-soft); transition: transform .2s ease, box-shadow .2s ease; }
.fp-product-card:hover { transform: translateY(-4px); box-shadow: var(--fp-shadow); }
.fp-product-image { display: block; aspect-ratio: 4/3; background: var(--fp-cream); overflow: hidden; }
.fp-product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.fp-product-card:hover .fp-product-image img { transform: scale(1.03); }
.fp-product-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.fp-product-badge { align-self: flex-start; display: inline-flex; border-radius: 999px; padding: 6px 10px; margin-bottom: 12px; background: #eee9ff; color: var(--fp-purple-dark); font-size: .72rem; line-height: 1; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.fp-product-card h3 { font-size: 1.22rem; }
.fp-product-card h3 a { text-decoration: none; }
.fp-product-card h3 a:hover { color: var(--fp-purple); }
.fp-product-excerpt { color: var(--fp-muted); font-size: .92rem; flex: 1; }
.fp-price-row { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 18px; }
.fp-price { font-size: 1.55rem; line-height: 1; font-weight: 900; }
.fp-old-price { color: #9a94a5; text-decoration: line-through; font-weight: 700; }
.fp-card-actions { display: flex; gap: 9px; }
.fp-card-actions .fp-button { flex: 1; }

.fp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: steps; }
.fp-step { position: relative; border-radius: var(--fp-radius); padding: 28px; background: #fff; border: 1px solid var(--fp-border); box-shadow: var(--fp-shadow-soft); }
.fp-step::before { counter-increment: steps; content: counter(steps); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; margin-bottom: 22px; background: var(--fp-purple); color: #fff; font-weight: 900; }
.fp-step p { color: var(--fp-muted); margin: 0; }

.fp-benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fp-benefit { padding: 26px; border: 1px solid var(--fp-border); border-radius: var(--fp-radius); background: #fff; }
.fp-benefit-icon { font-size: 1.65rem; margin-bottom: 15px; }
.fp-benefit p { color: var(--fp-muted); margin: 0; }

.fp-free-box { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; border-radius: 34px; padding: 58px; background: var(--fp-ink); color: #fff; box-shadow: var(--fp-shadow); }
.fp-free-box h2, .fp-free-box h3 { color: #fff; }
.fp-free-box p { color: #d9d1e6; }
.fp-free-box::before { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,95,125,.14); right: -80px; top: -120px; }
.fp-free-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.fp-free-list li::before { content: "✓"; color: var(--fp-yellow); font-weight: 900; margin-right: 9px; }
.fp-form { position: relative; z-index: 1; padding: 28px; border-radius: 22px; background: #fff; color: var(--fp-ink); }
.fp-field { margin-bottom: 14px; }
.fp-field label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 800; }
.fp-field input, .fp-field textarea, .fp-field select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #dcd4e7; border-radius: 12px; background: #fff; color: var(--fp-ink); font: inherit; }
.fp-field textarea { min-height: 145px; resize: vertical; }
.fp-field input:focus, .fp-field textarea:focus { outline: 3px solid rgba(111,75,242,.15); border-color: var(--fp-purple); }
.fp-form-note { margin-top: 11px; color: var(--fp-muted); font-size: .78rem; }
.fp-honeypot { position: absolute !important; left: -9999px !important; }
.fp-alert { margin-bottom: 20px; padding: 15px 18px; border-radius: 14px; font-weight: 700; }
.fp-alert--success { background: #e8fff6; color: #117151; }
.fp-alert--error { background: #fff0f1; color: #a82d42; }

.fp-faq { display: grid; gap: 14px; }
.fp-faq details { border: 1px solid var(--fp-border); border-radius: 16px; background: #fff; padding: 0 20px; }
.fp-faq summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; font-weight: 850; position: relative; }
.fp-faq summary::-webkit-details-marker { display: none; }
.fp-faq summary::after { content: "+"; position: absolute; right: 0; top: 18px; font-size: 1.5rem; color: var(--fp-purple); }
.fp-faq details[open] summary::after { content: "−"; }
.fp-faq details p { color: var(--fp-muted); padding-bottom: 18px; }

.fp-page-hero { padding: 64px 0 54px; background: radial-gradient(circle at 80% 20%, #eee9ff, transparent 38%), var(--fp-cream); text-align: center; }
.fp-page-hero h1 { font-size: clamp(2.45rem, 5vw, 4.25rem); }
.fp-page-hero p { max-width: 700px; margin-inline: auto; }
.fp-page-content { padding: 72px 0 92px; }
.fp-page-content .fp-narrow > *:first-child { margin-top: 0; }
.fp-page-content h2 { margin-top: 1.25em; font-size: clamp(1.75rem, 3vw, 2.6rem); }
.fp-page-content ul { padding-left: 1.25rem; }
.fp-page-content li { margin-bottom: .55rem; }
.fp-content-card { border: 1px solid var(--fp-border); border-radius: var(--fp-radius); padding: 30px; background: #fff; box-shadow: var(--fp-shadow-soft); }

.fp-shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.fp-shop-count { color: var(--fp-muted); font-weight: 700; }

.fp-product-single { padding: 70px 0 94px; }
.fp-breadcrumbs { margin-bottom: 28px; color: var(--fp-muted); font-size: .9rem; }
.fp-breadcrumbs a { color: var(--fp-purple-dark); text-decoration: none; }
.fp-product-layout { display: grid; grid-template-columns: 1.02fr .98fr; gap: 58px; align-items: start; }
.fp-product-main-image { border-radius: 30px; overflow: hidden; border: 1px solid var(--fp-border); background: var(--fp-cream); box-shadow: var(--fp-shadow); }
.fp-product-main-image img { width: 100%; display: block; }
.fp-product-summary { position: sticky; top: 126px; }
.fp-product-summary h1 { font-size: clamp(2.35rem, 4.5vw, 4rem); }
.fp-product-summary .fp-price { font-size: 2.15rem; }
.fp-product-intro { color: var(--fp-muted); font-size: 1.05rem; }
.fp-product-points { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 11px; }
.fp-product-points li { display: flex; gap: 10px; align-items: flex-start; }
.fp-product-points li::before { content: "✓"; display: grid; place-items: center; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--fp-mint); color: #147957; font-size: .78rem; font-weight: 900; }
.fp-secure-note { margin-top: 13px; color: var(--fp-muted); font-size: .84rem; text-align: center; }
.fp-product-details { margin-top: 74px; display: grid; grid-template-columns: 1fr .72fr; gap: 36px; }
.fp-product-details h2 { font-size: 2.1rem; }
.fp-included-box { border-radius: var(--fp-radius); padding: 28px; background: var(--fp-cream); }
.fp-included-box ul { padding-left: 1.1rem; }

.fp-footer { background: #1d1531; color: #d8d0e6; padding: 70px 0 24px; }
.fp-footer h3 { color: #fff; font-size: 1rem; letter-spacing: 0; }
.fp-footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3, .8fr); gap: 46px; }
.fp-footer-brand p { max-width: 370px; }
.fp-footer a { color: #d8d0e6; text-decoration: none; }
.fp-footer a:hover { color: #fff; }
.fp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.fp-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; }
.fp-payment-pills { display: flex; gap: 7px; }
.fp-payment-pills span { padding: 4px 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 6px; color: #fff; font-size: .72rem; font-weight: 800; }

.fp-404 { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.fp-404 strong { display: block; font-family: Georgia, serif; font-size: 7rem; color: var(--fp-purple); line-height: 1; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1024px) {
  .fp-main-nav ul { gap: 17px; }
  .fp-header-cta { display: none; }
  .fp-hero-grid { gap: 38px; }
  .fp-products-grid { grid-template-columns: repeat(2, 1fr); }
  .fp-occasion-grid { grid-template-columns: repeat(2, 1fr); }
  .fp-footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .fp-footer-grid > div:last-child { display: none; }
}

@media (max-width: 820px) {
  .fp-section { padding: 68px 0; }
  .fp-menu-toggle { display: grid; place-items: center; }
  .fp-main-nav { display: none; position: absolute; left: 20px; right: 20px; top: calc(100% + 10px); padding: 18px; border: 1px solid var(--fp-border); border-radius: 18px; background: #fff; box-shadow: var(--fp-shadow); }
  .fp-main-nav.is-open { display: block; }
  .fp-main-nav ul { display: grid; gap: 5px; }
  .fp-main-nav a { display: block; padding: 12px; border-radius: 10px; }
  .fp-main-nav a:hover { background: var(--fp-cream); }
  .fp-hero { padding-top: 58px; }
  .fp-hero-grid, .fp-free-box, .fp-product-layout, .fp-product-details { grid-template-columns: 1fr; }
  .fp-hero-copy { text-align: center; margin-inline: auto; }
  .fp-hero-actions, .fp-mini-trust { justify-content: center; }
  .fp-paper-stage { min-height: 500px; }
  .fp-product-summary { position: static; }
  .fp-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .fp-trust-item:nth-child(2) { border-right: 0; }
  .fp-trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--fp-border); }
  .fp-steps, .fp-benefit-grid { grid-template-columns: 1fr; }
  .fp-free-box { padding: 38px; }
  .fp-footer-grid { grid-template-columns: 1fr 1fr; }
  .fp-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .fp-container, .fp-narrow { width: min(calc(100% - 28px), var(--fp-max)); }
  .fp-announcement { font-size: .78rem; }
  .fp-header-row { min-height: 68px; }
  .fp-brand { font-size: 1.2rem; }
  .fp-brand-mark { width: 38px; height: 38px; }
  .fp-hero { padding: 48px 0 54px; }
  h1 { font-size: 2.75rem; }
  .fp-hero-actions { display: grid; }
  .fp-hero-actions .fp-button { width: 100%; }
  .fp-paper-stage { min-height: 415px; }
  .fp-paper-card { width: 72%; padding: 19px; }
  .fp-paper-card:nth-child(1) { transform: rotate(-8deg) translate(-44px, 12px); }
  .fp-paper-card:nth-child(2) { transform: rotate(8deg) translate(44px, 12px); }
  .fp-paper-title { font-size: 1.45rem; }
  .fp-float-badge { right: 0; bottom: 7%; font-size: .82rem; }
  .fp-products-grid, .fp-occasion-grid { grid-template-columns: 1fr; }
  .fp-product-card { border-radius: 20px; }
  .fp-free-box { padding: 27px 21px; border-radius: 24px; }
  .fp-form { padding: 20px; }
  .fp-footer-grid { grid-template-columns: 1fr; }
  .fp-footer-brand { grid-column: auto; }
  .fp-footer-bottom { align-items: flex-start; flex-direction: column; }
  .fp-card-actions { flex-direction: column; }
  .fp-shop-toolbar { align-items: flex-start; flex-direction: column; }
}
