/*
Theme Name: FitLevel
Description: An Astra child theme for the FitLevel affiliate catalog.
Template: astra
Version: 1.2.0
Text Domain: fitlevel
*/
:root{--fit-ink:#172c26;--fit-green:#155d47;--fit-lime:#d9f58a;--fit-paper:#f6f7ef;--fit-line:#dce5da}
.fit-shell{width:min(1160px,calc(100% - 40px));margin-inline:auto}
.fit-home{background:var(--fit-paper);color:var(--fit-ink);padding:38px 0 64px}
.fit-hero{display:grid;grid-template-columns:1.3fr 1fr;align-items:center;gap:36px;padding:clamp(26px,5vw,68px);border-radius:30px;background:#153b30;color:#fff;overflow:hidden}
.fit-hero h1{font-size:clamp(42px,7vw,90px);line-height:.99;letter-spacing:-.065em;color:white;margin:16px 0 22px}
.fit-hero p{max-width:46ch;color:#e3eee4}.fit-kicker{font-size:.76rem;font-weight:800;letter-spacing:.17em;text-transform:uppercase}
.fit-hero .fit-kicker{color:var(--fit-lime)}.fit-hero svg{width:100%;height:auto}
.fit-btn,.fit-home a.button,.woocommerce a.button.alt,.woocommerce button.button.alt{display:inline-block;background:var(--fit-green);color:white;border-radius:999px;padding:13px 22px;font-weight:750;text-decoration:none}
.fit-hero .fit-btn{background:var(--fit-lime);color:var(--fit-ink)}
.fit-home .fit-btn:hover,.fit-home a.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:#0d4837;color:white}
.fit-btn:focus-visible,.fit-home a:focus-visible,.fit-footer a:focus-visible{outline:3px solid #558a26;outline-offset:4px}
.fit-note{padding:14px 18px;background:#e9f1e5;border-left:4px solid var(--fit-green);color:#253f34;font-size:.93rem;margin:18px 0}
.fit-section{margin-top:44px}.fit-section h2{color:var(--fit-ink);font-size:clamp(26px,4vw,42px);letter-spacing:-.04em;margin-bottom:20px}
.fit-cats{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px}.fit-cats a{display:flex;justify-content:space-between;gap:8px;padding:16px;background:white;border:1px solid var(--fit-line);border-radius:16px;color:var(--fit-green);font-weight:750;text-decoration:none}.fit-cats a:hover{background:#e9f1e5}
.woocommerce ul.products li.product{background:#fff;border:1px solid var(--fit-line);border-radius:18px;overflow:hidden;padding:14px}.woocommerce ul.products li.product a img{aspect-ratio:1;object-fit:contain;background:white;border-radius:10px}
.fit-footer{background:#153b30;color:#e8f0e9;padding:30px 0}.fit-footer a{color:#e7f7ba}.fit-footer nav{display:flex;flex-wrap:wrap;gap:10px 20px;margin:12px 0}.fit-footer p{margin:0}
@media(max-width:690px){.fit-hero{grid-template-columns:1fr;gap:12px}.fit-hero svg{max-width:290px;margin:auto}.fit-shell{width:calc(100% - 28px)}}

/* Catalog layout */
:root{--fit-ink:#202721;--fit-green:#244d3d;--fit-lime:#e2f690;--fit-paper:#f9faf6;--fit-line:#e1e6dc}
.fit-header{background:#fff;border-bottom:1px solid var(--fit-line)}
.fit-header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.fit-brand{display:inline-flex;align-items:center;gap:8px;color:var(--fit-ink);font-size:27px;font-weight:850;letter-spacing:-.055em;text-decoration:none;white-space:nowrap}
.fit-brand>span:first-child{display:grid;place-items:center;width:36px;height:36px;background:var(--fit-lime);color:var(--fit-ink);border-radius:10px;font-size:21px}
.fit-brand-dot{color:#548768;margin-left:-7px}
.fit-header nav{display:flex;gap:24px;align-items:center;flex-wrap:wrap}.fit-header nav a{color:var(--fit-ink);font-weight:650;text-decoration:none}.fit-header nav .fit-shop{background:var(--fit-ink);color:white;padding:10px 16px;border-radius:10px}
.fit-home{width:100%;padding-top:24px}
.fit-hero{background:#e9eedf;color:var(--fit-ink);grid-template-columns:1.25fr 1fr;padding:clamp(22px,4vw,48px);border-radius:22px}
.fit-hero h1{font-size:clamp(36px,5vw,66px);line-height:1.03;color:var(--fit-ink);margin:8px 0 14px}.fit-hero p,.fit-hero .fit-kicker{color:#3d5748}.fit-hero .fit-btn{background:var(--fit-green);color:#fff;border-radius:10px}
.fit-hero-art{display:grid;align-content:center;min-height:205px;border-radius:18px;padding:24px;background:repeating-linear-gradient(135deg,transparent 0 16px,#ffffff12 16px 17px),#244d3d;color:#e2f690;overflow:hidden}
.fit-hero-art span{display:block;line-height:.95;font-size:clamp(30px,5vw,66px);font-weight:900;letter-spacing:-.065em}.fit-hero-art span:nth-child(2){color:#fff}.fit-hero-art span:nth-child(3){color:#b7d3bd}
.fit-section{scroll-margin-top:32px;margin-top:34px}.fit-section h2{margin:0 0 14px}.fit-kicker{color:#4d6959;margin-bottom:5px}
.fit-cats a{border-radius:11px}.fit-note{border-radius:5px}
.fit-collection-head{display:flex;justify-content:space-between;align-items:end;gap:10px;margin-bottom:12px}.fit-collection-head h2{margin:0}
.fit-collection-actions{display:flex;align-items:center;gap:8px;white-space:nowrap}.fit-collection-actions a{color:var(--fit-green);font-weight:750;margin-right:4px}
.fit-collection-actions button{padding:0;width:36px;height:36px;border:1px solid var(--fit-line);border-radius:50%;background:white;color:var(--fit-green)}.fit-collection-actions button:disabled{opacity:.4}.fit-collection-actions button[hidden]{display:none}
.fit-carousel .woocommerce ul.products{display:flex;grid-template-columns:none;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 12px;margin:0;scrollbar-color:#96aa98 transparent}
.fit-carousel .woocommerce ul.products::before,.fit-carousel .woocommerce ul.products::after{display:none}
.fit-carousel .woocommerce ul.products li.product{float:none;clear:none;flex:0 0 calc((100% - 42px)/4);width:auto;min-width:0;margin:0;scroll-snap-align:start}
.fit-carousel .woocommerce ul.products li.product img{height:clamp(120px,17vw,205px);width:100%;margin-bottom:10px}
.fit-carousel .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1rem;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.fit-empty{padding:18px;border:1px dashed var(--fit-line);border-radius:12px}
.fit-footer{background:#1e3128;padding:40px 0 16px}.fit-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:24px}.fit-footer .fit-brand{margin-bottom:12px}.fit-footer nav{display:flex;flex-direction:column;align-items:start;margin:0;gap:7px}.fit-footer nav strong{color:white;margin-bottom:4px}.fit-footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 18px;border-top:1px solid #54665b;margin-top:26px;padding-top:14px;font-size:.85rem}
@media(max-width:850px){.fit-carousel .woocommerce ul.products li.product{flex-basis:calc((100% - 28px)/3)}}
@media(max-width:600px){.fit-hero{grid-template-columns:1fr;gap:16px}.fit-hero-art{min-height:115px}.fit-header-inner{min-height:62px}.fit-header nav{gap:10px;font-size:.85rem}.fit-header nav a:first-child{display:none}.fit-carousel .woocommerce ul.products li.product{flex-basis:calc((100% - 14px)/2.2)}.fit-footer-grid{grid-template-columns:1fr 1fr}.fit-footer-grid>div:first-child{grid-column:1/-1}.fit-collection-actions{gap:4px}}

.fit-shell{width:100%;max-width:none;padding-inline:clamp(16px,4vw,72px);box-sizing:border-box}
#content.site-content>.ast-container{max-width:none;width:100%;padding-inline:clamp(16px,4vw,72px)}
.fit-brand img{flex:none}.fit-brand>span:first-child,.fit-brand>img+span{display:inline;width:auto;height:auto;background:none;color:inherit;font-size:inherit}
.fit-home{padding-top:0}
.fit-hero{padding:0;border-radius:0;gap:0;grid-template-columns:1fr 1.1fr;background:#e7eddf}
.fit-hero>div{padding:clamp(26px,5vw,88px)}
.fit-hero-photo{display:block;width:100%;height:100%;min-height:380px;max-height:620px;object-fit:cover}
.fit-about{padding:clamp(22px,4vw,52px);margin-top:36px;background:#e7eddf;border-radius:16px}.fit-about p{max-width:72ch}
.fit-footer-grid>div>p{max-width:45ch}
@media(max-width:690px){.fit-hero{grid-template-columns:1fr}.fit-hero-photo{min-height:0;max-height:none;height:auto;aspect-ratio:16/9}.fit-header-inner{flex-wrap:wrap;padding-block:9px}.fit-header nav{gap:12px}.fit-brand img{width:36px;height:36px}}
