/*
Theme Name: E Store BD
Author: E Store BD
Description: Original digital storefront with WooCommerce support, inspired by the airy navy and teal Bookle reference.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: e-store-bd
*/
:root{--navy:#07354a;--teal:#076d80;--orange:#ed804a;--ink:#153b4c;--muted:#617581;--pale:#edf6f7;--line:#dce7e9;--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font:16px/1.65 'Segoe UI',Arial,sans-serif;background:#fff}a{color:var(--teal);text-decoration:none}a:hover{color:#bd5424}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{outline-offset:5px}h1,h2,h3,h4{color:var(--navy);line-height:1.17;margin:0 0 20px;letter-spacing:-.035em}h1{font-size:clamp(38px,5.2vw,70px)}h2{font-size:clamp(28px,3vw,42px)}h3{font-size:23px}p{margin:0 0 20px}.wrap{width:min(1200px,calc(100% - 64px));margin:auto}.skip-link{position:absolute;top:-100px;left:20px;z-index:100000;background:white;padding:12px}.skip-link:focus{top:5px}.topbar{background:var(--teal);color:white;font-size:12px;letter-spacing:.03em;padding:10px 0}.topbar .wrap{display:flex;justify-content:space-between;gap:20px}.topbar a{color:white}.header-main{display:flex;align-items:center;gap:36px;min-height:102px}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0;color:var(--navy)}.brand img{width:46px;height:46px}.brand strong{font-size:25px;letter-spacing:-.8px}.brand small{display:block;font-size:9px;letter-spacing:2.2px;text-transform:uppercase;line-height:1}.nav{display:flex;gap:26px;align-items:center;margin-left:auto}.nav a{font-size:14px;font-weight:600;color:var(--navy)}.nav a:hover,.nav a[aria-current=page]{color:var(--teal)}.header-actions{display:flex;gap:12px}.icon-link{border:1px solid var(--line);border-radius:50%;width:43px;height:43px;display:grid;place-items:center;position:relative;color:var(--navy)}.icon-link svg{width:19px;height:19px}.cart-count{position:absolute;right:-3px;top:-6px;background:var(--teal);color:white;font-size:10px;min-width:18px;height:18px;border-radius:50%;text-align:center}.searchbar{border-top:1px solid #edf1f2;border-bottom:1px solid var(--line);padding:12px 0}.search-inner{display:flex;align-items:center;gap:32px}.search-label{font-size:13px;font-weight:700;white-space:nowrap}.product-search{display:flex;flex:1;max-width:540px;gap:0;background:#f3f7f8;border:1px solid #e2e9eb;border-radius:8px;overflow:hidden}.product-search input{min-width:0;flex:1;border:0;background:transparent;padding:9px 15px;font-size:13px}.product-search button{border:0;padding:8px 18px;background:var(--teal);color:white;cursor:pointer}.search-note{margin-left:auto;font-size:12px;color:var(--muted)}.mobile-menu{display:none}.hero{background:#dcecee;overflow:hidden;position:relative}.hero-inner{display:grid;grid-template-columns:1.05fr 1fr;gap:35px;min-height:550px;align-items:center;padding-top:48px;padding-bottom:48px}.eyebrow{display:block;text-transform:uppercase;font-size:11px;letter-spacing:2.3px;font-weight:700;color:var(--teal);margin-bottom:20px}.hero .eyebrow{color:#ab4c1f}.hero h1{max-width:660px;font-weight:750;line-height:1.08}.hero h1 em{font-family:Georgia,serif;font-weight:400;color:var(--teal)}.hero-copy>p{max-width:450px;color:#4e6b78;font-size:16px;line-height:1.8}.actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:28px}.btn,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wp-element-button{display:inline-flex;align-items:center;justify-content:center;gap:18px;border:0;background:var(--teal);color:#fff;border-radius:30px;padding:13px 25px;font-size:13px;font-weight:700;cursor:pointer;line-height:1.5}.btn:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--navy);color:white}.text-link{font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:6px}.hero-small{margin-top:25px;font-size:11px;color:#4e6b78}.hero-art{position:relative;min-height:440px;display:flex;align-items:center;justify-content:center}.hero-art:before{content:'';position:absolute;width:380px;height:380px;border-radius:50%;background:#bddbdd;top:20px;left:50%;transform:translateX(-50%)}.hero-art:after{content:'';position:absolute;width:420px;height:420px;border-radius:50%;border:1px solid #91bfc4;top:0;left:50%;transform:translateX(-50%)}.book{position:absolute;width:210px;height:290px;border-radius:4px 12px 12px 4px;padding:29px 23px;color:#fff;box-shadow:12px 23px 27px #123b4c30,inset 7px 0 0 #ffffff18;z-index:2;display:flex;flex-direction:column;border-left:3px solid #ffffff60}.book-one{background:var(--navy);transform:rotate(-13deg);left:18px;top:75px}.book-two{background:#d88458;transform:rotate(11deg);right:22px;top:50px}.book small{font-size:8px;letter-spacing:2px}.book strong{font-family:Georgia,serif;line-height:1.13;font-size:38px;letter-spacing:-1px;margin-top:25px}.book .book-circle{width:95px;height:95px;border-radius:50%;border:1px solid #ffffff70;margin:15px 0 0 auto;position:relative}.book-circle:after{content:'';position:absolute;inset:12px;border:1px solid #ffffff60;border-radius:50%}.book-footer{margin-top:auto;font-size:8px;letter-spacing:2px}.float-note{background:white;border-radius:12px;box-shadow:0 14px 30px #173d5014;padding:13px 18px;position:absolute;bottom:22px;right:10px;z-index:4;font-size:12px;font-weight:700;display:flex;align-items:center;gap:12px}.float-note span{background:#dcefeb;border-radius:50%;padding:5px 10px;color:var(--teal);font-size:18px}.orbit-star{position:absolute;color:var(--teal);font-size:44px;right:8px;top:2px}.benefits{display:grid;grid-template-columns:repeat(4,1fr);padding:29px 0;border-bottom:1px solid var(--line);gap:20px}.benefit{display:flex;align-items:center;gap:13px}.benefit b{display:block;font-size:13px}.benefit small{display:block;font-size:11px;color:var(--muted)}.benefit-icon{color:var(--teal);font-size:24px;font-weight:400;background:var(--pale);width:45px;height:45px;border-radius:50%;display:grid;place-items:center}.section{padding:78px 0}.section-title{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:30px}.section-title h2{margin-bottom:9px}.section-title p{color:var(--muted);font-size:14px;margin:0}.section-title .eyebrow{margin-bottom:10px}.sample-note{font-size:12px;color:var(--muted);padding:12px 17px;background:#f5f8f8;border-left:3px solid #8ab8bd;margin-bottom:25px;border-radius:0 6px 6px 0}.home-products ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;margin:0!important}.home-products ul.products:before,.home-products ul.products:after{display:none!important}.woocommerce ul.products li.product{border:1px solid var(--line);border-radius:var(--radius);padding:22px;background:#fff;transition:transform .2s,box-shadow .2s}.woocommerce ul.products li.product:hover{transform:translateY(-4px);box-shadow:0 12px 28px #153b4c0c}.home-products ul.products li.product{width:100%!important;margin:0!important;float:none!important;display:grid;grid-template-columns:180px 1fr;column-gap:24px;align-items:center}.home-products ul.products li.product .woocommerce-LoopProduct-link{display:contents}.home-products ul.products li.product img{grid-column:1;grid-row:1/5;margin:0!important;border-radius:9px;aspect-ratio:3/4;object-fit:cover;background:var(--pale)}.home-products ul.products li.product h2{font-size:23px!important;padding:0!important;align-self:end}.home-products ul.products li.product .price{font-size:18px!important}.home-products ul.products li.product .button{justify-self:start;grid-column:2;margin:0!important;font-size:12px}.woocommerce ul.products li.product .price{color:var(--teal);font-weight:700}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:20px;color:var(--navy)}.woocommerce span.onsale{background:var(--orange);font-size:11px;min-height:30px;line-height:30px;padding:0 10px}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.category-card{border:1px solid var(--line);border-radius:16px;padding:28px;display:flex;align-items:center;gap:20px;background:white}.category-card:hover{background:var(--pale)}.category-card .category-icon{background:#e0eff0;width:58px;height:64px;border-radius:12px;display:grid;place-items:center;font-size:25px}.category-card:nth-child(2) .category-icon{background:#fae9de}.category-card:nth-child(3) .category-icon{background:#e9e8f4}.category-card h3{font-size:18px;margin:0 0 5px}.category-card p{font-size:11px;color:var(--muted);margin:0}.pale{background:#f5f9fa}.feature-banner{background:var(--navy);color:#dbe9ee;border-radius:22px;padding:48px 54px;display:grid;grid-template-columns:1.3fr 1fr;gap:35px;align-items:center;position:relative;overflow:hidden}.feature-banner h2{color:white;font-size:39px}.feature-banner .eyebrow{color:#a3d7de}.feature-banner p{font-size:14px;max-width:480px;color:#bdd3db}.feature-banner .btn{background:#fff;color:var(--navy)}.mini-stack{height:210px;position:relative}.mini-page{background:#f2dfcb;width:170px;height:205px;position:absolute;right:40px;top:5px;transform:rotate(12deg);border-radius:5px;padding:22px;color:#78472c;box-shadow:0 12px 30px #001e3140}.mini-page:before{content:'';position:absolute;inset:14px;border:1px solid #bda388}.mini-page strong{font:25px/1.1 Georgia,serif;display:block;margin:18px 0}.mini-page.back{right:140px;top:20px;transform:rotate(-12deg);background:#83b6bd;color:var(--navy)}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:45px;margin-top:35px}.step-number{font-family:Georgia,serif;font-size:40px;color:#91b8bf;margin-bottom:16px;display:block}.steps h3{font-size:21px}.steps p{font-size:14px;color:var(--muted)}.faq-layout{display:grid;grid-template-columns:1fr 1.3fr;gap:65px}.faq-layout>div>p{color:var(--muted);font-size:14px}.faq details{border-bottom:1px solid var(--line);padding:20px 0}.faq details:first-child{padding-top:0}.faq summary{cursor:pointer;font-weight:650;color:var(--navy);font-size:15px}.faq details p{font-size:14px;color:var(--muted);margin:15px 0 0}.support-band{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:36px 0;border-top:1px solid var(--line)}.support-band h3{margin:0 0 7px}.support-band p{font-size:13px;color:var(--muted);margin:0}.footer{background:var(--navy);color:#b9d0da;padding:60px 0 0}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.6fr;gap:45px}.footer .brand{color:white;margin-bottom:22px}.footer p{font-size:13px;max-width:285px}.footer h3{font-size:15px;letter-spacing:0;color:white}.footer a{color:#b9d0da;font-size:13px}.footer .brand strong{font-size:24px;color:#fff}.footer ul{list-style:none;padding:0;margin:0}.footer li{margin-bottom:9px}.footer a:hover{color:white}.payments{display:flex;flex-wrap:wrap;gap:7px}.payments span{font-size:10px;border:1px solid #426273;border-radius:5px;padding:5px 8px}.footer-bottom{border-top:1px solid #315467;margin-top:45px;padding:20px 0;display:flex;justify-content:space-between;gap:20px;font-size:11px}.page-banner{background:var(--pale);padding:43px 0}.page-banner h1{font-size:42px;margin:0}.breadcrumbs{font-size:12px;color:var(--muted);margin-bottom:12px}.page-body{padding:55px 0 75px;min-height:50vh}.page-body>.prose{max-width:860px;margin:auto}.prose h2{font-size:29px;margin-top:35px}.prose h3{margin-top:28px}.prose p,.prose li{color:#526c79}.woocommerce div.product div.images img{border-radius:16px}.woocommerce div.product .product_title{font-size:39px}.woocommerce div.product p.price{color:var(--teal);font-size:25px}.woocommerce .quantity .qty{padding:10px;border:1px solid var(--line);border-radius:8px;width:70px}.woocommerce div.product form.cart .button{padding:12px 25px;background:var(--teal)}.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0}.woocommerce div.product .woocommerce-tabs ul.tabs li{border:0;background:var(--pale);border-radius:8px 8px 0 0}.woocommerce div.product .woocommerce-tabs ul.tabs li:before,.woocommerce div.product .woocommerce-tabs ul.tabs li:after{display:none}.woocommerce table.shop_table{border:1px solid var(--line);border-radius:12px}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.woocommerce .woocommerce-ordering select{border:1px solid #cbdadd;border-radius:7px;padding:11px 12px;background:white;color:var(--navy)}.woocommerce form .form-row label{font-size:13px;font-weight:600}.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{padding-bottom:20px}.woocommerce #payment{background:var(--pale);border-radius:12px}.woocommerce #payment div.payment_box{background:#fff;border:1px solid var(--line);border-radius:8px}.woocommerce #payment div.payment_box:before{border-bottom-color:white}.woocommerce .woocommerce-info,.woocommerce .woocommerce-message{border-top-color:var(--teal);background:var(--pale);font-size:14px}.woocommerce .woocommerce-info:before,.woocommerce .woocommerce-message:before{color:var(--teal)}.woocommerce .woocommerce-error{font-size:14px}.woocommerce #respond input#submit.alt,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--teal);color:white}.woocommerce-checkout #order_review_heading{margin-top:30px}.woocommerce .woocommerce-customer-details address{border:1px solid var(--line);padding:20px;border-radius:10px}.woocommerce nav.woocommerce-pagination ul{border-color:var(--line)}.woocommerce .woocommerce-MyAccount-navigation ul{padding:0;list-style:none;border:1px solid var(--line);border-radius:10px;overflow:hidden}.woocommerce .woocommerce-MyAccount-navigation li a{display:block;padding:12px 18px;border-bottom:1px solid var(--line)}.woocommerce .woocommerce-MyAccount-navigation li.is-active a{background:var(--pale);font-weight:700}.esbd-mfs-accounts{list-style:none;margin:12px 0!important;padding:0!important;display:grid;gap:7px}.esbd-mfs-accounts li{padding:8px 12px;background:#f2f7f8;border-radius:6px;font-size:13px}.esbd-mfs-accounts strong{margin-right:12px}.esbd-demo-label{font-size:11px;letter-spacing:1px;color:#9b532b;margin:0 0 12px;text-transform:uppercase}.woocommerce-store-notice,p.demo_store{background:var(--navy)}.alignwide{max-width:1200px}.screen-reader-text{clip-path:inset(50%);width:1px;height:1px;overflow:hidden;position:absolute;white-space:nowrap}@media(max-width:1000px){.wrap{width:calc(100% - 40px)}.header-main{gap:20px}.nav{gap:17px}.search-note{display:none}.hero-inner{gap:10px;min-height:510px}.hero-art{transform:scale(.86);transform-origin:center}.home-products ul.products li.product{grid-template-columns:135px 1fr;column-gap:18px}.home-products ul.products li.product h2{font-size:19px!important}.benefits{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:2fr 1fr 1fr;gap:25px}.footer-grid>div:last-child{grid-column:1/-1}.category-card{padding:20px;gap:12px}.category-card .category-icon{width:40px;flex-shrink:0}.category-card h3{font-size:16px}}@media(max-width:700px){.wrap{width:calc(100% - 36px)}.topbar{font-size:10px}.topbar .wrap>span:last-child{display:none}.header-main{min-height:82px;flex-wrap:wrap;gap:14px;padding-top:16px;padding-bottom:14px}.brand strong{font-size:22px}.brand img{width:38px;height:38px}.brand small{font-size:8px}.header-actions{margin-left:auto}.icon-link{width:36px;height:36px}.nav{width:100%;order:3;margin:0;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:12px}.nav a{font-size:12px}.search-label{display:none}.search-inner{gap:0}.product-search{max-width:none}.hero-inner{grid-template-columns:1fr;padding:35px 0 20px;gap:0}.hero h1{font-size:46px;max-width:500px}.hero-copy>p{font-size:14px;max-width:450px}.hero .eyebrow{font-size:10px;margin-bottom:15px}.hero-art{min-height:370px;transform:scale(.85);width:min(400px,100%);justify-self:center;margin-top:-10px}.book-one{left:0}.book-two{right:0}.hero-art:before{width:330px;height:330px}.hero-art:after{width:360px;height:360px}.float-note{bottom:-15px;right:0}.hero-small{margin-top:17px}.benefits{gap:18px 10px;padding:24px 0}.benefit{gap:9px}.benefit b{font-size:11px}.benefit small{font-size:10px}.benefit-icon{width:34px;height:34px;font-size:18px;flex-shrink:0}.section{padding:48px 0}.section-title{align-items:start;gap:16px}.section-title h2{font-size:29px}.section-title p{font-size:12px}.section-title .text-link{font-size:11px;white-space:nowrap;margin-top:25px}.home-products ul.products{grid-template-columns:1fr;gap:18px}.home-products ul.products li.product{grid-template-columns:125px 1fr;padding:17px}.home-products ul.products li.product h2{font-size:20px!important}.category-grid{grid-template-columns:1fr;gap:12px}.category-card{padding:17px 22px}.category-card .category-icon{width:47px;height:47px}.category-card h3{font-size:18px}.category-card p{font-size:12px}.feature-banner{grid-template-columns:1fr;padding:30px 25px;gap:20px}.feature-banner h2{font-size:33px}.mini-stack{height:210px;width:300px;max-width:100%;margin:auto}.mini-page{right:5px}.mini-page.back{right:100px}.steps{grid-template-columns:1fr;gap:22px}.steps article{display:grid;grid-template-columns:50px 1fr;gap:0 16px}.step-number{grid-row:1/3;font-size:33px}.steps h3{font-size:20px;margin-bottom:10px}.steps p{grid-column:2;margin:0}.faq-layout{grid-template-columns:1fr;gap:25px}.support-band{align-items:flex-start;flex-direction:column}.footer{padding-top:42px}.footer-grid{grid-template-columns:1fr 1fr;gap:30px}.footer-grid>div:first-child,.footer-grid>div:last-child{grid-column:1/-1}.footer p{max-width:100%}.footer-bottom{flex-direction:column;gap:8px;margin-top:30px}.page-banner h1{font-size:33px}.page-body{padding:35px 0 50px}.woocommerce ul.products[class*=columns-] li.product{padding:12px;margin-bottom:20px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px}.woocommerce ul.products li.product .button{font-size:11px;padding:10px 15px}.woocommerce div.product .product_title{font-size:31px}.woocommerce table.shop_table{font-size:13px}.woocommerce table.shop_table td{padding:10px 8px}.woocommerce form.login{padding:20px}.woocommerce .woocommerce-ordering{float:none}.woocommerce .woocommerce-result-count{float:none}.woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2{float:none;width:100%}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* Keep WooCommerce card links in the two-column homepage layout. */
.home-products ul.products li.product > a.woocommerce-loop-product__link{display:contents!important}
.home-products ul.products li.product .woocommerce-loop-product__title{grid-column:2;grid-row:1;align-self:end;margin:0 0 12px!important}
.home-products ul.products li.product .price{grid-column:2;grid-row:2;align-self:start;margin:0 0 12px!important}
.home-products ul.products li.product .button{grid-column:2;grid-row:3;align-self:start;display:inline-flex!important}
.home-products ul.products li.product img{grid-column:1;grid-row:1/4;object-fit:contain}
.home-products ul.products li.product .added_to_cart{grid-column:2;grid-row:4;font-size:12px}
.home-products ul.products li.product{grid-template-rows:1fr auto 1fr;align-items:start}
.store-page-title{font-size:42px;font-weight:700;line-height:1.17;letter-spacing:-.035em;margin:0;color:var(--navy)}@media(max-width:700px){.store-page-title{font-size:33px}}
