/*
Theme Name: Printoak Adventures
Author: Printoak
Description: A colourful storybook shop with personalised WooCommerce adventures.
Version: 3.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: printoak-adventures
*/
:root{--blue:#087fca;--navy:#15548b;--ink:#254359;--teal:#208d7b;--mint:#e4f8f4;--cream:#fffdf7;--yellow:#ffdb49;--pink:#e97ca5;--line:#d9e9e9;--muted:#576f7d}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.6 Nunito,Arial,sans-serif}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto}button,input,textarea,select{font:inherit}button{cursor:pointer}button,a,input,textarea,select,summary{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid #ba5b13;outline-offset:5px}h1,h2,h3,p,figure{margin:0}h1,h2,h3{line-height:1.15;color:var(--navy);font-weight:900}p+p{margin-top:12px}h2{font-size:clamp(29px,3.1vw,42px);letter-spacing:-.025em}h3{font-size:20px}.wrap{width:min(1220px,calc(100% - 48px));margin-inline:auto}.section{padding-block:72px}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:900;color:var(--teal);margin-bottom:12px}.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wp-element-button{display:inline-flex;gap:18px;align-items:center;justify-content:center;border:0;border-radius:99px;background:var(--yellow);color:#234d62;padding:13px 24px;font-size:14px;font-weight:900;line-height:1.5;box-shadow:0 4px 0 #eec236;cursor:pointer}.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:#ffe678;color:#234d62;text-decoration:none}.announcement{background:#078bd0;text-align:center;color:white;padding:6px 16px;font-size:11px;font-weight:800;letter-spacing:.04em}.site-header{background:var(--cream);position:relative;z-index:10}.site-header:after{content:"";position:absolute;top:100%;left:0;right:0;height:15px;background:radial-gradient(ellipse at top,var(--cream) 68%,transparent 71%) 0 0/56px 19px repeat-x;pointer-events:none}.nav-row{display:flex;min-height:84px;align-items:center;gap:40px}.brand{color:var(--navy);font-size:33px;font-weight:900;letter-spacing:-.07em;line-height:.9;display:block}.brand:hover{text-decoration:none}.brand-dot{color:#e9b72b;margin-left:5px}.brand small{display:block;font-size:8px;letter-spacing:.12em;margin-top:10px}.brand-logo{width:auto;max-width:190px;max-height:60px}.desktop-nav{margin-left:auto}.desktop-nav ul{display:flex;gap:30px;list-style:none;padding:0;margin:0;font-size:13px;font-weight:900}.nav-actions{display:flex;align-items:center;gap:12px}.cart-link{display:flex;align-items:center;gap:14px;border:1px solid #aed7cb;border-radius:50px;padding:10px 18px;font-size:12px;font-weight:900;background:#fff}.mobile-menu{display:none}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:12px;top:12px;background:#fff;padding:12px;z-index:100}
.storybook-hero{position:relative;isolation:isolate;background:#e1f3fc;overflow:hidden}.hero-landscape{display:block;width:100%;height:auto;aspect-ratio:3/1;object-fit:fill}.hero-copy{position:absolute;left:50%;top:34px;transform:translateX(-50%);width:min(530px,44%);text-align:center;z-index:2}.hero-copy h1{font-size:clamp(38px,4.3vw,64px);line-height:1;letter-spacing:-.035em;text-shadow:0 2px 0 #fff9}.hero-copy h1>span{display:block;color:var(--teal)}.hero-copy>p:not(.eyebrow){max-width:355px;margin:16px auto 20px;font-size:14px;line-height:1.6;color:#28465b}.hero-copy .eyebrow{font-size:9px;color:var(--navy)}.hero-labels{position:absolute;bottom:17px;left:6%;right:6%;display:flex;justify-content:space-between;gap:24px;font-size:11px;font-weight:900}.hero-labels span{background:#fffef2ed;padding:8px 15px;border-radius:50px;box-shadow:0 3px 16px #204e5614}.benefits{position:relative;z-index:3;margin-top:-4px;background:white;border:1px solid #e2eeed;border-radius:0 0 24px 24px;display:grid;grid-template-columns:repeat(4,1fr);box-shadow:0 8px 20px #2648600a;padding:23px 12px;gap:10px}.benefits span{display:flex;gap:12px;align-items:center;justify-content:center;font-size:12px;font-weight:800}.benefits svg{width:28px;height:30px;color:var(--teal)}.benefits span:nth-child(2) svg{color:#dcaa27}.benefits span:nth-child(3) svg{color:var(--blue)}.benefits span:nth-child(4) svg{color:var(--pink)}.section-heading{text-align:center;margin:0 auto 32px;max-width:740px}.section-heading>p:last-child{color:var(--muted);max-width:565px;margin:15px auto 0;font-size:15px}.adventures-section{padding:66px 0 68px;background:linear-gradient(#f0fbf8,var(--cream))}.story-filters{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-bottom:28px}.story-filters[hidden]{display:none}.story-filters button{background:#fff;border:1px solid #c8e2de;color:var(--teal);font-size:12px;font-weight:800;border-radius:50px;padding:9px 17px;min-height:40px}.story-filters button[aria-pressed=true]{background:var(--teal);color:white;border-color:var(--teal)}.story-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:22px}.story-card{flex:0 0 calc((100% - 88px)/5);background:#fff;border:1px solid #e0ebea;border-radius:18px;padding:8px;min-width:0;display:flex;flex-direction:column;box-shadow:0 4px 0 #e7eddf80;transition:transform .15s}.story-card:hover{transform:translateY(-4px)}.story-card[hidden]{display:none}.story-image{display:block;border-radius:13px;overflow:hidden}.story-image>img{display:block;aspect-ratio:1;object-fit:cover;width:100%}.po-catalogue-cover{display:block;width:100%;aspect-ratio:1;background-size:500% 200%;background-repeat:no-repeat;border-radius:13px;background-color:#eaf7fb}.po-cover-placeholder{display:grid;place-items:center;aspect-ratio:1;background:#e2f4f7;color:var(--navy);text-align:center;padding:20px;font-weight:800}.story-body{padding:15px 7px 8px;display:flex;flex-direction:column;flex:1}.story-body h3{font-size:17px;line-height:1.25;margin-bottom:10px}.story-body>p:not(.story-tag){font-size:12px;color:var(--muted);line-height:1.6;margin-bottom:16px}.story-tag{color:var(--teal);font-size:9px;font-weight:900;margin-bottom:9px}.story-bottom{margin-top:auto;display:flex;flex-wrap:wrap;align-items:center;gap:8px;justify-content:space-between;padding-top:12px;border-top:1px solid #edf0eb}.story-price{font-size:14px;font-weight:900;color:var(--navy)}.story-price del{color:#81929c;font-size:11px;margin-right:5px}.story-price ins{text-decoration:none}.story-bottom>a{font-size:11px;font-weight:900;color:var(--teal)}.story-result:empty{display:none}.story-result{text-align:center;margin-top:18px}.art-note{font-size:11px;text-align:center;color:var(--muted);margin-top:28px}.wave-section{position:relative}.wave-section:before,.wave-section:after{position:absolute;content:"";left:0;width:100%;height:22px;pointer-events:none;background:var(--cream);border-radius:0 0 55% 40%/0 0 100% 100%}.wave-section:before{top:-1px}.wave-section:after{bottom:-1px;transform:rotate(180deg)}.friends-section{background:#048bce;color:#fff;padding:68px 0}.friends-layout{display:grid;grid-template-columns:.78fr 1.22fr;align-items:center;gap:45px}.friends-layout h2{color:white;margin-bottom:18px}.friends-layout .eyebrow{color:#dcf9ff}.friends-layout p:not(.eyebrow){font-size:14px;max-width:330px;margin-bottom:25px;color:#eaf9ff}.friends{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;text-align:center;align-items:end}.po-mascot{display:block;background-image:url(assets/characters.webp);background-size:400% 100%;background-position:var(--mascot-pos,0%) center;background-repeat:no-repeat;width:100%;aspect-ratio:2/3;mask-image:radial-gradient(ellipse at center,#000 52%,transparent 73%)}.friends .po-mascot{max-height:250px}.friends figcaption{font-size:12px;font-weight:900;margin-top:8px}.sample-pages{display:flex;gap:34px;justify-content:center;padding:5px 20px}.sample-book{flex:0 1 290px;text-align:center}.sample-paper{background:#fff;padding:14px;border:1px solid #dfe6df;box-shadow:5px 7px 0 #d6e9df;border-radius:8px;transform:rotate(-3deg);transition:transform .2s}.sample-book:nth-child(2) .sample-paper{transform:rotate(2deg)}.sample-book:nth-child(3) .sample-paper{transform:rotate(-1deg)}.sample-book:hover .sample-paper{transform:rotate(0)}.po-scene-tile{display:block;width:100%;aspect-ratio:1;background-repeat:no-repeat;background-size:300% 200%;background-color:white}.sample-paper>img{aspect-ratio:1;object-fit:contain}.sample-paper>span:last-child{font-size:8px;font-weight:900;letter-spacing:.1em;color:#91a2a9}.sample-book h3{font-size:16px;margin:25px 0 5px}.sample-book>span{font-size:12px;color:var(--teal);font-weight:800}.how-section{background:var(--mint)}.how-section .section{padding-block:75px}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:35px;text-align:center}.step-icon{width:82px;height:82px;background:#fff3c9;border-radius:23px;display:grid;place-items:center;margin:0 auto 23px;position:relative;transform:rotate(-4deg)}.step-icon>svg{width:46px;height:46px;color:#d89f1b}.steps article:nth-child(2) .step-icon{background:#e0efff}.steps article:nth-child(2) svg{color:#3082bd}.steps article:nth-child(3) .step-icon{background:#f7e3ef}.steps article:nth-child(3) svg{color:#c779a4}.steps article:nth-child(4) .step-icon{background:#def2e1}.steps article:nth-child(4) svg{color:#408f64}.step-icon>span{display:grid;place-items:center;width:24px;height:24px;background:var(--navy);color:white;border:2px solid white;border-radius:50%;position:absolute;right:-7px;bottom:-5px;font-size:11px;font-weight:900}.steps h3{font-size:18px;margin-bottom:12px}.steps p{font-size:13px;line-height:1.7;color:var(--muted)}.faq-section{display:grid;grid-template-columns:.85fr 1.15fr;gap:65px;align-items:center}.faq-intro{text-align:center}.faq-intro .po-mascot{width:170px;margin:0 auto 5px;max-height:230px}.faq-list details{border-bottom:1px solid #dbe9e5}.faq-list summary{padding:18px 0;font-size:14px;font-weight:800;cursor:pointer;color:var(--navy)}.faq-list details p{font-size:13px;line-height:1.7;padding:0 0 20px;color:var(--muted)}.closing{display:grid;grid-template-columns:160px 1fr 110px;align-items:center;gap:25px;background:#fff0ae;border:1px solid #f3e5a3;border-radius:28px;padding:20px 50px;margin-bottom:75px}.closing h2{font-size:33px;margin-bottom:22px}.closing .po-mascot{width:150px}.closing-stars{color:#eab828;font-size:38px;transform:rotate(14deg)}.closing-stars span{display:block;margin-left:40px}.site-footer{position:relative;background:#169883;color:#fff;padding:55px 0 22px}.site-footer:before{content:"";position:absolute;left:0;right:0;top:-18px;background:#169883;height:20px;border-radius:60% 45% 0 0/100% 100% 0 0}.footer-row{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:45px}.footer-brand{font-size:30px;font-weight:900;letter-spacing:-.07em}.site-footer p,.site-footer a:not(.footer-brand){font-size:12px}.site-footer p{margin-top:10px}.footer-links{display:flex;flex-direction:column;gap:9px}.footer-links ul{list-style:none;padding:0;margin:0}.copyright{border-top:1px solid #ffffff3d;margin-top:30px;padding-top:18px;font-size:10px;color:#d0eee7}.page-extra{padding-block:30px}
.content-area{min-height:60vh;padding-block:55px}.content-area h1{font-size:clamp(29px,3.5vw,44px);margin-bottom:20px}.content-area input,.content-area textarea,.content-area select{max-width:100%;padding:10px;border:1px solid #bfcfce;border-radius:8px;background:white}.woocommerce .woocommerce-breadcrumb{font-size:12px;margin-bottom:28px}.woocommerce div.product p.price{color:var(--teal);font-weight:900}.woocommerce div.product .summary>p{margin-bottom:18px}.woocommerce div.product form.cart .button{float:none;background:var(--yellow);color:#234d62}.woocommerce div.product form.cart .button:hover{background:#ffe678;color:#234d62}.woocommerce form.cart{display:block}.woocommerce .quantity .qty{width:4.5em}.woocommerce .po-form{width:100%;background:#f4fcf9;border-color:#cce3dd}.woocommerce .po-preview{background:#e3f5f2}.woocommerce .po-specs{margin:20px 0}.woocommerce .po-specs dd{margin:0}.woocommerce .woocommerce-tabs ul.tabs li{background:#e8f8f2}.woocommerce-info,.woocommerce-message{border-top-color:var(--teal)}.woocommerce ul.products li.product .woocommerce-loop-product__title{font:800 18px/1.25 Nunito,sans-serif}.woocommerce ul.products li.product .price{color:var(--teal)}.po-product-cover{overflow:hidden}.po-product-cover .po-catalogue-cover{border-radius:24px}.woocommerce-error{font-size:14px}.content-area:after{content:"";display:block;clear:both}
@media(min-width:1750px){.hero-copy{top:55px}.hero-copy>p:not(.eyebrow){font-size:16px;max-width:425px}}
@media(max-width:1150px){.nav-row{gap:25px}.desktop-nav ul{gap:20px}.hero-copy{top:26px;width:48%}.hero-copy h1{font-size:43px}.hero-copy>p:not(.eyebrow){font-size:12px;max-width:305px;margin:10px auto 14px}.hero-copy .button{padding:10px 18px;font-size:12px}.hero-copy .eyebrow{font-size:8px;margin-bottom:8px}.story-card{flex-basis:calc((100% - 66px)/4)}.friends-layout{gap:20px}.friends{gap:10px}}
@media(max-width:850px){.desktop-nav{display:none}.nav-actions{margin-left:auto}.mobile-menu{display:block;position:relative;font-size:12px;font-weight:900}.mobile-menu summary{list-style:none;padding:11px 14px;border-radius:50px;background:var(--yellow);color:var(--navy);cursor:pointer;white-space:nowrap}.mobile-menu summary::-webkit-details-marker{display:none}.mobile-menu nav{position:absolute;top:calc(100% + 12px);right:0;width:225px;background:white;padding:12px 20px;box-shadow:0 10px 35px #24495d30;border-radius:15px}.mobile-menu ul{padding:0;margin:0;list-style:none}.mobile-menu li a{display:block;padding:12px 0}.storybook-hero{display:flex;flex-direction:column;background:linear-gradient(100deg,#def2fc,#fff)}.hero-copy{position:relative;top:auto;left:auto;transform:none;width:min(590px,90%);margin:35px auto 0}.hero-copy h1{font-size:47px}.hero-copy>p:not(.eyebrow){font-size:14px;max-width:400px;margin:16px auto 20px}.hero-copy .button{font-size:14px;padding:12px 22px}.hero-copy .eyebrow{font-size:9px}.hero-landscape{margin-top:18px}.hero-labels{bottom:12px;font-size:9px;left:3%;right:3%}.benefits{grid-template-columns:repeat(2,1fr);padding:20px 12px;gap:18px}.benefits span{justify-content:flex-start;padding-left:10px}.story-card{flex-basis:calc((100% - 44px)/3)}.friends-layout{grid-template-columns:1fr;text-align:center}.friends-layout p:not(.eyebrow){margin-inline:auto;max-width:450px}.friends{max-width:640px;margin:15px auto 0;width:100%}.friends .po-mascot{max-height:230px}.steps{grid-template-columns:repeat(2,1fr);gap:36px}.faq-section{grid-template-columns:1fr;gap:30px}.faq-intro .po-mascot{width:115px;max-height:150px}.sample-pages{gap:20px;padding:0}.sample-paper{padding:8px}.closing{grid-template-columns:110px 1fr;padding:25px;gap:15px}.closing .po-mascot{width:110px}.closing-stars{display:none}.closing h2{font-size:29px}}
@media(max-width:560px){.wrap{width:calc(100% - 28px)}.announcement{font-size:9px}.nav-row{min-height:72px;gap:10px}.brand{font-size:27px}.brand small{font-size:6.8px;letter-spacing:.05em}.brand-logo{max-width:120px;max-height:44px}.cart-link{font-size:11px;padding:9px 13px;gap:7px}.nav-actions{gap:7px}.mobile-menu summary{font-size:11px;padding:10px}.hero-copy{margin-top:31px}.hero-copy h1{font-size:40px}.hero-copy .eyebrow{font-size:8px;letter-spacing:.1em}.hero-copy>p:not(.eyebrow){font-size:13px;max-width:330px}.hero-landscape{margin-top:20px}.hero-labels{position:static;background:#fff;gap:8px;justify-content:space-around;padding:8px 3px;font-size:8px}.hero-labels span{padding:2px;background:none;box-shadow:none}.benefits{margin-top:0;border-radius:0 0 18px 18px;gap:15px 4px}.benefits span{font-size:10px;gap:7px;padding-left:2px}.benefits svg{width:24px}.section{padding-block:48px}.adventures-section{padding:48px 0}.section-heading{margin-bottom:25px}.section-heading>p:last-child{font-size:13px}.story-filters{gap:6px;margin-bottom:23px}.story-filters button{font-size:10px;padding:8px 12px}.story-grid{gap:12px}.story-card{flex-basis:calc((100% - 12px)/2);padding:6px;border-radius:14px}.story-body{padding:11px 5px 6px}.story-body h3{font-size:15px}.story-body>p:not(.story-tag){font-size:11px;margin-bottom:12px}.story-tag{font-size:8px}.story-bottom{gap:6px}.story-bottom>a{font-size:10px}.story-price{font-size:13px}.art-note{font-size:10px}.friends-section{padding:52px 0}.friends-layout h2{font-size:30px}.friends figcaption{font-size:10px}.friends .po-mascot{max-height:165px}.sample-pages{flex-wrap:wrap;gap:30px}.sample-book{flex-basis:230px}.sample-book h3{margin-top:18px}.how-section .section{padding-block:55px}.steps{gap:26px 18px}.steps h3{font-size:15px}.steps p{font-size:12px}.step-icon{width:64px;height:64px;margin-bottom:18px}.step-icon>svg{width:38px;height:38px}.faq-list summary{font-size:13px}.closing{grid-template-columns:1fr;text-align:center;padding:28px 20px;margin-bottom:55px}.closing>div:first-child{display:none}.closing h2{font-size:28px}.footer-row{grid-template-columns:1fr 1fr;gap:24px}.footer-row>div:last-child{grid-column:1/-1}.content-area{padding-block:40px}.woocommerce table.shop_table{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.po-catalogue-cover-img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:13px}.story-search{text-align:center;margin:0 auto 28px;max-width:430px}.story-search[hidden]{display:none}.story-search label{display:block;font-size:12px;font-weight:800;margin-bottom:7px}.story-search input{width:100%;padding:12px 18px;border:1px solid #bddbd3;border-radius:50px;background:#fff}.sample-paper>img{aspect-ratio:210/297;object-fit:contain;width:100%}
