/*
Theme Name: Boner Bazar Natural Store
Theme URI: https://www.bonerbazar.com/
Author: Boner Bazar
Description: A lightweight, Bengali-first storefront theme for Boner Bazar. Keeps WooCommerce products, cart, checkout and account pages intact.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: bonerbazar-code-theme
*/

:root{--bb-forest:#1f5a43;--bb-forest-deep:#143b2c;--bb-leaf:#dcebe1;--bb-cream:#f7f5ed;--bb-paper:#fff;--bb-ink:#26332c;--bb-muted:#65736b;--bb-line:#e4e9e3;--bb-gold:#bd7b36;--bb-radius:18px;--bb-shadow:0 12px 34px rgba(20,59,44,.08)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bb-paper);color:var(--bb-ink);font-family:"Anek Bangla","Noto Sans Bengali",system-ui,sans-serif;font-size:16px;line-height:1.7}
img{max-width:100%;height:auto}
a{color:var(--bb-forest);text-decoration:none}
a:hover{color:var(--bb-forest-deep)}
h1,h2,h3,h4,h5,h6{color:var(--bb-forest-deep);font-family:inherit;font-weight:700;line-height:1.28;margin:0 0 .65em}
h1{font-size:clamp(2.1rem,5vw,4rem)}h2{font-size:clamp(1.65rem,3vw,2.5rem)}h3{font-size:1.3rem}
p{margin:0 0 1.1em}
.bb-container{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.bb-skip{position:absolute;left:-9999px;top:0}.bb-skip:focus{left:12px;z-index:1000;background:#fff;padding:10px}
.bb-topline{background:var(--bb-forest-deep);color:#edf5ef;font-size:.88rem;text-align:center;padding:7px 16px}
.bb-header{background:#fff;border-bottom:1px solid var(--bb-line);position:relative;z-index:10}
.bb-header-inner{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.bb-brand{display:flex;align-items:center;min-width:170px}.bb-brand img{max-height:66px;width:auto}.bb-brand .custom-logo{max-height:66px;width:auto}.bb-brand-name{font-size:1.35rem;font-weight:700;color:var(--bb-forest-deep)}
.bb-nav{display:flex;align-items:center;gap:clamp(14px,2vw,30px)}.bb-nav a{font-weight:600;color:#33443a;padding:10px 0}.bb-nav a:hover,.bb-nav .current-menu-item>a{color:var(--bb-forest)}
.bb-actions{display:flex;align-items:center;gap:10px}.bb-icon-link{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;border:1px solid var(--bb-line);border-radius:999px;color:var(--bb-forest-deep);font-weight:600}.bb-icon-link:hover{background:var(--bb-leaf)}.bb-cart-count{font-size:.78rem;background:var(--bb-forest);color:#fff;border-radius:99px;min-width:20px;text-align:center;padding:0 5px}
.bb-menu-toggle{display:none;border:1px solid var(--bb-line);background:#fff;border-radius:10px;padding:8px 12px;font-size:1.2rem;color:var(--bb-forest)}
.bb-button,.wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:10px!important;background:var(--bb-forest)!important;color:#fff!important;padding:13px 22px!important;font-family:inherit;font-weight:700;line-height:1.3;transition:transform .18s ease,background .18s ease;cursor:pointer}
.bb-button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce #respond input#submit:hover{background:var(--bb-forest-deep)!important;color:#fff!important;transform:translateY(-2px)}.bb-button--light{background:#fff!important;color:var(--bb-forest-deep)!important}.bb-button--light:hover{background:var(--bb-cream)!important;color:var(--bb-forest-deep)!important}
.bb-hero{padding:clamp(38px,7vw,88px) 0;background:linear-gradient(115deg,#eff6ef 0%,#f7f5ed 55%,#edf4eb 100%);overflow:hidden}
.bb-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:clamp(24px,5vw,70px)}.bb-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--bb-forest);font-weight:700;margin-bottom:14px}.bb-eyebrow:before{content:"";width:24px;height:2px;background:var(--bb-gold)}.bb-hero-copy p{max-width:580px;color:#4d5d52;font-size:clamp(1rem,1.4vw,1.16rem)}.bb-hero-image{min-height:340px;display:flex;align-items:center;justify-content:center;position:relative}.bb-hero-image:before{content:"";position:absolute;width:min(430px,88%);aspect-ratio:1;border-radius:50%;background:#e4eedf}.bb-hero-image img{position:relative;max-height:410px;width:min(90%,440px);object-fit:contain;filter:drop-shadow(0 18px 20px rgba(34,65,43,.12));border-radius:24px}
.bb-hero-ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.bb-section{padding:clamp(42px,6vw,76px) 0}.bb-section--cream{background:var(--bb-cream)}.bb-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.bb-section-heading p{color:var(--bb-muted);margin:0}.bb-section-heading h2{margin:0}.bb-section-link{white-space:nowrap;font-weight:700}
.bb-trust-row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:-22px;position:relative;z-index:1}.bb-trust-card{background:#fff;border:1px solid var(--bb-line);border-radius:14px;padding:17px 20px;display:flex;align-items:center;gap:12px;box-shadow:0 5px 18px rgba(20,59,44,.04)}.bb-trust-icon{height:42px;width:42px;display:grid;place-items:center;background:var(--bb-leaf);border-radius:50%;font-size:1.15rem}.bb-trust-card strong{display:block;color:var(--bb-forest-deep)}.bb-trust-card small{color:var(--bb-muted)}
.bb-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.bb-category-card{min-height:94px;border:1px solid var(--bb-line);border-radius:14px;background:#fff;padding:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:700;box-shadow:0 4px 12px rgba(20,59,44,.03);transition:transform .18s ease,box-shadow .18s ease}.bb-category-card:hover{transform:translateY(-3px);box-shadow:var(--bb-shadow)}.bb-category-arrow{font-size:1.2rem;color:var(--bb-gold)}
.bb-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.bb-product-grid ul.products{display:contents}.bb-product-grid li.product{list-style:none!important;width:auto!important;float:none!important;margin:0!important;padding:13px!important;border:1px solid var(--bb-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 5px 18px rgba(25,55,39,.05);overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}.bb-product-grid li.product:hover{transform:translateY(-4px);box-shadow:var(--bb-shadow)}.bb-product-grid li.product a img{aspect-ratio:1/1;width:100%;object-fit:contain;padding:8px;background:var(--bb-cream);border-radius:11px;margin:0 0 12px!important}.bb-product-grid li.product .woocommerce-loop-product__title{font-size:1rem!important;line-height:1.45!important;color:var(--bb-forest-deep)!important;min-height:2.7em}.bb-product-grid li.product .price{color:var(--bb-forest)!important;font-weight:700!important}.bb-product-grid li.product .button{font-size:.88rem!important;padding:10px 14px!important}.woocommerce span.onsale{background:var(--bb-gold)!important;min-height:2.6em!important;min-width:2.6em!important;line-height:2.6em!important;border-radius:50%!important}
.bb-about-band{background:var(--bb-forest);color:#eff7f0;border-radius:var(--bb-radius);padding:clamp(28px,5vw,56px);display:grid;grid-template-columns:1fr auto;gap:25px;align-items:center}.bb-about-band h2{color:#fff}.bb-about-band p{max-width:700px;color:#e0ede3;margin-bottom:0}
.bb-page-hero{background:var(--bb-cream);padding:clamp(34px,5vw,64px) 0;text-align:center}.bb-page-hero p{max-width:760px;margin:0 auto;color:#56645b}.bb-page-content{padding:clamp(32px,5vw,64px) 0}.bb-copy{max-width:850px;margin-inline:auto}.bb-about-intro{display:grid;grid-template-columns:1.15fr .85fr;gap:36px;align-items:center}.bb-about-note{padding:28px;border-radius:16px;background:#eef5ec;border-left:4px solid var(--bb-gold)}.bb-about-products{display:flex;gap:16px;overflow:auto;scroll-snap-type:x mandatory;padding:4px 2px 18px}.bb-about-products .product{flex:0 0 min(250px,75vw);scroll-snap-align:start}
.bb-contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:30px 0}.bb-contact-card{padding:24px;border:1px solid var(--bb-line);border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(20,59,44,.05)}.bb-contact-card .bb-contact-icon{font-size:1.5rem}.bb-contact-card h3{margin:9px 0}.bb-contact-card p{color:var(--bb-muted);margin-bottom:0}
.bb-footer{background:#173d2e;color:#e5efe8;padding:46px 0 18px;margin-top:54px}.bb-footer-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr 1fr;gap:30px}.bb-footer h3{color:#fff;font-size:1.08rem}.bb-footer a{color:#e5efe8}.bb-footer a:hover{color:#c9e1cb}.bb-footer p,.bb-footer li{color:#d1ded4}.bb-footer ul{list-style:none;padding:0;margin:0}.bb-footer li{margin:.45em 0}.bb-footer-brand img{max-width:190px;max-height:76px;object-fit:contain}.bb-footer-bottom{border-top:1px solid rgba(255,255,255,.16);margin-top:32px;padding-top:15px;font-size:.9rem;color:#c7d7cb;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}
.bb-empty{background:var(--bb-cream);padding:26px;border-radius:14px;color:var(--bb-muted)}.bb-main{min-height:50vh}
.woocommerce .woocommerce-breadcrumb{color:var(--bb-muted);font-size:.92rem;margin:16px 0 22px}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:13px!important;border:1px solid var(--bb-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 5px 18px rgba(25,55,39,.05);overflow:hidden}.woocommerce ul.products li.product a img{aspect-ratio:1/1;width:100%;object-fit:contain;padding:8px;background:var(--bb-cream);border-radius:11px;margin-bottom:12px!important}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1rem!important;line-height:1.45!important;color:var(--bb-forest-deep)!important;min-height:2.7em}.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--bb-forest)!important;font-weight:700}.woocommerce div.product div.images img{background:var(--bb-cream);border-radius:16px}.woocommerce div.product .product_title{font-size:clamp(1.8rem,3vw,2.55rem)}.woocommerce table.shop_table{border:1px solid var(--bb-line);border-radius:12px;overflow:hidden}.woocommerce input.input-text,.woocommerce textarea,.woocommerce select{min-height:44px;border:1px solid #d7dfd8;border-radius:8px;padding:9px 12px}.woocommerce input:focus,.woocommerce textarea:focus,.woocommerce select:focus{outline:0;border-color:var(--bb-forest);box-shadow:0 0 0 3px rgba(31,90,67,.12)}.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;border:1px solid var(--bb-line);border-radius:12px;overflow:hidden}.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:12px 15px;border-bottom:1px solid var(--bb-line)}.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:var(--bb-forest);color:#fff}.woocommerce-message,.woocommerce-info{border-top-color:var(--bb-forest)}.woocommerce-message:before,.woocommerce-info:before{color:var(--bb-forest)}
.bb-wc-wrap{padding:32px 0 50px}.bb-wc-wrap .woocommerce{width:100%}
@media(max-width:900px){.bb-nav{gap:14px}.bb-icon-link .bb-link-label{display:none}.bb-product-grid,.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}.bb-category-grid{grid-template-columns:repeat(2,1fr)}.bb-footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){body{font-size:15px}.bb-container{width:min(100% - 28px,1180px)}.bb-header-inner{min-height:70px;gap:8px}.bb-brand{min-width:0}.bb-brand img,.bb-brand .custom-logo{max-height:52px}.bb-menu-toggle{display:inline-flex}.bb-header-actions{display:flex;align-items:center;gap:7px}.bb-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:12px 20px 18px;border-bottom:1px solid var(--bb-line);box-shadow:0 12px 24px rgba(20,59,44,.09);align-items:stretch;flex-direction:column;gap:2px}.bb-nav.is-open{display:flex}.bb-nav a{padding:10px 6px;border-bottom:1px solid #f0f2ef}.bb-icon-link{padding:8px 10px}.bb-hero{padding:38px 0 28px}.bb-hero-grid{grid-template-columns:1fr;gap:10px}.bb-hero-copy{text-align:center}.bb-hero-copy p{margin-inline:auto}.bb-hero-copy .bb-eyebrow{justify-content:center}.bb-hero-ctas{justify-content:center}.bb-hero-image{min-height:230px}.bb-hero-image img{max-height:270px;width:min(76%,330px)}.bb-trust-row{grid-template-columns:1fr;margin-top:12px;gap:9px}.bb-trust-card{padding:12px 15px}.bb-section{padding:42px 0}.bb-section-heading{align-items:start;flex-direction:column;gap:7px}.bb-product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.bb-product-grid li.product,.woocommerce ul.products li.product{padding:9px!important;border-radius:12px!important}.bb-product-grid li.product .woocommerce-loop-product__title,.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:.9rem!important}.bb-product-grid li.product .button,.woocommerce ul.products li.product .button{width:100%;font-size:.8rem!important;padding:9px 8px!important}.bb-about-band{grid-template-columns:1fr;border-radius:14px}.bb-about-intro{grid-template-columns:1fr}.bb-contact-grid{grid-template-columns:1fr;gap:12px}.bb-footer-grid{grid-template-columns:1fr 1fr;gap:22px 14px}.bb-footer-grid>div:first-child{grid-column:1/-1}.bb-footer{padding-top:34px}.bb-footer-bottom{margin-top:24px}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{float:none!important;display:block;margin:0 0 12px!important}.woocommerce .woocommerce-ordering select{max-width:100%}.woocommerce div.product div.images{margin-bottom:22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
