/*
Theme Name: Mifaktory Custom Bags
Theme URI: https://mifaktory.com/
Author: Mifaktory Limited
Description: A bespoke B2B custom bag manufacturing theme.
Version: 1.0.0
Text Domain: mifaktory-custom-bags
*/
:root{--ink:#102136;--blue:#153fc7;--coral:#f4553d;--cream:#f5f0e6;--lime:#d5f046;--lavender:#d8d0f4;--paper:#fffdf8}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.mifaktory-site{overflow:hidden}.topbar{height:34px;background:var(--ink);color:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 4vw;font-size:11px;letter-spacing:.06em}.topbar-side{opacity:.72}.site-header{height:124px;display:grid;grid-template-columns:minmax(180px,.7fr) minmax(360px,1.65fr) minmax(190px,.7fr);grid-template-rows:72px 52px;align-items:center;column-gap:clamp(24px,3.5vw,64px);padding:0 4vw;background:var(--paper);position:sticky;top:0;z-index:30;box-shadow:0 5px 18px rgba(16,33,54,.045)}.brand{grid-column:1;grid-row:1;display:flex;align-items:center;align-self:stretch}.brand-company{font-size:17px;font-weight:800;line-height:1;letter-spacing:-.025em}.header-search{grid-column:2;grid-row:1;height:42px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;border:1px solid rgba(16,33,54,.24);background:#fff;padding-left:15px}.header-search svg{width:17px;height:17px;color:rgba(16,33,54,.46)}.header-search input{min-width:0;width:100%;height:40px;border:0;outline:0;background:transparent;color:var(--ink);font-size:12px}.header-search button{width:45px;height:40px;border:0;border-left:1px solid rgba(16,33,54,.14);background:transparent;color:var(--ink);font-size:21px;cursor:pointer}.header-actions{grid-column:3;grid-row:1;justify-self:end;display:flex;align-items:center;gap:14px}.button{display:inline-flex;min-height:50px;padding:0 22px;align-items:center;justify-content:center;gap:12px;border:1px solid var(--ink);background:var(--ink);color:#fff;font-weight:700;font-size:13px;cursor:pointer;transition:transform .2s}.button:hover{transform:translateY(-2px)}.button-small{min-height:40px;padding:0 17px}.button-light{background:var(--paper);color:var(--ink);border-color:var(--paper)}.button-outline{background:transparent;border-color:rgba(255,255,255,.75);color:#fff}.nav{grid-column:1/-1;grid-row:2;display:flex;align-items:stretch;gap:clamp(28px,4.4vw,68px);border-top:1px solid rgba(16,33,54,.12);font-size:12px;font-weight:600}.nav>a,.nav button{position:relative;min-height:52px;display:flex;align-items:center;border:0;background:transparent;padding:0;font:inherit;cursor:pointer}.nav>a:after,.nav button:after{content:"";position:absolute;left:0;right:100%;bottom:0;height:3px;background:var(--coral);transition:.25s}.nav>a:hover:after,.nav button:hover:after,.nav a.active:after{right:0}.menu-button{display:none}.nav-dropdown{position:static}.nav-dropdown>button{gap:7px}.mega-menu{position:absolute;left:0;right:0;top:100%;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-8px);z-index:40;background:var(--paper);border-top:1px solid rgba(16,33,54,.1);border-bottom:1px solid rgba(16,33,54,.14);box-shadow:0 22px 42px rgba(16,33,54,.12);transition:.22s}.nav-dropdown:hover .mega-menu,.nav-dropdown:focus-within .mega-menu{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}.mega-menu-grid{max-width:1510px;margin:auto;padding:32px 4vw 36px;display:grid;grid-template-columns:repeat(4,minmax(140px,1fr)) minmax(230px,1.15fr);gap:clamp(25px,3vw,56px)}.mega-column{display:flex;flex-direction:column;gap:13px}.mega-column h3{margin:0 0 3px;font-size:11px;letter-spacing:.1em;color:rgba(16,33,54,.48)}.mega-column a{font-size:12px}.mega-advice{background:var(--ink);color:#fff;padding:24px;min-height:188px}.mega-advice p{margin:0 0 16px;color:var(--lime);font-size:9px;font-weight:800;letter-spacing:.14em}.mega-advice h3{font-size:19px;margin:0 0 10px}.mega-advice span{font-size:11px;line-height:1.6;color:rgba(255,255,255,.66)}.hero{min-height:690px;height:calc(100vh - 158px);max-height:880px;position:relative;display:flex;align-items:center;overflow:hidden;background:#ebc9a8}.hero-image,.cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(13,29,48,.9) 0%,rgba(13,29,48,.68) 36%,rgba(13,29,48,0) 68%)}.hero-content{position:relative;z-index:2;width:min(720px,52vw);margin-left:7vw;transform:translateY(20px);color:#fff}.eyebrow,.kicker{font-size:10px;letter-spacing:.16em;font-weight:800}.eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:25px}.eyebrow span{width:34px;height:2px;background:var(--lime)}.hero h1{font-size:clamp(52px,5.8vw,84px);line-height:.98;letter-spacing:-.06em;font-weight:400;margin:0}.hero-content>p{max-width:610px;margin:30px 0 34px;color:rgba(255,255,255,.8);font-size:15px;line-height:1.75}.hero-actions{display:flex;gap:10px}.hero-note{display:flex;align-items:center;gap:8px;margin-top:26px;font-size:9px;opacity:.8}.trust-strip{display:grid;grid-template-columns:repeat(4,1fr);padding:26px 6vw;background:var(--cream);border-bottom:1px solid rgba(16,33,54,.16)}.trust-strip div{display:flex;align-items:baseline;justify-content:center;gap:12px;border-right:1px solid rgba(16,33,54,.16)}.trust-strip div:last-child{border:0}.trust-strip b{font-size:25px;letter-spacing:-.04em}.trust-strip span{font-size:12px;color:rgba(16,33,54,.65)}.section{padding:110px 5vw}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:60px;max-width:1380px;margin:0 auto 44px}.section-heading h2,.factory-copy h2,.cta-section h2{margin:10px 0 0;font-size:clamp(36px,4vw,58px);line-height:1.12;letter-spacing:-.05em}.kicker{margin:0;color:var(--coral)}.kicker.light{color:var(--lime)}.section-heading>p{max-width:450px;margin:0;color:rgba(16,33,54,.65);font-size:14px;line-height:1.8}.product-grid{max-width:1380px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.product-image-wrap{position:relative;aspect-ratio:4/5;overflow:hidden;background:var(--cream)}.product-image-wrap img,.catalog-card-visual img,.workshop-gallery img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.product-card:hover img,.catalog-card:hover img,.workshop-gallery figure:hover img{transform:scale(1.035)}.product-image-wrap>span,.catalog-card-visual>span{position:absolute;top:16px;left:16px;z-index:2;padding:8px 10px;background:var(--paper);font-size:9px;font-weight:800;letter-spacing:.12em}.product-meta{display:flex;align-items:center;justify-content:space-between;padding:18px 2px 0}.product-meta h3{margin:0 0 6px;font-size:17px}.product-meta p{margin:0;font-size:12px;color:rgba(16,33,54,.55)}.round-arrow{width:42px;height:42px;border:1px solid rgba(16,33,54,.25);display:grid;place-items:center;background:transparent}.center-action{text-align:center;margin-top:52px}.link-button{display:inline-flex;align-items:center;gap:9px;padding:0 0 6px;border-bottom:1px solid currentColor;font-size:13px;font-weight:700}.workshop-section{padding:110px 7vw;background:#f2f0eb}.workshop-heading{display:grid;grid-template-columns:1.15fr .85fr;column-gap:8vw;align-items:end;max-width:1380px;margin:0 auto 46px}.workshop-heading .kicker{grid-column:1/-1;margin-bottom:12px}.workshop-heading h2{max-width:760px;margin:0;font-size:clamp(38px,4.4vw,64px);line-height:1.05;letter-spacing:-.055em}.workshop-heading>p:not(.kicker){margin:0 0 8px;font-size:14px;font-weight:700;line-height:1.7}.workshop-heading>span{grid-column:2;margin-top:10px;color:rgba(16,33,54,.6);font-size:12px;line-height:1.7}.workshop-layout{display:grid;grid-template-columns:.82fr 1.18fr;gap:28px;max-width:1380px;margin:auto}.workshop-steps{display:grid;grid-template-rows:repeat(4,1fr);gap:16px}.workshop-step{display:grid;grid-template-columns:54px 1fr;gap:14px;align-items:start;padding:24px 26px;background:#fff;border:1px solid rgba(16,33,54,.11);border-radius:12px;box-shadow:0 3px 10px rgba(16,33,54,.035)}.workshop-step>b{color:#a58218;font-family:Georgia,serif;font-size:25px}.workshop-step h3{margin:-2px 0 8px;font-size:18px}.workshop-step p{margin:0;color:rgba(16,33,54,.62);font-size:12px;line-height:1.65}.workshop-gallery{display:grid;grid-template-columns:1fr 1fr;gap:16px}.workshop-gallery figure{margin:0;overflow:hidden;background:#fff;border:1px solid rgba(16,33,54,.1);border-radius:12px}.workshop-gallery figure>div{aspect-ratio:4/3;overflow:hidden}.workshop-gallery figcaption{min-height:50px;padding:13px 15px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;font-weight:700}.workshop-gallery small{font-size:9px;color:#a58218}.workshop-footer{display:flex;justify-content:space-between;align-items:center;gap:24px;max-width:1380px;margin:30px auto 0;padding-top:22px;border-top:1px solid rgba(16,33,54,.16)}.workshop-footer>span{color:rgba(16,33,54,.58);font-size:11px}.process{background:var(--cream)}.steps{display:grid;grid-template-columns:repeat(4,1fr);max-width:1380px;margin:auto;border-top:1px solid rgba(16,33,54,.22)}.step{position:relative;padding:32px 32px 0 0}.step:before{content:"";position:absolute;top:-4px;left:0;width:8px;height:8px;border-radius:50%;background:var(--coral)}.step>span{font-size:11px;font-weight:700;color:var(--coral)}.step h3{margin:28px 0 10px;font-size:19px}.step p{max-width:220px;color:rgba(16,33,54,.6);font-size:13px;line-height:1.7}.factory{display:grid;grid-template-columns:1fr 1fr;min-height:720px}.factory-image{position:relative;min-height:600px}.factory-image img{width:100%;height:100%;object-fit:cover}.factory-copy{display:flex;flex-direction:column;justify-content:center;padding:8vw 7vw;background:var(--lavender)}.factory-copy>p:nth-of-type(2){max-width:570px;margin:25px 0 38px;color:rgba(16,33,54,.68);font-size:14px;line-height:1.8}.capabilities{display:grid;grid-template-columns:1fr 1fr;gap:26px}.capabilities b,.capabilities span{display:block}.capabilities b{font-size:13px}.capabilities span{margin-top:4px;color:rgba(16,33,54,.55);font-size:10px}.proof{text-align:center}.proof blockquote{max-width:1080px;margin:35px auto 70px;font-size:clamp(28px,3.4vw,48px);font-weight:700;line-height:1.45;letter-spacing:-.035em}.proof-row{display:flex;justify-content:center;flex-wrap:wrap;gap:9px}.proof-row span{padding:11px 17px;border:1px solid rgba(16,33,54,.2);font-size:11px}.cta-section{display:grid;grid-template-columns:1.5fr 1fr;gap:10vw;align-items:end;padding:90px 7vw;background:var(--blue);color:#fff}.cta-section>div:last-child p{margin:0 0 22px;color:rgba(255,255,255,.7);font-size:13px;line-height:1.8}footer{position:relative;display:grid;grid-template-columns:2fr repeat(3,1fr);gap:50px;min-height:260px;padding:64px 5vw 48px;background:var(--ink);color:#fff}.footer-brand b{font-size:15px}.footer-brand p{max-width:190px;margin:10px 0;color:rgba(255,255,255,.55);font-size:11px;line-height:1.6}footer>div:not(.footer-brand){display:flex;flex-direction:column;align-items:start;gap:10px;color:rgba(255,255,255,.55);font-size:11px}footer>div:not(.footer-brand) b{margin-bottom:8px;color:#fff;font-size:12px}.copyright{position:absolute;bottom:18px;left:5vw;color:rgba(255,255,255,.3);font-size:9px}
/* Catalogue and product-detail templates */.catalog-hero{display:grid;grid-template-columns:1.04fr .96fr;min-height:470px;background:var(--cream);border-bottom:1px solid rgba(16,33,54,.14)}.catalog-hero-copy{display:flex;flex-direction:column;justify-content:center;padding:72px 7vw 62px}.catalog-back{display:inline-flex;gap:8px;align-items:center;width:max-content;margin-bottom:40px;font-size:11px;font-weight:700;color:rgba(16,33,54,.62)}.catalog-hero-copy h1{margin:12px 0 24px;font-size:clamp(42px,4.6vw,70px);line-height:1.06;letter-spacing:-.055em}.catalog-hero-copy>p:not(.kicker){max-width:650px;margin:0;color:rgba(16,33,54,.66);font-size:14px;line-height:1.8}.catalog-stats{display:flex;margin-top:38px}.catalog-stats div{display:flex;flex-direction:column;gap:3px;min-width:130px;margin-right:28px;padding-right:28px;border-right:1px solid rgba(16,33,54,.18)}.catalog-stats div:last-child{border:0}.catalog-stats b{font-size:20px}.catalog-stats span{color:rgba(16,33,54,.55);font-size:10px}.catalog-hero-image{position:relative;overflow:hidden;min-height:470px}.catalog-hero-image img{width:100%;height:100%;object-fit:cover}.catalog-hero-image>span{position:absolute;right:25px;bottom:22px;padding:9px 12px;background:var(--paper);font-size:9px;font-weight:800;letter-spacing:.14em}.catalog-content{max-width:1560px;margin:auto;padding:44px 5vw 110px}.catalog-controls{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:26px;padding-bottom:30px;border-bottom:1px solid rgba(16,33,54,.18)}.catalog-filter{display:flex;flex-wrap:wrap;gap:8px}.catalog-filter a{min-height:39px;padding:0 16px;border:1px solid rgba(16,33,54,.2);display:inline-flex;align-items:center;font-size:11px;font-weight:700}.catalog-filter a:hover,.catalog-filter a.active{background:var(--ink);color:#fff}.catalog-controls>span{color:rgba(16,33,54,.55);font-size:11px}.catalog-controls>span b{color:var(--ink);font-size:17px}.catalog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:34px 18px}.catalog-card-visual{position:relative;display:block;aspect-ratio:4/5;overflow:hidden;background:#eeeae1}.catalog-card-visual small{position:absolute;right:14px;bottom:14px;padding:7px 9px;background:rgba(16,33,54,.88);color:#fff;font-size:9px;letter-spacing:.08em}.catalog-card-copy{padding:18px 2px 0}.catalog-card-copy h2{margin:0 0 17px;font-size:20px;letter-spacing:-.03em}.catalog-specs{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;padding:13px 0;border-top:1px solid rgba(16,33,54,.13);border-bottom:1px solid rgba(16,33,54,.13)}.catalog-specs span{display:block;margin-bottom:5px;color:rgba(16,33,54,.48);font-size:9px}.catalog-specs b{font-size:10px;line-height:1.4}.catalog-card-copy>a{display:inline-flex;margin-top:17px;gap:8px;align-items:center;font-size:11px;font-weight:800;border-bottom:1px solid var(--ink);padding-bottom:5px}.collection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;max-width:1380px;margin:auto}.collection-card{position:relative;min-height:430px;overflow:hidden;background:var(--ink);color:#fff}.collection-card img{width:100%;height:100%;position:absolute;object-fit:cover;opacity:.72}.collection-card div{position:absolute;inset:auto 0 0;padding:28px;background:linear-gradient(transparent,rgba(16,33,54,.94))}.collection-card small{color:var(--lime);letter-spacing:.13em;font-size:9px;font-weight:800}.collection-card h2{margin:9px 0;font-size:28px;letter-spacing:-.04em}.collection-card p{margin:0;color:rgba(255,255,255,.78);font-size:12px;line-height:1.6}.product-breadcrumb{display:flex;gap:10px;align-items:center;padding:24px 5vw;border-bottom:1px solid rgba(16,33,54,.12);color:rgba(16,33,54,.5);font-size:10px;letter-spacing:.04em}.product-breadcrumb a{font-weight:700;color:var(--ink)}.product-intro{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr);gap:clamp(44px,6vw,100px);max-width:1540px;margin:auto;padding:42px 5vw 100px}.product-gallery-main{aspect-ratio:1/1;overflow:hidden;background:#f0ede5;border:1px solid rgba(16,33,54,.1)}.product-gallery-main img{width:100%;height:100%;object-fit:contain}.product-summary{padding-top:8px}.product-heading-meta{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:18px}.product-heading-meta span{padding:8px 10px;background:var(--lime);font-size:9px;font-weight:800;letter-spacing:.1em}.product-heading-meta small{color:rgba(16,33,54,.46);font-size:10px;letter-spacing:.1em}.product-summary h1{margin:0;font-size:clamp(42px,4.6vw,68px);line-height:1.02;letter-spacing:-.055em}.product-summary-copy{margin:24px 0 34px;color:rgba(16,33,54,.66);font-size:14px;line-height:1.8}.product-summary h2{margin:27px 0 14px;padding-top:21px;border-top:1px solid rgba(16,33,54,.15);font-size:12px;letter-spacing:.04em}.product-spec-list{margin:0}.product-spec-list>div{display:grid;grid-template-columns:minmax(130px,.8fr) 1.2fr;gap:20px;padding:12px 0;border-bottom:1px solid rgba(16,33,54,.09)}.product-spec-list dt{color:rgba(16,33,54,.52);font-size:10px}.product-spec-list dd{margin:0;font-size:11px;font-weight:700}.product-actions{display:flex;gap:20px;align-items:center;margin-top:30px}.product-note{margin-top:20px;padding-left:13px;border-left:2px solid var(--lime);color:rgba(16,33,54,.53);font-size:10px;line-height:1.65}.product-engineering{padding:100px 7vw;background:var(--cream)}.product-engineering-title{display:grid;grid-template-columns:.7fr 1.3fr;gap:7vw;align-items:start;max-width:1380px;margin:0 auto 55px}.product-engineering-title h2{margin:0;font-size:clamp(36px,4.2vw,62px);line-height:1.08;letter-spacing:-.05em}.product-engineering-grid{display:grid;grid-template-columns:repeat(4,1fr);max-width:1380px;margin:auto;border-top:1px solid rgba(16,33,54,.22)}.product-engineering-grid article{min-height:270px;padding:27px 28px 10px 0;border-right:1px solid rgba(16,33,54,.14)}.product-engineering-grid article+article{padding-left:28px}.product-engineering-grid article:last-child{border:0}.product-engineering-grid small{font-weight:800;color:var(--coral)}.product-engineering-grid h3{margin:28px 0 16px;font-size:17px}.product-engineering-grid p{color:rgba(16,33,54,.62);font-size:11px;line-height:1.75}.quote-modal[hidden]{display:none}.quote-modal{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:18px;background:rgba(8,20,34,.72)}.quote-modal>form{position:relative;display:flex;flex-direction:column;gap:15px;width:min(600px,100%);padding:44px;background:var(--paper);box-shadow:0 24px 90px rgba(0,0,0,.3)}.quote-modal h2{margin:0;font-size:34px;letter-spacing:-.04em}.quote-modal p{margin:0;color:rgba(16,33,54,.63);font-size:13px;line-height:1.7}.quote-modal label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:700}.quote-modal input,.quote-modal select,.quote-modal textarea{width:100%;padding:13px;border:1px solid rgba(16,33,54,.2);background:#fff}.quote-close{position:absolute;top:13px;right:16px;border:0;background:transparent;font-size:22px;cursor:pointer}
@media(max-width:850px){.site-header{height:74px;display:flex;padding:0 20px}.topbar{padding:0 20px;font-size:9px}.topbar-side{display:none}.brand{flex:1}.brand-company{font-size:15px}.header-search,.nav{display:none}.header-actions{display:flex}.header-actions .button{display:none}.menu-button{display:block;border:0;background:transparent;font-size:22px}.site-header.mobile-open+.mobile-nav{display:flex}.mobile-nav{display:none;flex-direction:column;padding:18px 20px;background:var(--paper);border-top:1px solid rgba(16,33,54,.12);font-size:14px;font-weight:700}.mobile-nav a{padding:13px 0}.hero{height:720px;min-height:620px}.hero-content{width:auto;margin:0 22px 44px;transform:translateY(10px)}.hero h1{font-size:47px}.hero-content>p{margin:22px 0 25px;font-size:13px}.trust-strip{grid-template-columns:1fr 1fr;gap:18px;padding:22px}.trust-strip div{justify-content:flex-start;border:0}.section,.workshop-section{padding:72px 22px}.section-heading,.workshop-heading,.workshop-layout,.factory,.cta-section,.catalog-hero,.product-intro,.product-engineering-title{grid-template-columns:1fr;gap:28px}.section-heading{align-items:start}.product-grid,.collection-grid{grid-template-columns:1fr;gap:32px}.workshop-heading>span{grid-column:1}.workshop-gallery{gap:10px}.workshop-step{padding:20px}.steps{grid-template-columns:1fr 1fr;gap:25px}.step{padding:25px 15px 0 0}.factory-image{min-height:420px}.factory-copy{padding:72px 22px}.capabilities{gap:20px}.cta-section{padding:72px 22px}.catalog-hero-copy{padding:54px 22px}.catalog-hero-image{min-height:340px}.catalog-content{padding:34px 22px 72px}.catalog-controls{align-items:start;flex-direction:column}.catalog-grid{grid-template-columns:1fr}.product-intro{padding:28px 22px 72px}.product-engineering{padding:72px 22px}.product-engineering-grid{grid-template-columns:1fr}.product-engineering-grid article,.product-engineering-grid article+article{min-height:auto;padding:25px 0;border-right:0;border-top:1px solid rgba(16,33,54,.14)}footer{grid-template-columns:1fr 1fr;gap:36px;padding:54px 22px 56px}.footer-brand{grid-column:1/-1}.copyright{left:22px}.product-actions{flex-direction:column;align-items:stretch}.product-actions .button{width:100%}}
