/*
Theme Name: BD Trend Mart Complete
Theme URI: https://example.com/
Author: BD Trend Mart
Description: Professional responsive WooCommerce marketplace theme with persistent mobile navigation.
Version: 4.1.5
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bd-trend-mart
*/
:root{--btm-orange:#f57224;--btm-dark:#171717;--btm-light:#f6f6f6;--btm-border:#e8e8e8;--btm-green:#20a464;--btm-max:1240px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#f7f7f7;color:#222;padding-bottom:0}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto}.btm-container{width:min(var(--btm-max),calc(100% - 30px));margin:auto}.site-header{background:#fff;border-bottom:1px solid var(--btm-border);position:sticky;top:0;z-index:9990}.topbar{display:flex;align-items:center;gap:18px;padding:14px 0}.brand{display:flex;align-items:center;gap:10px;min-width:190px;font-weight:800;font-size:23px;color:var(--btm-orange)}.brand img{width:48px;height:48px;object-fit:contain;border-radius:10px}.searchbox{display:flex;align-items:center;flex:1;background:#f4f4f4;border:1px solid #ddd;border-radius:7px;overflow:hidden}.searchbox input{border:0;background:transparent;outline:0;padding:13px 14px;flex:1;font-size:15px}.searchbox button{border:0;background:var(--btm-orange);color:#fff;padding:13px 18px;cursor:pointer;font-weight:700}.image-search{padding:0 10px;cursor:pointer;font-size:20px}.header-actions{display:flex;gap:10px}.action-btn{background:#fff;border:1px solid #ddd;border-radius:7px;padding:10px 12px;position:relative}.badge{position:absolute;top:-7px;right:-7px;background:#e53935;color:#fff;border-radius:20px;font-size:11px;padding:3px 6px}.desktop-nav{border-top:1px solid #eee}.desktop-nav ul{display:flex;gap:25px;list-style:none;padding:0;margin:0;height:44px;align-items:center}.desktop-nav a:hover{color:var(--btm-orange)}.hero{margin:18px 0;border-radius:14px;overflow:hidden;position:relative;background:#222}.slides{display:flex;transition:transform .45s ease}.slide{min-width:100%;height:330px;position:relative;overflow:hidden}.slide img{width:100%;height:100%;object-fit:cover}.slide-placeholder{height:100%;display:flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(135deg,#222,#555);font-size:32px;font-weight:800}.dots{position:absolute;bottom:14px;left:0;right:0;text-align:center}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#fff8;margin:0 4px;cursor:pointer}.dot.active{background:#fff}.trust{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.trust-item{background:#ffffffd9;border:1px solid #eee;padding:16px;border-radius:10px;text-align:center;font-weight:700}.section{margin:22px 0}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.section-title{font-size:22px;font-weight:800}.view-all{color:var(--btm-orange);font-weight:700}.categories{display:grid;grid-template-columns:repeat(8,1fr);gap:12px}.cat{background:#fff;border:1px solid #eee;border-radius:12px;padding:14px 8px;text-align:center;transition:.2s}.cat:hover{transform:translateY(-2px);box-shadow:0 5px 18px #0001}.cat img{width:58px;height:58px;object-fit:contain;border-radius:50%;margin-bottom:7px}.cat .icon{width:58px;height:58px;margin:0 auto 7px;border-radius:50%;background:#fff0e8;display:grid;place-items:center;font-size:28px}.cat span{font-size:13px;font-weight:700}.flash{background:#fff;border-radius:14px;padding:16px;border:1px solid #eee}.products-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.product-card{background:#fff;border:1px solid #eee;border-radius:10px;overflow:hidden;position:relative}.product-card img{width:100%;aspect-ratio:1/1;object-fit:cover}.product-info{padding:11px}.product-title{font-size:14px;line-height:1.4;height:40px;overflow:hidden}.price{color:var(--btm-orange);font-size:18px;font-weight:800;margin-top:7px}.old-price{text-decoration:line-through;color:#999;font-size:12px;margin-left:5px}.product-btn{display:block;text-align:center;margin-top:9px;background:var(--btm-orange);color:#fff;padding:9px;border-radius:6px;font-weight:700}.page-wrap{padding:25px 0 60px;min-height:50vh}.content-card{background:#fff;border:1px solid #eee;border-radius:12px;padding:20px}.woocommerce .site-main,.woocommerce-page .site-main{min-height:50vh}.site-footer{background:#171717;color:#fff;margin-top:35px;padding:35px 0 90px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:25px}.mobile-nav{display:none}.woocommerce .woocommerce-breadcrumb{margin:0 0 18px}.woocommerce ul.products{margin:0!important}.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--btm-orange)!important}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--btm-orange)!important;color:#fff!important;border-radius:6px!important}.woocommerce .quantity .qty{padding:8px}.woocommerce table.shop_table{border-radius:8px}.woocommerce-checkout #payment{background:#fff;border-radius:10px}.woocommerce-account .woocommerce-MyAccount-navigation{background:#fff;padding:14px;border-radius:10px}.woocommerce-account .woocommerce-MyAccount-content{background:#fff;padding:18px;border-radius:10px}.notice{background:#fff7e8;border:1px solid #ffd49c;padding:12px;border-radius:8px;margin:15px 0}
@media(max-width:900px){.desktop-nav{display:none}.topbar{gap:9px}.brand{min-width:auto;font-size:18px}.brand img{width:40px;height:40px}.header-actions .action-btn span{display:none}.categories{grid-template-columns:repeat(4,1fr)}.products-grid{grid-template-columns:repeat(3,1fr)}.slide{height:260px}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){body{padding-bottom:68px}.btm-container{width:calc(100% - 20px)}.site-header{position:sticky;top:0}.topbar{flex-wrap:wrap;padding:9px 0}.brand{order:1}.header-actions{order:2;margin-left:auto}.searchbox{order:3;flex-basis:100%}.hero{margin:10px 0}.slide{height:180px}.trust{grid-template-columns:repeat(3,1fr);gap:6px}.trust-item{padding:10px 4px;font-size:11px}.categories{grid-template-columns:repeat(4,1fr);gap:7px}.cat{padding:10px 3px}.cat img,.cat .icon{width:45px;height:45px;font-size:22px}.cat span{font-size:11px}.products-grid{grid-template-columns:repeat(2,1fr);gap:9px}.product-info{padding:8px}.product-title{font-size:12px}.price{font-size:15px}.site-footer{padding-bottom:20px}.footer-grid{grid-template-columns:1fr}.mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(4,1fr);bottom:0;left:0;right:0;height:64px;background:#fff;border-top:1px solid #ddd;z-index:99999;box-shadow:0 -4px 16px #0001}.mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:11px;gap:3px;color:#555}.mobile-nav a.active,.mobile-nav a:hover{color:var(--btm-orange)}.mobile-nav .nav-icon{font-size:22px;line-height:1}.page-wrap{padding:15px 0 30px}.content-card{padding:13px}.woocommerce .col2-set,.woocommerce-page .col2-set{width:100%}.woocommerce table.shop_table{font-size:12px}}

/* Payment & delivery UI */
.btm-unavailable-payments{margin:12px 0 14px;padding:12px;background:#fafafa;border:1px solid #e6e6e6;border-radius:10px}
.btm-unavailable-title{font-weight:800;margin-bottom:8px;color:#222}
.btm-unavailable-payment{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 10px;border-top:1px solid #eee;color:#777}
.btm-payment-name{font-weight:700}
.btm-payment-status{font-size:12px;color:#999;font-style:italic}
.woocommerce-checkout #payment ul.payment_methods{margin-bottom:8px}
.woocommerce-checkout #payment .payment_method_cod label{font-weight:800}
@media(max-width:600px){.btm-unavailable-payment{padding:10px 6px;font-size:13px}.btm-payment-status{font-size:11px}}

/* Category management */
.categories .cat img{background:#fff;object-fit:contain}.categories .cat{min-height:110px;display:flex;flex-direction:column;justify-content:center;align-items:center}.categories .cat span{display:block;margin-top:2px}


/* v4.1.3 category visibility, product cart button and social footer */
.btm-add-cart{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin-top:10px;background:#ff6b00;color:#fff!important;border-radius:8px;padding:9px 12px;font-weight:700;font-size:13px;text-decoration:none!important;width:100%;box-sizing:border-box}.btm-add-cart:hover{background:#e85f00}
.social-footer{border-top:1px solid #eee;margin-top:20px;padding:20px 0 90px;text-align:center}.social-footer h4{margin:0 0 12px}.social-icons{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.social-icons a{width:42px;height:42px;border-radius:50%;background:#f4f4f4;color:#222;text-decoration:none;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:800;border:1px solid #e5e5e5}.social-icons a:hover{background:#ff6b00;color:#fff;border-color:#ff6b00}
.categories{min-height:110px}.cat{min-width:86px}.cat img{width:64px;height:64px;object-fit:cover;border-radius:50%}
@media(max-width:768px){.btm-add-cart{font-size:12px;padding:8px 9px}.social-footer{padding-bottom:90px}.categories{overflow-x:auto;display:flex;gap:12px;padding-bottom:8px}.cat{flex:0 0 82px}}

/* v4.1.5 account creation, delivery note and real social SVG logos */
.social-icons a svg{width:21px;height:21px;display:block;fill:currentColor}.social-icons a:hover svg{fill:currentColor}.btm-account-cta{margin:0 0 14px;padding:12px 14px;background:#fff7ef;border:1px solid #ffd4b0;border-radius:9px}.btm-account-create{color:var(--btm-orange);font-weight:800;margin-left:5px}.btm-delivery-note{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:10px 0;padding:11px 13px;background:#fff7ef;border:1px solid #ffd4b0;border-radius:9px;color:#333}.btm-delivery-note strong{color:var(--btm-orange)}.btm-delivery-note span{font-size:13px;font-weight:700}.social-icons a{color:#222}.social-icons a:hover{color:#fff}
@media(max-width:600px){.btm-delivery-note{gap:8px;font-size:12px}.btm-delivery-note span{font-size:11px}.btm-account-cta{font-size:13px}}

/* v4.1.5: reliable categories, contact information, and account CTA */
.category-empty{width:100%;text-align:center}.categories .cat{cursor:pointer}.categories .cat img{background:#fff}.contact-footer{border-top:1px solid #333;margin-top:22px;padding:22px 0;text-align:center}.contact-footer h4{margin:0 0 12px;font-size:18px}.contact-items{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.contact-items a{display:inline-flex;align-items:center;gap:7px;padding:10px 14px;border:1px solid #3a3a3a;border-radius:8px;color:#fff}.contact-items a:hover{border-color:var(--btm-orange);color:var(--btm-orange)}.btm-account-cta{display:flex;align-items:center;justify-content:space-between;gap:12px}.btm-account-create{display:inline-block;background:var(--btm-orange);color:#fff!important;padding:9px 14px;border-radius:7px}.social-footer{padding-bottom:22px}.social-icons a{width:46px;height:46px;background:#fff;color:#111;border-radius:50%}.social-icons a svg{width:23px;height:23px}.social-icons a[aria-label="WhatsApp"]{color:#25D366}.social-icons a[aria-label="Instagram"]{color:#E1306C}.social-icons a[aria-label="Telegram"]{color:#229ED9}.social-icons a[aria-label="Facebook"]{color:#1877F2}.social-icons a[aria-label="YouTube"]{color:#FF0000}.social-icons a[aria-label="TikTok"]{color:#111}
@media(max-width:600px){.contact-footer{padding-bottom:20px}.contact-items{flex-direction:column;align-items:stretch}.contact-items a{justify-content:center}.btm-account-cta{align-items:stretch;flex-direction:column}}
