/*
Theme Name: Hearthline — Small Appliances
Description: Independent WooCommerce storefront theme for 小家电.
Version: 0.1.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hearthline
License: GNU General Public License v2 or later
*/
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font-body);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}body.nav-open{overflow:hidden}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}img{max-width:100%;height:auto}svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.04}h1,h2{font-family:var(--font-display);font-weight:var(--display-weight)}:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.skip-link{position:absolute;top:-100px;left:16px;z-index:1000;background:var(--ink);color:var(--paper);padding:12px 18px}.skip-link:focus{top:12px}.site-header{position:relative;z-index:60;height:var(--header-height);background:var(--header-bg);color:var(--header-ink);border-bottom:1px solid var(--line)}.site-header__inner{height:100%;width:min(100% - 80px,1480px);margin:auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:26px}.site-brand{font-family:var(--font-display);font-size:28px;font-weight:var(--display-weight);letter-spacing:var(--brand-spacing);line-height:1}.site-brand .custom-logo{max-width:190px;max-height:48px;width:auto;height:auto;display:block}.site-nav__links,.footer-links{display:flex;align-items:center;gap:clamp(16px,2.4vw,40px);padding:0;margin:0;list-style:none}.site-nav__links a{display:inline-flex;min-height:44px;align-items:center;font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:600}.site-nav__links a:hover,.footer-links a:hover{color:var(--accent)}.site-nav .menu-item-has-children{position:relative}.site-nav .sub-menu{position:absolute;top:100%;left:0;min-width:200px;padding:12px 20px;list-style:none;background:var(--header-bg);border:1px solid var(--line);display:none}.site-nav .menu-item-has-children:hover .sub-menu,.site-nav .menu-item-has-children:focus-within .sub-menu{display:block}.site-actions{justify-self:end;display:flex;gap:12px;align-items:center}.site-actions a,.menu-toggle{display:grid;place-items:center;width:44px;height:44px;position:relative}.site-actions svg{width:23px;height:23px}.site-cart__count{position:absolute;top:0;right:0;min-width:17px;height:17px;padding:0 3px;border-radius:9px;background:var(--accent);color:var(--accent-ink);font-size:10px;font-weight:700;display:grid;place-items:center}.menu-toggle{display:none;border:0;background:none;color:inherit;padding:10px}.menu-toggle span{width:22px;height:1px;background:currentColor;display:block;position:absolute;left:11px;top:18px;transition:transform .25s,top .25s}.menu-toggle span+span{top:26px}.menu-toggle[aria-expanded=true] span:first-child{top:22px;transform:rotate(45deg)}.menu-toggle[aria-expanded=true] span+span{top:22px;transform:rotate(-45deg)}
.hero{min-height:clamp(600px,calc(100svh - var(--header-height)),900px);position:relative;display:flex;align-items:center;isolation:isolate;background-color:var(--hero-fallback);background-image:var(--hero-overlay),var(--hero-image);background-position:center,var(--hero-position);background-size:cover;color:var(--hero-ink)}.hero__content{width:min(100% - 128px,1480px);margin:auto;padding:80px 0;position:relative;z-index:1;animation:hero-arrive .8s cubic-bezier(.22,1,.36,1) both}.hero__brand{font-family:var(--font-display);font-size:clamp(30px,3.4vw,52px);font-weight:var(--display-weight);letter-spacing:var(--brand-spacing);line-height:1;margin-bottom:28px;max-width:720px}.hero h1{font-size:clamp(52px,6vw,106px);max-width:790px;letter-spacing:var(--heading-spacing);margin-bottom:24px}.hero__text{font-size:clamp(16px,1.2vw,19px);max-width:450px;line-height:1.5;margin-bottom:34px}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:38px;min-height:54px;padding:0 23px;background:var(--accent);color:var(--accent-ink);font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;border:1px solid var(--accent);transition:background .25s,color .25s,transform .25s}.button:hover{background:transparent;color:var(--hero-ink);transform:translateY(-2px)}.button span{font-size:19px;font-weight:400}.hero::after{content:"";position:absolute;left:0;bottom:0;width:100%;height:3px;background:var(--accent);transform-origin:left;animation:hero-line 1.5s .15s both}.section{padding:clamp(72px,8vw,128px) max(40px,calc((100vw - 1376px)/2))}.section__heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:38px}.section__heading h2{font-size:clamp(40px,5vw,76px);letter-spacing:var(--heading-spacing);max-width:680px;margin:0}.section__eyebrow{font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);margin-bottom:16px}.text-link{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;display:inline-flex;gap:18px;align-items:center;border-bottom:1px solid currentColor;padding-bottom:7px;white-space:nowrap}.text-link:hover{color:var(--accent)}.text-link span{font-size:20px;font-weight:400}.category-section{background:var(--paper)}.category-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 56px;border-top:1px solid var(--line)}.category-list__item{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;min-height:92px;border-bottom:1px solid var(--line);transition:padding .28s,color .28s}.category-list__item:hover{padding-left:12px;color:var(--accent)}.category-list__number{font-family:var(--font-accent);font-size:12px;color:var(--muted)}.category-list__name{font-family:var(--font-display);font-size:clamp(21px,2vw,32px);line-height:1.1}.category-list__arrow{font-size:22px}.products-section{background:var(--surface)}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px}.product-tile__image{display:block;aspect-ratio:4/5;background:var(--image-bg);overflow:hidden}.product-tile__image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s cubic-bezier(.22,1,.36,1)}.product-tile:hover img{transform:scale(1.035)}.product-tile__placeholder{display:block;width:100%;height:100%;background:linear-gradient(135deg,var(--image-bg),var(--paper))}.product-tile__meta{display:flex;justify-content:space-between;align-items:start;gap:10px;padding-top:16px}.product-tile h3{font-family:var(--font-body);font-size:15px;line-height:1.35;font-weight:600;margin:0}.product-tile__price{font-size:14px;white-space:nowrap}.product-tile__price del{color:var(--muted);margin-right:5px}.product-tile__price ins{text-decoration:none;color:var(--accent)}.statement-section{background:var(--statement-bg);color:var(--statement-ink);padding:clamp(95px,12vw,180px) 40px}.statement-section__inner{width:min(100%,900px);margin:auto;text-align:center}.statement-section .section__eyebrow{color:var(--statement-muted)}.statement-section h2{font-size:clamp(48px,6vw,100px);letter-spacing:var(--heading-spacing);margin-bottom:25px}.statement-section__inner>p:not(.section__eyebrow){max-width:590px;margin:0 auto 32px;font-size:18px}.statement-section .text-link:hover{color:var(--statement-accent)}.site-footer{background:var(--footer-bg);color:var(--footer-ink);padding:70px max(40px,calc((100vw - 1376px)/2)) 25px}.site-footer__inner{display:flex;justify-content:space-between;gap:36px;padding-bottom:74px}.site-footer__brand{font-family:var(--font-display);font-size:clamp(34px,4vw,58px);line-height:1;letter-spacing:var(--brand-spacing)}.site-footer__inner p{font-size:14px;max-width:300px;margin:18px 0 0;color:var(--footer-muted)}.footer-links{flex-wrap:wrap}.footer-links a{font-size:12px;letter-spacing:.08em;text-transform:uppercase}.site-footer__bottom{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--footer-line);padding-top:20px;color:var(--footer-muted);font-size:11px;letter-spacing:.06em;text-transform:uppercase}
.content-page,.commerce-page{width:min(100% - 80px,1376px);margin:0 auto;min-height:60vh;padding:65px 0 110px}.content-page__header{margin-bottom:50px}.content-page h1,.commerce-page h1,.commerce-page .page-title{font-size:clamp(46px,5vw,78px);letter-spacing:var(--heading-spacing)}.content-page--article{width:min(100% - 48px,840px)}.content-page--article h1{margin:0 0 32px}.entry-content{font-size:17px;line-height:1.75}.entry-content img{margin:20px 0}.entry-list{display:grid;grid-template-columns:repeat(3,1fr);gap:45px}.entry-item img{width:100%;aspect-ratio:4/3;object-fit:cover}.entry-item h2{font-size:30px;margin:20px 0 12px}.entry-item p{color:var(--muted)}.content-page--missing{text-align:center;padding-top:130px}.content-page--missing p{margin:0 auto 25px}.content-page--missing .button:hover{color:var(--ink)}
.woocommerce .woocommerce-breadcrumb{color:var(--muted);font-size:12px;letter-spacing:.04em;margin-bottom:36px}.woocommerce .woocommerce-breadcrumb a{color:var(--ink)}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{margin-bottom:35px}.woocommerce select,.woocommerce input:not([type=checkbox]):not([type=radio]),.woocommerce textarea{min-height:48px;border:1px solid var(--line);background:var(--paper);color:var(--ink);padding:11px 14px;border-radius:0}.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:42px 26px;margin:32px 0 0;padding:0}.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}.woocommerce ul.products li.product{float:none;width:auto;margin:0;clear:none}.woocommerce ul.products li.product a img{width:100%;aspect-ratio:4/5;object-fit:cover;background:var(--image-bg);margin:0 0 15px;transition:transform .4s}.woocommerce ul.products li.product:hover a img{transform:translateY(-3px)}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:var(--font-body);font-size:15px;font-weight:600;line-height:1.4;padding:0;margin:0 0 6px}.woocommerce ul.products li.product .price{color:var(--ink);font-size:15px}.woocommerce ul.products li.product .button{margin-top:10px;min-height:44px;gap:10px;padding:0 16px}.woocommerce span.onsale{border-radius:0;background:var(--accent);color:var(--accent-ink);font-size:11px;min-height:0;min-width:0;line-height:1;padding:9px 12px;top:12px;left:12px;right:auto}.woocommerce div.product{display:flow-root}.woocommerce div.product div.images{width:54%;margin-bottom:45px}.woocommerce div.product div.summary{width:41%;margin-bottom:45px}.woocommerce div.product .product_title{font-size:clamp(42px,4vw,68px);letter-spacing:var(--heading-spacing);margin:0 0 20px}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ink);font-size:26px}.woocommerce div.product .woocommerce-product-details__short-description{font-size:16px;line-height:1.7}.woocommerce div.product form.cart{margin-top:30px}.woocommerce div.product form.cart .button,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.woocommerce #respond input#submit{border-radius:0;background:var(--accent);color:var(--accent-ink);font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;min-height:48px;padding:13px 22px}.woocommerce div.product form.cart .button:hover,.woocommerce button.button:hover,.woocommerce a.button:hover,.woocommerce input.button:hover{background:var(--ink);color:var(--paper)}.woocommerce div.product .woocommerce-tabs{clear:both;padding-top:40px}.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;border-bottom:1px solid var(--line)}.woocommerce div.product .woocommerce-tabs ul.tabs::before{display:none}.woocommerce div.product .woocommerce-tabs ul.tabs li{border:0;border-radius:0;background:none;margin:0 25px 0 0;padding:0 0 12px}.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{border-bottom:2px solid var(--accent)}.woocommerce .related.products{clear:both;padding-top:60px}.woocommerce .related.products h2{font-size:38px}.woocommerce table.shop_table{border-radius:0;border-color:var(--line)}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:16px}.woocommerce .woocommerce-info,.woocommerce .woocommerce-message,.woocommerce .woocommerce-error{border-top-color:var(--accent);background:var(--surface)}.woocommerce .woocommerce-info::before,.woocommerce .woocommerce-message::before{color:var(--accent)}.woocommerce form.checkout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr);column-gap:6%;align-items:start}.woocommerce form.checkout #customer_details{grid-column:1}.woocommerce form.checkout #order_review_heading,.woocommerce form.checkout #order_review{grid-column:2}.woocommerce form.checkout #order_review_heading{grid-row:1;align-self:end}.woocommerce form.checkout #order_review{grid-row:2}.woocommerce form.checkout .col2-set{width:100%;float:none}.woocommerce form.checkout .col2-set .col-1,.woocommerce form.checkout .col2-set .col-2{width:100%;float:none}.woocommerce .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;line-height:2.4}.woocommerce .woocommerce-MyAccount-navigation a:hover{color:var(--accent)}.woocommerce-pagination ul.page-numbers{border:0}.woocommerce nav.woocommerce-pagination ul li{border:0;margin:0 5px}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{padding:10px 14px;min-width:44px}
@keyframes hero-arrive{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}@keyframes hero-line{from{transform:scaleX(0)}to{transform:scaleX(1)}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media(max-width:1050px){.site-header__inner{width:calc(100% - 48px)}.site-nav__links{gap:16px}.product-grid,.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}.hero__content{width:calc(100% - 80px)}}
@media(max-width:760px){:root{--header-height:68px}.site-header__inner{width:calc(100% - 28px);display:flex;gap:12px}.menu-toggle{display:grid;flex:none}.site-brand{font-size:23px;margin-right:auto}.site-brand .custom-logo{max-width:150px;max-height:38px}.site-actions{gap:3px}.site-actions a{width:42px;height:44px}.site-nav{display:none;position:absolute;top:var(--header-height);left:0;right:0;height:calc(100svh - var(--header-height));background:var(--header-bg);padding:30px 28px;overflow:auto;border-top:1px solid var(--line)}.site-nav.is-open{display:block}.site-nav__links{display:block}.site-nav__links>li{border-bottom:1px solid var(--line)}.site-nav__links a{min-height:56px;font-size:15px}.site-nav .sub-menu{display:block;position:static;border:0;padding:0 0 10px 20px}.site-nav .sub-menu a{min-height:42px;font-size:13px}.hero{min-height:calc(100svh - var(--header-height));align-items:end;background-image:var(--hero-overlay-mobile),var(--hero-image);background-position:center,var(--hero-position-mobile);background-size:cover}.hero__content{width:calc(100% - 48px);padding:70px 0 56px}.hero__brand{font-size:clamp(30px,8vw,46px);margin-bottom:20px}.hero h1{font-size:clamp(48px,12vw,76px);margin-bottom:16px;max-width:600px}.hero__text{font-size:16px;max-width:390px;margin-bottom:25px}.section{padding:76px 24px}.section__heading{align-items:start}.section__heading h2{font-size:48px}.category-list{grid-template-columns:1fr;gap:0}.category-list__item{min-height:75px}.category-list__name{font-size:27px}.product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 12px}.product-tile__meta{display:block}.product-tile h3{margin-bottom:7px}.statement-section{padding:100px 24px}.statement-section h2{font-size:clamp(50px,11vw,75px)}.site-footer{padding:64px 24px 25px}.site-footer__inner{display:block;padding-bottom:50px}.site-footer__inner nav{margin-top:42px}.site-footer__bottom{display:block}.site-footer__bottom span{display:block;margin-top:8px}.content-page,.commerce-page{width:calc(100% - 48px);padding:55px 0 80px}.entry-list{grid-template-columns:1fr 1fr;gap:25px}.woocommerce div.product div.images,.woocommerce div.product div.summary{width:100%;float:none}.woocommerce form.checkout{display:block}.woocommerce .related.products h2{font-size:32px}}
@media(max-width:480px){.site-search{display:none!important}.section__heading{display:block}.section__heading .text-link{margin-top:22px}.section__heading h2{font-size:42px}.hero__brand{font-size:30px}.hero h1{font-size:48px}.hero__text{font-size:15px}.product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.woocommerce ul.products li.product .button{width:100%;font-size:10px;padding:10px}.entry-list{grid-template-columns:1fr}.woocommerce div.product .product_title{font-size:40px}}
.site-actions button.site-search-toggle{display:grid;place-items:center;width:44px;height:44px;border:0;background:transparent;color:inherit;padding:0}.site-search-panel{position:absolute;top:100%;left:0;right:0;background:var(--header-bg);border-top:1px solid var(--line);box-shadow:0 18px 25px rgba(0,0,0,.12);padding:28px max(40px,calc((100vw - 900px)/2))}.site-search-panel[hidden]{display:none}.site-search-panel form{max-width:900px;margin:auto}.site-search-panel label{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.1em;font-weight:700;margin-bottom:10px}.site-search-panel form>div{display:flex;gap:10px}.site-search-panel input{flex:1;min-width:0;min-height:50px;border:1px solid var(--line);padding:12px 16px;background:var(--paper);color:var(--ink);border-radius:0}.site-search-panel button{border:0;background:var(--accent);color:var(--accent-ink);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:0 25px;min-height:50px}.site-search-panel button span{margin-left:16px;font-size:18px}.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{color:var(--ink)}.wc-block-components-button:not(.is-link){border-radius:0!important;background:var(--accent)!important;color:var(--accent-ink)!important;min-height:48px}.wc-block-components-text-input input,.wc-block-components-combobox input{border-radius:0!important}.wc-block-components-sidebar{border-radius:0!important}
@media(max-width:760px){.site-search-panel{padding:22px 24px}}
@media(max-width:480px){.site-search-panel form>div{display:block}.site-search-panel input,.site-search-panel button{width:100%}.site-search-panel button{margin-top:8px}}
@media(max-width:760px){.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:100%!important;float:none!important;clear:none!important;margin:0!important}}
.hero__content{margin:0 auto}

