/*
Theme Name: Twigs & Books — Willow type refresh
Author: Twigs & Books
Description: An editorial WordPress theme for wholesome reading, homestead stories, and a WooCommerce shop.
Version: 1.9.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: twigs-books
*/
:root{--ink:#1e3027;--green:#193b32;--cream:#f7f5ee;--copper:#9b6038;--line:#deded2;font-family:Georgia,serif;color:var(--ink);background:var(--cream)}*{box-sizing:border-box}body{margin:0}img{max-width:100%;height:auto}a{color:inherit;text-underline-offset:4px}a:hover{color:var(--copper)}.shell{max-width:1240px;margin:auto;padding-left:32px;padding-right:32px}.announcement{background:var(--green);color:var(--cream);text-align:center;padding:10px;font:600 12px/1.4 system-ui,sans-serif;letter-spacing:.13em;text-transform:uppercase}.site-header{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:86px;border-bottom:1px solid var(--line)}.site-title{font-size:30px;font-weight:bold;text-decoration:none;letter-spacing:-.055em;white-space:nowrap}.site-title span{color:#b87a4e}.primary-nav ul{list-style:none;display:flex;gap:26px;padding:0;margin:0;flex-wrap:wrap}.primary-nav a{font:600 13px system-ui,sans-serif;letter-spacing:.07em;text-decoration:none;text-transform:uppercase}.header-note{font:italic 16px Georgia,serif;color:#776e5e;white-space:nowrap}.hero{display:grid;grid-template-columns:1fr 1.05fr;min-height:520px}.hero-copy{padding:75px 50px 70px 0;display:flex;flex-direction:column;justify-content:center}.eyebrow{font:700 12px system-ui,sans-serif;text-transform:uppercase;letter-spacing:.2em;color:var(--copper);margin:0 0 24px}h1,h2,h3{font-weight:normal;letter-spacing:-.045em}h1{font-size:clamp(49px,6vw,82px);line-height:1.04;letter-spacing:-.055em;margin:0 0 28px}h1 em{color:var(--copper);font-weight:normal}.intro{font-size:19px;line-height:1.65;max-width:510px;margin:0 0 31px}.actions{display:flex;gap:13px;flex-wrap:wrap}.button,.wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-block;border-radius:0;background:var(--green);color:#fff;padding:15px 23px;text-decoration:none;font:700 13px system-ui,sans-serif;letter-spacing:.05em;border:1px solid var(--green)}.button:hover,.wp-block-button__link:hover{background:#315b4d;color:white}.button.alt{background:transparent;color:var(--green)}.hero-image{position:relative;min-height:420px;background:#d8d4bf}.hero-image img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.hero-image .caption{position:absolute;right:18px;bottom:18px;background:var(--cream);padding:11px 15px;font:italic 15px Georgia,serif}.section{padding:68px 0;border-top:1px solid #d9d9ca}.section-title{display:flex;justify-content:space-between;gap:18px;align-items:end;margin-bottom:27px}.section h2{font-size:clamp(34px,4vw,49px);margin:0}.section-title p{margin:0;max-width:410px;line-height:1.55;color:#59675a}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:#eeeee3;padding:31px;min-height:244px;display:flex;flex-direction:column;justify-content:space-between;text-decoration:none}.card:nth-child(2){background:#e8e2d6}.card:nth-child(3){background:#dce5dc}.card .number{font:700 12px system-ui,sans-serif;letter-spacing:.12em;color:#8c5b3d}.card h3{font-size:29px;margin:25px 0 8px}.card p{line-height:1.5;margin:0;color:#4e5d52}.card .more{font:700 13px system-ui,sans-serif;margin-top:24px}.feature{background:var(--green);color:var(--cream);padding:65px 0}.feature-inner{display:grid;grid-template-columns:1fr 1fr;gap:80px}.feature .eyebrow{color:#dca678}.feature h2{font-size:clamp(36px,4vw,54px);line-height:1.1;margin:0}.feature p{font-size:18px;line-height:1.65;margin:4px 0 20px}.site-footer{padding:36px 32px 55px;display:flex;justify-content:space-between;gap:20px;color:#617064;font:14px system-ui,sans-serif}.site-footer strong{font:normal 24px Georgia,serif;color:var(--green)}.content{padding-top:55px;padding-bottom:85px;min-height:55vh}.content h1{font-size:clamp(42px,5vw,64px)}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.post-card{border-top:1px solid var(--line);padding-top:22px}.post-card h2{font-size:24px;line-height:1.25;margin:8px 0}.post-card a{text-decoration:none}.post-card p,.entry-content{font-size:18px;line-height:1.7}.meta{font:600 12px system-ui,sans-serif;text-transform:uppercase;letter-spacing:.1em;color:var(--copper)}.entry{max-width:760px}.entry-content img{height:auto}.pagination{margin-top:36px}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}.screen-reader-text:focus{position:static;clip:auto;height:auto;width:auto}.woocommerce .products li.product{background:#eeeee3;padding:18px}.woocommerce div.product{margin-top:30px}@media(max-width:900px){.site-header{flex-wrap:wrap;padding-top:18px;padding-bottom:18px}.header-note{display:none}.primary-nav{width:100%}.hero{grid-template-columns:1fr}.hero-copy{padding:60px 0}.hero-image{height:410px}.section-title{display:block}.section-title p{margin-top:15px}.cards,.post-grid{grid-template-columns:1fr}.card{min-height:210px}.feature-inner{grid-template-columns:1fr;gap:24px}}@media(max-width:500px){.shell{padding-left:20px;padding-right:20px}.site-title{font-size:27px}.primary-nav ul{gap:14px}.primary-nav a{font-size:11px}.hero-copy{padding:46px 0}.hero-image{height:310px;min-height:0}.intro{font-size:17px}.site-footer{display:block}.site-footer span{display:block;margin-top:15px}}
.search-band{border-top:1px solid var(--line);padding-top:43px;padding-bottom:43px;display:grid;grid-template-columns:minmax(180px,1fr) minmax(280px,2fr);align-items:center;gap:24px}.search-band h2{font-size:clamp(30px,3vw,42px);margin:0}.search-form{display:flex;width:100%;max-width:680px}.search-form label{flex:1}.search-field{width:100%;min-height:54px;padding:12px 16px;background:#fff;border:1px solid #aeb8ad;border-right:0;color:var(--ink);font:16px system-ui,sans-serif}.search-submit{min-height:54px;padding:0 23px;background:var(--green);border:1px solid var(--green);color:#fff;font:700 14px system-ui,sans-serif;cursor:pointer}.search-submit:hover{background:#315b4d}.post-card .post-image{display:block;aspect-ratio:4/3;overflow:hidden;margin-bottom:18px;background:#e8e2d6}.post-card .post-image img{width:100%;height:100%;object-fit:cover}.archive-intro{max-width:720px;font-size:19px;line-height:1.6;margin:0 0 46px}.archive-heading{font-size:clamp(42px,5vw,64px);margin-bottom:16px}.empty-note{font-size:18px;line-height:1.6;background:#eeeee3;padding:26px;max-width:720px}@media(max-width:700px){.search-band{grid-template-columns:1fr}.search-form{max-width:none}}
.section .post-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.post-card h3{font-size:22px;line-height:1.3;margin:8px 0}@media(max-width:900px){.section .post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.section .post-grid{grid-template-columns:1fr}}
.shop-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:25px 0 60px}.shop-categories a{min-height:152px;background:#eeeee3;padding:26px;text-decoration:none;display:flex;flex-direction:column;justify-content:space-between}.shop-categories a:nth-child(3n+2){background:#e8e2d6}.shop-categories a:nth-child(3n+3){background:#dce5dc}.shop-categories a:hover{outline:2px solid var(--green);color:var(--ink)}.shop-categories span{font-size:26px;line-height:1.18;letter-spacing:-.03em}.shop-categories small{font:700 13px system-ui,sans-serif}.shop-list-heading{font-size:36px;margin:0 0 25px}@media(max-width:800px){.shop-categories{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.shop-categories{grid-template-columns:1fr}}
.site-footer{display:block;background:#e8e8df;padding:0;color:var(--ink);font:16px/1.6 system-ui,sans-serif}.footer-nav{display:flex;justify-content:center;gap:28px;flex-wrap:wrap;padding:28px 0;border-bottom:1px solid #cdd3c9}.footer-nav a,.footer-links a{text-decoration:underline;text-underline-offset:5px}.footer-columns{display:grid;grid-template-columns:1.4fr 1fr;gap:70px;padding:54px 0 70px}.footer-brand{font:normal 30px Georgia,serif;text-decoration:none;letter-spacing:-.04em}.footer-info p{margin:7px 0 28px}.footer-links{display:flex;flex-wrap:wrap;gap:12px 25px;max-width:600px;margin-bottom:35px;font-size:15px}.footer-info small{font-size:13px;color:#536458}.footer-newsletter h2{font:normal 34px/1.1 Georgia,serif;margin:0 0 14px}.footer-newsletter p{margin:0 0 21px}.footer-form-note{font-style:italic;color:#59675a}.footer-widget input[type="email"]{width:100%;padding:14px;border:1px solid #9da99f;font-size:16px}.footer-widget button,.footer-widget input[type="submit"]{padding:14px 25px;background:var(--green);color:#fff;border:1px solid var(--green);font:700 14px system-ui,sans-serif;cursor:pointer}.footer-widget h3{font:normal 22px Georgia,serif}@media(max-width:750px){.footer-columns{grid-template-columns:1fr;gap:36px}.footer-nav{justify-content:flex-start}.site-footer .shell{padding-left:20px;padding-right:20px}}
.shop-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:64px}.shop-sidebar{border-right:1px solid var(--line);padding-right:25px}.shop-sidebar h2{font-size:30px;margin:0 0 18px}.shop-sidebar ul{list-style:none;margin:0;padding:0}.shop-sidebar li{margin:0 0 11px}.shop-sidebar a{display:block;text-decoration:none;font:16px/1.4 system-ui,sans-serif;padding:5px 0}.shop-sidebar a.current{font-weight:700;color:var(--copper)}.shop-subcategories{padding:7px 0 7px 16px!important}.shop-subcategories a{font-size:15px}.shop-products{min-width:0}.shop-products h1{font-size:clamp(36px,4vw,54px);margin:0 0 12px}.shop-products .woocommerce .products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;clear:both}.shop-products .woocommerce ul.products li.product{float:none;width:auto;margin:0}.shop-products .woocommerce .products:before,.shop-products .woocommerce .products:after{display:none}@media(max-width:900px){.shop-layout{grid-template-columns:190px minmax(0,1fr);gap:30px}.shop-products .woocommerce .products{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.shop-layout{grid-template-columns:1fr;gap:30px}.shop-sidebar{border-right:0;border-bottom:1px solid var(--line);padding:0 0 20px}.shop-sidebar>nav>ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 15px}.shop-subcategories{display:block}.shop-products .woocommerce .products{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:440px){.shop-products .woocommerce .products{grid-template-columns:1fr}}

.primary-nav .nav-cart{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.nav-cart svg{display:block}.cart-count{min-width:1ch;font:600 13px system-ui,sans-serif}

.book-list-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:48px}.book-list-sidebar{border-right:1px solid var(--line);padding-right:22px;align-self:start}.book-list-sidebar h2{font-size:28px;margin:0 0 20px}.book-list-sidebar ul{list-style:none;margin:0;padding:0}.book-list-sidebar li{border-bottom:1px solid var(--line);padding:9px 0}.book-list-sidebar a{font:16px/1.45 system-ui,sans-serif;text-decoration:none}.book-list-sidebar a:hover{text-decoration:underline}.book-list-results{min-width:0}.book-list-results .post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:750px){.book-list-layout{grid-template-columns:1fr;gap:30px}.book-list-sidebar{border-right:0;border-bottom:1px solid var(--line);padding:0 0 24px}}@media(max-width:500px){.book-list-results .post-grid{grid-template-columns:1fr}}
.contact-page{max-width:760px;margin:auto}.contact-form{display:grid;gap:12px;margin:30px 0 18px}.contact-form>label:not(.contact-checkbox){font:600 15px system-ui,sans-serif;margin-top:12px}.contact-form label span{font-weight:400}.contact-form input:not([type="checkbox"]),.contact-form textarea{width:100%;padding:13px 15px;border:1px solid #aab6ab;background:#fff;color:var(--ink);font:16px/1.5 system-ui,sans-serif}.contact-form input:focus-visible,.contact-form textarea:focus-visible{outline:2px solid var(--green);outline-offset:2px}.contact-checkbox{display:flex;align-items:center;gap:10px;font:15px/1.5 system-ui,sans-serif;margin:12px 0}.contact-checkbox input{width:19px;height:19px;accent-color:var(--green)}.contact-form button{justify-self:start;padding:15px 24px;border:0;background:var(--green);color:#fff;font:600 15px system-ui,sans-serif;cursor:pointer}.contact-feedback{padding:18px 22px;background:#e0eadd}.contact-error{background:#f6e7df}.contact-privacy{font:13px/1.6 system-ui,sans-serif;color:#526257}.contact-honeypot{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* Olive-inspired contact page: soft sage, warm paper, editorial type. */
.contact-page{max-width:880px;margin:0 auto;padding:28px 0 80px}.contact-page>.eyebrow{color:#6b7969;letter-spacing:.22em}.contact-page>h1{font:normal clamp(52px,7vw,90px)/1.08 Georgia,serif;letter-spacing:-.045em;margin:10px 0 20px;color:#293f32}.contact-page>.entry-content{max-width:610px;color:#455747;font:18px/1.8 Georgia,serif;margin-bottom:38px}.contact-form{gap:0;margin:0;padding:clamp(24px,5vw,55px);background:#f4f3ed;border:1px solid #e1e3d9}.contact-form>label:not(.contact-checkbox){font:600 14px/1.4 system-ui,sans-serif;letter-spacing:.03em;color:#354838;margin:0 0 9px}.contact-form>label:not(.contact-checkbox) span{font-weight:400;color:#6e7c6e}.contact-form input:not([type="checkbox"]),.contact-form textarea{background:#fff;border:1px solid #c9d2c7;border-radius:0;color:#283d30;font:16px/1.5 system-ui,sans-serif;min-height:54px;padding:14px 17px;margin-bottom:27px;transition:border-color .2s,box-shadow .2s}.contact-form textarea{min-height:185px;resize:vertical}.contact-form input:not([type="checkbox"]):focus-visible,.contact-form textarea:focus-visible{border-color:#496c52;outline:2px solid #496c52;outline-offset:2px}.contact-checkbox{display:flex;align-items:flex-start;gap:13px;font:15px/1.55 system-ui,sans-serif;color:#415745;margin:-6px 0 29px}.contact-checkbox input{flex:none;width:19px;height:19px;margin:2px 0 0;accent-color:#4b7055}.contact-form button{margin-top:4px;background:#425f49;padding:17px 28px;font:600 14px system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;transition:background .2s}.contact-form button:hover{background:#2a4835}.contact-form button span{font-size:19px;margin-left:12px;vertical-align:-1px}.contact-privacy{max-width:760px;margin:18px auto 0;font-size:13px;color:#667467}.contact-feedback{max-width:760px;margin:0 0 20px}@media(max-width:600px){.contact-page{padding:8px 0 55px}.contact-page>h1{font-size:54px}.contact-form{padding:24px 19px}}
