/* =========================================================================
   Kaiju Legends — One-Pager
   Recreated 1:1 from the Claude Design handoff (v2). Single breakpoint: 860px.
   Design tokens: blue #1488B8 · orange #FF7A2E · ink #16242E · page #FBFAF7
   ========================================================================= */

/* ---- Reset / base ---- */
.kl-page *,
.kl-page *::before,
.kl-page *::after { box-sizing: border-box; }

/* Kill the browser's default 8px body margin (white frame) on this page. This
   stylesheet only loads on the front page, so it doesn't affect the rest of the shop. */
html, body { margin: 0; padding: 0; }
/* Body font must be set on <body> (not just .kl-page) so DOM appended to body —
   e.g. the FunnelKit slide-in cart — inherits the brand font instead of serif. */
body { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: #16242E; }

html { scroll-behavior: smooth; }

.kl-page {
	margin: 0;
	font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
	color: #16242E;
	background: #FBFAF7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
.kl-page a { text-decoration: none; color: inherit; }
.kl-page button { font-family: inherit; cursor: pointer; }
.kl-page img, .kl-page video { max-width: 100%; }

.kl-container { max-width: 1180px; margin: 0 auto; }

/* ---- Section heads / kickers ---- */
.kl-kicker { font-weight: 800; font-size: 13px; letter-spacing: 0.08em; }
.kl-kicker--orange { color: #F0641A; }
.kl-kicker--blue { color: #1488B8; }
.kl-sec-head { text-align: center; margin-bottom: 46px; }
.kl-sec-title {
	font-family: 'Saira Condensed', sans-serif;
	font-weight: 800;
	font-size: clamp(30px, 4vw, 44px);
	margin: 8px 0 0;
	letter-spacing: -0.01em;
	line-height: 1.04;
}
.kl-sec-title--sm { font-size: clamp(28px, 4vw, 42px); }

/* =========================================================================
   Desktop chrome — fixed logo + pill menu
   ========================================================================= */
.kl-herologo { position: fixed; top: 16px; left: 28px; z-index: 60; display: block; }
.kl-herologo img { width: 150px; height: 82px; top: 10px; position: relative; object-fit: contain; display: block; }

.kl-pillmenu {
	position: fixed; top: 32px; left: 50%; transform: translateX(-50%); z-index: 60;
	display: flex; align-items: center; gap: 32px;
	background: #16242E; border-radius: 999px; padding: 6px 6px 6px 32px;
	box-shadow: 0 12px 32px rgba(22,36,46,0.28);
	font-weight: 700; font-size: 14px; color: #fff; white-space: nowrap; text-transform: uppercase;
}
.kl-pillmenu a { color: #fff; transition: color .2s; }
.kl-pillmenu a:not(.kl-pill-cart):hover { color: #FF7A2E; }
.kl-pill-cart {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; background: #FF7A2E; border-radius: 999px; color: #fff; transition: transform .15s;
}
.kl-pill-cart:hover { transform: translateY(-2px); color: #fff; }
.kl-cart-badge {
	position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px;
	background: #fff; color: #16242E; border-radius: 999px; font-size: 11px; font-weight: 800;
	display: flex; align-items: center; justify-content: center;
}
.kl-cart-badge.is-hidden { display: none; }

/* ---- Mobile header ---- */
.kl-mobileheader {
	display: none; position: absolute; left: 0; right: 0; top: 0; z-index: 50;
	transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
	background: transparent; border-bottom: 1px solid transparent;
}
.kl-mobileheader.is-solid {
	background: rgba(251,250,247,0.82);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-bottom-color: #ECE6DC;
}
.kl-mobileheader-inner {
	max-width: 1180px; margin: 0 auto; padding: 14px 24px;
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.kl-mob-logo { display: flex; align-items: center; gap: 10px; }
.kl-mob-logo img { width: 110px; height: 60px; object-fit: contain; display: block; }
.kl-mob-actions { display: flex; align-items: center; gap: 12px; }
.kl-mob-cart {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; color: #16242E; transition: transform .15s;
}
.kl-mob-cart:hover { transform: translateY(-2px); }
.kl-mob-cart .kl-cart-badge {
	top: 0; right: 0; min-width: 20px; height: 20px; background: #FF7A2E; color: #fff; font-size: 11.5px;
}
.kl-burger {
	display: none; width: 44px; height: 44px; border: 1px solid #DDE5EA; background: #fff;
	border-radius: 14px; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.kl-burger span { width: 18px; height: 2px; background: #16242E; border-radius: 2px; display: block; }
.kl-mobmenu {
	border-top: 1px solid #ECE6DC; background: #FBFAF7; padding: 8px 24px 18px;
	display: none; flex-direction: column; gap: 2px; font-weight: 600;
}
.kl-mobmenu.is-open { display: flex; }
.kl-mobmenu a { padding: 13px 6px; border-bottom: 1px solid #F0EBE2; }
.kl-mobmenu a:last-child { border-bottom: none; }

/* =========================================================================
   Hero
   ========================================================================= */
.kl-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #E4F4FB 0%, #FBFAF7 100%); }
.kl-herovideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.kl-heromobileimg { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.kl-herogradient { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(228,244,251,0.92) 0%, rgba(228,244,251,0.72) 38%, rgba(228,244,251,0) 68%); }
.kl-herogrid {
	position: relative; max-width: 1180px; margin: 0 auto; padding: 100px 24px 70px;
	display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; min-height: 100svh;
}
.kl-herocopy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.kl-herobadges { display: flex; flex-wrap: wrap; gap: 10px; }
.kl-chip { background: #fff; border: 1px solid #E7EDF1; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #3A4C59; }
.kl-hero-h1 {
	font-family: 'Saira Condensed', sans-serif; font-weight: 800;
	font-size: clamp(34px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.02em; margin: 22px 0 0; color: #000;
}
.kl-hero-h1 .accent { color: #1488B8; }
.kl-hero-sub { font-size: clamp(15px, 1.7vw, 17px); line-height: 1.55; color: #51677A; margin: 0; max-width: 480px; }
.kl-hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; }

.kl-btn-primary {
	display: inline-flex; align-items: center; gap: 10px; background: #FF7A2E; color: #fff;
	font-weight: 800; font-size: 17px; padding: 16px 28px; border: none; border-radius: 999px;
	box-shadow: 0 12px 26px rgba(255,122,46,0.36); transition: transform .15s, box-shadow .2s;
}
.kl-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(255,122,46,0.46); }
/* Beat the base `.kl-page a { color: inherit }` reset so the CTA text stays white */
.kl-page a.kl-btn-primary { color: #fff; }
.kl-btn-secondary {
	display: inline-flex; align-items: center; gap: 8px; color: #16242E; font-weight: 700; font-size: 16px;
	padding: 14px 22px; border-radius: 999px; border: 1.5px solid #16242E; background: transparent;
	transition: background .2s, color .2s;
}
.kl-btn-secondary:hover { background: #16242E; color: #fff; }

/* =========================================================================
   Order / product card
   ========================================================================= */
.kl-order { scroll-margin-top: 90px; padding: 80px 24px; }
.kl-ordercard {
	max-width: 1000px; margin: 0 auto; background: #fff; border: 1px solid #EFEAE0; border-radius: 34px;
	box-shadow: 0 24px 60px rgba(22,36,46,0.08); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr;
}
.kl-ordercard-media { background: linear-gradient(160deg, #E4F4FB, #D2ECF7); display: flex; align-items: stretch; justify-content: stretch; }
.kl-ordercardimg { width: 100%; height: 100%; min-height: 420px; object-fit: cover; display: block; }
.kl-ordercard-body { padding: 38px 38px 40px; display: flex; flex-direction: column; gap: 16px; }
.kl-badge-limited { align-self: flex-start; background: #FFE7D6; color: #F0641A; font-weight: 800; font-size: 12px; letter-spacing: 0.04em; padding: 6px 11px; border-radius: 999px; }
.kl-order-title { font-family: 'Saira Condensed', sans-serif; font-weight: 800; font-size: 32px; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
.kl-price-row { display: flex; align-items: baseline; gap: 10px; }
.kl-price { font-family: 'Saira Condensed', sans-serif; font-weight: 800; font-size: 34px; color: #16242E; }
.kl-price-note { font-size: 14px; color: #8294A1; font-weight: 600; }
.kl-order-desc { font-size: 15.5px; line-height: 1.6; color: #51677A; margin: 0; }
.kl-qty-row { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.kl-qty-label { font-weight: 700; font-size: 14px; color: #3A4C59; }
.kl-stepper { display: inline-flex; align-items: center; border: 1.5px solid #E7EDF1; border-radius: 999px; overflow: hidden; }
.kl-stepper button { width: 42px; height: 42px; border: none; background: #fff; color: #16242E; line-height: 1; }
.kl-stepper button:hover { background: #F4F1EB; }
.kl-step-dec { font-size: 22px; }
.kl-step-inc { font-size: 20px; }
.kl-qty-value { min-width: 40px; text-align: center; font-weight: 800; font-size: 17px; }
.kl-addcart {
	margin-top: 8px; width: 100%; background: #FF7A2E; color: #fff; font-weight: 800; font-size: 17px;
	padding: 17px; border: none; border-radius: 16px; box-shadow: 0 12px 26px rgba(255,122,46,0.34);
	transition: transform .15s, box-shadow .2s, background .2s;
}
.kl-addcart:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(255,122,46,0.44); }
.kl-addcart.is-added { background: #1E9E63; box-shadow: 0 12px 26px rgba(30,158,99,0.30); }
.kl-addcart[disabled] { opacity: .7; cursor: default; }
/* Neutralise WooCommerce's native add-to-cart button extras on our custom button */
.kl-addcart.loading, .kl-addcart.added { opacity: 1; }
.kl-addcart::after { display: none !important; }
.kl-ordercard-body .added_to_cart { display: none !important; }
.kl-trust { display: flex; flex-wrap: wrap; gap: 14px 20px; margin-top: 6px; }
.kl-trust-item { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: #51677A; font-weight: 600; }
.kl-trust-item .green { color: #1E9E63; }

/* =========================================================================
   Why you'll love it
   ========================================================================= */
.kl-love { background: #FFF3E8; padding: 80px 24px; }
.kl-love-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.kl-lovecard {
	background: #fff; border-radius: 26px; padding: 28px; border: 1px solid #F4E5D4;
	box-shadow: 0 10px 30px rgba(22,36,46,0.05); transition: transform .25s ease, box-shadow .25s ease;
}
.kl-lovecard:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(22,36,46,0.11); }
.kl-lovecard-icon { width: 54px; height: 54px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 16px; transition: transform .25s ease; }
.kl-lovecard:hover .kl-lovecard-icon { transform: rotate(-6deg) scale(1.1); }
.kl-lovecard-icon.blue { background: #E4F4FB; }
.kl-lovecard-icon.orange { background: #FFE7D6; }
.kl-lovecard h3 { font-family: 'Saira Condensed', sans-serif; font-size: 20px; margin: 0 0 6px; }
.kl-lovecard p { font-size: 14.5px; line-height: 1.55; color: #51677A; margin: 0; }

/* =========================================================================
   Gallery
   ========================================================================= */
.kl-gallery { scroll-margin-top: 90px; padding: 80px 24px; }
.kl-gallery-head { margin-bottom: 40px; max-width: 820px; }
.kl-gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.kl-gallery figure { margin: 0; }
.kl-figure-rel { position: relative; }
.kl-span-7 { grid-column: span 7; }
.kl-span-5 { grid-column: span 5; }
.kl-galzoom { border-radius: 26px; overflow: hidden; }
.kl-galzoom img { display: block; width: 100%; object-fit: cover; border-radius: 26px; transition: transform .5s ease; }
.kl-galzoom:hover img { transform: scale(1.045); }
.kl-caption { margin-top: 10px; font-weight: 700; color: #3A4C59; }
.kl-gallery-badge { position: absolute; top: 14px; left: 14px; background: #FF7A2E; color: #fff; font-weight: 800; font-size: 12px; padding: 7px 12px; border-radius: 999px; box-shadow: 0 6px 14px rgba(255,122,46,0.3); }

/* =========================================================================
   About
   ========================================================================= */
.kl-about { scroll-margin-top: 90px; background: #E4F4FB; padding: 78px 24px; }
.kl-storygrid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.kl-about .kl-sec-title { margin: 8px 0 20px; }
.kl-about-p1 { font-size: 16.5px; line-height: 1.65; color: #3A4C59; margin: 0 0 16px; }
.kl-about-p2 { font-size: 15.5px; line-height: 1.65; color: #51677A; margin: 0; }
.kl-about-p2 strong, .kl-about-p1 strong { color: #16242E; }
.kl-about-img { width: 100%; height: 380px; object-fit: cover; border-radius: 30px; display: block; }

/* =========================================================================
   Community
   ========================================================================= */
.kl-community { padding: 80px 24px; }
.kl-community-inner { max-width: 1180px; margin: 0 auto; text-align: center; }
.kl-community .kl-sec-title { max-width: 680px; margin-left: auto; margin-right: auto; margin-bottom: 35px; }
.kl-community-sub { font-size: 16px; color: #51677A; max-width: 520px; margin: 0 auto 40px; }
.kl-community-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.kl-community-grid img { width: 100%; height: 230px; object-fit: cover; border-radius: 22px; display: block; }

/* =========================================================================
   FAQ
   ========================================================================= */
.kl-faq { scroll-margin-top: 90px; background: #FFF3E8; padding: 78px 24px; }
.kl-faq-inner { max-width: 780px; margin: 0 auto; }
.kl-faq-card { background: #fff; border-radius: 26px; border: 1px solid #F4E5D4; overflow: hidden; box-shadow: 0 14px 36px rgba(22,36,46,0.06); }
.kl-faq-item { border-bottom: 1px solid #F2E9DC; }
.kl-faq-item:last-child { border-bottom: none; }
.kl-faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: none; border: none; text-align: left; }
.kl-faq-q .q { font-weight: 700; font-size: 16.5px; color: #16242E; }
.kl-faq-sign { flex-shrink: 0; width: 30px; height: 30px; border-radius: 999px; background: #FFE7D6; color: #F0641A; font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; line-height: 1; }
.kl-faq-panel { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s ease, opacity .3s ease; }
.kl-faq-panel.is-open { max-height: 240px; opacity: 1; }
.kl-faq-panel p { margin: 0; padding: 0 24px 22px; font-size: 15px; line-height: 1.6; color: #51677A; }

/* =========================================================================
   Contact
   ========================================================================= */
.kl-contact { scroll-margin-top: 90px; padding: 78px 24px; }
.kl-contact-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
.kl-contact .kl-sec-title { margin: 8px 0 16px; }
.kl-contact-body { font-size: 16px; line-height: 1.6; color: #51677A; margin: 0 0 22px; }
.kl-contact-email { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: #1488B8; }
.kl-contact-form { position: relative; background: #fff; border: 1px solid #EFEAE0; border-radius: 26px; padding: 28px; box-shadow: 0 14px 36px rgba(22,36,46,0.06); display: flex; flex-direction: column; gap: 14px; }
.kl-form-row { display: flex; gap: 14px; flex-wrap: wrap; }
.kl-contact-form input, .kl-contact-form textarea { padding: 14px 16px; border: 1.5px solid #E7EDF1; border-radius: 14px; font-size: 15px; font-family: inherit; color: #16242E; background: #fff; }
.kl-contact-form input { flex: 1; min-width: 140px; }
.kl-contact-form textarea { resize: vertical; }
.kl-contact-form input:focus, .kl-contact-form textarea:focus { border-color: #2FB3E0; outline: none; }
.kl-contact-submit { background: #16242E; color: #fff; font-weight: 800; font-size: 16px; padding: 15px; border: none; border-radius: 14px; transition: transform .15s, background .2s; }
.kl-contact-submit:hover { transform: translateY(-2px); }
.kl-contact-submit.is-sent { background: #1E9E63; }
.kl-hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.kl-form-note { font-size: 13.5px; color: #8294A1; margin: 0; }

/* =========================================================================
   Footer
   ========================================================================= */
.kl-footer { background: #16242E; color: #C4D2DC; padding: 60px 24px 40px; }
.kl-footgrid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; }
.kl-foot-logo img { width: 120px; height: 65px; object-fit: contain; margin-bottom: 22px; display: block; }
.kl-footer h4 { color: #fff; font-size: 14px; margin: 0 0 14px; font-weight: 800; }
.kl-foot-links { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.kl-footer a { transition: color .2s; }
.kl-footer a:hover { color: #fff; }
.kl-footbottom { max-width: 1180px; margin: 40px auto 0; padding-top: 23px; border-top: 1px solid #2C3D49; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: 13px; color: #7E93A1; }

/* =========================================================================
   Sticky mobile CTA
   ========================================================================= */
.kl-mobcta {
	display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
	background: rgba(255,255,255,0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	border-top: 1px solid #ECE6DC; padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
	align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -6px 20px rgba(22,36,46,0.08);
}
.kl-mobcta-price { font-family: 'Saira Condensed', sans-serif; font-weight: 800; font-size: 20px; line-height: 1.1; }
.kl-mobcta-sub { font-size: 11px; color: #8294A1; font-weight: 600; line-height: 1.1; }
.kl-mobcta-btn { flex: 1; max-width: 230px; text-align: center; background: #FF7A2E; color: #fff; font-weight: 800; font-size: 16px; padding: 14px; border-radius: 14px; box-shadow: 0 8px 18px rgba(255,122,46,0.34); }

/* =========================================================================
   Responsive — single breakpoint at 860px
   ========================================================================= */
@media (max-width: 860px) {
	.kl-mobileheader { display: block; }
	.kl-pillmenu { display: none !important; }
	.kl-herologo { display: none !important; }
	.kl-herovideo { display: none; }
	.kl-heromobileimg { display: block; }
	.kl-herogradient { display: none; }
	.kl-herobadges { display: none !important; }
	.kl-herogrid { grid-template-columns: 1fr !important; align-content: start !important; padding-top: 110px !important; }
	.kl-herocopy { text-align: center; align-items: center !important; }
	.kl-ordercard { grid-template-columns: 1fr !important; }
	.kl-ordercardimg { min-height: 300px !important; height: 300px !important; }
	.kl-burger { display: flex; }
	.kl-mobcta { display: flex; }
	.kl-footgrid { grid-template-columns: 1fr !important; }
	.kl-storygrid { grid-template-columns: 1fr !important; }
	.kl-contact-grid { grid-template-columns: 1fr !important; }
}

/* Give the fixed WP admin bar some breathing room for logged-in previews */
body.admin-bar .kl-pillmenu { top: 44px; }
body.admin-bar .kl-herologo { top: 28px; }

/* =========================================================================
   FunnelKit slide-in cart — inherit the brand typography
   ========================================================================= */
#fkcart-modal, #fkcart-modal * { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
#fkcart-modal .fkcart-title,
#fkcart-modal .fkcart-zero-state-title,
#fkcart-modal .fkcart-item-title,
#fkcart-modal .fkcart-checkout-button,
#fkcart-modal .fkcart-primary-button,
#fkcart-modal .fkcart-subtotal-text,
#fkcart-modal .fkcart-price { font-family: 'Saira Condensed', sans-serif; }
