/*
Theme Name: 4 Boxes of Liberty
Description: Theme for 4boxesofliberty.com with a parts catalog and quote list.
Version: 1.0.0
Author: 4 Boxes of Liberty
Requires PHP: 8.0
Text Domain: fourboxes
*/

:root{
	--fb-red:#d71920;
	--fb-red-dk:#a10f17;
	--fb-olive:#c4bf05;
	--fb-ink:#141517;
	--fb-coal:#1d1f22;
	--fb-muted:#5b5e63;
	--fb-paper:#f6f5f2;
	--fb-chip:#efeee9;
	--fb-line:#e2e0da;
	--fb-line-dk:#c9c6bf;
	--fb-head:'Barlow Semi Condensed','Barlow',system-ui,sans-serif;
	--fb-body:'Barlow',system-ui,sans-serif;
	--fb-wrap:1240px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:110px}
body{margin:0;background:#fff;color:var(--fb-ink);font:400 17px/1.65 var(--fb-body);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--fb-red-dk)}
a:hover{color:var(--fb-red)}
h1,h2,h3,h4{font-family:var(--fb-head);line-height:1.15;letter-spacing:-.01em;margin:0 0 .5em;color:var(--fb-ink)}
h1{font-size:clamp(34px,5vw,58px);font-weight:800}
h2{font-size:clamp(26px,3.2vw,38px);font-weight:700}
h3{font-size:21px;font-weight:700}
p{margin:0 0 1em}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip:focus{clip:auto;width:auto;height:auto;z-index:100;top:8px;left:8px;background:#fff;padding:10px 14px}
.fbt-wrap{width:100%;max-width:var(--fb-wrap);margin:0 auto;padding:0 24px}
.fbl-btn.fbl-btn--line{background:transparent;border-color:rgba(255,255,255,.6);color:#fff}
.fbl-btn.fbl-btn--line:hover{background:#fff;border-color:#fff;color:var(--fb-ink)}

/* top bar + header */
.fbt-topbar{background:#000;color:#bdbdbd;font-size:13px}
.fbt-topbar .fbt-wrap{display:flex;justify-content:space-between;align-items:center;height:36px;gap:16px}
.fbt-topbar a{color:#e6e6e6;text-decoration:none;margin-left:20px}
.fbt-topbar a.fbt-topbar__acct{color:#fff;font-weight:700;padding-left:20px;border-left:1px solid #333}
.fbt-topbar a:hover{color:#fff}
.fbt-header{position:sticky;top:0;z-index:50;background:var(--fb-ink);border-bottom:3px solid var(--fb-red)}
.fbt-header__in{display:flex;align-items:center;justify-content:space-between;height:84px;gap:24px}
.fbt-logo{display:block;flex:none}
.fbt-logo img,.custom-logo{width:auto;height:66px}
.fbt-nav{display:flex;align-items:center;gap:28px}
.fbt-menu{list-style:none;margin:0;padding:0;display:flex;gap:4px}
.fbt-menu a{display:inline-flex;align-items:center;height:40px;padding:0 12px;border-radius:4px;color:#e9e9e9;text-decoration:none;font:600 15px/1 var(--fb-head);letter-spacing:.01em}
.fbt-menu a:hover,.fbt-menu .current-menu-item>a,.fbt-menu .current_page_item>a,.fbt-menu .current-menu-parent>a{color:#fff;background:rgba(255,255,255,.08)}
.fbt-menu .current-menu-item>a,.fbt-menu .current_page_item>a{box-shadow:inset 0 -2px 0 var(--fb-red)}
.fbt-quote-btn{height:44px;padding:0 18px}
.fbl-quote-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#fff;color:var(--fb-red-dk);font-size:12px;font-weight:800;line-height:1}
.fbl-quote-count[hidden]{display:none}
.fbt-burger{display:none;width:44px;height:44px;border:0;background:transparent;padding:10px;cursor:pointer;flex-direction:column;justify-content:space-between}
.fbt-burger span:not(.screen-reader-text){display:block;height:2px;background:#fff;border-radius:2px;transition:transform .2s,opacity .2s}
.nav-open .fbt-burger span:nth-child(1){transform:translateY(10px) rotate(45deg)}
.nav-open .fbt-burger span:nth-child(2){opacity:0}
.nav-open .fbt-burger span:nth-child(3){transform:translateY(-10px) rotate(-45deg)}

/* hero */
.fbt-hero{position:relative;background:#0c0c0d;color:#fff;overflow:hidden}
.fbt-hero__bg{position:absolute;inset:0;background-size:cover;background-position:center right;opacity:.5}
.fbt-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,10,11,.95) 0%,rgba(10,10,11,.8) 45%,rgba(10,10,11,.25) 100%)}
.fbt-hero__in{position:relative;z-index:1;padding-top:120px;padding-bottom:120px;max-width:var(--fb-wrap)}
.fbt-hero h1{color:#fff;max-width:760px;margin-bottom:20px}
.fbt-hero h1 span{display:block;color:var(--fb-red)}
.fbt-hero__lede{max-width:600px;font-size:19px;color:#d6d6d6;margin-bottom:32px}
.fbt-hero__btns{display:flex;flex-wrap:wrap;gap:12px}
.fbt-hero--q::after{background:radial-gradient(90% 75% at 50% 35%,rgba(10,10,11,.72) 0%,rgba(10,10,11,.92) 70%,rgba(10,10,11,.97) 100%)}
.fbt-hero--q .fbt-hero__bg{background-position:center;opacity:.55}
.fbt-hero--q .fbt-hero__in{display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:88px;padding-bottom:96px}
.fbt-hero--q h1{max-width:900px;margin-left:auto;margin-right:auto}
.fbt-hero--q .fbt-hero__lede{max-width:720px;margin-left:auto;margin-right:auto;margin-bottom:36px}
.fbt-hero__tool{width:100%;max-width:1120px;text-align:left;color:var(--fb-ink)}
.fbt-hero__tool .fbld{margin:0}
.fbt-hero__tool .fbld-form{box-shadow:0 30px 80px -30px rgba(0,0,0,.8),0 0 0 1px rgba(255,255,255,.06);border:0}
.fbt-hero__tool .fbld-done{box-shadow:0 30px 80px -30px rgba(0,0,0,.8)}
.fbt-hero__links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 32px;margin-top:28px}
.fbt-hero__links a{color:#e6e6e6;font:600 15px/1.3 var(--fb-head);text-decoration:none}
.fbt-hero__links a span{color:var(--fb-red);margin-left:4px;transition:margin .15s}
.fbt-hero__links a:hover{color:#fff}
.fbt-hero__links a:hover span{margin-left:8px}
.fbt-hero__links .fbs{margin-left:4px}
.fbt-hero__links .fbs-btn{height:38px}
.fbt-pagehead__share{margin-top:22px}
@media (max-width:600px){
	.fbt-pagehead--photo::after{background:linear-gradient(180deg,rgba(12,12,13,.8),rgba(12,12,13,.92))}
	.fbt-hero--q .fbt-hero__in{padding-top:40px;padding-bottom:56px}
	.fbt-hero--q .fbt-hero__lede{font-size:16px;margin-bottom:24px}
	.fbt-hero--q .fbld--compact .fbld-form{padding:12px}
	.fbt-hero--q .fbld--compact .fbld-drop{min-height:180px;padding:18px}
	.fbt-hero__links{flex-direction:column;align-items:center;gap:14px}
}
.fbt-kicker{display:inline-block;margin:0 0 14px;font:700 13px/1 var(--fb-head);letter-spacing:.14em;text-transform:uppercase;color:var(--fb-olive)}
.fbt-kicker--red{color:var(--fb-red)}

.fbt-strip{background:var(--fb-red);color:#fff}
.fbt-strip__in{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 24px;padding-top:16px;padding-bottom:16px;font:700 14px/1.2 var(--fb-head);letter-spacing:.14em;text-transform:uppercase}
.fbt-strip__in span{display:inline-flex;align-items:center;gap:24px}
.fbt-strip__in span:not(:last-child)::after{content:"";width:6px;height:6px;background:rgba(255,255,255,.6);transform:rotate(45deg)}

/* sections */
.fbt-sec{padding:96px 0}
.fbt-sec--paper{background:var(--fb-paper)}
.fbt-split{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.fbt-split--rev .fbt-split__media{order:2}
.fbt-split__media img{width:100%;border-radius:10px;box-shadow:0 20px 50px -24px rgba(0,0,0,.45)}
.fbt-split__media--tall img{max-height:620px;object-fit:cover}
.fbt-split p{color:#3d4044}
.fbt-boxes{list-style:none;padding:0;margin:28px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.fbt-boxes li{display:flex;flex-direction:column;gap:2px;padding:16px 18px;border:1px solid var(--fb-line);border-left:4px solid var(--fb-red);border-radius:6px;background:#fff}
.fbt-boxes strong{font:700 17px/1.2 var(--fb-head)}
.fbt-boxes span{font-size:14px;color:var(--fb-muted)}
.fbt-checks{list-style:none;padding:0;margin:24px 0 32px;display:flex;flex-wrap:wrap;gap:10px}
.fbt-checks li{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px 0 12px;border-radius:999px;background:var(--fb-chip);font:600 15px/1 var(--fb-head)}
.fbt-checks li::before{content:"";width:16px;height:16px;border-radius:50%;background:var(--fb-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;flex:none}
.fbt-sechead{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:40px}
.fbt-sechead p{max-width:620px;color:var(--fb-muted);margin:0}
.fbt-sechead .fbl-btn{flex:none}

.fbt-quote-band{background:var(--fb-coal);color:#fff;padding:88px 0}
.fbt-quote-band blockquote{margin:0 auto;max-width:900px;text-align:center}
.fbt-quote-band p{font:600 clamp(20px,2.4vw,27px)/1.45 var(--fb-head);margin-bottom:24px}
.fbt-quote-band cite{font-style:normal;color:var(--fb-olive);font-size:15px;font-weight:600}

.fbt-cta{background:var(--fb-ink);color:#fff;border-top:3px solid var(--fb-red)}
.fbt-cta__in{display:flex;align-items:center;justify-content:space-between;gap:32px;padding-top:56px;padding-bottom:56px}
.fbt-cta h2{color:#fff;font-size:clamp(24px,2.6vw,32px);margin-bottom:8px}
.fbt-cta p{margin:0;color:#c9c9c9}
.fbt-cta__btns{display:flex;gap:12px;flex:none}

/* page head + content */
.fbt-pagehead{background:var(--fb-ink) url("img/texture.svg");color:#fff;padding:72px 0 64px;border-bottom:1px solid #000}
.fbt-pagehead h1{color:#fff;margin:0}
.fbt-pagehead p{color:#cfcfcf;max-width:720px;margin:14px 0 0;font-size:18px}
.fbt-pagehead--photo{position:relative;overflow:hidden;background:#0f1012}
.fbt-pagehead--photo::before{content:"";position:absolute;inset:0;background:var(--fbt-head) center/cover no-repeat;opacity:.5;transform:scale(1.02)}
.fbt-pagehead--photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,12,13,.95) 0%,rgba(12,12,13,.78) 42%,rgba(12,12,13,.35) 100%)}
.fbt-pagehead--photo>.fbt-wrap{position:relative;z-index:1}
.fbt-pagehead--photo p{color:#dcdcdc}
.fbt-content{padding-top:64px;padding-bottom:88px}
.fbt-content>*:first-child{margin-top:0}
.fbt-content .wp-block-columns{gap:32px}

/* classic themes wrap group blocks in an inner div; let the grid see the children */
.fbt-content .wp-block-group__inner-container{display:contents}

/* services cards */
.fbt-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px!important}
.fbt-card{background:#fff;border:1px solid var(--fb-line);border-radius:10px;overflow:hidden;margin:0!important;display:flex;flex-direction:column}
.fbt-card figure{margin:0!important;aspect-ratio:16/10;overflow:hidden;background:#222}
.fbt-card figure img{width:100%;height:100%;object-fit:cover}
.fbt-card h2,.fbt-card h3{padding:24px 28px 0;margin:0 0 8px;font-size:23px}
.fbt-card p{padding:0 28px 28px;margin:0;color:#3d4044}

/* machining rows */
.fbt-row{display:grid!important;grid-template-columns:1fr 1fr;gap:56px!important;align-items:center;margin:0 0 72px!important}
.fbt-row:last-child{margin-bottom:0!important}
.fbt-row:nth-child(even)>.wp-block-column:first-child{order:2}
.fbt-row figure{margin:0}
.fbt-row img{border-radius:10px;width:100%;aspect-ratio:4/3;object-fit:cover}
.fbt-row h2{font-size:32px}
.fbt-row p{color:#3d4044}

/* faq */
.fbt-faq{max-width:none}
.fbt-faq details{border:1px solid var(--fb-line);border-radius:8px;margin:0 0 12px;background:#fff;padding:0}
.fbt-faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;font:600 18px/1.35 var(--fb-head)}
.fbt-faq summary::-webkit-details-marker{display:none}
.fbt-faq summary::after{content:"";flex:none;width:28px;height:28px;border-radius:50%;background:var(--fb-chip) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M9 12l5 5 5-5' fill='none' stroke='%23141517' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/28px no-repeat;transition:transform .2s}
.fbt-faq details[open] summary::after{transform:rotate(180deg);background-color:#fdeeee}
.fbt-faq details>*:not(summary){padding:0 24px;margin:0 0 20px;color:#3d4044}

/* contact */
.fbt-contact{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px!important;max-width:1000px}
.fbt-contact>.wp-block-group{background:var(--fb-paper);border:1px solid var(--fb-line);border-radius:10px;padding:28px!important;margin:0!important}
.fbt-contact h3{font-size:14px;letter-spacing:.12em;text-transform:uppercase;color:var(--fb-muted);margin-bottom:10px}
.fbt-contact p{font:700 20px/1.35 var(--fb-head);margin:0;word-break:break-word}
.fbt-contact a{color:var(--fb-ink);text-decoration:none}
.fbt-contact a:hover{color:var(--fb-red)}

/* shop */
.fbt-pagehead--shop{padding-bottom:56px}
.fbt-shop{padding-top:48px;padding-bottom:88px}
.fbt-shop--single{padding-top:28px}
.fbt-crumbs{font-size:14px;color:var(--fb-muted);margin-bottom:24px}
.fbt-crumbs a{color:var(--fb-muted);text-decoration:none}
.fbt-crumbs a:hover{color:var(--fb-red)}
.fbt-crumbs .sep{margin:0 8px;color:var(--fb-line-dk)}
.fbt-shopnav{margin:0 0 28px}
.fbt-search{display:flex;gap:10px;max-width:560px;margin:0 0 18px}
.fbt-search input[type=search]{flex:1;min-width:0;height:44px;border:1px solid var(--fb-line-dk);border-radius:6px;padding:0 14px;font:400 15px var(--fb-body);background:#fff}
.fbt-search input[type=search]:focus{outline:2px solid var(--fb-red);outline-offset:-1px;border-color:transparent}
.fbt-search .fbl-btn{height:44px}
.fbt-chipnav{display:flex;flex-wrap:wrap;gap:8px}
.fbt-chipnav a{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 14px;border-radius:999px;border:1px solid var(--fb-line-dk);background:#fff;color:var(--fb-ink);text-decoration:none;font:600 14px/1 var(--fb-head);white-space:nowrap}
.fbt-chipnav a span{font:600 12px/1 var(--fb-body);color:var(--fb-muted)}
.fbt-chipnav a:hover{border-color:var(--fb-ink);color:var(--fb-ink)}
.fbt-chipnav a.is-on{background:var(--fb-ink);border-color:var(--fb-ink);color:#fff}
.fbt-chipnav a.is-on span{color:#bdbdbd}
.fbt-chipnav--sub{margin-top:12px;padding-top:12px;border-top:1px solid var(--fb-line)}
.fbt-chipnav--sub a{height:32px;font-size:13px;background:var(--fb-paper)}
.woocommerce-result-count{margin:0 0 24px;color:var(--fb-muted);font-size:15px;float:left}
.woocommerce-ordering{float:right;margin:0 0 24px}
.woocommerce-ordering select{height:42px;border:1px solid var(--fb-line-dk);border-radius:6px;padding:0 36px 0 12px;font:500 15px var(--fb-body);background:#fff}
ul.products{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;clear:both}
ul.products::before,ul.products::after{display:none!important}
ul.products li.product{margin:0!important;width:auto!important;float:none!important;background:#fff;border:1px solid var(--fb-line);border-radius:10px;padding:0 0 20px!important;display:flex;flex-direction:column;transition:box-shadow .2s,border-color .2s;position:relative}
ul.products li.product:hover{border-color:var(--fb-line-dk);box-shadow:0 14px 30px -18px rgba(0,0,0,.35)}
ul.products li.product a.woocommerce-LoopProduct-link{display:block;text-decoration:none;color:inherit;flex:1}
ul.products li.product img{width:100%;aspect-ratio:1;object-fit:contain;background:#fff;border-bottom:1px solid var(--fb-line);border-radius:10px 10px 0 0;margin:0 0 16px!important;padding:12px}
ul.products li.product .woocommerce-loop-product__title{font:700 16px/1.3 var(--fb-head)!important;padding:0 18px!important;margin:0!important;color:var(--fb-ink)}
ul.products li.product .fbl-meta{padding:0 18px}
ul.products li.product .price{display:block;padding:0 18px;margin:0 0 16px!important;color:var(--fb-ink)!important}
ul.products li.product .fbl-btn{margin:0 18px;align-self:flex-start}
.woocommerce ul.products li.product .onsale,.woocommerce span.onsale{display:none}
.woocommerce-pagination{margin-top:40px;text-align:center}
.woocommerce-pagination ul{display:inline-flex;gap:6px;list-style:none;padding:0;margin:0;border:0!important}
.woocommerce-pagination li{border:0!important}
.woocommerce-pagination a,.woocommerce-pagination span{display:inline-flex!important;align-items:center;justify-content:center;min-width:40px;height:40px;border-radius:6px;border:1px solid var(--fb-line)!important;text-decoration:none;color:var(--fb-ink)}
.woocommerce-pagination .current{background:var(--fb-ink)!important;color:#fff!important}

.single-product div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:start}
.single-product div.product .woocommerce-product-gallery{width:100%!important;float:none!important;margin:0!important;border:1px solid var(--fb-line);border-radius:12px;overflow:hidden;background:#fff}
@media (min-width:961px){.woocommerce.single-product div.product div.images.woocommerce-product-gallery{position:sticky;top:120px;align-self:start}}
.single-product div.product .woocommerce-product-gallery img{aspect-ratio:1;object-fit:contain;padding:24px}
.single-product div.product .summary{width:100%!important;float:none!important;margin:0!important}
.single-product div.product .product_title{font-size:clamp(28px,3vw,38px);margin-bottom:12px}
.single-product .woocommerce-product-details__short-description{color:#3d4044;margin-bottom:20px}
.single-product div.product .woocommerce-tabs,.single-product .related{grid-column:1/-1}
.single-product .woocommerce-tabs ul.tabs{display:none}
.single-product .woocommerce-Tabs-panel{border-top:1px solid var(--fb-line);padding-top:32px;max-width:820px}
.single-product .woocommerce-Tabs-panel h2{font-size:22px}
.single-product .related>h2{font-size:26px;margin:16px 0 24px}
.woocommerce-product-gallery__trigger{top:16px!important;right:16px!important}

.woocommerce-info,.woocommerce-message,.woocommerce-error{border-top-color:var(--fb-red)!important;background:var(--fb-paper)!important}
.woocommerce-info::before,.woocommerce-message::before{color:var(--fb-red)!important}

/* footer */
.fbt-footer{background:#0b0b0c;color:#a9a9a9;font-size:15px}
.fbt-footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:48px;padding-top:64px;padding-bottom:48px}
.fbt-footer__logo{width:180px;height:auto;margin-bottom:18px}
.fbt-footer h2{font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:#fff;margin:6px 0 16px}
.fbt-footer p{max-width:340px}
.fbt-flinks,.fbt-footer .fbt-menu{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.fbt-footer .fbt-menu a{display:inline;height:auto;padding:0;background:none!important;box-shadow:none!important;font:500 15px/1.4 var(--fb-body);color:#a9a9a9}
.fbt-flinks a{color:#d4d4d4;text-decoration:none}
.fbt-footer a:hover{color:#fff!important}
.fbt-footer__base{position:relative;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-top:20px;padding-bottom:28px;font-size:13px;color:#777}
.fbt-footer__base::before{content:"";position:absolute;top:0;left:24px;right:24px;height:1px;background:#222}

/* content building blocks used on About / OEM / Barrels */
.fbt-lead{font-size:20px;line-height:1.6;color:#2e3135;max-width:820px;margin:0 0 56px}
.fbt-sec-in{margin:0 0 72px}
.fbt-sec-in:last-child{margin-bottom:0}
.fbt-sec-in>h2{margin-bottom:12px}
.fbt-steps{list-style:none;counter-reset:s;padding:0;margin:28px 0 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
.fbt-steps li{counter-increment:s;position:relative;background:#fff;border:1px solid var(--fb-line);border-radius:10px;padding:56px 20px 20px;font-size:15px;color:#3d4044;margin:0}
.fbt-steps li::before{content:counter(s);position:absolute;top:18px;left:20px;width:28px;height:28px;border-radius:50%;background:var(--fb-red);color:#fff;font:700 14px/28px var(--fb-head);text-align:center}
.fbt-steps strong{display:block;font:700 17px/1.3 var(--fb-head);color:var(--fb-ink);margin-bottom:6px}
.fbt-chips{list-style:none;padding:0;margin:20px 0 0;display:flex;flex-wrap:wrap;gap:10px}
.fbt-chips li{display:inline-flex;align-items:center;height:40px;padding:0 16px;border-radius:999px;background:var(--fb-chip);font:600 15px/1 var(--fb-head);margin:0}
.fbt-btnrow{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.fbt-band{background:var(--fb-paper);border:1px solid var(--fb-line);border-radius:12px;padding:36px}
.fbt-band h2{margin-top:0}
.fbt-content .wp-block-columns.fbt-split2{display:grid!important;grid-template-columns:1fr 1fr;gap:56px!important;align-items:center}
.fbt-content .fbt-split2 img{border-radius:10px;width:100%;aspect-ratio:4/3;object-fit:cover}
.fbt-content .fbt-split2 figure{margin:0}
.fbt-content .fbt-split2>.wp-block-column{align-self:center}
.fbt-content .fbt-split2>.wp-block-column>h2:first-child{margin-top:0}

/* My Account + sign-in */
.woocommerce-account .fbt-content{max-width:var(--fb-wrap)}
.woocommerce-account .woocommerce{display:grid;grid-template-columns:240px minmax(0,1fr);gap:48px;align-items:start}
.woocommerce-account .woocommerce>.woocommerce-notices-wrapper{grid-column:1/-1}
.woocommerce-account .woocommerce::before,.woocommerce-account .woocommerce::after,.woocommerce .u-columns.col2-set::before,.woocommerce .u-columns.col2-set::after{display:none!important}
.woocommerce-account .woocommerce-MyAccount-navigation{grid-column:1;grid-row:1;width:auto!important;float:none!important}
.woocommerce-account .woocommerce-MyAccount-content{grid-column:2;grid-row:1;width:auto!important;float:none!important;min-width:0}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:8px;background:var(--fb-paper);border:1px solid var(--fb-line);border-radius:10px}
.woocommerce-MyAccount-navigation li{margin:0}
.woocommerce-MyAccount-navigation a{display:flex;align-items:center;height:44px;padding:0 14px;border-radius:6px;text-decoration:none;color:var(--fb-ink);font:600 15px/1 var(--fb-head)}
.woocommerce-MyAccount-navigation a:hover{background:#fff}
.woocommerce-MyAccount-navigation .is-active a{background:var(--fb-ink);color:#fff}
.woocommerce-MyAccount-content>h2:first-child{margin-top:0}
.woocommerce-account:not(.logged-in) .woocommerce{display:block}
.woocommerce .u-columns.col2-set{display:grid;grid-template-columns:1fr 1fr;gap:32px;width:100%;float:none}
.woocommerce .u-columns .u-column1,.woocommerce .u-columns .u-column2{width:auto!important;float:none!important;max-width:none}
.woocommerce .u-columns h2{font-size:24px}
.woocommerce form.login,.woocommerce form.register,.woocommerce form.lost_reset_password,.woocommerce-EditAccountForm{border:1px solid var(--fb-line)!important;border-radius:10px!important;padding:28px!important;margin:0!important;background:#fff}
.woocommerce form .form-row{padding:0;margin:0 0 14px}
.woocommerce form .form-row label{display:block;font-size:13px;font-weight:600;margin-bottom:6px;line-height:1.4}
.woocommerce form .form-row .input-text,.woocommerce form .form-row input[type=email],.woocommerce form .form-row input[type=password],.woocommerce form .form-row input[type=text],.woocommerce form .form-row input[type=tel]{width:100%;height:44px;border:1px solid var(--fb-line-dk);border-radius:6px;padding:0 12px;font:400 15px var(--fb-body);background:#fff;box-sizing:border-box}
.woocommerce form .form-row .input-text:focus{outline:2px solid var(--fb-red);outline-offset:-1px;border-color:transparent}
.woocommerce form .password-input{display:block;position:relative}
.woocommerce form .password-input input{padding-right:48px!important}
.woocommerce form .show-password-input{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:36px;height:36px;border:0;border-radius:6px;padding:0;cursor:pointer;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b5e63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/20px no-repeat}
.woocommerce form .show-password-input:hover{background-color:var(--fb-chip)}
.woocommerce form .show-password-input.display-password{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d71920' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M3 3l18 18'/%3E%3C/svg%3E")}
.woocommerce form .show-password-input::after{display:none!important}
.woocommerce .button,.woocommerce button.button,.woocommerce-button{display:inline-flex!important;align-items:center;justify-content:center;height:48px;padding:0 24px!important;border-radius:6px!important;border:0!important;background:var(--fb-red)!important;color:#fff!important;font:600 15px/1 var(--fb-head)!important;cursor:pointer}
.woocommerce .button:hover{background:var(--fb-red-dk)!important}
.woocommerce form.login .form-row:has(.woocommerce-form-login__rememberme){display:flex;flex-wrap:wrap;align-items:center;gap:16px}
.woocommerce-form-login__rememberme{display:inline-flex!important;align-items:center;gap:8px;margin:0!important;font-weight:500!important}
.woocommerce-LostPassword{margin:12px 0 0;font-size:14px}
.woocommerce-privacy-policy-text{font-size:13px;color:var(--fb-muted)}
.woocommerce-privacy-policy-text p{margin:0 0 14px}
.woocommerce form .form-row .required{color:var(--fb-red);text-decoration:none}
.woocommerce form .form-row .optional{font-weight:400;color:var(--fb-muted)}
.woocommerce-EditAccountForm fieldset{border:1px solid var(--fb-line);border-radius:8px;padding:16px 20px;margin:12px 0 20px}
.woocommerce-EditAccountForm .form-row-first,.woocommerce-EditAccountForm .form-row-last{width:calc(50% - 8px);display:inline-block;vertical-align:top}
.woocommerce-EditAccountForm .form-row-first{margin-right:12px}
.woocommerce-EditAccountForm .clear{display:none}

/* responsive */
@media (max-width:1100px){
	ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
	.fbt-nav{gap:16px}
	.fbt-menu a{padding:0 9px}
}
@media (max-width:960px){
	.fbt-burger{display:flex}
	.fbt-nav{position:fixed;top:120px;left:0;right:0;bottom:0;background:var(--fb-ink);flex-direction:column;align-items:stretch;justify-content:flex-start;gap:20px;padding:24px;transform:translateX(100%);transition:transform .25s;overflow-y:auto}
	.nav-open .fbt-nav{transform:none}
	.nav-open{overflow:hidden}
	.fbt-menu{flex-direction:column;gap:0}
	.fbt-menu a{height:56px;width:100%;font-size:19px;border-bottom:1px solid #2a2c30;border-radius:0;padding:0 4px}
	.fbt-quote-btn{width:100%;height:52px}
	.fbt-split,.fbt-row{grid-template-columns:1fr!important;gap:36px!important}
	.fbt-split--rev .fbt-split__media,.fbt-row:nth-child(even)>.wp-block-column:first-child{order:0}
	.fbt-split__media--tall img{max-height:420px;width:100%}
	.single-product div.product{grid-template-columns:1fr;gap:32px}
	.fbt-cta__in{flex-direction:column;align-items:flex-start}
	.fbt-footer__grid{grid-template-columns:repeat(3,1fr);gap:40px 32px}
	.fbt-footer__grid>div:first-child{grid-column:1/-1}
	.fbt-contact{grid-template-columns:1fr!important}
	.fbt-content .wp-block-columns.fbt-split2{grid-template-columns:1fr;gap:28px!important}
	.woocommerce-account .woocommerce{grid-template-columns:1fr;gap:24px}
	.woocommerce-account .woocommerce-MyAccount-content{grid-column:1;grid-row:2}
	.woocommerce .u-columns.col2-set{grid-template-columns:1fr}
}
@media (max-width:760px){
	.fbt-topbar>.fbt-wrap>span:first-child{display:none}
	.fbt-topbar a.fbt-topbar__email{display:none}
	.fbt-topbar .fbt-wrap{justify-content:center}
	.fbt-topbar a{margin:0 10px}
	ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
	ul.products li.product .woocommerce-loop-product__title{font-size:15px!important;padding:0 12px!important}
	ul.products li.product .fbl-meta,ul.products li.product .price{padding:0 12px}
	ul.products li.product .fbl-btn{margin:0 12px;align-self:stretch}
	.fbt-sechead{flex-direction:column;align-items:flex-start;gap:20px}
	.fbt-cards{grid-template-columns:1fr}
	.woocommerce-result-count,.woocommerce-ordering{float:none}
	.fbt-chipnav{flex-wrap:nowrap;overflow-x:auto;margin:0 -16px;padding:0 16px 4px;scrollbar-width:none}
	.fbt-chipnav::-webkit-scrollbar{display:none}
}
@media (max-width:600px){
	body{font-size:16px}
	.fbt-wrap{padding-left:16px;padding-right:16px}
	.fbt-content,.fbt-shop{padding-top:40px;padding-bottom:64px}
	.fbt-shop--single{padding-top:20px}
	.fbt-header__in{height:72px}
	.fbt-logo img,.custom-logo{height:52px}
	.fbt-footer__base::before{left:16px;right:16px}
	.fbt-nav{top:108px}
	.fbt-hero__in{padding-top:72px;padding-bottom:72px}
	.fbt-hero__btns .fbl-btn,.fbt-cta__btns .fbl-btn{width:100%}
	.fbt-hero__btns,.fbt-cta__btns{flex-direction:column;width:100%}
	.fbt-strip__in{justify-content:center;font-size:12px;gap:8px 16px}
	.fbt-strip__in span{gap:0}
	.fbt-strip__in span::after{display:none}
	.fbt-sec{padding:64px 0}
	.fbt-boxes{grid-template-columns:1fr 1fr}
	.fbt-band{padding:24px}
	.fbt-lead{font-size:18px;margin-bottom:36px}
	.fbt-sec-in{margin-bottom:52px}
	.woocommerce-EditAccountForm .form-row-first,.woocommerce-EditAccountForm .form-row-last{width:100%;margin-right:0}
	.woocommerce form.login,.woocommerce form.register,.woocommerce-EditAccountForm{padding:20px!important}
	.fbt-footer__grid{grid-template-columns:1fr 1fr;gap:32px 20px}
	.fbt-footer__grid>div:last-child{grid-column:1/-1}
	.fbt-pagehead{padding:52px 0 44px}
}
