/*
Theme Name: FirstBuyBD
Theme URI: https://firstbuybd.com/
Author: FirstBuyBD
Description: A responsive navy and orange product discovery, review and WooCommerce shopping theme.
Version: 2.2.1
Text Domain: firstbuybd
*/
:root{--navy:#06264c;--navy2:#092f5d;--orange:#ff8500;--ink:#101c35;--muted:#65728a;--line:#e6ebf2;--soft:#f5f8fc}*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.5}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.wrap{width:min(1440px,calc(100% - 48px));margin:auto}.topbar{background:#031c39;color:#fff;font-size:13px}.topbar-inner{height:40px;display:flex;align-items:center;justify-content:space-between}.topbar-inner>span{font-weight:700}.toplinks{display:flex;gap:25px}.toplinks a:hover,.footer-links a:hover{color:var(--orange)}.masthead{background:var(--navy);color:#fff;border-bottom:1px solid #254568}.masthead-inner{min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:15px;min-width:310px}.brand-mark{font-size:48px;color:var(--orange);line-height:1}.brand strong{display:block;font-size:37px;line-height:1.05;letter-spacing:-1px}.brand strong span,.footer-brand span{color:var(--orange)}.brand small{font-size:17px;color:#fff}.header-search{flex:1;max-width:630px}.search-form{display:flex;height:48px;background:#fff;border-radius:9px;overflow:hidden}.search-form input{flex:1;min-width:0;border:0;padding:0 18px;font:inherit;font-size:16px;outline:none;color:#26364d}.search-form button{width:54px;border:0;background:var(--orange);color:#fff;font-size:30px;cursor:pointer}.quick-links{display:flex;gap:26px;white-space:nowrap}.quick-links a{font-size:25px}.quick-links span{font-size:16px;font-weight:bold}.menu-toggle{display:none;background:var(--orange);border:0;border-radius:7px;color:white;padding:9px 12px;font-size:20px}.main-nav{background:var(--navy);color:#fff}.nav-inner{display:flex;align-items:center;min-height:57px;gap:10px}.nav-home{background:var(--orange);padding:11px 20px;border-radius:9px;font-weight:bold;white-space:nowrap}.primary-menu{display:flex;align-items:center;justify-content:space-between;gap:4px;list-style:none;padding:0;margin:0;flex:1}.primary-menu li{margin:0}.primary-menu a{display:block;padding:15px 13px;font-weight:700;white-space:nowrap}.primary-menu a:hover{color:#ffb04d}.home-layout{display:grid;grid-template-columns:minmax(0,3.15fr) minmax(270px,1fr);gap:24px;padding-top:23px;padding-bottom:50px}.main-column{min-width:0}.hero-banner{min-height:320px;position:relative;overflow:hidden;border-radius:15px;background:linear-gradient(125deg,#031c3b 0%,#082d5a 55%,#ff8500 55.2%,#ff9a00 100%);color:white;display:flex;align-items:center;padding:36px 4.5%;box-shadow:0 2px 8px #09264c1c}.hero-copy{width:53%;position:relative;z-index:2}.eyebrow{font-size:12px;font-weight:bold;letter-spacing:1.6px;color:#ffad43}.hero-copy h1{font-size:clamp(29px,3vw,44px);line-height:1.1;margin:12px 0 14px;letter-spacing:-1.2px}.hero-copy h1 em{font-style:normal;color:var(--orange)}.hero-copy p{font-size:18px;max-width:470px;margin:0 0 20px}.orange-button,.buy-button{display:inline-block;background:var(--orange);color:#fff!important;border-radius:9px;padding:13px 22px;font-weight:bold}.orange-button:hover,.buy-button:hover{background:#e87500}.hero-products{position:absolute;right:1.5%;bottom:22px;width:48%;height:78%;display:flex;align-items:flex-end;justify-content:center;gap:5px}.hero-product{display:flex;align-items:center;justify-content:center;border-radius:16px 16px 6px 6px;background:linear-gradient(145deg,#fff,#dbe4ef);box-shadow:0 12px 20px #00152d55;font-size:clamp(34px,5vw,68px);width:19%;height:64%;transform:rotate(-2deg)}.hp-laptop{height:78%;width:28%;font-size:clamp(38px,6vw,78px);transform:rotate(1deg)}.hp-watch{height:39%;width:13%;font-size:35px}.hp-air{height:69%;width:19%;transform:rotate(2deg)}.hp-shoe{height:42%;width:20%;font-size:42px}.hero-dots{position:absolute;bottom:12px;left:50%;display:flex;gap:8px}.hero-dots i{width:12px;height:12px;border:1px solid white;border-radius:50%;background:transparent}.hero-dots i:first-child{background:var(--orange);border-color:var(--orange)}.category-row{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:22px 0 24px}.category-row>a{min-height:104px;border-radius:12px;background:#eaf3ff;display:flex;align-items:center;padding:14px;gap:12px;position:relative}.category-row>a:nth-child(2){background:#fff6e5}.category-row>a:nth-child(3){background:#fff0f2}.category-row>a:nth-child(4){background:#e9fbf2}.category-row>a>b{font-size:34px;color:var(--orange)}.category-row strong{display:block;font-size:16px;line-height:1.2}.category-row small{display:block;color:#34435b;font-size:13px;margin-top:4px}.category-row i{font-style:normal;font-size:28px;margin-left:auto}.section-block{margin:24px 0 30px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.section-title h2,.side-card h2{font-size:23px;line-height:1.2;margin:0;font-weight:800;letter-spacing:-.5px}.section-title>a{color:#e87500;font-weight:bold}.review-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.review-card,.product-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 2px 7px #0a23400a;background:#fff}.review-image{height:145px;display:block;position:relative;background:linear-gradient(135deg,#dfe8f5,#b7c8dc);overflow:hidden}.review-image img{width:100%;height:100%;object-fit:cover}.review-image>b{position:absolute;top:9px;left:10px;background:var(--orange);color:white;border-radius:5px;padding:4px 9px;font-size:12px}.image-placeholder{display:flex;height:100%;align-items:center;justify-content:center;color:#425979;font-weight:bold}.review-info,.product-info{padding:11px 12px 13px}.review-info h3,.product-info h3{font-size:16px;line-height:1.3;margin:0 0 9px}.rating{font-size:13px}.rating span{color:#ffa500;letter-spacing:1px}.rating strong{margin-left:7px}.review-excerpt{font-size:12px;color:var(--muted)}.side-column{display:flex;flex-direction:column;gap:22px}.side-card{border:1px solid var(--line);border-radius:14px;padding:18px 16px;box-shadow:0 3px 12px #0b24420c;height:max-content}.side-card h2{margin:0 0 14px}.deal-item{display:flex;align-items:center;gap:12px;background:#f4f7fc;border-radius:10px;padding:8px 10px;margin:7px 0;min-height:70px}.deal-item img,.deal-emoji{width:64px;height:56px;object-fit:contain;display:flex;align-items:center;justify-content:center;font-size:34px}.deal-item span{flex:1;min-width:0}.deal-item strong,.deal-item b{display:block;font-size:14px}.deal-item b{color:#e23b22;margin-top:2px}.deal-item i,.guide-item i{font-style:normal;font-size:25px}.guide-item{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid #edf0f4}.guide-item:last-child{border:0}.guide-item img,.guide-icon{width:58px;height:54px;object-fit:cover;display:flex;align-items:center;justify-content:center;font-size:29px}.guide-item strong{font-size:14px;line-height:1.3;flex:1}.empty-note,.empty-small{color:var(--muted);background:var(--soft);padding:18px;border-radius:9px}.empty-small{font-size:13px}.shop-placeholder{background:#f3f7fc;border-radius:12px;padding:22px;display:flex;align-items:center;justify-content:space-between;gap:20px}.shop-placeholder p{margin:5px 0 0;color:var(--muted)}.product-thumb{height:145px;display:block;text-align:center;background:#f6f8fb}.product-thumb img{height:100%;width:100%;object-fit:contain}.product-price{font-weight:bold;color:#e87500;margin:7px 0}.buy-button{font-size:13px;padding:8px 14px}.site-footer{background:#031c39;color:#fff;padding:32px 0 16px}.footer-inner{display:flex;justify-content:space-between;align-items:center}.footer-brand{font-size:27px;font-weight:bold}.footer-inner p{margin:2px 0;color:#b8c5d7}.footer-links{display:flex;gap:22px;flex-wrap:wrap}.copyright{border-top:1px solid #27415e;margin-top:24px;padding-top:13px;color:#aebdd0;font-size:12px}.screen-reader-text{position:absolute;left:-9999px}.woocommerce .woocommerce-breadcrumb{margin:18px 0;color:var(--muted)}.woocommerce ul.products li.product,.woocommerce div.product{border:1px solid var(--line);border-radius:12px;padding:12px}.woocommerce ul.products li.product a img{border-radius:8px}.woocommerce span.onsale{background:var(--orange);padding:4px 9px}.woocommerce a.button,.woocommerce button.button,.woocommerce #respond input#submit{background:var(--orange);color:white;border-radius:7px}.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--navy);color:white}
@media(max-width:1100px){.brand{min-width:245px}.brand strong{font-size:31px}.quick-links{gap:12px}.primary-menu a{padding:14px 8px;font-size:13px}.home-layout{grid-template-columns:minmax(0,2.4fr) minmax(240px,1fr)}.category-row{gap:9px}.category-row>a{padding:10px;gap:7px}.category-row strong{font-size:14px}.review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.wrap{width:min(100% - 28px,600px)}.topbar-inner{height:auto;min-height:34px}.toplinks{display:none}.masthead-inner{min-height:78px;gap:10px;flex-wrap:wrap;padding:10px 0}.brand{min-width:0;gap:8px}.brand-mark{font-size:35px}.brand strong{font-size:27px}.brand small{font-size:12px}.header-search{order:3;flex:1 0 100%;max-width:none}.search-form{height:42px}.quick-links{margin-left:auto;gap:10px}.quick-links a{font-size:19px}.quick-links span{display:none}.menu-toggle{display:block}.main-nav{display:none}.main-nav.is-open{display:block}.nav-inner{display:block;padding:10px 0}.nav-home{display:inline-block;margin-bottom:6px}.primary-menu{display:block}.primary-menu a{padding:10px 12px;border-top:1px solid #ffffff18}.home-layout{display:block;padding-top:14px}.hero-banner{min-height:365px;padding:25px 22px;align-items:flex-start;background:linear-gradient(150deg,#031c3b 0%,#092d59 66%,#ff8500 66.2%,#ff9a00 100%)}.hero-copy{width:100%}.hero-copy h1{font-size:31px;max-width:390px}.hero-copy p{font-size:15px;max-width:360px}.hero-products{width:72%;height:43%;right:3%;bottom:15px;opacity:.96}.hero-product{font-size:34px}.hp-laptop{font-size:42px}.hero-dots{left:47%;bottom:8px}.category-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0 22px}.category-row>a{min-height:92px}.category-row>a>b{font-size:27px}.category-row small{font-size:11px}.section-title h2,.side-card h2{font-size:20px}.review-grid{gap:10px}.review-image{height:125px}.review-info{padding:9px}.review-info h3{font-size:14px}.side-column{margin-top:26px;display:grid;grid-template-columns:1fr}.side-card{padding:15px}.footer-inner{display:block}.footer-links{margin-top:18px;gap:14px;font-size:13px}.shop-placeholder{display:block}.shop-placeholder .orange-button{margin-top:14px}}
@media(max-width:390px){.brand strong{font-size:23px}.brand-mark{font-size:30px}.hero-copy h1{font-size:27px}.review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.review-image{height:105px}.category-row strong{font-size:13px}}


/* Blog category archive layout: use the same compact cards as the homepage reviews. */
.category-archive{padding-top:28px;padding-bottom:48px;min-height:420px}
.category-heading{margin:0 0 22px}
.category-heading .eyebrow{margin:0 0 7px;color:var(--orange);font-size:11px;font-weight:800;letter-spacing:1.5px}
.category-heading .page-title{font-size:32px;line-height:1.2;margin:0;color:var(--ink)}
.category-description{margin-top:10px;color:var(--muted);max-width:850px}
.category-post-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start}
.category-post-grid .review-card{min-width:0}
.category-post-grid .review-image{height:175px}
.category-post-grid .review-image img{width:100%;height:100%;object-fit:cover}
.category-archive .pagination{margin-top:28px}
.category-archive .pagination .nav-links{display:flex;gap:8px;align-items:center}
.category-archive .pagination a,.category-archive .pagination span{padding:8px 12px;border-radius:6px;background:#f0f4f9}
.category-archive .pagination .current{background:var(--orange);color:#fff}
@media(max-width:1100px){.category-post-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.category-archive{padding-top:18px}.category-heading .page-title{font-size:26px}.category-post-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.category-post-grid .review-image{height:125px}}


/* FirstBuyBD branded professional refresh v2.2 */
.masthead{background:linear-gradient(105deg,#062a55 0%,#031b39 100%)}
.brand{min-width:345px;gap:13px}
.brand-logo{display:block;width:96px;height:96px;object-fit:cover;border-radius:50%;background:#fff;border:3px solid rgba(255,255,255,.92);box-shadow:0 4px 18px #00142f66}
.brand-tagline{font-size:15px;line-height:1.35;color:#eaf2ff;font-weight:600;white-space:nowrap}
.brand-tagline strong{color:#ff9a16;font-size:17px}
.quick-links{align-items:center}
.quick-links .cart-shortcut{font-size:23px}
.pro-hero{min-height:300px;background:linear-gradient(120deg,#031a39 0%,#062d5c 54%,#ff8a00 54.2%,#ff9d13 100%)}
.pro-hero:after{content:"";position:absolute;right:7%;top:9%;width:310px;height:250px;border:3px solid #ffffff66;border-radius:50%;box-shadow:0 0 0 14px #ffffff16,0 0 0 28px #ffffff0c}
.pro-hero .hero-products{z-index:1;right:2%;width:51%;height:82%;bottom:18px}
.pro-hero .hero-product{border-radius:22px;background:linear-gradient(145deg,#fff,#dbe9f8);box-shadow:0 15px 28px #00152d66}
.category-row>a{box-shadow:0 2px 8px #0b24420a;transition:transform .2s,box-shadow .2s}
.category-row>a:hover{transform:translateY(-3px);box-shadow:0 8px 20px #0b24421a}
.section-title h2{font-size:24px}
.review-card{transition:transform .2s,box-shadow .2s}
.review-card:hover{transform:translateY(-3px);box-shadow:0 9px 24px #0b24421b}
.review-image{height:165px}
.review-image img{transition:transform .3s}
.review-card:hover .review-image img{transform:scale(1.04)}
.deals-card .deal-item{min-height:80px}
.deal-item img{border-radius:9px;background:#fff;padding:3px}
.newsletter-card{position:relative;overflow:hidden;border-radius:14px;padding:22px 18px 24px;background:linear-gradient(145deg,#062e5e,#031a38);color:#fff;box-shadow:0 4px 14px #09264c20}
.newsletter-card:after{content:"";position:absolute;left:-10%;right:-10%;bottom:-55px;height:90px;background:linear-gradient(100deg,#ff8500,#ffae21);transform:rotate(-5deg)}
.newsletter-card>*{position:relative;z-index:1}
.newsletter-icon{font-size:25px;margin-bottom:7px}
.newsletter-card h2{font-size:21px;margin:0 0 10px}
.newsletter-card p{font-size:14px;line-height:1.5;color:#e6effb;margin:0 0 16px}
.newsletter-button{display:block;text-align:center;background:var(--orange);color:#fff;border-radius:8px;padding:12px 14px;font-weight:800}
.trust-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0 28px;padding:15px 12px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 3px 12px #0b24420a}
.trust-strip>div{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0}
.trust-strip b{font-size:25px}
.trust-strip strong,.trust-strip small{display:block}
.trust-strip strong{font-size:14px}
.trust-strip small{font-size:12px;color:var(--muted)}
.footer-inner{align-items:center}
.footer-brand-block{display:grid;grid-template-columns:78px auto;column-gap:12px;align-items:center}
.footer-logo-link{grid-row:span 3}
.footer-logo{width:76px;height:76px;object-fit:cover;border-radius:50%;background:#fff;border:2px solid #fff}
.footer-brand-block p{font-size:18px;font-weight:700;margin:0}
.footer-brand-block small{color:#b9c9dc}
.site-footer{background:linear-gradient(110deg,#031a36,#062a52)}
.footer-trust{display:flex;justify-content:center;gap:36px;flex-wrap:wrap;margin-top:24px;padding:15px 0;border-top:1px solid #ffffff20;border-bottom:1px solid #ffffff20;color:#dbe8f8;font-weight:700;font-size:13px}
.footer-trust span{white-space:nowrap}
@media(max-width:1100px){.brand{min-width:285px}.brand-logo{width:82px;height:82px}.brand-tagline{font-size:13px}.brand-tagline strong{font-size:15px}}
@media(max-width:760px){
 .brand{min-width:0;gap:8px}.brand-logo{width:65px;height:65px}.brand-tagline{font-size:12px}.brand-tagline strong{font-size:14px}
 .pro-hero{min-height:355px}.pro-hero:after{width:190px;height:155px;right:7%;top:auto;bottom:15px}
 .pro-hero .hero-products{width:75%;height:42%;right:3%;bottom:13px}
 .trust-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 7px;padding:13px 8px}
 .trust-strip>div{justify-content:flex-start}.trust-strip b{font-size:22px}.trust-strip strong{font-size:12px}.trust-strip small{font-size:10px}
 .footer-brand-block{grid-template-columns:64px auto}.footer-logo{width:62px;height:62px}.footer-trust{gap:12px 20px;font-size:11px}
}


/* Header identity adjustment: compact emblem with readable wordmark beside it */
.brand{min-width:340px;gap:12px}
.brand-logo{width:68px;height:68px;flex:0 0 68px;object-fit:cover;border-radius:50%;border:2px solid #fff;box-shadow:0 3px 12px #00142f55}
.brand-identity{display:flex;flex-direction:column;gap:3px;min-width:0}
.brand-name{display:block;color:#fff;font-size:32px;line-height:1.05;font-weight:800;letter-spacing:-.8px}
.brand-name span{color:var(--orange)}
.brand-tagline{display:block;color:#eaf2ff;font-size:13px;line-height:1.25;font-weight:600;white-space:nowrap}
@media(max-width:1100px){
 .brand{min-width:265px;gap:9px}.brand-logo{width:60px;height:60px;flex-basis:60px}
 .brand-name{font-size:27px}.brand-tagline{font-size:11px}
}
@media(max-width:760px){
 .brand{min-width:0;gap:8px}.brand-logo{width:52px;height:52px;flex-basis:52px}
 .brand-name{font-size:23px}.brand-tagline{font-size:10px;white-space:normal}
}