:root{--paper:#f2eee5;--surface:#faf8f3;--ink:#272c26;--muted:#797d71;--line:#d8d5ca;--accent:#51614a;--accent-ink:#fff;--header-bg:#f5f1e9;--header-ink:#272c26;--hero-fallback:#e9e2d4;--hero-ink:#273024;--hero-overlay:linear-gradient(90deg,rgba(244,240,229,.94) 0%,rgba(244,240,229,.76) 33%,rgba(244,240,229,.08) 68%);--hero-overlay-mobile:linear-gradient(0deg,rgba(239,233,220,.97) 0%,rgba(239,233,220,.88) 32%,rgba(239,233,220,.02) 72%);--hero-position:58% center;--hero-position-mobile:58% center;--image-bg:#e6e2d9;--statement-bg:#dce1d4;--statement-ink:#2d3b2a;--statement-muted:#596653;--statement-accent:#4a5e41;--footer-bg:#242e28;--footer-ink:#f6f4ed;--footer-muted:#abb5aa;--footer-line:#4b554e;--font-display:'Fraunces',Georgia,serif;--font-body:'Manrope',sans-serif;--font-accent:'Manrope',sans-serif;--display-weight:500;--brand-spacing:-.05em;--heading-spacing:-.055em;--header-height:78px}
.hero h1{max-width:720px}.category-list__number{color:#758269}.statement-section h2{font-style:italic}
