/*
Theme Name: Librook Press
Theme URI: https://librook.cc/
Author: Librook Press
Description: A warm, editorial physical bookstore for WooCommerce and Elementor. Includes responsive book shelves, accessible navigation and a compact footer.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
License: GPL-3.0-or-later
Text Domain: librook-press
*/
@font-face{font-family:Manrope;src:url(assets/manrope-400.ttf) format('truetype');font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:Manrope;src:url(assets/manrope-500.ttf) format('truetype');font-style:normal;font-weight:500;font-display:swap}@font-face{font-family:Manrope;src:url(assets/manrope-600.ttf) format('truetype');font-style:normal;font-weight:600;font-display:swap}@font-face{font-family:Manrope;src:url(assets/manrope-700.ttf) format('truetype');font-style:normal;font-weight:700;font-display:swap}
:root{--paper:#f7f5ee;--ink:#233e33;--muted:#697166;--line:#d9dcd1;--accent:#c5d1a9;--white:#fffef9;--ease:cubic-bezier(.22,1,.36,1);--font:Manrope,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/24px var(--font);-webkit-font-smoothing:antialiased}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none;transition:opacity .3s var(--ease)}a:hover{opacity:.75}p{margin:0 0 24px;text-wrap:pretty}h1,h2,h3,h4,h5,h6{font-family:var(--font);font-weight:600;letter-spacing:-.04em;text-wrap:balance;margin:0 0 24px;color:var(--ink)}h1,.heading-1{font-size:60px;line-height:60px}h2,.heading-2{font-size:48px;line-height:48px}h3,.heading-3{font-size:36px;line-height:40px}.heading-4{font-size:30px;line-height:36px}.heading-5,h4{font-size:24px;line-height:32px}.heading-6,h5{font-size:20px;line-height:28px}.title-1{font-size:20px;line-height:28px;font-weight:500}.title-2{font-size:18px;line-height:28px;font-weight:500}.title-3{font-size:16px;line-height:24px;font-weight:500}.title-4{font-size:14px;line-height:20px;font-weight:500}.caption-1{font-size:12px;line-height:16px}.body-3{font-size:16px;line-height:24px;font-weight:400}.eyebrow{font-size:12px;line-height:16px;letter-spacing:.16em;font-weight:600;text-transform:uppercase;margin-bottom:24px}.lead{font-size:18px;line-height:28px;color:#596258;max-width:680px}.screen-reader-text,.skip-link:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}.skip-link:focus{position:fixed;z-index:99999;background:white;padding:16px;left:16px;top:16px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #9a662e;outline-offset:4px}.site-shell{max-width:1320px;margin:auto;padding:0 48px}.topnote{text-align:center;font-size:12px;line-height:16px;letter-spacing:.08em;padding:12px;background:var(--ink);color:var(--paper)}.site-header{padding:24px 0;position:relative;z-index:30}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 24px;border:1px solid var(--line);border-radius:16px;background:rgba(255,254,249,.93);backdrop-filter:blur(12px)}.brand img{width:184px;display:block}.header-nav{display:flex;gap:32px;align-items:center;font-size:14px;line-height:20px;font-weight:500}.header-nav .current-menu-item>a,.header-nav a[aria-current=page]{text-decoration:underline;text-underline-offset:8px}.header-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:32px}.header-tools{display:flex;align-items:center;gap:24px;font-size:14px}.cart-link{display:flex;align-items:center;gap:8px}.cart-count{border-radius:999px;background:var(--accent);min-width:24px;text-align:center;font-size:12px;line-height:24px}.menu-toggle{display:none;border:0;background:none;padding:8px;color:var(--ink)}.menu-toggle span{display:block;width:24px;height:2px;background:currentColor;margin:4px 0;transition:transform .5s var(--ease)}.menu-toggle[aria-expanded=true] span:first-child{transform:translateY(3px) rotate(45deg)}.menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-3px) rotate(-45deg)}.lp-hero{padding:48px 0 64px!important;max-width:1224px!important;margin:auto!important}.lp-hero>.elementor-container{align-items:center;gap:32px}.lp-hero .elementor-column:first-child>.elementor-widget-wrap{padding:0 24px 0 0}.lp-hero .elementor-widget:not(:last-child){margin-bottom:0}.lp-hero h1,.lp-hero .elementor-heading-title{font:600 72px/1 var(--font);letter-spacing:-.065em;max-width:680px;margin:0 0 32px;background:linear-gradient(90deg,#152e24,#53664f);color:transparent;background-clip:text;-webkit-background-clip:text}.hero-note{font-size:12px;line-height:16px;letter-spacing:.06em;margin:24px 0 0;color:var(--muted)}.button,.button-md,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{display:inline-flex;align-items:center;justify-content:center;gap:24px;background:var(--ink);color:#fffef9;padding:12px 24px;border:1px solid var(--ink);border-radius:4px;font:500 14px/20px var(--font);cursor:pointer;min-height:48px;text-decoration:none;transition:opacity .3s var(--ease)}.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:#355543;color:white;opacity:1}.button.outline{background:transparent;color:var(--ink)}.lp-hero .button{margin-top:8px}.hero-books{height:500px;position:relative;background:#e8eada;border-radius:160px 160px 8px 8px;isolation:isolate;display:flex;align-items:center;justify-content:center;overflow:hidden}.hero-books:before{content:'';position:absolute;width:360px;height:360px;border:1px solid #c1c9b6;border-radius:50%;top:40px}.hero-book{position:absolute;width:35%;filter:drop-shadow(12px 16px 12px #18372933);transition:transform .5s var(--ease)}.hero-book img{display:block;max-height:295px;width:100%;object-fit:contain}.hero-book:nth-child(1){left:8%;top:128px;transform:rotate(-12deg)}.hero-book:nth-child(2){left:34%;top:64px;transform:rotate(6deg);z-index:3}.hero-book:nth-child(3){left:57%;top:176px;transform:rotate(13deg);z-index:4}.hero-book:hover{transform:translateY(-8px)}.hero-books-label{position:absolute;bottom:24px;left:24px;font-size:12px;line-height:16px;letter-spacing:.12em;text-transform:uppercase}.hero-stamp{position:absolute;right:24px;top:32px;background:var(--ink);color:var(--paper);width:80px;height:80px;border-radius:50%;display:grid;place-content:center;text-align:center;font-size:12px;line-height:16px;letter-spacing:.05em;z-index:5}.lp-section{padding:64px 0!important}.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:40px}.section-head .eyebrow{margin-bottom:16px}.section-head h2{font-size:36px;line-height:40px;margin:0}.text-link{font-size:14px;line-height:20px;text-decoration:underline;text-underline-offset:8px;white-space:nowrap}.book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px}.book-card{min-width:0}.book-cover{display:flex;align-items:center;justify-content:center;background:#eeeee5;padding:24px;border-radius:4px;aspect-ratio:4/5;position:relative;overflow:hidden}.book-card:nth-child(4n+2) .book-cover{background:#e7eadd}.book-card:nth-child(4n+3) .book-cover{background:#eee8de}.book-card:nth-child(4n+4) .book-cover{background:#e6e9e8}.book-cover img{height:100%;max-height:270px;width:100%;object-fit:contain;filter:drop-shadow(8px 8px 6px #29352b22);transition:transform .5s var(--ease)}.book-cover:hover img{transform:translateY(-8px) rotate(-2deg)}.book-card .format-label{font-size:12px;line-height:16px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:16px 0 8px}.book-card h3{font-size:18px;line-height:28px;letter-spacing:-.02em;margin-bottom:8px}.book-price{font-size:14px;line-height:20px;font-weight:600}.book-price del{font-size:12px;color:var(--muted);margin-right:8px;font-weight:400}.book-price ins{text-decoration:none}.book-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px}.book-view{font-size:12px;text-decoration:underline;text-underline-offset:4px}.category-panel{background:#e9eddf;padding:48px;border-radius:8px}.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.category-card{padding:24px;background:var(--paper);border:1px solid #d6dcc9;border-radius:4px;min-height:208px;position:relative;display:flex;flex-direction:column}.category-number{font-size:12px;color:#7c866f;letter-spacing:.06em;margin-bottom:24px}.category-card h3{font-size:18px;line-height:28px;letter-spacing:-.02em;margin:0 0 8px}.category-card p{font-size:12px;line-height:20px;margin:0;color:var(--muted)}.category-card .category-state{margin-top:16px;font-size:12px;line-height:16px}.category-card .arrow{position:absolute;top:24px;right:24px}.manifesto{display:grid;grid-template-columns:1fr 1.15fr;gap:80px;align-items:center;padding:48px 0}.manifesto-art{min-height:400px;background:#dfdac9;border-radius:8px;display:grid;place-items:center;position:relative;overflow:hidden}.manifesto-art img{width:200px}.manifesto-art .art-caption{position:absolute;bottom:32px;left:32px;right:32px;text-align:center;font-size:12px;letter-spacing:.1em}.manifesto-copy h2{font-size:48px;line-height:48px;margin-bottom:24px}.manifesto-copy p{max-width:480px;color:var(--muted)}.reveal-word{transition:opacity .5s var(--ease)}.js .reveal-word{opacity:.3}.js .reveal-word.seen{opacity:1}.journal-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.journal-art{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:4px;margin-bottom:24px}.journal-card h3{font-size:20px;line-height:28px;letter-spacing:-.03em;margin-bottom:12px}.journal-card .eyebrow{font-size:12px;margin-bottom:12px;letter-spacing:.08em}.journal-card p{font-size:14px;line-height:20px;color:var(--muted);margin-bottom:16px}.site-footer{background:var(--ink);color:var(--paper);margin-top:64px;padding:40px 0 24px}.footer-top,.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:32px}.footer-brand img{width:168px}.footer-links{display:flex;gap:24px;font-size:14px}.footer-bottom{margin-top:32px;padding-top:24px;border-top:1px solid #ffffff30;font-size:12px;line-height:20px;color:#cfdbca}.footer-bottom a{overflow-wrap:anywhere}.lp-prose{max-width:800px;margin:0 auto;padding:64px 0}.lp-prose h1{font-size:60px;line-height:60px;margin-bottom:32px}.lp-prose h2{font-size:30px;line-height:36px;margin:48px 0 24px}.lp-prose a:not(.button){text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}.lp-prose p{line-height:28px}.lp-prose .contact-email{font-size:24px;line-height:32px}.article-meta{font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-bottom:24px}.archive-heading{padding:40px 0}.archive-heading h1{margin:0 0 16px}.shop-search{display:flex;gap:8px;max-width:560px;margin:24px 0}.shop-search input{min-width:0;flex:1}.collection-links{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0}.collection-links a{font-size:12px;line-height:20px;padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:var(--white)}input[type=text],input[type=email],input[type=search],input[type=tel],input[type=password],input[type=number],textarea,select{background:var(--white);border:1px solid #bdc5b9;border-radius:4px;padding:12px;color:var(--ink);max-width:100%}.woocommerce .woocommerce-ordering select{max-width:260px}.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;padding:0}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:100%!important;float:none!important;margin:0 0 24px!important}.woocommerce ul.products li.product a img{background:#eeeee5;padding:24px;aspect-ratio:4/5;object-fit:contain;border-radius:4px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:18px;line-height:28px;letter-spacing:-.02em;padding:8px 0}.woocommerce ul.products li.product .price{font-size:14px;color:var(--ink)}.woocommerce span.onsale{font-size:12px;line-height:24px;min-height:24px;border-radius:4px;padding:4px 12px;background:var(--ink);font-weight:500}.woocommerce div.product .product_title{font-size:30px;line-height:36px;letter-spacing:-.03em;overflow-wrap:anywhere}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ink);font-size:24px;line-height:32px}.woocommerce div.product .woocommerce-product-gallery img{max-height:640px;object-fit:contain;background:#eeeee5;padding:32px}.woocommerce div.product .woocommerce-tabs ul.tabs li{background:var(--paper);border-color:var(--line)}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--white)}.woocommerce button.button.alt,.woocommerce a.button.alt{background:var(--ink)}.woocommerce .quantity .qty{width:80px}.woocommerce .woocommerce-breadcrumb{font-size:12px;line-height:20px;margin:24px 0}.woocommerce table.shop_table{background:var(--white);border-color:var(--line)}.woocommerce-info,.woocommerce-message{border-top-color:var(--ink);background:#e9eddf}.woocommerce-error{background:#f8e9e4}.woocommerce form .form-row input.input-text{padding:12px}.woocommerce-cart .site-main,.woocommerce-checkout .site-main{padding-top:32px}.woocommerce .cart-collaterals .cart_totals h2,.woocommerce .related>h2{font-size:30px;line-height:36px}.woocommerce-cart table.cart img{width:64px}.woocommerce-MyAccount-navigation ul{list-style:none;padding:0}.woocommerce-MyAccount-navigation li{padding:12px;border:1px solid var(--line);margin-bottom:8px}.woocommerce-MyAccount-navigation .is-active{background:#e9eddf}.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;justify-content:center;gap:8px}.woocommerce nav.woocommerce-pagination ul li{border:1px solid var(--line)}.woocommerce .product_meta{font-size:12px;color:var(--muted)}.woocommerce .product_meta>span{display:block;margin:8px 0}.physical-note{font-size:14px;padding:16px;background:#e9eddf;margin:24px 0}.empty-collection{padding:48px;background:#e9eddf;border-radius:8px;margin:32px 0}.empty-collection h2{font-size:30px;line-height:36px}.elementor-widget-heading .elementor-heading-title{font-family:var(--font);color:inherit}.elementor-widget-text-editor{font-family:var(--font);color:inherit}.elementor-widget-wrap>.elementor-element{max-width:100%}.elementor-section .elementor-container{max-width:1224px!important}.elementor-widget-shortcode{width:100%}.no-results{padding:64px 0}.wp-caption{max-width:100%}.alignwide{max-width:1200px}.alignfull{width:100%}.sticky{}.gallery-caption{}.bypostauthor{}.alignleft{float:left;margin:0 24px 24px 0}.alignright{float:right;margin:0 0 24px 24px}.aligncenter{display:block;margin:0 auto 24px}.lp-fallback-hero{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:center}.lp-fallback-hero h1{font-size:72px;line-height:72px;letter-spacing:-.06em}
@media(min-width:1440px){.site-shell{max-width:1400px}.hero-books{height:540px}.hero-book img{max-height:320px}}
@media(max-width:1024px){.site-shell{padding:0 32px}.header-nav,.header-nav ul{gap:16px}.header-inner{padding:16px}.brand img{width:152px}.lp-hero h1,.lp-hero .elementor-heading-title,.lp-fallback-hero h1{font-size:60px;line-height:60px}.hero-books{height:440px}.hero-book img{max-height:240px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.book-grid,.woocommerce ul.products{gap:24px}.journal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.manifesto{gap:40px}.manifesto-copy h2{font-size:36px;line-height:40px}}
@media(max-width:767px){.site-shell{padding:0 24px}.topnote{font-size:12px;letter-spacing:0}.site-header{padding:16px 0}.header-inner{gap:12px}.brand img{width:144px}.header-tools{gap:12px}.header-tools .account-link{display:none}.menu-toggle{display:block}.header-nav{display:none;position:fixed;inset:0;min-height:100dvh;padding:96px 32px 48px;background:rgba(247,245,238,.98);backdrop-filter:blur(16px);z-index:40;flex-direction:column;align-items:start;gap:32px;font-size:24px;line-height:32px}.header-nav ul{display:flex;flex-direction:column;gap:32px}.header-nav.open{display:flex}.menu-toggle{z-index:50}.menu-open{overflow:hidden}.lp-hero{padding:32px 0 48px!important}.lp-hero>.elementor-container{flex-direction:column;gap:40px}.lp-hero .elementor-column{width:100%!important}.lp-hero .elementor-column:first-child>.elementor-widget-wrap{padding:0}.lp-hero h1,.lp-hero .elementor-heading-title,.lp-fallback-hero h1{font-size:48px;line-height:48px;letter-spacing:-.05em}.lp-fallback-hero{grid-template-columns:1fr;gap:40px}.eyebrow{margin-bottom:16px}.lead{font-size:16px;line-height:24px}.hero-books{height:400px;width:100%;border-radius:120px 120px 4px 4px}.hero-book:nth-child(1){top:112px}.hero-book:nth-child(2){top:64px}.hero-book:nth-child(3){top:152px}.hero-book img{max-height:224px}.hero-stamp{right:16px;top:24px;width:64px;height:64px}.hero-books-label{font-size:12px;left:16px;bottom:16px;letter-spacing:.05em}.lp-section{padding:40px 0!important}.section-head{align-items:start;gap:16px;margin-bottom:24px}.section-head h2{font-size:30px;line-height:36px}.section-head .text-link{font-size:12px;white-space:normal;text-align:right;min-width:64px;margin-top:32px}.book-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.book-cover{padding:16px}.book-card h3{font-size:16px;line-height:24px}.book-bottom{align-items:start;flex-direction:column}.book-card .format-label{font-size:12px;letter-spacing:0}.category-panel{padding:24px}.category-grid{gap:12px}.category-card{padding:16px;min-height:224px}.category-card h3{font-size:16px;line-height:24px}.category-card .arrow{top:16px;right:16px}.category-number{margin-bottom:16px}.manifesto{grid-template-columns:1fr;gap:32px;padding:24px 0}.manifesto-art{min-height:320px}.manifesto-copy h2{font-size:36px;line-height:40px}.journal-grid{gap:16px}.journal-card h3{font-size:18px;line-height:28px}.journal-card .eyebrow{letter-spacing:0}.journal-art{margin-bottom:16px}.journal-card p{font-size:14px;line-height:20px}.footer-top,.footer-bottom{align-items:start;flex-direction:column;gap:24px}.footer-links{flex-wrap:wrap;gap:16px}.footer-bottom{margin-top:24px}.site-footer{margin-top:40px}.lp-prose{padding:40px 0}.lp-prose h1{font-size:36px;line-height:40px}.lp-prose h2{font-size:24px;line-height:32px}.lp-prose .contact-email{font-size:18px;line-height:28px}.archive-heading h1{font-size:36px;line-height:40px}.woocommerce .woocommerce-ordering,.woocommerce .woocommerce-result-count{float:none}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px;line-height:24px}.woocommerce ul.products li.product a img{padding:16px}.woocommerce div.product .product_title{font-size:24px;line-height:32px}.woocommerce div.product .woocommerce-product-gallery img{max-height:480px}.woocommerce table.shop_table{font-size:14px}.woocommerce .coupon{display:flex;gap:8px;flex-wrap:wrap}.woocommerce .coupon input{width:100%!important}.woocommerce .coupon button{width:100%!important}.woocommerce-cart .woocommerce .cart-collaterals .cart_totals{width:100%}.elementor-column-gap-default>.elementor-column>.elementor-element-populated{padding:0}.lp-prose .elementor-widget-container{padding:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}.js .reveal-word{opacity:1}.hero-book:hover,.book-cover:hover img{transform:none}}
/* Explicit column sizing also supports imported legacy Elementor sections. */
@media(min-width:768px){.lp-hero>.elementor-container>.elementor-column{flex:1 1 0!important;min-width:0;width:calc(50% - 16px)!important}}
.elementor .lp-hero .elementor-widget-heading .elementor-heading-title{color:transparent!important;-webkit-text-fill-color:transparent;background:linear-gradient(90deg,#152e24,#53664f);background-clip:text;-webkit-background-clip:text}
#elementor-device-mode{display:none!important}
.hero-stamp{top:64px;right:48px}
@media(max-width:767px){.hero-stamp{top:48px;right:32px}.menu-open .header-inner{backdrop-filter:none}.menu-open .header-nav{background:var(--paper)}.woocommerce-products-header h1{font-size:36px;line-height:40px}}
.wc-block-components-button:not(.is-link),.wp-block-button__link{background:var(--ink);color:var(--white);border-radius:4px;font-family:var(--font);font-size:14px;line-height:20px;font-weight:500;text-decoration:none}
.wc-block-components-title,.wc-block-cart__totals-title{font-family:var(--font)!important;font-size:24px!important;line-height:32px!important;font-weight:600!important;letter-spacing:-.03em}
.wc-block-components-product-name{font-family:var(--font);font-size:16px!important;line-height:24px!important;overflow-wrap:anywhere}
.wc-block-cart-items__header-product,.wc-block-cart-items__header-total{font-size:14px}.wc-block-components-product-metadata{font-size:14px!important;line-height:24px!important}.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{padding-bottom:48px}.wc-block-components-text-input input{font-family:var(--font)!important;background:var(--white)!important}.wc-block-grid__products{list-style:none!important;padding:0!important}.wc-block-grid__product-title{font:500 16px/24px var(--font);letter-spacing:-.02em}.wc-block-grid__product-image img{max-height:300px;object-fit:contain}.woocommerce-products-header{padding:32px 0 16px}
