/*
Theme Name: Produktoria — Three Countries
Theme URI: https://example.com/
Author: Produktoria
Description: Mobile-first WooCommerce theme for Produktoria: Belarus, China and Russia. Designed around the approved three-country hero banner, red brand name and Belarusian mosaic.
Version: 3.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: produktoria
*/

:root{
 --p-green:#174d38;--p-green2:#26704e;--p-red:#d52f2f;--p-red2:#b8202a;
 --p-cream:#f8f4ec;--p-paper:#fffdf9;--p-ink:#17211c;--p-muted:#6b746e;
 --p-line:#e7e1d6;--p-gold:#c99b45;--p-radius:18px;
 --p-shadow:0 10px 32px rgba(22,56,43,.09);--p-max:1240px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--p-paper);color:var(--p-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.45}
body:before{content:"";display:block;height:20px;background-image:url("assets/images/mosaic-top.jpg");background-size:auto 100%;background-repeat:repeat-x;border-bottom:1px solid rgba(0,0,0,.06)}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.container{width:min(calc(100% - 32px),var(--p-max));margin-inline:auto}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.site-header{background:rgba(255,253,249,.97);border-bottom:1px solid var(--p-line);position:sticky;top:0;z-index:100;backdrop-filter:blur(12px)}
.header-main{min-height:76px;display:flex;align-items:center;gap:18px}
.brand{display:flex;align-items:center;gap:10px;min-width:max-content}
.brand img{width:46px;height:46px;object-fit:cover;border-radius:50%;background:#fff}
.brand-text{font-size:1.55rem;font-weight:950;letter-spacing:-.045em;color:var(--p-red)}
.brand-sub{font-size:.69rem;color:var(--p-muted);display:block;font-weight:650;letter-spacing:.01em}
.desktop-nav{display:none;align-items:center;gap:16px;font-size:.88rem;font-weight:750}
.desktop-nav a:hover{color:var(--p-red)}
.search{flex:1;display:flex;max-width:560px;margin:auto}
.search input{width:100%;border:1px solid var(--p-line);border-right:0;border-radius:14px 0 0 14px;padding:12px 14px;background:#fff;outline:none}
.search button{width:50px;border:0;border-radius:0 14px 14px 0;background:var(--p-green);color:#fff;font-weight:900}
.header-actions{display:flex;gap:7px;align-items:center}
.header-icon{display:inline-grid;place-items:center;width:42px;height:42px;border:1px solid var(--p-line);border-radius:13px;background:#fff;font-size:1.1rem;position:relative}
.cart-count{position:absolute;top:-6px;right:-5px;background:var(--p-red);color:#fff;border-radius:999px;font-size:.65rem;padding:3px 6px;font-weight:900}
.nav-row{border-top:1px solid var(--p-line)}
.nav-inner{min-height:48px;display:flex;align-items:center;gap:10px;overflow:auto;white-space:nowrap}
.catalog-btn{background:var(--p-green);color:#fff;border-radius:12px;padding:10px 14px;font-weight:850}
.country-link{padding:9px 10px;font-weight:750}
.country-link:hover{color:var(--p-red)}
.hero{padding:14px 0 0}
.hero-shell{border-radius:22px;overflow:hidden;box-shadow:var(--p-shadow);background:#eee}
.hero-top{position:relative;background:#f5f0e7;display:grid;grid-template-columns:1fr 1fr 1fr;min-height:430px}
.hero-country{position:relative;min-height:430px;overflow:hidden;background:#ddd}
.hero-country img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(1.05)}
.hero-country:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.62),rgba(0,0,0,.03) 70%)}
.hero-country.cn:after{background:linear-gradient(0deg,rgba(105,19,18,.7),rgba(0,0,0,.05) 70%)}
.hero-country.ru:after{background:linear-gradient(0deg,rgba(18,45,76,.68),rgba(0,0,0,.05) 70%)}
.hero-country-content{position:absolute;z-index:2;left:24px;right:24px;bottom:22px;color:#fff}
.hero-country h3{font-family:Georgia,serif;font-size:2rem;margin:0 0 4px}
.hero-country p{margin:0;font-weight:650}
.hero-center{position:absolute;z-index:5;left:50%;top:50%;transform:translate(-50%,-50%);text-align:center;background:rgba(255,253,249,.93);padding:22px 34px;border-radius:22px;box-shadow:0 12px 38px rgba(0,0,0,.15);width:min(470px,88%)}
.hero-center h1{margin:0;color:var(--p-red);font-family:Georgia,serif;font-size:clamp(2.1rem,4vw,4rem);line-height:.98;letter-spacing:-.055em}
.hero-center h2{margin:7px 0 8px;font-family:Georgia,serif;font-size:clamp(1.1rem,2vw,1.65rem)}
.hero-center p{margin:0;color:#4f5852}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;padding:12px 20px;font-weight:850}
.btn-red{background:var(--p-red);color:#fff}
.btn-green{background:var(--p-green);color:#fff}
.hero-center .btn{margin-top:15px}
.trust{display:grid;grid-template-columns:repeat(6,1fr);background:#fff;border-top:1px solid var(--p-line)}
.trust-item{padding:16px 10px;text-align:center;border-right:1px solid var(--p-line);font-size:.78rem;font-weight:700}
.trust-item:last-child{border-right:0}
.trust-icon{display:block;font-size:1.35rem;margin-bottom:5px}
.section{padding:38px 0}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}
.section-title{font-family:Georgia,serif;font-size:clamp(1.55rem,3vw,2.1rem);margin:0;letter-spacing:-.035em}
.section-link{color:var(--p-green);font-weight:800}
.category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.category-card{background:#fff;border:1px solid var(--p-line);border-radius:16px;padding:14px;min-height:142px;display:flex;flex-direction:column;justify-content:flex-end;box-shadow:0 4px 16px rgba(0,0,0,.025);transition:.2s}
.category-card:hover{transform:translateY(-3px);box-shadow:var(--p-shadow)}
.category-card img{width:100%;height:82px;object-fit:cover;border-radius:12px;margin-bottom:9px}
.category-card strong{font-size:.9rem}
.country-banners{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.country-banner{min-height:165px;border-radius:18px;overflow:hidden;position:relative;color:#fff}
.country-banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.country-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.1))}
.country-banner-content{position:relative;z-index:2;padding:22px;max-width:78%}
.country-banner h3{font-family:Georgia,serif;font-size:1.5rem;margin:0 0 4px}
.country-banner p{margin:0 0 12px}
.country-banner .btn{background:#fff;color:var(--p-green);padding:9px 14px}
.tabs{display:flex;gap:8px;overflow:auto;margin-bottom:16px}
.tab{border:1px solid var(--p-line);background:#fff;border-radius:999px;padding:9px 15px;font-weight:800;white-space:nowrap}
.tab.active{background:var(--p-green);color:#fff;border-color:var(--p-green)}
.product-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:13px}
.product-card{background:#fff;border:1px solid var(--p-line);border-radius:17px;overflow:hidden;position:relative;box-shadow:0 4px 16px rgba(0,0,0,.035)}
.product-media{aspect-ratio:1/1;background:var(--p-cream);display:grid;place-items:center;overflow:hidden}
.product-media img{width:100%;height:100%;object-fit:contain;padding:10px}
.product-placeholder{font-size:3rem}
.product-body{padding:12px}
.badge{display:inline-flex;padding:4px 8px;border-radius:999px;background:#2f965f;color:#fff;font-size:.66rem;font-weight:900}
.badge.sale{background:var(--p-red)}
.product-title{font-weight:820;line-height:1.25;margin:8px 0 4px;min-height:2.5em}
.product-meta{font-size:.75rem;color:var(--p-muted)}
.price-row{display:flex;justify-content:space-between;align-items:center;margin-top:10px;gap:8px}
.price{font-size:1.12rem;font-weight:950;color:var(--p-green)}
.old-price{font-size:.78rem;color:#999;text-decoration:line-through;margin-left:5px}
.quick-add{border:0;border-radius:11px;background:var(--p-green);color:#fff;width:39px;height:39px;font-weight:900}
.recipe-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.recipe-card{position:relative;min-height:190px;border-radius:18px;overflow:hidden;color:#fff}
.recipe-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.recipe-card:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.72),transparent 65%)}
.recipe-content{position:absolute;z-index:2;left:18px;right:18px;bottom:16px}
.recipe-content h3{font-family:Georgia,serif;margin:0 0 5px}
.bundle{border-radius:22px;background:linear-gradient(115deg,var(--p-green),#2b7653);color:#fff;padding:28px;display:flex;justify-content:space-between;align-items:center;gap:20px;overflow:hidden}
.bundle h2{font-family:Georgia,serif;font-size:2rem;margin:0 0 7px}
.newsletter{background:var(--p-cream);border:1px solid var(--p-line);border-radius:22px;padding:26px;display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:center}
.newsletter form{display:flex}
.newsletter input{min-width:0;flex:1;border:1px solid var(--p-line);border-right:0;border-radius:13px 0 0 13px;padding:13px}
.newsletter button{border:0;border-radius:0 13px 13px 0;background:var(--p-green);color:#fff;padding:0 18px;font-weight:850}
.site-footer{background:var(--p-green);color:#fff;padding:42px 0 80px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:25px}
.footer-brand{font-size:1.45rem;font-weight:950;color:#fff}
.footer-col h3{font-size:.95rem;margin:0 0 10px}
.footer-col a{display:block;opacity:.82;margin:6px 0;font-size:.88rem}
.mobile-bar{display:none}
.woocommerce .site-main{padding-bottom:50px}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;background:#fff;border:1px solid var(--p-line);border-radius:17px;padding:10px!important}
.woocommerce ul.products li.product img{border-radius:12px}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--p-green);color:#fff;border-radius:11px;font-weight:800}
.woocommerce .quantity .qty{border-radius:10px;border:1px solid var(--p-line);padding:9px}
.woocommerce-message,.woocommerce-info{border-top-color:var(--p-green)}
.woocommerce span.onsale{background:var(--p-red);padding:4px 8px;min-height:auto;line-height:1.4}
.elementor-page .site-header{position:relative}
@media(max-width:1050px){
 .desktop-nav{display:none}.header-main{flex-wrap:wrap;padding:9px 0}.search{order:3;flex-basis:100%;max-width:none}
 .category-grid{grid-template-columns:repeat(4,1fr)}.product-grid,.woocommerce ul.products{grid-template-columns:repeat(4,1fr)}
 .trust{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:760px){
 body:before{height:12px;background-size:auto 100%}
 .container{width:min(calc(100% - 20px),var(--p-max))}
 .site-header{position:sticky;top:0}
 .header-main{min-height:62px;gap:8px}.brand img{width:39px;height:39px}.brand-text{font-size:1.25rem}.brand-sub{font-size:.58rem}
 .header-actions{margin-left:auto}.header-icon{width:38px;height:38px}
 .nav-row{display:none}.search{order:0;flex:1;margin:0}.search input{padding:10px;font-size:.8rem}.search button{width:42px}
 .hero{padding-top:8px}.hero-top{grid-template-columns:1fr;min-height:600px}
 .hero-country{min-height:200px}.hero-country h3{font-size:1.45rem}.hero-country-content{left:18px;bottom:16px}
 .hero-center{top:50%;padding:17px 15px;width:92%}.hero-center h1{font-size:2rem}.hero-center h2{font-size:1rem}
 .trust{grid-template-columns:repeat(3,1fr)}.trust-item{font-size:.66rem;padding:11px 5px}
 .section{padding:27px 0}.section-title{font-size:1.55rem}
 .category-grid{display:flex;overflow:auto;gap:9px;padding-bottom:5px}.category-card{min-width:125px;min-height:125px;padding:10px}.category-card img{height:68px}
 .country-banners{display:flex;overflow:auto}.country-banner{min-width:300px}
 .product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .product-body{padding:10px}.product-title{font-size:.82rem}.price{font-size:1rem}
 .recipe-grid{display:flex;overflow:auto}.recipe-card{min-width:280px}
 .bundle{display:block;padding:22px}.bundle h2{font-size:1.55rem}.bundle .btn{margin-top:12px}
 .newsletter{grid-template-columns:1fr;padding:20px}.newsletter form{margin-top:5px}
 .footer-grid{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}
 .mobile-bar{display:grid;position:fixed;z-index:200;bottom:0;left:0;right:0;grid-template-columns:repeat(5,1fr);background:#fff;border-top:1px solid var(--p-line);padding:7px 4px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -8px 25px rgba(0,0,0,.08)}
 .mobile-bar a{text-align:center;color:var(--p-muted);font-size:.64rem;font-weight:750}.mobile-bar strong{display:block;color:var(--p-green);font-size:1.05rem;line-height:1.2}
}
@media(max-width:420px){
 .brand-sub{display:none}.brand-text{font-size:1.13rem}
 .hero-top{min-height:620px}.hero-country{min-height:205px}
 .hero-center{position:absolute;top:50%;transform:translate(-50%,-50%)}
 .trust-item:nth-child(4),.trust-item:nth-child(5),.trust-item:nth-child(6){display:none}
 .trust{grid-template-columns:repeat(3,1fr)}
}
