/* Warm, frameless presentation for the coloring-book catalog and product pages. */
.pdf-collection{background:#ffffff;border:0}
.pdf-collection-heading h2,.pdf-product h3{color:#3d302c}
.pdf-collection-heading p,.pdf-collection-note{color:#70645c}
.pdf-grid{gap:28px}
.pdf-product{border:0;border-radius:24px;background:#ffffff;box-shadow:0 8px 28px #6e493310;transition:box-shadow .2s ease}
.pdf-product:hover{box-shadow:0 12px 32px #6e49331a}
.pdf-product-content{padding:24px;gap:13px}
.pdf-product-content>p:first-child{font-size:11px;letter-spacing:.07em;color:#88776b}
.pdf-product-price,.product-price{border:0;outline:0;background:none;box-shadow:none;padding:0;color:#3d302c}
.pdf-product-buy,.product-pdf,.product-buy,.physical-product-buy{border:0;background:#eee5f8;color:#42334f;border-radius:24px;padding:15px 18px;box-shadow:0 4px 12px #71568f18;text-decoration:none;transition:background .2s ease,box-shadow .2s ease}
.pdf-product-buy:hover,.product-pdf:hover,.product-buy:hover,.physical-product-buy:hover{background:#e3d5f2;color:#42334f;box-shadow:0 5px 15px #71568f24}
.pdf-product-buy:active,.product-pdf:active,.product-buy:active{background:#d9c8ed}
.pdf-product .physical-progress{color:#827267;font-size:12px!important;font-weight:500!important;padding:7px 0 0!important}
.pdf-product .book-gallery-arrow,.book-gallery--detail .book-gallery-arrow,.product .gallery-arrow{border:0;background:transparent;color:#fff;box-shadow:none;text-shadow:0 1px 4px #000b}
.pdf-product .book-gallery-arrow:hover,.book-gallery--detail .book-gallery-arrow:hover,.product .gallery-arrow:hover{background:transparent}
.product{background:#ffffff;border:0;border-radius:26px;margin:28px auto 40px}
.product h1,.product h2,.product-eyebrow,.format-label{color:#3d302c}
.product-description,.product-details,.product-note,.pdf-note{color:#70645c}
.product-details{border:0}
.book-gallery--detail .book-gallery-stage{border:0;border-radius:22px;box-shadow:0 8px 24px #6e493312}
.product-pdf:focus-visible,.pdf-product-buy:focus-visible,.book-gallery-arrow:focus-visible{outline:3px solid #8f7046;outline-offset:4px}
@media(max-width:650px){.pdf-product-content{padding:23px}.pdf-grid{gap:24px}.product{margin:0 auto;border-radius:0}}
@media(prefers-reduced-motion:reduce){.pdf-product,.pdf-product-buy,.product-pdf,.product-buy{transition:none}}

.amazon-product-buy,.physical-product-buy,.product-buy{background:#cbb5e8;color:#42334f}
.amazon-product-buy:hover,.physical-product-buy:hover,.product-buy:hover{background:#bda0df;color:#42334f}
.amazon-product-buy:active,.physical-product-buy:active,.product-buy:active{background:#b294d6}

/* Consistent white background throughout the website. */
html,body,body>div,header,header>div,nav,main,section,footer,.hero-slides,.format-banner,.pdf-product,.product,.book-card,.category-card,div[style*="background"]{background:#ffffff!important}
html body .hero-slides>.claude-slide[data-slide]{background:#ffffff!important;color:#3d302c!important}
html body .claude-slide[data-slide]>span,html body .claude-slide[data-slide]>h1,html body .claude-slide[data-slide]>p{color:#3d302c!important}
header img[src*="loulines-logo"],footer img[src*="loulines-logo"]{mix-blend-mode:multiply}

/* Free-page gift section uses the two purchase-button lilac shades. */
html body #free,html body #free .free-layout,html body #free .free-preview,html body #free .free-content{background:#eee5f8!important}
html body #free-submit{background:#cbb5e8;color:#42334f;border:0;box-shadow:0 4px 12px #71568f18}
html body #free-submit:hover{background:#bda0df}
html body #free-submit:active{background:#b294d6}

/* A soft white outline frames the free-page artwork. */
.free-art{position:relative;isolation:isolate;overflow:visible}
.free-art::after{content:"";position:absolute;inset:-13px;border:6px solid #fff;border-radius:23px;pointer-events:none}
@media(max-width:650px){.free-art::after{inset:-10px;border-width:5px;border-radius:19px}}

/* A soft lilac footer with larger, rounded typography. */
html body footer{background:#eee5f8!important;border-top:0;padding:64px 28px 36px!important;color:#53365f;font-size:18px;line-height:1.65}
html body footer>div:first-child{gap:36px!important;align-items:start}
html body footer>div:first-child>div{font-size:18px!important;gap:13px!important}
html body footer>div:first-child>div>span:first-child{font-family:'Fredoka One',sans-serif;font-size:25px;font-weight:400!important;line-height:1.3;color:#53365f}
html body footer>div:first-child>div:first-child>span{font-family:'DM Sans',sans-serif;font-size:17px!important;line-height:1.65!important;color:#65556e!important;max-width:260px}
html body footer a{font-size:18px;font-weight:500;color:#53365f;transition:color .18s}
html body footer a:hover{color:#8b569d;text-decoration:underline!important;text-underline-offset:5px}
html body footer>div:last-child{border-top:1px solid #cbb5e8!important;padding-top:24px!important;font-size:16px!important;color:#65556e!important;gap:7px!important}
@media(max-width:650px){html body footer{padding:48px 24px 30px!important}html body footer>div:first-child{gap:30px!important}}

/* Centered horizontal navigation beneath the logo on larger screens. */
html body header{border-bottom:1px solid #d9cce1!important}
html body #main-menu{border-top:0!important}
html body #main-menu>div{font-family:'DM Sans',sans-serif!important;font-size:19px!important;font-weight:700!important}
html body #main-menu a{color:#533f5f;transition:color .18s}
html body #main-menu a:hover{color:#9362a8}
@media(min-width:1000px){
 html body header [data-action="toggleMenu"]{visibility:hidden;pointer-events:none}
 html body header>div:first-child{padding-top:18px!important;padding-bottom:8px!important}
 html body #main-menu[hidden],html body #main-menu{display:block!important}
 html body #main-menu>div{max-width:1200px!important;flex-direction:row!important;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px 32px;padding:12px 24px 22px!important}
 html body #main-menu a{padding:8px 0!important;border-bottom:0!important;white-space:nowrap}
}
@media(max-width:999px){
 html body #main-menu>div{padding:12px 24px 24px!important}
 html body #main-menu a{border-bottom:1px solid #ded3e6!important}
 html body #main-menu a:last-child{border-bottom:0!important}
}

/* Compact book search, matching LouLines' soft lilac palette. */
.header-tools{display:flex;align-items:center;min-width:0}
.book-search{position:relative;width:224px;max-width:100%;margin:0;z-index:20}
html body .book-search-field{display:flex;align-items:center;border-radius:999px;background:#eee5f8!important;border:1px solid #e3d6ef;padding:0 8px 0 15px;min-height:40px;box-shadow:0 3px 12px #71568f08}
.book-search input{width:100%;min-width:0;border:0;background:transparent;color:#53365f;font:500 14px 'DM Sans',sans-serif;padding:10px 0;outline:none}
.book-search input::placeholder{color:#87728f;opacity:1}
.book-search-field:focus-within{outline:2px solid #bca0d7;outline-offset:3px}
.book-search button{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:30px;height:30px;border:0;border-radius:50%;background:transparent;color:#765587;cursor:pointer}
.book-search button:hover{background:#ddccec}
html body .book-search-results{position:absolute;top:calc(100% + 10px);left:0;width:300px;max-width:calc(100vw - 40px);background:#ffffff!important;border:1px solid #e3d6ef;border-radius:18px;box-shadow:0 10px 30px #53365f20;padding:8px}
.book-search-results a{display:block;padding:11px 13px;border-radius:12px;color:#53365f;font-size:15px;line-height:1.4;text-decoration:none}
.book-search-results a:hover,.book-search-results a:focus{background:#eee5f8;color:#53365f}
.book-search-results p{font-size:14px;line-height:1.5;color:#65556e;padding:8px;margin:0}
@media(min-width:1000px){html body header>div:first-child{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important}html body .header-tools [data-action="toggleMenu"]{display:none!important}}
@media(max-width:999px){.header-tools{display:contents}header .header-tools>[data-action="toggleMenu"]{grid-column:1;grid-row:1}header>div:first-child>a{grid-column:2;grid-row:1}header #share-site{grid-column:3;grid-row:1}.book-search{grid-column:1/-1;grid-row:2;justify-self:center;width:240px;margin:4px 0 8px}.book-search-results{left:50%!important;transform:translateX(-50%)}}


/* Smaller photo cards side by side, with native swipe on narrow screens. */
html body #story{max-width:1080px!important}
#story>div:first-child{max-width:712px}
.story-photos{position:relative;width:100%;min-width:0}
.story-photo-track{display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.story-photo-track::-webkit-scrollbar{display:none}
.story-photo{flex:0 0 calc((100% - 44px)/3);min-width:0;scroll-snap-align:start;border-radius:20px;overflow:hidden;aspect-ratio:4/5}
.story-photo img{display:block;width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}
.story-photo-arrow{position:absolute;top:calc(50% - 20px);height:40px;width:40px;border:1px solid #ddcfe5;border-radius:50%;background:#ffffffd9;color:#53365f;display:none;align-items:center;justify-content:center;font-size:28px;cursor:pointer}
.story-photo-prev{left:-12px}.story-photo-next{right:-12px}
@media(max-width:700px){.story-photo-track{gap:16px}.story-photo{flex-basis:78%;max-width:300px;border-radius:18px}.story-photo-arrow{display:flex}}

/* A small farewell bunny between the social profiles and footer. */
html body .social-world{padding-bottom:0}
.social-gift-bunny{display:block;height:175px;width:auto;max-width:100%;object-fit:contain;margin:22px auto 0}
@media(max-width:700px){.social-gift-bunny{height:150px;margin-top:20px}}

/* Rounded display typography for every site heading and section label. */
html body :is(h1,h2,h3,h4,h5,h6),
html body [class*="eyebrow"],
html body #story>div:first-child>span:first-child,
html body .claude-slide[data-slide]>span,
html body #categories>div>a>div:last-child>span:first-child{
 font-family:'Fredoka One',sans-serif!important;
 font-weight:400!important;
}

/* All headings share the LouLines wordmark's dark purple. */
html body :is(h1,h2,h3,h4,h5,h6),
html body [class*="eyebrow"],
html body #story>div:first-child>span:first-child,
html body .claude-slide[data-slide]>h1,
html body .claude-slide[data-slide]>span,
html body footer>div:first-child>div:not(:first-child)>span:first-child{
 color:#490048!important;
}

/* Three new-release covers, together in one responsive banner. */
html,body{overflow-x:clip}
#new-release.new-releases{width:100%;margin:32px 0 12px;scroll-margin-top:24px}
.new-releases>h2{margin:0 0 24px;font-size:clamp(30px,4vw,42px);line-height:1.2;text-align:center;letter-spacing:0}
.release-banner{position:relative;left:50%;transform:translateX(-50%);width:100vw;background:linear-gradient(120deg,#fff6ee,#fbf4fc 52%,#f1f7ed)}
.release-rail{max-width:1440px;margin:0 auto;padding:36px 40px 30px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;outline-offset:-5px}
.release-book{min-width:0;margin:0;text-align:center}
.release-book img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:22px;box-shadow:0 8px 24px #49004812}
.release-book figcaption{margin:18px 0 2px;font-family:'Fredoka One',sans-serif;font-size:clamp(19px,2vw,27px);font-weight:400;line-height:1.3;color:#490048}
.release-swipe-hint{display:none}
@media(max-width:700px){
 .new-releases>h2{margin-bottom:20px}
 .release-rail{display:flex;gap:16px;max-width:none;padding:24px 24px 14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:24px;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#cbb5e8 transparent}
 .release-book{flex:0 0 84%;scroll-snap-align:center}
 .release-book img{border-radius:18px}
 .release-book figcaption{font-size:22px;margin-top:16px}
 .release-swipe-hint{display:block;margin:0;padding:10px 20px 20px;text-align:center;font:500 13px/1.5 'DM Sans',sans-serif;color:#765587}
 .release-swipe-hint span{margin-left:6px}
}

/* Cozy direct social profiles. */
.social-logo-links{display:flex;align-items:center;justify-content:center;gap:30px;padding:8px 0 22px}
.social-logo-link{display:flex;align-items:center;justify-content:center;width:108px;height:108px;border-radius:32px;text-decoration:none;box-shadow:0 5px 0 #4900480c;transition:transform .18s ease,box-shadow .18s ease;scroll-margin-top:24px}
.social-logo-link--tiktok{background:#eee5f8}.social-logo-link--instagram{background:#fff0f4}
.social-logo-link svg{display:block;width:66px;height:66px;overflow:visible}
.social-logo-link:hover{transform:translateY(-3px);box-shadow:0 8px 18px #49004814}
.social-logo-link:focus-visible{outline:3px solid #490048;outline-offset:6px}
@media(max-width:700px){.social-logo-links{gap:24px;padding-bottom:16px}.social-logo-link{width:94px;height:94px;border-radius:28px}.social-logo-link svg{width:58px;height:58px}}
@media(prefers-reduced-motion:reduce){.social-logo-link{transition:none}.social-logo-link:hover{transform:none}}

.social-logo-link--pinterest{background:#fff0f0}
@media(max-width:700px){.social-logo-links{gap:clamp(12px,4vw,24px)}.social-logo-link{width:clamp(72px,23vw,94px);height:clamp(72px,23vw,94px);flex-shrink:0}.social-logo-link svg{width:clamp(48px,14vw,58px);height:clamp(48px,14vw,58px)}}

/* Featured book banners with transparent arrows and soft lilac controls. */
.banner-stage{position:relative;touch-action:pan-y;outline-offset:-5px}
.banner-slide,.banner-slide picture{display:block;width:100%;line-height:0}
.banner-slide img{display:block;width:100%;height:auto;max-width:none;user-select:none;-webkit-user-drag:none}
.banner-arrow{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;border:0;background:transparent;color:#fff;text-shadow:0 1px 5px #0009;font-size:42px;line-height:1;width:48px;height:64px;cursor:pointer;padding:0}
.banner-prev{left:10px}.banner-next{right:10px}
.banner-controls{display:flex;align-items:center;justify-content:center;gap:8px;width:fit-content;margin:16px auto 24px;padding:5px 8px 5px 14px;border:1px solid #e8dced;border-radius:999px;background:#faf6fc!important;box-shadow:0 3px 12px #49004808}
.banner-picks{display:flex;align-items:center;gap:0;background:transparent!important}
.banner-picks button{display:grid;place-items:center;width:30px;height:44px;padding:0;border:0;border-radius:999px;background:transparent;cursor:pointer}.banner-picks button::before{content:"";display:block;width:8px;height:8px;border-radius:999px;background:#cfb8db;transition:width .25s ease,background .25s ease,transform .25s ease}.banner-picks button:hover::before{background:#97649f;transform:scale(1.12)}
.banner-picks button[aria-pressed="true"]::before{width:20px;background:#490048}
.banner-pause{position:relative;display:block;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#eee3f5;color:#490048;cursor:pointer;transition:background .2s ease,transform .2s ease}.banner-pause:hover{background:#e3d2ed;transform:scale(1.04)}.banner-pause::before,.banner-pause::after{content:"";position:absolute;top:15px;width:3px;height:14px;border-radius:2px;background:currentColor}.banner-pause::before{left:17px}.banner-pause::after{right:17px}.banner-pause[aria-pressed="true"]::before{top:14px;left:18px;width:0;height:0;border-top:8px solid transparent;border-bottom:8px solid transparent;border-left:11px solid currentColor;border-radius:1px;background:transparent}.banner-pause[aria-pressed="true"]::after{display:none}.banner-controls button:focus-visible{outline:2px solid #490048;outline-offset:2px}@media(prefers-reduced-motion:reduce){.banner-controls button,.banner-picks button::before{transition:none}}
.banner-status{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:700px){.banner-arrow{font-size:36px;width:40px}.banner-prev{left:2px}.banner-next{right:2px}.banner-pause{display:none}}

/* Autoplay can also be paused on phones. */
@media(max-width:700px){.banner-pause{display:block}}

/* New-release covers lead to their existing product pages. */
.release-book-link{display:block;border-radius:22px;text-decoration:none;cursor:pointer}
.release-book-link:focus-visible{outline:3px solid #490048;outline-offset:5px}
.release-book-link:hover img{box-shadow:0 10px 28px #49004824}
