/*
Theme Name: BazaarBD eCommerce
Theme URI: https://bazaarbd.com
Author: BazaarBD
Author URI: https://bazaarbd.com
Description: বাংলাদেশের জন্য তৈরি প্রিমিয়াম WooCommerce ই-কমার্স থিম। কালার সোয়াচ, স্মার্ট ফিল্টার, বিকাশ/নগদ/রকেট পেমেন্ট সাপোর্ট সহ।
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bazaarbd
Tags: e-commerce, woocommerce, bangladesh, rtl-language-support, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, blog, shopping
*/

/* =====================================================
   BazaarBD Theme — Main Stylesheet
   ===================================================== */

:root {
    --bb-primary: #0a1628;
    --bb-accent:  #e8b84b;
    --bb-teal:    #00c896;
    --bb-red:     #e74c3c;
    --bb-bg:      #f4f6fb;
    --bb-card:    #ffffff;
    --bb-border:  #e2e8f0;
    --bb-text:    #1a2332;
    --bb-muted:   #64748b;
    --bb-shadow:  0 2px 12px rgba(0,0,0,.08);
    --bb-radius:  10px;
    --bb-font:    'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
    --bb-font-en: 'Sora', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--bb-font);
    background: var(--bb-bg);
    color: var(--bb-text);
    font-size: 15px;
    line-height: 1.75;
    overflow-x: hidden;
}
a { color: var(--bb-primary); text-decoration: none; }
a:hover { color: var(--bb-teal); }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: var(--bb-font); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: var(--bb-accent); border-radius: 3px; }

/* === CONTAINER === */
.bb-container { max-width: 1360px; margin: 0 auto; padding: 0 20px; }

