/*
Theme Name: Bloobark
Author: Bloobark
Description: A clean, fast WooCommerce theme for Bloobark, an office furniture brand in Pakistan mainly serving Karachi. Colours: Bloobark blue, white and extremely light beige. Edit the homepage from Appearance > Customize > Bloobark Homepage.
Version: 2.2.1
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: bloobark
*/

:root{--bb-ink:#0E1B38;--bb-muted:#5E6779;--bb-accent:#022772;--bb-accent-dark:#011A52;--bb-soft:#FAF7F2;--bb-line:#EDE6DA;--bb-line-2:#DDD3C2;--bb-ph:#B9AF9E;--bb-wrap:1180px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--bb-ink);background:#fff;line-height:1.55;-webkit-font-smoothing:antialiased}
body.bb-lock{overflow:hidden}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{line-height:1.15;margin:0 0 .5em;font-weight:700;letter-spacing:-.01em}
p{margin:0 0 1em}
.bb-wrap{width:100%;max-width:var(--bb-wrap);margin:0 auto;padding:0 24px}
.screen-reader-text{position:absolute;left:-9999px}
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--bb-accent);outline-offset:3px}
::selection{background:var(--bb-accent);color:#fff}

/* buttons */
.bb-btn{display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0 28px;border-radius:999px;background:var(--bb-accent);color:#fff;font-weight:700;font-size:14px;border:1.5px solid var(--bb-accent);cursor:pointer;transition:.2s}
.bb-btn:hover{background:var(--bb-accent-dark);border-color:var(--bb-accent-dark)}
.bb-btn--outline{background:transparent;color:var(--bb-accent);border-color:var(--bb-accent)}
.bb-btn--outline:hover{background:var(--bb-accent);border-color:var(--bb-accent);color:#fff}
.bb-btn--dark{background:var(--bb-accent);border-color:var(--bb-accent)}
.bb-btn--dark:hover{background:var(--bb-accent-dark);border-color:var(--bb-accent-dark)}
.bb-btns{display:flex;flex-wrap:wrap;gap:12px}
.bb-eyebrow{font-size:12px;font-weight:700;letter-spacing:.12em;color:var(--bb-accent);margin-bottom:14px}

/* header */
.bb-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--bb-line)}
.admin-bar .bb-header{top:32px}
.bb-header-inner{display:flex;align-items:center;gap:36px;height:80px}
.bb-logo{display:inline-flex;align-items:center;flex:none}
.bb-logo img,.custom-logo-link img{height:44px;width:auto;max-width:100%}
.custom-logo-link{display:inline-flex;align-items:center;flex:none}
.bb-footer .bb-logo img{height:40px}
.bb-404-mark{width:72px;height:auto;margin:0 0 20px}
.bb-nav{flex:1}
.bb-nav ul{display:flex;gap:28px;list-style:none;margin:0;padding:0;justify-content:flex-start}
.bb-nav li.bb-right{order:2;margin-left:auto}
.bb-nav li.bb-right ~ li.bb-right{margin-left:0}
.bb-nav a{display:block;padding:8px 0;font-size:14px;font-weight:500;color:var(--bb-muted);border-bottom:2px solid transparent}
.bb-nav a:hover,.bb-nav .current-menu-item>a,.bb-nav .current_page_item>a,.bb-nav .bb-current>a{color:var(--bb-ink);border-color:var(--bb-accent)}
.bb-nav-extra{display:none}
.bb-actions{display:flex;align-items:center;gap:4px;margin-left:auto}
.bb-icon{position:relative;display:inline-grid;place-items:center;width:42px;height:42px;border-radius:50%;background:none;border:0;color:var(--bb-ink);cursor:pointer;padding:0}
.bb-icon:hover{background:var(--bb-soft)}
.bb-icon svg{width:22px;height:22px}
.bb-count{position:absolute;top:2px;right:0;min-width:18px;height:18px;border-radius:9px;background:var(--bb-accent);color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center;padding:0 4px}
.bb-burger{display:none}
.bb-burger .i-close{display:none}
.bb-burger[aria-expanded="true"] .i-open{display:none}
.bb-burger[aria-expanded="true"] .i-close{display:block}
.bb-search{border-top:1px solid var(--bb-line);background:#fff;padding:14px 0}
.bb-search[hidden]{display:none}
.bb-search form{display:flex;gap:10px;max-width:640px;margin:0 auto;padding:0 24px}
.bb-search input[type=search]{flex:1;height:44px;border:1px solid var(--bb-line);border-radius:999px;padding:0 20px;font:inherit}
.bb-search button,.bb-search input[type=submit]{height:44px;padding:0 24px;border:0;border-radius:999px;background:var(--bb-accent);color:#fff;font-weight:700;cursor:pointer}

/* placeholder */
.bb-ph{display:grid;place-items:center;width:100%;height:100%;background:var(--bb-line);color:var(--bb-ph)}
.bb-ph svg{width:44px;height:44px}
.bb-ph em{display:none}

/* hero */
.bb-hero{background:var(--bb-soft)}
.bb-hero-inner{display:grid;grid-template-columns:1.15fr .85fr;min-height:440px}
.bb-hero-text{display:flex;flex-direction:column;justify-content:center;padding:56px 40px 56px max(24px,calc((100vw - var(--bb-wrap))/2 + 24px))}
.bb-hero h1{font-size:clamp(32px,4.2vw,54px);font-weight:800;letter-spacing:-.025em;margin-bottom:.4em}
.bb-lead{font-size:16px;color:var(--bb-muted);margin-bottom:28px}
.bb-hero-media{position:relative;background:var(--bb-line);overflow:hidden;min-height:260px}
.bb-hero-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:62% center}

/* sections */
.bb-section{padding:70px 0}
.bb-center{text-align:center}
.bb-sub{color:var(--bb-muted);font-size:14px;margin-top:-4px}
.bb-section h2{font-size:28px;font-weight:800}
.bb-section-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:28px}
.bb-section-head h2{margin:0}
.bb-link{color:var(--bb-accent);font-weight:700;font-size:14px}
.bb-circles{display:grid;grid-template-columns:repeat(5,1fr);gap:24px;margin-top:36px}
.bb-circle{display:block;text-align:center;font-weight:700;font-size:15px}
.bb-circle-img{display:block;width:min(150px,100%);aspect-ratio:1;margin:0 auto 14px;border-radius:50%;overflow:hidden;background:var(--bb-soft);border:1px solid var(--bb-line);transition:transform .25s}
.bb-circle-img img{width:100%;height:100%;object-fit:cover}
.bb-circle:hover .bb-circle-img{transform:scale(1.05)}
.bb-products{padding-top:20px}
.bb-products .bb-more{text-align:center;margin-top:40px}
.bb-note{color:var(--bb-muted)}

/* customize banner */
.bb-custom{padding:20px 0 80px}
.bb-custom-box{display:grid;grid-template-columns:1fr 380px;background:var(--bb-soft);border-radius:20px;overflow:hidden;min-height:300px}
.bb-custom-text{padding:44px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.bb-custom-text h2{font-size:clamp(28px,3.2vw,36px);font-weight:800}
.bb-custom-text p.bb-lead{margin-bottom:24px}
.bb-custom-media{position:relative;background:var(--bb-line)}
.bb-custom-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* footer */
.bb-footer{background:var(--bb-soft);border-top:1px solid var(--bb-line);padding:56px 0 0;font-size:14px;color:var(--bb-muted)}
.bb-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:40px}
.bb-footer .bb-logo{margin-bottom:16px;color:var(--bb-ink)}
.bb-footer ul{list-style:none;margin:0;padding:0}
.bb-footer li{margin-bottom:10px}
.bb-footer a:hover{color:var(--bb-accent)}
.bb-fcol summary{list-style:none;font-weight:700;color:var(--bb-ink);font-size:14px;margin-bottom:16px;pointer-events:none;cursor:default}
.bb-fcol summary::-webkit-details-marker{display:none}
.bb-socials{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.bb-socials a{border:1px solid var(--bb-line-2);border-radius:999px;padding:5px 14px;font-size:12px}
.bb-footer-bottom{border-top:1px solid var(--bb-line-2);margin-top:40px;padding:20px 0;font-size:12.5px}

/* pages */
.bb-page,.bb-shop{padding-top:44px;padding-bottom:90px}
.bb-title{font-size:34px;font-weight:800;margin-bottom:24px}
.bb-post{margin-bottom:32px}

.bb-contact small{display:block;opacity:.7;font-size:12px;margin-top:2px}

/* tablet */
@media (max-width:1000px){
 .bb-footer-grid{grid-template-columns:1fr 1fr}
 .bb-custom-box{grid-template-columns:1fr 280px}
}

/* mobile */
@media (max-width:900px){
 .admin-bar .bb-header{top:46px}
 .bb-header-inner{display:grid;grid-template-columns:1fr auto 1fr;height:60px;gap:0}
 .bb-logo img,.custom-logo-link img{height:34px}
 .bb-burger{display:inline-grid;justify-self:start;margin-left:-10px}
 .bb-logo,.custom-logo-link{justify-self:center}
 .bb-actions{justify-self:end;margin-right:-10px}
 .bb-actions .bb-account{display:none}
   .bb-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;max-height:calc(100vh - 60px);overflow-y:auto;padding:8px 24px 32px;border-top:1px solid var(--bb-line)}
 .bb-nav.is-open{display:block}
 .bb-nav ul{flex-direction:column;gap:0;justify-content:flex-start}
 .bb-nav li.bb-right,.bb-nav li.bb-right ~ li.bb-right{order:0;margin-left:0}
 .bb-nav li{border-bottom:1px solid var(--bb-line)}
 .bb-nav a{display:flex;justify-content:space-between;font-size:20px;padding:16px 0;color:var(--bb-ink);border:0}
 .bb-nav li a::after{content:"\203A";color:var(--bb-ph)}
 .bb-nav .current-menu-item>a,.bb-nav .current_page_item>a,.bb-nav .bb-current>a{color:var(--bb-accent)}
 .bb-nav-extra{display:block;padding-top:28px}
 .bb-nav-extra .bb-btn{width:100%;height:50px;margin-bottom:22px}
 .bb-nav-extra p{margin:0 0 4px;font-size:13px;color:var(--bb-muted)}
 .bb-hero-inner{grid-template-columns:1fr;min-height:0}
 .bb-hero-media{order:-1;height:240px;min-height:0}
 .bb-hero-text{padding:28px 24px 36px}
 .bb-hero h1{font-size:28px}
 .bb-lead{font-size:14px;margin-bottom:22px}
 .bb-section{padding:44px 0}
 .bb-section h2{font-size:22px}
 .bb-center{text-align:left}
 .bb-circles{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:16px;margin:24px -24px 0;padding:0 24px 8px}
 .bb-circle{flex:0 0 84px;scroll-snap-align:start;font-size:12px}
 .bb-circle-img{width:84px;margin-bottom:10px}
 .bb-custom{padding:10px 0 50px}
 .bb-custom-box{grid-template-columns:1fr}
 .bb-custom-media{order:-1;height:150px}
 .bb-custom-text{padding:26px 22px 28px}
 .bb-custom-text .bb-btn{width:100%}
 .bb-footer{padding-top:36px}
 .bb-footer-grid{grid-template-columns:1fr;gap:0}
 .bb-fbrand{margin-bottom:22px}
 .bb-fcol{border-top:1px solid var(--bb-line-2)}
 .bb-fcol summary{pointer-events:auto;cursor:pointer;display:flex;justify-content:space-between;margin:0;padding:16px 0;font-size:14px}
 .bb-fcol summary::after{content:"+";font-size:20px;color:var(--bb-muted);line-height:1}
 .bb-fcol[open] summary::after{content:"\2212"}
 .bb-fcol ul,.bb-fcol .bb-contact{padding-bottom:10px}
 .bb-footer-bottom{text-align:center;margin-top:20px}
}
@media (max-width:640px){
 .bb-title{font-size:26px}
}
