/* FX-8 Store 1.0 — самостоятельная витрина + деликатные стили WooCommerce */
:root{--fx8-ink:#192923;--fx8-forest:#173c30;--fx8-green:#13784c;--fx8-red:#ca1746;--fx8-muted:#66736c;--fx8-line:#e4e8e2;--fx8-warm:#f6f4ee;--fx8-white:#fff}
.fx8-shop,.fx8-contacts{color:var(--fx8-ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.fx8-shop *,.fx8-contacts *{box-sizing:border-box}
.fx8-shop a,.fx8-contacts a{text-decoration:none}
.fx8-shop a:focus-visible,.fx8-contacts a:focus-visible{outline:3px solid #138755;outline-offset:3px}
.fx8-shell{max-width:1240px;width:calc(100% - 48px);margin-left:auto;margin-right:auto}
.fx8-topline{background:#143a2e;color:#f0f7f1;font-size:12px}
.fx8-topline__inner{min-height:38px;display:flex;justify-content:space-between;align-items:center;gap:15px}
.fx8-topline a{color:inherit}
.fx8-localnav{display:flex;justify-content:space-between;align-items:center;gap:32px;min-height:94px}
.fx8-brandmark{display:flex;align-items:flex-start;flex-direction:column;line-height:.86;min-width:130px}
.fx8-brandmark>span{font-size:45px;font-weight:900;letter-spacing:-3.5px;color:var(--fx8-red)}
.fx8-brandmark>span span{letter-spacing:-4px}
.fx8-brandmark small{margin-top:8px;letter-spacing:4px;color:var(--fx8-ink);font-size:10px;font-weight:900}
.fx8-localnav__links{display:flex;align-items:center;gap:30px}
.fx8-localnav__links a{color:#394a43;font-size:14px;font-weight:600;transition:color .15s}
.fx8-localnav__links a:hover{color:var(--fx8-green)}
.fx8-cart-link{padding:12px 17px;border:1px solid #d1dcd4;border-radius:99px;color:var(--fx8-ink);font-size:13px;font-weight:750;white-space:nowrap}
.fx8-cart-link:hover{background:var(--fx8-forest);color:#fff}
.fx8-hero{background:#e5eee6;position:relative;min-height:520px;border-radius:24px;display:grid;grid-template-columns:1.02fr .98fr;overflow:hidden}
.fx8-hero__copy{padding:72px 0 62px 62px;z-index:2;display:flex;align-items:flex-start;flex-direction:column}
.fx8-eyebrow{display:inline-flex;align-items:center;letter-spacing:2px;text-transform:uppercase;font-weight:800;font-size:11px;color:var(--fx8-green);line-height:1.4}
.fx8-hero h1{font-size:clamp(42px,5.1vw,72px);font-weight:800;letter-spacing:-3.3px;line-height:1.05;color:var(--fx8-ink);max-width:690px;margin:21px 0 23px}
.fx8-hero h1 em{font-style:normal;color:var(--fx8-green)}
.fx8-hero__copy>p{max-width:450px;color:#455a50;font-size:17px;line-height:1.7;margin:0 0 28px}
.fx8-hero__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.fx8-btn{border-radius:99px;display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:17px 23px;text-align:center;font-size:14px;font-weight:800;line-height:1.2;transition:transform .16s ease,background .16s,color .16s}
.fx8-btn:hover{transform:translateY(-2px)}
.fx8-btn--dark{color:white;background:var(--fx8-forest)}
.fx8-btn--dark:hover{color:white;background:#246b4d}
.fx8-btn--ghost{background:transparent;color:var(--fx8-forest);border:1px solid #a9c3ae}
.fx8-btn--ghost:hover{color:var(--fx8-forest);background:#d2e4d7}
.fx8-btn--light{background:white;color:var(--fx8-ink)}
.fx8-btn--light:hover{color:var(--fx8-ink)}
.fx8-hero__micro{display:flex;flex-wrap:wrap;gap:24px;margin-top:auto;padding-top:42px;font-size:12px;color:#496858}
.fx8-hero__micro strong{color:#184e32;font-weight:900}
.fx8-hero__visual{position:relative;min-height:450px;isolation:isolate}
.fx8-hero__circle{position:absolute;background:#c5dfc9;border-radius:50%;width:500px;height:500px;top:5%;right:-6%;z-index:-1}
.fx8-hero__package{position:absolute;width:207px;height:333px;border-radius:57px 57px 35px 35px;background:linear-gradient(90deg,#d9dedb 0%,#fff 26%,#fff 71%,#cfd7d1 100%);left:50%;top:51%;transform:translate(-50%,-45%) rotate(4deg);box-shadow:24px 29px 38px #40694a29,0 0 0 1px #ffffff88;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:15px}
.fx8-hero__package:before{content:"";height:75px;position:absolute;top:-50px;left:40px;right:40px;background:linear-gradient(90deg,#179657,#42b67b 53%,#147a47);border-radius:13px 13px 3px 3px;z-index:-1;box-shadow:0 5px 0 #138750}
.fx8-hero__package-top{position:absolute;top:30px;width:100%;height:12px;background:#e9eeea}
.fx8-hero__package-logo{color:var(--fx8-red);font-size:65px;font-weight:900;letter-spacing:-5px;line-height:1}
.fx8-hero__package-caption{font-size:13px;letter-spacing:2px;color:#3c7654;font-weight:800}
.fx8-hero__package-sub{width:100%;text-align:center;background:#56605d;color:#fff;font-size:17px;font-weight:800;letter-spacing:.6px;padding:10px 2px}
.fx8-hero__float{position:absolute;display:inline-flex;justify-content:center;align-items:center;border-radius:50%;font-size:14px;font-weight:900;letter-spacing:1px;box-shadow:0 15px 25px #42634f22}
.fx8-hero__float--one{width:83px;height:83px;background:#137d51;color:#fff;top:15%;left:7%}
.fx8-hero__float--two{width:105px;height:105px;background:#f3e0c2;color:#744d28;right:5%;top:24%}
.fx8-hero__float--three{width:90px;height:90px;background:#f8f3e4;color:#58614a;left:13%;bottom:7%}
.fx8-section{padding-top:91px;padding-bottom:91px}
.fx8-section__head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:30px}
.fx8-section__head h2,.fx8-value h2,.fx8-endcta h2{font-size:clamp(29px,3.4vw,45px);letter-spacing:-1.5px;line-height:1.15;margin:12px 0 0;font-weight:800;color:var(--fx8-ink)}
.fx8-section__head>p{max-width:270px;color:var(--fx8-muted);font-size:14px;line-height:1.7}
.fx8-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.fx8-category{min-height:300px;border-radius:18px;display:flex;flex-direction:column;align-items:flex-start;position:relative;overflow:hidden;padding:28px;border:1px solid transparent;transition:transform .2s,box-shadow .2s}
.fx8-category:hover{transform:translateY(-4px);box-shadow:0 12px 29px #192b2020}
.fx8-category--bio{background:#e5f1e7}
.fx8-category--auto{background:#ecebe8}
.fx8-category--home{background:#f8ece7}
.fx8-category__no{font-size:12px;letter-spacing:2px;color:#436d55;font-weight:800}
.fx8-category--auto .fx8-category__no{color:#666b71}
.fx8-category--home .fx8-category__no{color:#a55a4e}
.fx8-category__art{margin-top:19px;align-self:flex-end;border-radius:50%;width:96px;height:96px;display:flex;align-items:center;justify-content:center;font-size:64px;font-weight:300;color:#c4dec9;background:#237d5220;transform:rotate(-45deg)}
.fx8-category--auto .fx8-category__art{color:#bac6c8;background:#9ab5ba3d}
.fx8-category--home .fx8-category__art{color:#e7bcae;background:#cf96833d}
.fx8-category strong{font-size:25px;color:#1f3329;letter-spacing:-.7px;margin-top:auto;margin-bottom:8px}
.fx8-category__desc{font-size:13px;color:#576d5e;line-height:1.5;max-width:220px}
.fx8-category__arrow{font-size:12px;font-weight:800;color:#185337;margin-top:16px}
.fx8-section--warm{background:var(--fx8-warm)}
.fx8-textlink{font-size:14px;font-weight:800;color:var(--fx8-forest);white-space:nowrap}
.fx8-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.fx8-product{background:var(--fx8-white);border:1px solid #e2e5df;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}
.fx8-product:hover{box-shadow:0 15px 34px #203c2e16;transform:translateY(-3px)}
.fx8-product__visual{aspect-ratio:1.1;background:#e9eeea;position:relative;display:flex;justify-content:center;align-items:center;overflow:hidden}
.fx8-product__visual img{height:100%;width:100%;object-fit:contain;display:block}
.fx8-product__fallback{height:78%;width:51%;background:linear-gradient(95deg,#e3e8e4,white 30%,#fff 66%,#dde5df);border-radius:40px 40px 20px 20px;box-shadow:20px 18px 27px #2a463020;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;transform:rotate(-5deg);padding:20px}
.fx8-product__fallback span{font-size:clamp(22px,3vw,40px);letter-spacing:-1px;font-weight:900;color:var(--fx8-red)}
.fx8-product__fallback small{font-size:9px;font-weight:800;letter-spacing:1px;color:var(--fx8-forest);margin-top:20px}
.fx8-product__body{padding:23px 22px 21px;flex:1;display:flex;flex-direction:column}
.fx8-product__category{font-size:11px;color:#4d8a65;text-transform:uppercase;letter-spacing:1px;font-weight:800}
.fx8-product__category a{color:inherit}
.fx8-product__body h3{font-size:18px;line-height:1.32;letter-spacing:-.35px;margin:11px 0;min-height:47px;font-weight:800}
.fx8-product__body h3 a{color:var(--fx8-ink)}
.fx8-product__body h3 a:hover{color:var(--fx8-green)}
.fx8-product__body>p{font-size:13px;line-height:1.6;color:#6d7770;margin:0 0 25px}
.fx8-product__bottom{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid var(--fx8-line);margin-top:auto;padding-top:17px}
.fx8-product__bottom strong{font-size:17px;font-weight:800;line-height:1.2;color:var(--fx8-ink)}
.fx8-product__bottom .fx8-price-unset{font-size:14px}
.fx8-product__bottom a{color:var(--fx8-green);font-size:12px;font-weight:900;white-space:nowrap}
.fx8-empty{background:white;padding:30px;border-radius:16px}
.fx8-value{padding-top:95px;padding-bottom:102px;display:grid;grid-template-columns:1fr 1fr;gap:80px}
.fx8-value__items{display:grid;gap:17px}
.fx8-value__items div{padding-bottom:19px;border-bottom:1px solid var(--fx8-line)}
.fx8-value__items strong{font-size:15px;color:#285f44}
.fx8-value__items p{font-size:14px;line-height:1.65;color:var(--fx8-muted);margin:7px 0 0}
.fx8-endcta{background:#14382c;padding:58px 0;color:white}
.fx8-endcta>.fx8-shell{display:flex;justify-content:space-between;gap:30px;align-items:center}
.fx8-endcta .fx8-eyebrow{color:#7fdfab}
.fx8-endcta h2{color:white;max-width:620px}
.fx8-contacts{padding:35px 0 80px}
.fx8-contacts h1{font-size:38px;letter-spacing:-1.5px}
.fx8-contacts a{color:var(--fx8-green)}
.fx8-price-tiers{background:#f4f8f4;border:1px solid #d4e6d8;border-radius:12px;padding:17px 18px;margin:18px 0 25px;clear:both}
.fx8-price-tiers h3{font-size:17px;letter-spacing:-.3px;margin:0 0 14px}
.fx8-price-tiers table{border-collapse:collapse;width:100%;font-size:13px}
.fx8-price-tiers table td,.fx8-price-tiers table th{padding:11px 5px;border-bottom:1px solid #dce6dc;text-align:left}
.fx8-price-tiers table th{font-size:11px;color:#5e7766}
.fx8-price-tiers .fx8-tier-active{background:#dfefe3;font-weight:800}
.fx8-price-tiers__note{font-size:12px;line-height:1.5;color:#69766b;margin:10px 0 0}
.fx8-price-unset{color:#7b6f65;font-weight:700}
.woocommerce .button:not(.alt),.woocommerce a.button:not(.alt),.woocommerce button.button:not(.alt){border-radius:8px}
.woocommerce button.button.alt,.woocommerce a.button.alt,.woocommerce input.button.alt{border-radius:8px;background:#1b6545;color:#fff}
.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover,.woocommerce input.button.alt:hover{background:#154630;color:#fff}
.woocommerce ul.products li.product img{border-radius:12px}
.woocommerce .woocommerce-breadcrumb{font-size:13px;color:#87938c}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--fx8-green)}
@media (max-width:1050px){
 .fx8-localnav__links{gap:15px}
 .fx8-hero__copy{padding-left:42px}
 .fx8-hero__circle{width:420px;height:420px;top:10%}
 .fx8-hero h1{letter-spacing:-2.5px}
 .fx8-value{gap:40px}
}
@media (max-width:800px){
 .fx8-shell{width:calc(100% - 34px)}
 .fx8-localnav{min-height:80px;gap:10px;flex-wrap:wrap;padding:12px 0}
 .fx8-brandmark{min-width:100px}
 .fx8-brandmark>span{font-size:36px}
 .fx8-localnav__links{order:3;width:100%;overflow-x:auto;gap:20px;white-space:nowrap;padding-bottom:5px}
 .fx8-hero{grid-template-columns:1fr;min-height:initial}
 .fx8-hero__copy{padding:45px 35px 0}
 .fx8-hero__copy>p{font-size:15px}
 .fx8-hero__micro{padding-top:28px}
 .fx8-hero__visual{min-height:340px}
 .fx8-hero__circle{width:410px;height:410px;left:50%;transform:translateX(-50%);top:2%}
 .fx8-hero__package{transform:translate(-50%,-48%) rotate(4deg) scale(.77)}
 .fx8-hero__float--one{left:17%}
 .fx8-hero__float--two{right:16%}
 .fx8-hero__float--three{left:23%;bottom:5%}
 .fx8-categories{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fx8-products{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fx8-value{grid-template-columns:1fr;gap:35px}
 .fx8-section{padding-top:65px;padding-bottom:65px}
}
@media (max-width:530px){
 .fx8-topline__inner{flex-direction:column;justify-content:center;padding:9px 0;gap:3px;text-align:center}
 .fx8-localnav{gap:8px}
 .fx8-localnav__links{font-size:13px}
 .fx8-cart-link{padding:10px 13px}
 .fx8-hero{border-radius:18px}
 .fx8-hero__copy{padding:35px 25px 0}
 .fx8-hero h1{font-size:40px;letter-spacing:-1.8px}
 .fx8-hero__actions{width:100%}
 .fx8-btn{padding:14px 16px}
 .fx8-hero__micro{gap:10px}
 .fx8-hero__micro span{font-size:11px}
 .fx8-section__head{display:block}
 .fx8-section__head>p{margin:15px 0 0}
 .fx8-categories,.fx8-products{grid-template-columns:1fr}
 .fx8-category{min-height:245px}
 .fx8-product__visual{aspect-ratio:1.35}
 .fx8-value{padding-top:60px;padding-bottom:60px}
 .fx8-endcta>.fx8-shell{display:block}
 .fx8-endcta .fx8-btn{margin-top:25px}
}
@media (prefers-reduced-motion:reduce){.fx8-shop *{transition:none!important;scroll-behavior:auto!important}}


/* FX8 v3: единый русский бренд-шелл поверх стартового сайта Blocksy */
body.fx8-site-ready{--fx8-ink:#192923;--fx8-green:#197348;--fx8-red:#bf1e46;background:#fbfaf7;color:#1a3028}
body.fx8-site-ready #header,body.fx8-site-ready #footer{display:none!important}
body.fx8-site-ready .fx8-shop .fx8-localnav,body.fx8-site-ready .fx8-shop .fx8-topline{display:none!important}
body.fx8-site-ready .entry-content{margin-top:0}
body.fx8-site-ready.home .entry-header,body.fx8-site-ready.home .hero-section{display:none!important}
body.fx8-site-ready.home #main>.ct-container,body.fx8-site-ready.home .site-main>.ct-container{width:100%!important;max-width:100%!important;padding:0!important}
body.fx8-site-ready.home .entry-content>.wp-block-shortcode{margin:0}
body.fx8-site-ready.home .fx8-shop{width:100vw;max-width:100vw;position:relative;left:50%;transform:translateX(-50%);overflow:hidden;box-sizing:border-box}
body.fx8-site-ready.home .fx8-shop .fx8-hero{margin-top:34px;margin-bottom:12px}
.fx8-site-header,.fx8-site-footer{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;box-sizing:border-box}
.fx8-site-header *,.fx8-site-footer *{box-sizing:border-box}
.fx8-site-header{background:#fff;border-bottom:1px solid #e5eae5;position:relative;z-index:100}
.fx8-site-header a,.fx8-site-footer a{text-decoration:none}
.fx8-site-alert{background:#152f29;color:#e8f3ec;font-size:12px}
.fx8-site-alert>.fx8-shell{min-height:34px;display:flex;justify-content:space-between;align-items:center;gap:14px}
.fx8-site-alert a{color:#d9fae7}
.fx8-site-header__row{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.fx8-site-logo{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;flex-shrink:0;line-height:.9}
.fx8-site-logo>span{font-size:43px;font-weight:900;letter-spacing:-4px;color:#bd1644}
.fx8-site-logo>span span{color:#bd1644}
.fx8-site-logo>span b{color:#228352;font-size:29px;letter-spacing:-3px}
.fx8-site-logo small{font-size:10px;letter-spacing:3.4px;font-weight:800;color:#29443a;margin-top:7px}
.fx8-site-links{display:flex;align-items:center;gap:clamp(14px,2.2vw,32px)}
.fx8-site-links>a{color:#2c4037;font-weight:700;font-size:13px;white-space:nowrap;transition:color .15s}
.fx8-site-links>a:hover{color:#bd1644}
.fx8-site-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.fx8-site-basket{display:inline-flex;align-items:center;gap:9px;color:#fff!important;background:#196445;border-radius:100px;padding:12px 19px;font-size:13px;font-weight:750;line-height:1.2;white-space:nowrap}
.fx8-site-basket:hover{background:#124830;color:#fff}
.fx8-basket-count{display:inline-flex;align-items:center;justify-content:center;font-weight:800;background:#fff;color:#196445;border-radius:50%;min-width:20px;height:20px;font-size:11px;padding:0 4px}
.fx8-site-mobile{display:none;position:relative}
.fx8-site-mobile>summary{list-style:none;background:#f0f4ee;color:#1d3e2d;padding:11px 14px;font-weight:750;cursor:pointer;border-radius:12px;font-size:13px}
.fx8-site-mobile>summary::-webkit-details-marker{display:none}
.fx8-site-mobile>nav{position:absolute;z-index:110;right:0;top:calc(100% + 12px);width:min(88vw,290px);background:white;border:1px solid #dbe5dd;box-shadow:0 20px 40px #15292124;border-radius:14px;display:flex;flex-direction:column;padding:10px}
.fx8-site-mobile>nav>a{display:block;color:#264535;padding:12px 14px;border-radius:8px;font-size:14px;font-weight:650}
.fx8-site-mobile>nav>a:hover{background:#eef5ee}
.fx8-site-footer{background:#122f27;color:#d7e6dc;padding:60px 0 20px}
.fx8-site-footer__grid{display:grid;grid-template-columns:1.6fr 1fr 1.1fr;gap:70px;padding-bottom:43px}
.fx8-site-footer__grid>div{display:flex;align-items:flex-start;flex-direction:column;gap:12px}
.fx8-site-logo--footer>span,.fx8-site-logo--footer small{color:#fff}
.fx8-site-logo--footer>span span{color:#fff}
.fx8-site-footer__grid p{line-height:1.6;font-size:14px;color:#b3c9b9;max-width:340px}
.fx8-site-footer__grid strong{font-weight:850;color:#fff;font-size:14px;margin-bottom:6px}
.fx8-site-footer__grid a:not(.fx8-site-logo),.fx8-site-footer__grid span{font-size:13px;color:#d3e5d9;line-height:1.6}
.fx8-site-footer__grid a:not(.fx8-site-logo):hover{color:#fff;text-decoration:underline}
.fx8-site-footer__bottom{padding-top:17px;border-top:1px solid #35584a;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;color:#96b6a4;font-size:12px;line-height:1.5}
.fx8-site-footer__bottom>span:last-child{max-width:600px;text-align:right}
.fx8-site-ready .fx8-hero__visual{overflow:hidden}
.fx8-hero__collage{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.fx8-hero__photo{display:block;position:absolute;object-fit:cover;object-position:center;width:38%;aspect-ratio:.75;border-radius:18px;box-shadow:0 18px 45px #1f3e2a3a;border:5px solid #fff;background:#fff;transition:transform .2s}
.fx8-hero__photo--a{z-index:2;transform:translate(-58%,9%) rotate(-11deg);width:36%}
.fx8-hero__photo--b{z-index:3;transform:translate(-1%,-7%) rotate(0deg);width:38%}
.fx8-hero__photo--c{z-index:1;transform:translate(55%,13%) rotate(12deg);width:36%}
.fx8-hero__photo--a:hover{transform:translate(-58%,3%) rotate(-9deg)}
.fx8-hero__photo--b:hover{transform:translate(-1%,-13%) rotate(0deg)}
.fx8-hero__photo--c:hover{transform:translate(55%,7%) rotate(10deg)}
.fx8-hero__circle{background:#c4dac7}
.fx8-b2b{display:grid;grid-template-columns:.95fr 1.05fr;gap:55px;align-items:center;margin-top:72px;margin-bottom:50px;padding:48px;border-radius:22px;background:#143b30;color:white}
.fx8-b2b .fx8-eyebrow{color:#9de0b6}
.fx8-b2b h2{font-size:clamp(27px,3vw,39px);line-height:1.16;letter-spacing:-1px;color:white;margin:12px 0 17px}
.fx8-b2b p{color:#c3dccd;font-size:15px;line-height:1.6;max-width:440px}
.fx8-b2b__levels{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.fx8-b2b__levels>span{background:#ffffff12;border:1px solid #ffffff22;padding:20px;border-radius:14px;display:flex;flex-direction:column;gap:6px}
.fx8-b2b__levels b{font-size:clamp(23px,2.4vw,30px);line-height:1;letter-spacing:-.9px;color:white}
.fx8-b2b__levels small{font-size:12px;color:#c2decf}
.fx8-b2b__levels>a{color:#fff;text-decoration:underline;text-underline-offset:5px;font-size:13px;font-weight:700;align-self:end;grid-column:1/-1;margin-top:5px}
.fx8-info{padding:56px 0 95px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.fx8-info h1{font-size:clamp(36px,5vw,60px);line-height:1.08;letter-spacing:-2px;font-weight:850;color:#162f24;margin:15px 0 25px}
.fx8-info__lead{font-size:18px;color:#607067;line-height:1.65;max-width:750px}
.fx8-info__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:40px 0}
.fx8-info__grid>section{padding:28px;border-radius:18px;background:#f2f5ee;border:1px solid #e0e8df}
.fx8-info__grid h2{font-size:23px;margin:15px 0;color:#183d2b}
.fx8-info__grid p{font-size:14px;color:#546b5d;line-height:1.65}
.fx8-info__grid strong{font-size:22px;color:#187549}
.fx8-info__grid a{color:#167247;font-weight:750;text-decoration:underline}
.fx8-info__icon{color:#168354;font-size:12px;font-weight:900;letter-spacing:2px}
.fx8-info__note{max-width:900px;border-left:4px solid #3b8662;background:#eff4ec;padding:16px 22px;color:#476551;font-size:14px;line-height:1.7}
.fx8-wholesale-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:38px 0}
.fx8-wholesale-grid>div{padding:26px 20px;background:#f0f5ee;border-radius:16px;display:flex;flex-direction:column;gap:10px}
.fx8-wholesale-grid small{color:#18754a;font-weight:850;letter-spacing:1.1px;font-size:12px}
.fx8-wholesale-grid strong{color:#173c2a;font-size:25px;line-height:1.25}
.fx8-wholesale-grid span{color:#6b776f;font-size:13px}
.fx8-site-ready .woocommerce-ordering select{border-radius:10px}
.fx8-site-ready .woocommerce ul.products li.product{background:white;border:1px solid #e1e8df;border-radius:15px;overflow:hidden;padding-bottom:18px}
.fx8-site-ready .woocommerce ul.products li.product .woocommerce-loop-product__title{padding:0 17px;font-size:17px;line-height:1.4}
.fx8-site-ready .woocommerce ul.products li.product .price{padding:0 17px}
@media(max-width:1100px){
 .fx8-site-links{gap:14px}
 .fx8-site-links>a{font-size:12px}
 .fx8-site-header__row{gap:16px}
 .fx8-hero__photo--a{width:39%}
 .fx8-hero__photo--b{width:42%}
 .fx8-hero__photo--c{width:39%}
}
@media(max-width:950px){
 .fx8-site-links{display:none}
 .fx8-site-mobile{display:block}
 .fx8-site-footer__grid{gap:30px}
 .fx8-b2b{grid-template-columns:1fr;gap:25px}
 .fx8-info__grid{grid-template-columns:1fr 1fr}
}
@media(max-width:650px){
 .fx8-site-alert>.fx8-shell{justify-content:center;padding:8px 0;min-height:36px;text-align:center}
 .fx8-site-alert>.fx8-shell span{display:none}
 .fx8-site-header__row{min-height:69px}
 .fx8-site-logo>span{font-size:34px}
 .fx8-site-logo small{font-size:8px}
 .fx8-site-basket{padding:11px 12px;font-size:12px}
 .fx8-site-mobile>summary{padding:11px}
 .fx8-site-mobile>summary span{display:none}
 .fx8-site-footer{padding-top:40px}
 .fx8-site-footer__grid{grid-template-columns:1fr;gap:30px}
 .fx8-site-footer__bottom{display:block}
 .fx8-site-footer__bottom>span{display:block!important;text-align:left!important;margin:8px 0}
 .fx8-info{padding:32px 0 60px}
 .fx8-info__grid{grid-template-columns:1fr}
 .fx8-wholesale-grid{grid-template-columns:1fr 1fr}
 .fx8-b2b{padding:27px 21px;margin-top:38px}
 .fx8-b2b__levels>span{padding:14px}
 .fx8-hero__visual{min-height:310px}
 .fx8-hero__photo--a{width:38%}
 .fx8-hero__photo--b{width:41%}
 .fx8-hero__photo--c{width:38%}
}

/* FX-8 Store 3.1: явный каталог, работающий независимо от Woo архивов темы */
.fx8-catalog-main{min-height:65vh;background:#fafaf7;padding:48px 0 80px}
.fx8-full-catalog{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#192923}
.fx8-full-catalog *{box-sizing:border-box}
.fx8-full-catalog a{text-decoration:none}
.fx8-catalog-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;padding:18px 0 24px}
.fx8-catalog-head h1{font-size:clamp(38px,5vw,64px);letter-spacing:-.055em;line-height:1.05;margin:12px 0 18px;color:#172a20;font-weight:850}
.fx8-catalog-head p{font-size:16px;line-height:1.7;color:#64716a;max-width:740px;margin:0}
.fx8-catalog-wholesale-link{padding:12px 18px;border:1px solid #d8ded7;border-radius:999px;white-space:nowrap;font-weight:700;font-size:14px;color:#1a4831}
.fx8-catalog-filters{display:flex;flex-wrap:wrap;gap:9px;border-bottom:1px solid #e1e7e1;padding:10px 0 26px;margin-bottom:32px}
.fx8-catalog-filters a{display:inline-flex;align-items:center;padding:11px 17px;background:#fff;border:1px solid #e0e6de;border-radius:999px;color:#304d3f;font-size:14px;font-weight:650;transition:background .16s}
.fx8-catalog-filters a:hover{background:#ecf3ec}
.fx8-catalog-filters a.is-active{background:#163d2d;color:#fff;border-color:#163d2d}
.fx8-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.fx8-catalog-product{display:flex;flex-direction:column;background:#fff;border-radius:20px;overflow:hidden;border:1px solid #e5e9e2;box-shadow:0 8px 24px rgba(33,50,40,.035);transition:transform .15s,box-shadow .15s}
.fx8-catalog-product:hover{transform:translateY(-3px);box-shadow:0 18px 38px rgba(33,50,40,.10)}
.fx8-catalog-product__image{position:relative;display:block;height:320px;overflow:hidden;background:#f0f2ed}
.fx8-catalog-product__image img{width:100%;height:100%;object-fit:contain;display:block}
.fx8-catalog-product__image span{position:absolute;bottom:16px;left:16px;display:inline-block;background:rgba(255,255,255,.96);border-radius:99px;padding:8px 12px;color:#294d35;font-size:12px;font-weight:750}
.fx8-catalog-product__body{display:flex;flex-direction:column;flex:1;padding:24px}
.fx8-catalog-product__body small{font-size:11px;letter-spacing:.12em;color:#188159;font-weight:850;text-transform:uppercase}
.fx8-catalog-product__body h2{font-size:21px;line-height:1.32;letter-spacing:-.02em;margin:9px 0 12px;font-weight:800}
.fx8-catalog-product__body h2 a{color:#1f3228}
.fx8-catalog-product__body h2 a:hover{color:#138354}
.fx8-catalog-product__body p{color:#64726b;font-size:14px;line-height:1.6;margin:0 0 20px}
.fx8-catalog-product__bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #e6eae6;padding-top:17px;margin-top:auto}
.fx8-catalog-product__price{font-size:16px;color:#193427;font-weight:800}
.fx8-catalog-product__price .woocommerce-Price-amount{font-weight:850}
.fx8-catalog-product__bottom>a{font-size:14px;color:#177c50;font-weight:800;white-space:nowrap}
.fx8-catalog-endnote{margin-top:34px;color:#697b70;font-size:13px;line-height:1.7}
.fx8-catalog-empty{padding:60px 28px;background:#fff;border-radius:20px;border:1px solid #d8e1d8;text-align:center}
.fx8-catalog-empty h2{margin-top:0}
@media(max-width:1024px){.fx8-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fx8-catalog-product__image{height:310px}}
@media(max-width:680px){
 .fx8-catalog-main{padding:24px 0 60px}
 .fx8-catalog-head{display:block}
 .fx8-catalog-head h1{font-size:40px}
 .fx8-catalog-head p{font-size:15px}
 .fx8-catalog-wholesale-link{display:inline-block;margin-top:16px}
 .fx8-catalog-grid{grid-template-columns:1fr;gap:17px}
 .fx8-catalog-product__image{height:340px}
 .fx8-catalog-product__body{padding:20px}
 .fx8-catalog-product__body h2{font-size:19px}
 .fx8-catalog-filters{gap:7px}
 .fx8-catalog-filters a{padding:9px 12px;font-size:12px}
}


/* FX-8 Store 3.1.3 — фотографии без искажения пропорций */
.fx8-standalone-home .fx8-shop,
.fx8-standalone-home .fx8-home-main {max-width:100%;overflow-x:clip}
.fx8-shop .fx8-product__visual,
.fx8-full-catalog .fx8-catalog-product__image {
  display:flex;align-items:center;justify-content:center;
  box-sizing:border-box;padding:14px;
  background:#f1f4ef;overflow:hidden;
}
.fx8-shop .fx8-product__visual > img,
.fx8-full-catalog .fx8-catalog-product__image > img {
  display:block!important;
  flex:0 1 auto;
  width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center center!important;
  aspect-ratio:auto!important;margin:0 auto!important;
  border-radius:8px;
}
.fx8-shop .fx8-hero__collage .fx8-hero__photo {
  height:auto!important;max-height:none!important;
  aspect-ratio:3/4!important;object-fit:contain!important;
  object-position:center!important;
}
/* Галерея товара: нормальная высота, без растяжения темы по обеим осям. */
body.fx8-site-ready.single-product .woocommerce-product-gallery__image img:not(.zoomImg),
body.fx8-site-ready.single-product .woocommerce-product-gallery__wrapper > div > a > img:not(.zoomImg) {
  width:100%!important;height:auto!important;
  max-width:100%!important;object-fit:contain!important;
  object-position:center!important;
}
@media(max-width:650px) {
  .fx8-shop .fx8-product__visual,
  .fx8-full-catalog .fx8-catalog-product__image {padding:12px}
  .fx8-shop .fx8-product__visual{aspect-ratio:1.12}
}


/* Стандартные архивы WooCommerce и карточки под Blocksy */
body.fx8-site-ready .woocommerce ul.products li.product img {
  max-width:100%!important;
  height:auto!important;
  object-fit:contain!important;
  object-position:center!important;
}

/* FX-8 3.1.4 — фирменный дескриптор логотипа и блок биопрепаратов в подвале */
.fx8-site-logo small,
.fx8-shop .fx8-brandmark small{
  font-size:9px;
  font-weight:800;
  line-height:1.35;
  letter-spacing:.9px;
  text-transform:uppercase;
  white-space:nowrap;
}
.fx8-site-footer__grid{grid-template-columns:minmax(180px,1.5fr) repeat(3,minmax(0,1fr));gap:clamp(22px,3vw,46px)}
@media(max-width:1050px) and (min-width:651px){
  .fx8-site-footer__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}
}
@media(max-width:650px){
  .fx8-site-logo small{font-size:8px;letter-spacing:.55px;line-height:1.3}
  .fx8-site-footer__grid{grid-template-columns:1fr;gap:30px}
  .fx8-shop .fx8-brandmark small{font-size:8px;letter-spacing:.45px}
}

/* FX-8 3.1.5 — компактный дескриптор логотипа */
.fx8-site-logo small,
.fx8-shop .fx8-brandmark small {
  max-width: 200px;
  white-space: normal;
  letter-spacing: .45px;
  overflow-wrap: normal;
  line-height: 1.3;
}
@media (max-width: 540px) {
  .fx8-site-logo small,
  .fx8-shop .fx8-brandmark small {
    max-width: 165px;
    font-size: 8.5px;
    letter-spacing: .15px;
  }
}


/* FX-8 v3.1.6: заменяем демонстрационный подвал Blocksy.
   Не зависим от body.fx8-site-ready: шаблон Coming Soon WooCommerce
   может использовать собственный список классов body. */
body #footer,
body #header { display: none !important; }

/* Наш блок с четырьмя ссылками на два уникальных биопрепарата. */
.fx8-bio-recommendations{background:#f2f7f1;border-top:1px solid #dbe9dd;padding:48px 0 56px;color:#173b29;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.fx8-bio-recommendations *{box-sizing:border-box}
.fx8-bio-recommendations__heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}
.fx8-bio-recommendations__heading h2{font-weight:800;font-size:clamp(24px,3vw,36px);line-height:1.15;letter-spacing:-.025em;margin:8px 0 0;color:#173b29}
.fx8-bio-recommendations__heading>a{font-weight:700;color:#21694a;font-size:14px;text-decoration:none;white-space:nowrap}
.fx8-bio-recommendations__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.fx8-bio-recommendations__card{display:flex;flex-direction:column;padding:16px;gap:7px;background:#fff;border:1px solid #e2eae3;border-radius:16px;color:#20332a;text-decoration:none!important;box-shadow:0 4px 15px #143b260a;transition:transform .15s ease,border-color .15s ease}
.fx8-bio-recommendations__card:hover{transform:translateY(-3px);border-color:#88bfa2;color:#20332a}
.fx8-bio-recommendations__picture{width:100%;aspect-ratio:3/4;background:#f8faf7;border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:6px}
.fx8-bio-recommendations__image{display:block;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center;max-width:100%;max-height:100%}
.fx8-bio-recommendations__meta{font-size:12px;color:#52745f;font-weight:600}
.fx8-bio-recommendations__card strong{font-size:14px;line-height:1.38;font-weight:700;color:#1a3928;min-height:40px}
.fx8-bio-recommendations__more{font-weight:700;font-size:12px;color:#24734d;margin-top:auto;padding-top:8px}
@media(max-width:850px){.fx8-bio-recommendations__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.fx8-bio-recommendations{padding:32px 0 38px}.fx8-bio-recommendations__heading{display:block}.fx8-bio-recommendations__heading>a{display:inline-block;margin-top:12px}.fx8-bio-recommendations__grid{gap:10px}.fx8-bio-recommendations__card{padding:10px;border-radius:12px}.fx8-bio-recommendations__card strong{font-size:13px}.fx8-bio-recommendations__picture{aspect-ratio:4/5}}


/* FX-8 Store 3.1.7 — карточки в рамке, фотомакеты 3:4 без обрезки и искажения. */
.fx8-shop .fx8-product,
.fx8-full-catalog .fx8-catalog-product,
.fx8-bio-recommendations__card {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.fx8-shop .fx8-product__visual,
.fx8-full-catalog .fx8-catalog-product__image,
.fx8-bio-recommendations__picture {
  width: 100%;
  height: auto !important;
  min-height: 0;
  aspect-ratio: 3 / 4 !important;
  padding: 12px;
  overflow: hidden;
  box-sizing: border-box;
  background: #f7f9f5;
  border: 1px solid #e1e9e0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fx8-shop .fx8-product__visual,
.fx8-full-catalog .fx8-catalog-product__image {
  border-radius: 12px;
}
.fx8-shop .fx8-product__visual > img,
.fx8-full-catalog .fx8-catalog-product__image > img,
.fx8-bio-recommendations__picture > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto !important;
  aspect-ratio: auto !important;
  border-radius: 6px;
}
/* Внутренние отступы: картинка и текст не упираются в границы карточки. */
.fx8-shop .fx8-product {
  padding: 12px;
}
.fx8-shop .fx8-product__body { padding: 18px 10px 10px; }
.fx8-full-catalog .fx8-catalog-product { padding: 12px; }
.fx8-full-catalog .fx8-catalog-product__body { padding: 20px 10px 12px; }
.fx8-full-catalog .fx8-catalog-product__image span {
  left: 18px;
  bottom: 18px;
}
.fx8-bio-recommendations__card { padding: 12px; }
.fx8-bio-recommendations__card .fx8-bio-recommendations__picture { margin-bottom: 9px; }

/* WooCommerce/Blocksy: в галерее товара не применяем crop к длинным макетам. */
body.fx8-site-ready.single-product .woocommerce-product-gallery,
body.fx8-site-ready.single-product .woocommerce-product-gallery__wrapper {
  max-width: 100%;
  box-sizing: border-box;
}
body.fx8-site-ready.single-product .woocommerce-product-gallery__image {
  background: #f7f9f5;
  border-radius: 14px;
  overflow: hidden;
}
body.fx8-site-ready.single-product .woocommerce-product-gallery__image img:not(.zoomImg),
body.fx8-site-ready.single-product .woocommerce-product-gallery__wrapper > div > a > img:not(.zoomImg) {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}
body.fx8-site-ready.single-product .woocommerce-product-gallery .flex-control-thumbs img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}
@media (max-width: 650px) {
  .fx8-shop .fx8-product__visual,
  .fx8-full-catalog .fx8-catalog-product__image,
  .fx8-bio-recommendations__picture { padding: 9px; aspect-ratio: 3 / 4 !important; }
  .fx8-shop .fx8-product__body { padding: 15px 5px 8px; }
  .fx8-full-catalog .fx8-catalog-product__body { padding: 17px 6px 10px; }
}

/* FX-8 3.2.0: независимые страницы без демонстрационной обвязки Blocksy. */
.fx8-managed-info-main {
  min-height: 58vh;
  background: #fbfaf7;
  padding: clamp(28px, 5vw, 58px) 0 clamp(40px, 6vw, 90px);
}
.fx8-managed-info-content { max-width: 1120px; margin-inline: auto; }
.fx8-managed-info-main .fx8-info { padding-top: 0; }
body.fx8-standalone-catalog, body.fx8-standalone-info {
  margin: 0;
  min-width: 320px;
}
body.fx8-standalone-catalog .fx8-catalog-main { padding-top: clamp(26px, 4vw, 60px); }
@media (max-width: 650px) {
 .fx8-managed-info-main { padding: 24px 0 56px; }
}


/* FX-8 Store 3.2.1: скрываем только старый демо-блок Trending Posts.
   Реальные рекомендации FX-8 рендерятся один раз перед фирменным подвалом. */
body.fx8-site-ready .ct-trending-block {
  display: none !important;
}
body.fx8-site-ready .fx8-bio-recommendations {
  width: 100%;
  clear: both;
}
body.fx8-site-ready.single-product .fx8-bio-recommendations {
  margin-top: 36px;
}