/* === BUTTONS === */
.bb-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 22px; border-radius: var(--bb-radius);
    font-size: 14px; font-weight: 600; cursor: pointer;
    border: none; transition: all .2s; font-family: var(--bb-font);
}
.bb-btn-primary { background: var(--bb-primary); color: #fff; }
.bb-btn-primary:hover { background: #1a3a6b; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(10,22,40,.25); color: #fff; }
.bb-btn-accent  { background: var(--bb-accent); color: var(--bb-primary); }
.bb-btn-accent:hover  { background: #f5c842; transform: translateY(-1px); color: var(--bb-primary); }
.bb-btn-outline { border: 2px solid var(--bb-border); background: transparent; color: var(--bb-text); }
.bb-btn-outline:hover { border-color: var(--bb-primary); color: var(--bb-primary); }
.bb-btn-sm { padding: 7px 14px; font-size: 13px; }

/* === BADGES === */
.bb-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.bb-badge-sale   { background: var(--bb-red); color: #fff; }
.bb-badge-new    { background: var(--bb-teal); color: #fff; }
.bb-badge-hot    { background: var(--bb-accent); color: var(--bb-primary); }
.bb-badge-free   { background: var(--bb-primary); color: var(--bb-accent); }

/* === TOPBAR === */
.bb-topbar {
    background: linear-gradient(90deg, #051020, #1a3a6b, #051020);
    color: rgba(255,255,255,.85); text-align: center;
    padding: 8px 20px; font-size: 13px;
}
.bb-topbar span { color: var(--bb-accent); font-weight: 700; }

/* === HEADER === */
.bb-header {
    background: var(--bb-primary); position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.bb-header-inner {
    display: grid; grid-template-columns: auto 1fr auto;
    align-items: center; gap: 20px; padding: 12px 20px;
}
.bb-logo { display: flex; align-items: center; gap: 10px; color: #fff; cursor: pointer; }
.bb-logo-icon {
    width: 38px; height: 38px; background: linear-gradient(135deg, var(--bb-accent), #f5c842);
    border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.bb-logo-text { font-family: var(--bb-font-en); font-size: 24px; font-weight: 800; color: #fff; }
.bb-logo-text span { color: var(--bb-accent); }
.bb-logo img.custom-logo { max-height: 50px; width: auto; }

/* === SEARCH === */
.bb-search { display: flex; background: #fff; border-radius: 9px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.bb-search select { padding: 0 12px; height: 44px; background: var(--bb-accent); border: none; font-family: var(--bb-font); font-size: 13px; font-weight: 600; color: var(--bb-primary); cursor: pointer; }
.bb-search input { flex: 1; height: 44px; padding: 0 14px; border: none; font-size: 14px; color: var(--bb-text); outline: none; }
.bb-search button { width: 48px; height: 44px; background: var(--bb-primary); color: #fff; border: none; cursor: pointer; font-size: 17px; transition: background .2s; }
.bb-search button:hover { background: #1a3a6b; }

/* === HEADER ACTIONS === */
.bb-header-actions { display: flex; align-items: center; gap: 6px; }
.bb-hdr-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 12px; border-radius: 8px; color: #fff; font-size: 11px; cursor: pointer; background: transparent; border: none; transition: background .2s; position: relative; }
.bb-hdr-btn:hover { background: rgba(255,255,255,.1); }
.bb-hdr-btn .icon { font-size: 20px; }
.bb-hdr-btn .bb-cart-count { position: absolute; top: 4px; right: 8px; background: var(--bb-red); color: #fff; border-radius: 50%; width: 17px; height: 17px; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.bb-hdr-cart { background: var(--bb-accent) !important; color: var(--bb-primary) !important; font-weight: 700; border-radius: 9px; padding: 10px 16px !important; }
.bb-hdr-cart:hover { background: #f5c842 !important; }

/* === NAV === */
.bb-nav { background: #0f1e36; border-top: 1px solid rgba(255,255,255,.06); }
.bb-nav-inner { max-width: 1360px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; overflow-x: auto; }
.bb-nav-link { color: rgba(255,255,255,.8); padding: 11px 15px; font-size: 13.5px; font-weight: 500; white-space: nowrap; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all .2s; border-bottom: 2px solid transparent; text-decoration: none; }
.bb-nav-link:hover, .bb-nav-link.current { color: var(--bb-accent); border-bottom-color: var(--bb-accent); }
.bb-nav-link .bb-hot { background: var(--bb-red); color: #fff; font-size: 9px; font-weight: 700; padding: 2px 5px; border-radius: 4px; margin-left: 4px; }

/* === HERO SLIDER === */
.bb-hero { position: relative; overflow: hidden; }
.bb-hero-track { display: flex; transition: transform .5s ease; }
.bb-hero-slide {
    min-width: 100%; padding: 50px 60px; display: flex; align-items: center;
    justify-content: space-between; min-height: 380px; position: relative;
}
.bb-hero-content { flex: 1; z-index: 2; }
.bb-hero-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(232,184,75,.15); border: 1px solid rgba(232,184,75,.4); color: var(--bb-accent); padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 14px; }
.bb-hero-title { font-size: 36px; font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 12px; }
.bb-hero-title em { color: var(--bb-accent); font-style: normal; }
.bb-hero-desc { color: rgba(255,255,255,.65); font-size: 15px; margin-bottom: 24px; line-height: 1.6; }
.bb-hero-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 24px; }
.bb-hero-price { font-family: var(--bb-font-en); font-size: 36px; font-weight: 800; color: var(--bb-accent); }
.bb-hero-old { font-size: 17px; color: rgba(255,255,255,.4); text-decoration: line-through; }
.bb-hero-disc { background: var(--bb-red); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.bb-hero-img { font-size: 130px; animation: bbFloat 3s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(0,0,0,.4)); }
@keyframes bbFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.bb-hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.bb-hero-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 5; }
.bb-hero-dot { width: 8px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.3); cursor: pointer; transition: all .3s; border: none; }
.bb-hero-dot.active { width: 22px; background: var(--bb-accent); }
.bb-hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.15); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; color: #fff; border: none; transition: background .2s; z-index: 5; }
.bb-hero-arrow:hover { background: rgba(255,255,255,.3); }
.bb-hero-arrow.prev { left: 12px; }
.bb-hero-arrow.next { right: 12px; }

/* === STATS BAR === */
.bb-stats { background: var(--bb-card); border-bottom: 1px solid var(--bb-border); }
.bb-stats-inner { display: grid; grid-template-columns: repeat(4,1fr); }
.bb-stat-item { display: flex; align-items: center; gap: 14px; padding: 16px 24px; border-right: 1px solid var(--bb-border); }
.bb-stat-item:last-child { border-right: none; }
.bb-stat-icon { font-size: 28px; }
.bb-stat-num { font-family: var(--bb-font-en); font-size: 20px; font-weight: 800; color: var(--bb-primary); }
.bb-stat-label { font-size: 12px; color: var(--bb-muted); }

/* === SECTIONS === */
.bb-section { padding: 36px 0; }
.bb-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.bb-section-title { font-size: 22px; font-weight: 700; color: var(--bb-primary); display: flex; align-items: center; gap: 9px; }
.bb-section-title::before { content: ''; width: 4px; height: 26px; background: linear-gradient(180deg, var(--bb-accent), var(--bb-teal)); border-radius: 2px; display: inline-block; }
.bb-see-all { color: var(--bb-teal); font-weight: 600; font-size: 14px; transition: all .2s; }
.bb-see-all:hover { color: var(--bb-primary); }

/* === CATEGORY GRID === */
.bb-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px,1fr)); gap: 14px; }
.bb-cat-card { background: var(--bb-card); border-radius: var(--bb-radius); padding: 20px 12px; text-align: center; border: 1.5px solid var(--bb-border); cursor: pointer; transition: all .25s; text-decoration: none; display: block; }
.bb-cat-card:hover { border-color: var(--bb-accent); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(232,184,75,.15); }
.bb-cat-icon { font-size: 32px; margin-bottom: 8px; }
.bb-cat-name { font-size: 12.5px; font-weight: 600; color: var(--bb-text); }
.bb-cat-count { font-size: 11px; color: var(--bb-muted); margin-top: 2px; }

/* === PRODUCT GRID === */
.bb-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 18px; }
.bb-product-card { background: var(--bb-card); border-radius: var(--bb-radius); overflow: hidden; border: 1px solid var(--bb-border); cursor: pointer; transition: all .3s cubic-bezier(.34,1.56,.64,1); position: relative; }
.bb-product-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,.14); border-color: transparent; }
.bb-product-img { aspect-ratio: 1; background: linear-gradient(135deg,#f0f4ff,#e8efff); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.bb-product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bb-product-card:hover .bb-product-img img { transform: scale(1.08); }
.bb-product-img .emoji { font-size: 70px; transition: transform .4s; }
.bb-product-card:hover .emoji { transform: scale(1.12) rotate(-3deg); }
.bb-product-badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; }
.bb-wishlist-btn { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; font-size: 15px; border: none; cursor: pointer; opacity: 0; transition: all .2s; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.bb-product-card:hover .bb-wishlist-btn { opacity: 1; }
.bb-wishlist-btn:hover { background: var(--bb-red); }
.bb-quick-add { position: absolute; bottom: -38px; left: 8px; right: 8px; background: var(--bb-primary); color: var(--bb-accent); text-align: center; padding: 9px; border-radius: 7px; font-size: 12px; font-weight: 700; border: none; cursor: pointer; transition: bottom .3s; display: flex; align-items: center; justify-content: center; gap: 5px; }
.bb-product-card:hover .bb-quick-add { bottom: 8px; }
.bb-product-info { padding: 13px; }
.bb-product-brand { font-size: 11px; color: var(--bb-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 3px; }
.bb-product-name { font-size: 14px; font-weight: 600; margin-bottom: 7px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bb-product-stars { color: var(--bb-accent); font-size: 12px; margin-bottom: 6px; }
.bb-color-swatches { display: flex; gap: 4px; margin-bottom: 8px; flex-wrap: wrap; }
.bb-swatch { width: 16px; height: 16px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: all .15s; }
.bb-swatch:hover, .bb-swatch.active { border-color: var(--bb-text); transform: scale(1.2); }
.bb-size-btns { display: flex; gap: 4px; margin-bottom: 8px; flex-wrap: wrap; }
.bb-size-btn { padding: 3px 8px; border-radius: 5px; font-size: 11px; font-weight: 600; background: var(--bb-bg); border: 1.5px solid var(--bb-border); color: var(--bb-muted); cursor: pointer; transition: all .15s; }
.bb-size-btn:hover, .bb-size-btn.active { background: var(--bb-primary); color: #fff; border-color: var(--bb-primary); }
.bb-price-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.bb-price { font-family: var(--bb-font-en); font-size: 17px; font-weight: 800; color: var(--bb-primary); }
.bb-old-price { font-size: 12px; color: var(--bb-muted); text-decoration: line-through; }
.bb-discount { font-size: 10px; font-weight: 700; color: var(--bb-red); background: rgba(231,76,60,.1); padding: 2px 6px; border-radius: 3px; }

/* === FILTER TABS === */
.bb-filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.bb-filter-tab { padding: 7px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; background: var(--bb-card); color: var(--bb-muted); border: 2px solid var(--bb-border); cursor: pointer; transition: all .2s; font-family: var(--bb-font); }
.bb-filter-tab:hover { border-color: var(--bb-teal); color: var(--bb-teal); }
.bb-filter-tab.active { background: var(--bb-teal); color: #fff; border-color: var(--bb-teal); }

/* === PAYMENT SECTION === */
.bb-payment { background: var(--bb-card); border-top: 1px solid var(--bb-border); border-bottom: 1px solid var(--bb-border); padding: 22px 0; }
.bb-payment-inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.bb-pay-label { font-size: 14px; font-weight: 700; color: var(--bb-muted); }
.bb-pay-method { display: flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 700; border: 2px solid; cursor: pointer; transition: all .2s; background: transparent; font-family: var(--bb-font); }
.bb-pay-method:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.bb-pay-bkash  { color: #e2136e; border-color: rgba(226,19,110,.2); }
.bb-pay-bkash:hover  { background: #e2136e; color: #fff; }
.bb-pay-nagad  { color: #f5a623; border-color: rgba(245,166,35,.2); }
.bb-pay-nagad:hover  { background: #f5a623; color: #fff; }
.bb-pay-rocket { color: #8b2fc9; border-color: rgba(139,47,201,.2); }
.bb-pay-rocket:hover { background: #8b2fc9; color: #fff; }
.bb-pay-cod    { color: var(--bb-teal); border-color: rgba(0,200,150,.2); }
.bb-pay-cod:hover    { background: var(--bb-teal); color: #fff; }

/* === AD BANNER SLOTS === */
.bb-ad-slot { background: linear-gradient(135deg,#0a1628,#1a3a6b); border: 2px dashed rgba(232,184,75,.35); border-radius: var(--bb-radius); padding: 18px; text-align: center; color: rgba(255,255,255,.5); font-size: 13px; cursor: pointer; position: relative; transition: border-color .2s; }
.bb-ad-slot:hover { border-color: var(--bb-accent); }
.bb-ad-label { position: absolute; top: 6px; right: 8px; background: rgba(232,184,75,.2); color: var(--bb-accent); font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px; letter-spacing: 1px; }
.bb-ad-title { font-size: 17px; font-weight: 700; color: rgba(255,255,255,.7); margin-bottom: 4px; }

/* === NEWSLETTER === */
.bb-newsletter { background: linear-gradient(135deg,#0a1628,#0d2847); padding: 56px 20px; text-align: center; }
.bb-newsletter h2 { font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.bb-newsletter h2 span { color: var(--bb-accent); }
.bb-newsletter p { color: rgba(255,255,255,.65); margin-bottom: 24px; font-size: 15px; }
.bb-newsletter-form { display: flex; max-width: 460px; margin: 0 auto; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 28px rgba(0,0,0,.25); }
.bb-newsletter-form input { flex: 1; padding: 14px 18px; border: none; font-family: var(--bb-font); font-size: 14px; outline: none; }
.bb-newsletter-form button { background: var(--bb-accent); color: var(--bb-primary); padding: 14px 24px; border: none; font-family: var(--bb-font); font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s; }
.bb-newsletter-form button:hover { background: #f5c842; }

/* === FOOTER === */
.bb-footer { background: var(--bb-primary); color: rgba(255,255,255,.7); padding: 50px 20px 24px; }
.bb-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 36px; margin-bottom: 40px; }
.bb-footer-logo { font-family: var(--bb-font-en); font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.bb-footer-logo span { color: var(--bb-accent); }
.bb-footer-desc { font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.bb-footer-socials { display: flex; gap: 8px; }
.bb-social-btn { width: 34px; height: 34px; border-radius: 7px; background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; transition: all .2s; text-decoration: none; color: rgba(255,255,255,.7); }
.bb-social-btn:hover { background: var(--bb-accent); color: var(--bb-primary); }
.bb-footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.bb-footer-link { display: block; font-size: 13px; padding: 4px 0; cursor: pointer; transition: all .2s; text-decoration: none; color: rgba(255,255,255,.7); }
.bb-footer-link:hover { color: var(--bb-accent); padding-left: 4px; }
.bb-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; flex-wrap: wrap; gap: 10px; }
.bb-cert { background: rgba(255,255,255,.07); padding: 5px 12px; border-radius: 5px; font-size: 12px; }

/* === WOOCOMMERCE OVERRIDES === */
.woocommerce .products { margin: 0 !important; }
.woocommerce ul.products li.product { border: 1px solid var(--bb-border) !important; border-radius: var(--bb-radius) !important; overflow: hidden; transition: all .3s !important; }
.woocommerce ul.products li.product:hover { box-shadow: var(--bb-shadow) !important; transform: translateY(-4px) !important; }
.woocommerce .woocommerce-loop-product__title { font-size: 15px !important; font-weight: 600 !important; color: var(--bb-text) !important; }
.woocommerce .price { color: var(--bb-primary) !important; font-weight: 800 !important; }
.woocommerce .price del { color: var(--bb-muted) !important; }
.woocommerce a.button, .woocommerce button.button { background: var(--bb-primary) !important; color: #fff !important; border-radius: var(--bb-radius) !important; font-family: var(--bb-font) !important; font-weight: 600 !important; transition: all .2s !important; }
.woocommerce a.button:hover, .woocommerce button.button:hover { background: #1a3a6b !important; }
.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--bb-accent) !important; color: var(--bb-primary) !important; }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: #f5c842 !important; }
.woocommerce .onsale { background: var(--bb-red) !important; border-radius: 20px !important; }
.woocommerce-cart .woocommerce, .woocommerce-checkout .woocommerce { padding: 20px 0; }
.woocommerce form .form-row label { font-weight: 600; color: var(--bb-text); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row select { border: 2px solid var(--bb-border) !important; border-radius: var(--bb-radius) !important; padding: 10px 14px !important; font-family: var(--bb-font) !important; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row select:focus { border-color: var(--bb-primary) !important; outline: none !important; }
.woocommerce-tabs .tabs li a { font-family: var(--bb-font) !important; }
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel { border: 1px solid var(--bb-border) !important; border-radius: 0 0 var(--bb-radius) var(--bb-radius) !important; }
.woocommerce #payment { background: var(--bb-bg) !important; border-radius: var(--bb-radius) !important; }
.woocommerce #payment ul.payment_methods { border-bottom: 1px solid var(--bb-border) !important; }
.woocommerce .checkout_coupon, .woocommerce .login, .woocommerce .register { border: 1px solid var(--bb-border) !important; border-radius: var(--bb-radius) !important; }
.woocommerce-notices-wrapper .woocommerce-message { border-top: 3px solid var(--bb-teal) !important; }
.woocommerce-notices-wrapper .woocommerce-error { border-top: 3px solid var(--bb-red) !important; }

/* === QTY INPUT === */
.bb-qty-box { display: flex; align-items: center; border: 2px solid var(--bb-border); border-radius: var(--bb-radius); overflow: hidden; width: fit-content; }
.bb-qty-btn { width: 38px; height: 38px; background: var(--bb-bg); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; cursor: pointer; border: none; transition: background .15s; color: var(--bb-text); }
.bb-qty-btn:hover { background: var(--bb-border); }
.bb-qty-val { width: 50px; text-align: center; font-size: 15px; font-weight: 700; padding: 0; border: none; background: transparent; }

/* === FLASH DEAL === */
.bb-deal-section { background: linear-gradient(135deg, var(--bb-primary), #0d2847); padding: 40px 0; }
.bb-deal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.bb-deal-title { font-size: 26px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 10px; }
.bb-timer { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); padding: 10px 18px; border-radius: 10px; }
.bb-timer-label { color: rgba(255,255,255,.6); font-size: 13px; margin-right: 4px; }
.bb-time-unit { display: flex; flex-direction: column; align-items: center; min-width: 48px; }
.bb-time-num { background: var(--bb-primary); color: var(--bb-accent); font-family: var(--bb-font-en); font-size: 24px; font-weight: 800; padding: 6px 10px; border-radius: 7px; min-width: 50px; text-align: center; border: 1px solid rgba(232,184,75,.2); }
.bb-time-sub { font-size: 10px; color: rgba(255,255,255,.5); margin-top: 3px; }
.bb-time-sep { font-size: 22px; color: var(--bb-accent); font-weight: 700; margin-bottom: 8px; }

/* === TOAST === */
.bb-toast { position: fixed; bottom: 24px; right: 24px; background: var(--bb-primary); color: #fff; padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; box-shadow: 0 8px 28px rgba(0,0,0,.25); z-index: 99999; transform: translateY(80px); opacity: 0; transition: all .35s cubic-bezier(.34,1.56,.64,1); max-width: 320px; pointer-events: none; }
.bb-toast.show { transform: translateY(0); opacity: 1; }

/* === MOBILE MENU === */
.bb-mobile-menu-btn { display: none; background: rgba(255,255,255,.1); border: none; color: #fff; width: 40px; height: 40px; border-radius: 8px; font-size: 20px; cursor: pointer; align-items: center; justify-content: center; }
.bb-mobile-menu { display: none; background: #0f1e36; padding: 12px 0; }
.bb-mobile-menu.open { display: block; }
.bb-mobile-link { display: flex; align-items: center; gap: 10px; padding: 12px 20px; color: rgba(255,255,255,.85); font-size: 14px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.05); text-decoration: none; }
.bb-mobile-link:hover { background: rgba(255,255,255,.05); color: var(--bb-accent); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .bb-footer-grid { grid-template-columns: 1fr 1fr; }
    .bb-hero-slide { padding: 32px 24px; }
    .bb-hero-title { font-size: 26px; }
    .bb-hero-img { font-size: 80px; }
}
@media (max-width: 768px) {
    .bb-header-inner { grid-template-columns: auto 1fr auto; }
    .bb-header-actions .bb-hdr-btn:not(.bb-hdr-cart) { display: none; }
    .bb-mobile-menu-btn { display: flex; }
    .bb-nav { display: none; }
    .bb-stats-inner { grid-template-columns: 1fr 1fr; }
    .bb-stat-item:nth-child(2) { border-right: none; }
    .bb-product-grid { grid-template-columns: repeat(2, 1fr); }
    .bb-footer-grid { grid-template-columns: 1fr; }
    .bb-hero-img { display: none; }
}
@media (max-width: 480px) {
    .bb-hero-slide { padding: 24px 16px; min-height: 240px; }
    .bb-hero-title { font-size: 22px; }
    .bb-cat-grid { grid-template-columns: repeat(3, 1fr); }
    .bb-stats-inner { grid-template-columns: 1fr; }
    .bb-stat-item { border-right: none; border-bottom: 1px solid var(--bb-border); }
}
