/*
Theme Name: Ella Crochet Boutique
Description: A tailored, accessible digital crochet pattern shop for EllaCrochetDIY.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Author: EllaCrochetDIY
Text Domain: ella-boutique
*/
:root{--paper:#fffaf6;--cream:#f7eee8;--rose:#a75f59;--rose-dark:#80443f;--ink:#3c302d;--muted:#71605a;--line:#e7d9d1;--sage:#e5eadd;--white:#fff;--serif:Georgia,'Times New Roman',serif;--sans:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:7rem}body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.65 var(--sans)}a{color:inherit;text-underline-offset:.25em}img{max-width:100%;height:auto;display:block}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #3f6552;outline-offset:4px}h1,h2,h3,h4{font-family:var(--serif);font-weight:400;line-height:1.13;letter-spacing:-.035em;margin:0 0 1.25rem}h1{font-size:clamp(2.5rem,5.4vw,5.2rem)}h2{font-size:clamp(2rem,3.2vw,3.25rem)}h3{font-size:1.55rem}p{margin:0 0 1.25rem}.wrap{width:min(1240px,calc(100% - 6rem));margin-inline:auto}.section{padding:6rem 0}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:.78rem;font-weight:650;color:var(--rose);margin-bottom:1.2rem}.muted{color:var(--muted)}.lead{font-size:1.125rem;max-width:38rem;color:var(--muted)}.btn,.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-flex;align-items:center;justify-content:center;background:var(--rose);color:white;border:1px solid var(--rose);border-radius:4px;text-decoration:none;padding:.95rem 1.6rem;font-weight:600;line-height:1.35;min-height:48px;transition:background .2s,transform .2s;box-shadow:none}.btn:hover,.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--rose-dark);border-color:var(--rose-dark);color:white}.btn.light{background:transparent;color:var(--ink);border-color:var(--line)}.btn.light:hover{border-color:var(--ink)}.text-link{font-weight:600;font-size:.95rem}.actions{display:flex;align-items:center;gap:1.75rem;flex-wrap:wrap}.skip{position:absolute;left:1rem;top:-100px;z-index:9999;background:#fff;padding:1rem}.skip:focus{top:1rem}.announcement{background:var(--ink);color:#fff4ed;text-align:center;font-size:.8rem;letter-spacing:.065em;padding:.6rem 1rem}.site-header{background:var(--paper);border-bottom:1px solid var(--line)}.header-row{display:flex;align-items:center;justify-content:space-between;gap:2rem;min-height:108px}.brand{display:block;flex-shrink:0}.brand img{width:250px;max-height:84px;object-fit:contain}.site-nav{display:flex;align-items:center;gap:1.75rem}.site-nav a{text-decoration:none;font-size:.91rem;white-space:nowrap}.site-nav a:hover{color:var(--rose)}.header-tools{display:flex;align-items:center;gap:1.1rem}.icon-link{display:flex;align-items:center;gap:.35rem;text-decoration:none;font-size:.85rem}.icon-link svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.5}.cart-count{border-radius:50%;background:var(--rose);color:#fff;min-width:19px;height:19px;text-align:center;line-height:19px;font-size:.72rem}.menu-toggle{display:none;border:0;background:none;padding:.6rem;color:var(--ink)}.menu-toggle svg{width:24px;height:24px}.hero{padding:3.5rem 0 4.5rem}.hero-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:4rem;align-items:center}.hero h1{max-width:620px}.hero h1 em{color:var(--rose);font-weight:400}.hero .lead{max-width:31rem;margin-bottom:2rem}.hero-image{position:relative}.hero-image img{width:100%;height:620px;object-fit:cover;object-position:68% center;border-radius:190px 190px 8px 8px}.image-note{font-size:.75rem;color:var(--muted);margin:.8rem 0 0;text-align:center}.hero-badge{position:absolute;bottom:3.4rem;left:-1.75rem;background:var(--paper);border:1px solid var(--line);padding:1rem 1.35rem;box-shadow:0 8px 30px #3c302d0d;max-width:190px}.hero-badge strong{font:1.8rem var(--serif);display:block;color:var(--rose)}.hero-badge span{font-size:.78rem}.benefits{border-block:1px solid var(--line);background:var(--cream)}.benefit-row{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;padding:1.6rem 0}.benefit{display:flex;align-items:center;justify-content:center;gap:1rem}.benefit svg{width:28px;height:28px;stroke:var(--rose);fill:none;stroke-width:1.5;flex-shrink:0}.benefit b{display:block;font-size:.92rem;font-weight:600}.benefit span{font-size:.79rem;color:var(--muted)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:2rem;margin-bottom:2.5rem}.section-head h2{margin-bottom:0}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}.collection{text-decoration:none;display:block}.collection-image{overflow:hidden;border-radius:7px;background:var(--cream);aspect-ratio:4/4.6;margin-bottom:1.1rem}.collection img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.collection:hover img{transform:scale(1.035)}.collection h3{font-size:1.4rem;margin-bottom:.35rem}.collection p{font-size:.86rem;color:var(--muted)}.tint{background:var(--cream)}.products-grid,.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2.4rem 1.5rem;list-style:none;margin:0;padding:0}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:auto!important;float:none;margin:0!important;padding:0;position:relative}.product-card a{text-decoration:none}.product-image{position:relative;overflow:hidden;border-radius:7px;background:#f3eee9;aspect-ratio:1;margin-bottom:1rem}.product-image img,.woocommerce ul.products li.product a img{width:100%;height:100%;object-fit:cover;margin:0;transition:transform .35s}.product-card:hover .product-image img{transform:scale(1.025)}.pdf-pill{position:absolute;top:.75rem;left:.75rem;background:#fffaf6ed;padding:.2rem .6rem;font-size:.65rem;font-weight:700;letter-spacing:.08em;border-radius:2px}.product-card .product-kind{font-size:.73rem;color:var(--muted);margin-bottom:.25rem}.product-card h2,.woocommerce ul.products li.product .woocommerce-loop-product__title{font:400 1.1rem/1.4 var(--serif);letter-spacing:0;margin:0 0 .55rem;padding:0!important}.product-card .price,.woocommerce ul.products li.product .price{font:650 .95rem var(--sans);color:var(--rose);margin:.4rem 0 0}.product-card .price small{color:var(--muted);font-size:.72rem;font-weight:400;margin-left:.4rem}.section-end{margin-top:3rem;text-align:center}.story-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:5rem}.story-picture img{border-radius:8px;width:100%;max-height:600px;object-fit:cover}.story-copy{max-width:490px}.quote{font:italic 1.6rem/1.5 var(--serif);border-left:2px solid var(--rose);padding-left:1.5rem;margin:2rem 0;color:var(--rose)}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:3rem;margin-top:3rem}.step{border-top:1px solid var(--line);padding-top:1.7rem}.step-icon{font-size:.8rem;letter-spacing:.12em;color:var(--rose);margin-bottom:1.3rem}.step h3{font-size:1.7rem}.step p{font-size:.95rem;color:var(--muted)}.faq-layout{display:grid;grid-template-columns:1fr 1.4fr;gap:5rem}.faq-list details{border-bottom:1px solid var(--line);padding:1.2rem 0}.faq-list details:first-child{border-top:1px solid var(--line)}.faq-list summary{cursor:pointer;list-style:none;font-weight:600;padding-right:2rem;position:relative;font-size:.98rem}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary:after{content:'+';position:absolute;right:0;font-weight:400;font-size:1.3rem;top:-.25rem;color:var(--rose)}.faq-list details[open] summary:after{content:'−'}.faq-list details p{margin:1rem 0 0;color:var(--muted);font-size:.95rem}.cta-band{text-align:center;background:var(--sage);padding:4.5rem 1.5rem}.cta-band h2{max-width:750px;margin:0 auto 1.1rem}.cta-band p{color:var(--muted);margin-bottom:1.75rem}.site-footer{padding:4.5rem 0 1.5rem;background:#f7eee8;border-top:1px solid var(--line)}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:4rem}.footer-brand{width:260px;margin-bottom:1.4rem}.footer-desc{max-width:340px;color:var(--muted);font-size:.88rem}.footer-heading{font:600 .8rem var(--sans);letter-spacing:.1em;text-transform:uppercase;margin:1.5rem 0 1rem}.footer-links{display:flex;flex-direction:column;gap:.55rem}.footer-links a{font-size:.88rem;text-decoration:none}.footer-links a:hover{text-decoration:underline}.footer-bottom{display:flex;justify-content:space-between;gap:2rem;border-top:1px solid var(--line);padding-top:1.5rem;margin-top:3rem;color:var(--muted);font-size:.74rem}.page-intro{text-align:center;padding:4.5rem 0 3rem}.page-intro h1{font-size:clamp(2.5rem,4.2vw,4.2rem)}.page-intro .lead{margin:0 auto}.narrow{width:min(780px,calc(100% - 3rem));margin:0 auto}.prose h2{margin-top:2.5rem;font-size:2rem}.prose ul{padding-left:1.4rem}.contact-card{padding:3rem;border:1px solid var(--line);background:white;border-radius:8px;margin-bottom:2rem}.contact-email{font:clamp(1.1rem,3vw,2rem) var(--serif);overflow-wrap:anywhere;color:var(--rose)}.shop-filters{display:flex;gap:.7rem;flex-wrap:wrap;border-block:1px solid var(--line);padding:1.4rem 0;margin-bottom:2rem}.filter-chip{text-decoration:none;font-size:.8rem;padding:.45rem .9rem;border:1px solid var(--line);border-radius:30px;background:#fff}.filter-chip.active,.filter-chip:hover{background:var(--ink);color:white;border-color:var(--ink)}.catalog-tools{display:flex;justify-content:space-between;align-items:center;gap:2rem;margin-bottom:2rem;flex-wrap:wrap}.catalog-search{display:flex;flex:1;max-width:450px}.catalog-search input{width:100%;border:1px solid var(--line);border-right:0;padding:.8rem 1rem;background:white;min-width:0;border-radius:4px 0 0 4px}.catalog-search button{border:1px solid var(--rose);background:var(--rose);color:white;padding:.8rem 1.1rem;border-radius:0 4px 4px 0}.woocommerce .woocommerce-ordering select,select{padding:.7rem 2rem .7rem .8rem;border:1px solid var(--line);border-radius:4px;background:white;color:var(--ink);max-width:100%}.woocommerce .woocommerce-result-count{font-size:.85rem;color:var(--muted);margin:0}.woocommerce .woocommerce-ordering{margin:0}.woocommerce nav.woocommerce-pagination{margin-top:3rem}.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;justify-content:center;gap:.5rem}.woocommerce nav.woocommerce-pagination ul li{border:1px solid var(--line);border-radius:4px}.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--rose);color:white}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{padding:.75rem 1rem}.woocommerce .woocommerce-breadcrumb{font-size:.8rem;color:var(--muted);margin:2rem 0}.woocommerce div.product div.images img{border-radius:8px}.woocommerce div.product .product_title{font-size:clamp(2rem,3vw,3.3rem)}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--rose);font-weight:600;font-size:1.65rem}.woocommerce div.product form.cart{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.woocommerce .quantity .qty{padding:.7rem;width:4rem;border:1px solid var(--line);border-radius:4px}.woocommerce div.product div.images .flex-control-thumbs{display:flex;gap:.6rem;margin-top:.6rem}.woocommerce div.product div.images .flex-control-thumbs li{width:25%}.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin-top:3rem;border-bottom:1px solid var(--line)}.woocommerce div.product .woocommerce-tabs ul.tabs li{border:0;background:none;padding:0 1.2rem}.woocommerce div.product .woocommerce-tabs ul.tabs li:before,.woocommerce div.product .woocommerce-tabs ul.tabs li:after,.woocommerce div.product .woocommerce-tabs ul.tabs:before{display:none}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{border-bottom:2px solid var(--rose);background:none}.woocommerce div.product .woocommerce-tabs .panel h2{font-size:1.8rem}.woocommerce .product_meta{font-size:.8rem;color:var(--muted)}.woocommerce .woocommerce-message,.woocommerce .woocommerce-info{background:var(--cream);border-top-color:var(--rose);color:var(--ink);border-radius:4px}.woocommerce .woocommerce-message:before,.woocommerce .woocommerce-info:before{color:var(--rose)}.woocommerce-error{border-top-color:#9f302f}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{padding:.8rem;border:1px solid var(--line);border-radius:4px;background:#fff}.woocommerce table.shop_table{border-color:var(--line);border-radius:6px}.woocommerce .cart-collaterals .cart_totals h2{font-size:2rem}.woocommerce-checkout #payment{background:var(--cream)}.woocommerce #respond input#submit.alt,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--rose);color:white}.woocommerce #respond input#submit.alt:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:var(--rose-dark)}.woocommerce .related.products{clear:both;padding-top:3rem}.woocommerce .related.products h2{font-size:2rem}.download-notice{background:var(--sage);padding:1rem 1.2rem;border-radius:4px;font-size:.88rem;margin:1.5rem 0}.catalog-note{font-size:.85rem;color:var(--muted);text-align:center;margin:2rem 0}.ella-chat-launch{position:fixed;bottom:1.5rem;right:1.5rem;z-index:999;background:var(--rose);border:1px solid #fff6;color:white;padding:.9rem 1.15rem;display:flex;align-items:center;gap:.55rem;border-radius:32px;box-shadow:0 5px 28px #3c302d26;font-size:.9rem;font-weight:600}.ella-chat-launch svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.6}.ella-chat{position:fixed;right:1.5rem;bottom:5.6rem;z-index:1000;width:min(370px,calc(100vw - 2rem));max-height:min(600px,calc(100dvh - 8rem));display:flex;flex-direction:column;background:white;border:1px solid var(--line);box-shadow:0 14px 60px #3c302d24;border-radius:14px;overflow:hidden}.ella-chat[hidden]{display:none}.chat-head{padding:1.1rem 1.25rem;background:var(--rose);color:white;display:flex;justify-content:space-between;align-items:center}.chat-head b{font-family:var(--serif);font-size:1.25rem;font-weight:400}.chat-head small{display:block;font-size:.7rem;color:#fff1ea}.chat-close{background:none;border:0;color:white;font-size:1.5rem;padding:.2rem .5rem}.chat-log{padding:1.2rem;overflow:auto;flex:1;min-height:130px}.chat-msg{font-size:.85rem;background:var(--cream);padding:.8rem .95rem;border-radius:12px 12px 12px 2px;margin-bottom:.8rem;overflow-wrap:anywhere}.chat-msg.user{background:var(--sage);margin-left:2rem;border-radius:12px 12px 2px 12px}.chat-msg a{color:var(--rose-dark);font-weight:600}.chat-options{display:flex;gap:.4rem;flex-wrap:wrap;padding:0 1.2rem 1rem}.chat-options button{border:1px solid var(--line);background:white;color:var(--rose-dark);border-radius:16px;padding:.35rem .65rem;font-size:.72rem}.chat-form{display:flex;padding:.8rem;border-top:1px solid var(--line);gap:.5rem}.chat-form input{flex:1;min-width:0;border:1px solid var(--line);padding:.65rem;border-radius:5px;font-size:.85rem}.chat-form button{background:var(--rose);border:0;color:white;border-radius:5px;padding:.5rem .8rem;font-size:.8rem}.chat-fine{font-size:.64rem;color:var(--muted);text-align:center;padding:0 .8rem .65rem;margin:0}.empty-state{text-align:center;padding:4rem 1rem;border:1px solid var(--line);border-radius:8px}.empty-state h2{font-size:2rem}.screen-reader-text{border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;white-space:nowrap}
@media(min-width:1600px){.hero-image img{height:660px}}@media(max-width:1100px){.wrap{width:calc(100% - 3rem)}.site-nav{gap:1rem}.site-nav a{font-size:.8rem}.brand img{width:210px}.hero-grid{gap:2.5rem}.hero-image img{height:540px}.hero h1{font-size:4rem}.hero-badge{left:-1rem}.story-grid{gap:3rem}.header-tools .account-label{display:none}}
@media(max-width:800px){.wrap{width:calc(100% - 2.5rem)}.section{padding:4rem 0}.header-row{min-height:88px;gap:1rem;flex-wrap:wrap}.brand img{width:205px;max-height:68px}.header-tools{margin-left:auto;gap:.8rem}.menu-toggle{display:block}.site-nav{display:none;order:3;flex-basis:100%;padding:0 0 1.5rem;flex-direction:column;align-items:stretch;gap:0}.site-nav.open{display:flex}.site-nav a{font-size:1rem;padding:.65rem 0;border-top:1px solid var(--line)}.hero{padding:2.5rem 0 3rem}.hero-grid{grid-template-columns:1fr;gap:2.5rem}.hero h1{font-size:clamp(2.9rem,9vw,4.5rem);max-width:650px}.hero .lead{max-width:100%}.hero-image img{height:520px;object-position:center;border-radius:150px 150px 6px 6px}.hero-badge{left:1rem;bottom:3.5rem}.benefit-row{gap:1rem;grid-template-columns:1fr;padding:1.3rem 0}.benefit{justify-content:start;padding:.4rem 0;max-width:290px;margin:0 auto;width:100%}.category-grid{grid-template-columns:repeat(2,1fr);gap:1.75rem 1rem}.section-head{align-items:start;flex-direction:column;gap:1.3rem}.products-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem 1rem}.story-grid,.faq-layout{grid-template-columns:1fr;gap:2.5rem}.story-copy{max-width:none}.story-picture img{max-height:500px}.steps{grid-template-columns:1fr;gap:1.5rem}.step{padding-top:1.25rem}.step-icon{margin-bottom:.75rem}.footer-grid{grid-template-columns:1fr 1fr;gap:2rem}.footer-main{grid-column:1/-1}.footer-bottom{flex-direction:column;gap:.7rem}.page-intro{padding:3rem 0 2rem}.contact-card{padding:1.5rem}.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:100%}.woocommerce div.product div.summary{margin-top:2rem}.catalog-tools{gap:1rem}.catalog-search{flex-basis:100%;max-width:none}.woocommerce .woocommerce-ordering{float:none}.woocommerce .woocommerce-result-count{float:none}.cta-band{padding:3.5rem 1.5rem}.ella-chat-launch{bottom:1rem;right:1rem}.ella-chat{right:1rem;bottom:5rem}.announcement{font-size:.68rem;letter-spacing:.035em}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}

@media(max-width:800px){.woocommerce table.shop_table_responsive tr td.product-quantity{min-height:44px}.woocommerce-cart .ella-chat-launch span,.woocommerce-checkout .ella-chat-launch span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}}
