/*
Theme Name: FromSuomi Minimal
Theme URI: https://fromsuomi.com/
Author: FromSuomi
Description: Lightweight minimalist storefront theme with WooCommerce integration.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: fromsuomi
*/

:root{--ink:#1c2b38;--muted:#6c7881;--line:#e5e9ec;--blue:#173f5f;--soft:#f3f6f7;--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font:15px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:#fff}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer} .wrap{max-width:var(--max);margin:auto;padding:0 28px}
.announcement{background:var(--blue);color:white;text-align:center;font-size:12px;letter-spacing:.045em;padding:10px 12px}
.header{border-bottom:1px solid var(--line);background:#fff}.head-inner{height:82px;display:flex;align-items:center;gap:46px}.logo{font-size:29px;font-weight:750;letter-spacing:-1.45px;white-space:nowrap}.logo span{color:#58778a}.nav{display:flex;align-items:center;gap:30px;font-size:14px}.nav a:hover,.footer a:hover{text-decoration:underline;text-underline-offset:4px}.head-actions{margin-left:auto;display:flex;gap:16px;align-items:center}.icon-btn{border:0;background:none;padding:6px;display:flex;align-items:center;color:var(--ink)}.icon-btn svg{width:21px;height:21px;stroke-width:1.65}.menu-toggle{display:none}
.hero{background:#edf2f3}.hero-inner{display:grid;grid-template-columns:1fr 1fr;min-height:460px;align-items:center;gap:55px}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:700;color:#637783}.hero h1{font-size:clamp(42px,5vw,68px);line-height:1.07;letter-spacing:-.055em;margin:18px 0 21px;font-weight:720;max-width:560px}.hero p{font-size:17px;max-width:400px;color:#5c6b74;margin:0 0 30px}.primary{display:inline-flex;align-items:center;justify-content:center;background:var(--blue);border:1px solid var(--blue);color:#fff;padding:13px 25px;min-height:46px;font-weight:600;font-size:13px;transition:background .2s}.primary:hover{background:#0f304a}.hero-art{height:100%;min-height:390px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.hero-circle{width:min(82%,410px);aspect-ratio:1;background:#dce7e9;border-radius:50%;position:absolute}.hero-type{position:relative;z-index:1;text-align:center;font-size:clamp(26px,3.6vw,47px);letter-spacing:-.07em;line-height:1.16;color:#2e5061;font-weight:650}.hero-type small{display:block;font-size:12px;letter-spacing:.25em;font-weight:500;margin-top:22px;color:#5d7985}.section{padding:75px 0}.section-header{display:flex;align-items:end;justify-content:space-between;margin-bottom:29px;gap:20px}.section h2{font-size:29px;font-weight:650;letter-spacing:-.04em;margin:0}.text-link{font-size:13px;text-decoration:underline;text-underline-offset:5px}.categories{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.cat{display:block}.cat-img{aspect-ratio:1.13;background:#f0f1ef;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.cat:nth-child(2) .cat-img{background:#eff2f4}.cat:nth-child(3) .cat-img{background:#f4f1ed}.cat:nth-child(4) .cat-img{background:#eef1f0}.cat-img span{font-size:clamp(22px,2.6vw,37px);font-weight:600;letter-spacing:-.07em;color:#a4afb4;opacity:.8}.cat-title{display:flex;justify-content:space-between;gap:10px;padding:17px 1px;font-size:15px;font-weight:600}.cat-title span:last-child{font-weight:400;color:#7c8a91}.products-section{border-top:1px solid var(--line)}.products{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.product-img{aspect-ratio:.94;background:#f3f5f5;display:flex;align-items:center;justify-content:center;color:#abb6bd;position:relative}.product-img:after{content:'Product image';font-size:12px;letter-spacing:.04em}.product-name{font-weight:600;font-size:14px;margin:13px 0 3px}.product-sub{color:var(--muted);font-size:12px;margin:0}.value-strip{background:var(--soft);padding:40px 0}.values{display:grid;grid-template-columns:repeat(3,1fr);gap:38px}.value h3{font-size:15px;margin:0 0 6px}.value p{font-size:13px;color:var(--muted);margin:0}.newsletter{padding:74px 0;border-bottom:1px solid var(--line)}.newsletter-inner{display:flex;align-items:center;justify-content:space-between;gap:40px}.newsletter h2{font-size:28px;letter-spacing:-.04em;margin:0 0 8px}.newsletter p{color:var(--muted);margin:0;font-size:14px}.news-form{display:flex;width:min(440px,100%);height:48px}.news-form input{flex:1;min-width:0;border:1px solid #cfd8dd;padding:0 15px;outline:none}.news-form button{border:0;background:var(--blue);color:#fff;padding:0 22px;font-weight:600;font-size:13px}.footer{padding:48px 0 28px}.foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.foot-logo{font-size:24px;font-weight:700;letter-spacing:-1px}.foot-grid p{color:var(--muted);max-width:270px;font-size:13px}.footer h3{font-size:13px;margin:0 0 16px}.footer ul{list-style:none;margin:0;padding:0}.footer li{margin:9px 0;color:#61717b;font-size:13px}.foot-bottom{display:flex;justify-content:space-between;margin-top:48px;padding-top:20px;border-top:1px solid var(--line);color:#859099;font-size:12px}.menu-panel{display:none}
@media(max-width:850px){.head-inner{gap:18px}.nav{gap:17px}.hero-inner{gap:20px;min-height:390px}.hero-art{min-height:340px}.categories,.products{grid-template-columns:repeat(2,1fr)}.values{gap:20px}.newsletter-inner{align-items:start;flex-direction:column;gap:25px}}
@media(max-width:600px){.wrap{padding:0 20px}.announcement{font-size:11px}.head-inner{height:70px}.logo{font-size:26px}.nav{display:none}.menu-toggle{display:flex}.head-actions{gap:10px}.hero-inner{grid-template-columns:1fr;gap:0}.hero-content{padding:60px 0 22px}.hero h1{font-size:50px;margin:14px 0 16px}.hero p{font-size:16px}.hero-art{min-height:225px}.hero-circle{width:220px}.hero-type{font-size:29px}.section{padding:55px 0}.section h2{font-size:25px}.categories,.products{gap:12px}.cat-title{font-size:13px}.cat-img span{font-size:24px}.values{grid-template-columns:1fr;gap:22px}.value-strip{padding:33px 0}.newsletter{padding:55px 0}.foot-grid{grid-template-columns:1fr 1fr;gap:32px}.foot-grid>:first-child{grid-column:1/-1}.foot-bottom{margin-top:30px}.menu-panel.active{display:flex;flex-direction:column;padding:12px 20px 22px;gap:18px;border-top:1px solid var(--line)}}

/* WordPress / WooCommerce additions */
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.screen-reader-text:focus{position:static!important;width:auto;height:auto;margin:0;clip:auto;white-space:normal}
.site-content{min-height:40vh}.content-page{padding:65px 0;max-width:850px}.content-page h1{font-size:40px;letter-spacing:-.04em}.content-page img{max-width:100%;height:auto}
.product-img:after{display:none}.product-img img{width:100%;height:100%;object-fit:contain;padding:15px}.product-img.no-image:after{display:block}.product-price{font-size:14px;color:#304958;margin:4px 0 0}.product-card a{display:block}.product-card .button{font-size:12px;display:inline-block;margin-top:8px;text-decoration:underline}
.cat-img img{width:100%;height:100%;object-fit:cover}.cat-img.has-image span{display:none}
.header .custom-logo{max-height:55px;width:auto}.logo{display:flex;align-items:center}.search-form{display:flex;gap:6px}.search-form input[type=search]{border:1px solid #cfd8dd;padding:10px 14px;min-width:0}.search-form button{background:var(--blue);color:#fff;border:0;padding:10px 17px}.head-search{position:relative}.search-pop{display:none;position:absolute;z-index:25;right:0;top:39px;background:#fff;padding:13px;border:1px solid var(--line);box-shadow:0 10px 30px #142d4114}.head-search.open .search-pop{display:block}.search-pop .search-form{min-width:270px}
.woocommerce .woocommerce-breadcrumb{margin:25px 0;color:var(--muted)}.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:30px 0}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important}.woocommerce ul.products li.product a img{background:#f3f5f5;aspect-ratio:1;object-fit:contain;margin:0 0 12px;padding:12px}.woocommerce ul.products li.product .button,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--blue);color:white;border-radius:0;padding:13px 18px}.woocommerce div.product .product_title,.woocommerce-products-header__title{letter-spacing:-.03em}.woocommerce-page .site-content{padding:35px 0 75px}.woocommerce .quantity .qty{padding:10px}.woocommerce div.product div.images img{background:#f3f5f5}.woocommerce .woocommerce-result-count{font-size:13px;color:var(--muted)}
@media(max-width:850px){.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.head-search .search-pop{right:-60px}.search-pop .search-form{min-width:235px}.woocommerce ul.products{gap:12px}.content-page{padding:40px 0}}

.nav .wp-menu{list-style:none;margin:0;padding:0;display:flex;gap:30px}.menu-panel .wp-menu{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:18px}

/* Recipe articles: only posts in the Recipes category are shown on homepage. */
.recipes-section{border-top:1px solid var(--line)}.recipes-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.recipe-image{background:#f3f5f5;aspect-ratio:1.5;overflow:hidden}.recipe-image img{width:100%;height:100%;object-fit:cover}.recipe-card h3{font-size:16px;font-weight:600;margin:14px 0 0}.recipe-card a:hover h3{text-decoration:underline;text-underline-offset:4px}@media(max-width:600px){.recipes-grid{grid-template-columns:1fr 1fr;gap:12px}.recipe-card h3{font-size:14px}}
