/*
Theme Name: Shoptimizer Child Theme
Theme URI:
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI:
Template: shoptimizer
Version: 4.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ===================================================
   BESTBARGAINS.LK — PRO REDESIGN v3
   Clean, trust-focused Sri Lankan e-commerce
   Typography: Rubik (headings) + Nunito Sans (body)
   Primary: #DC2626 | Secondary: #1E293B
   =================================================== */

/* --- DESIGN TOKENS --- */
:root {
    --bb-primary: #DC2626;
    --bb-primary-hover: #B91C1C;
    --bb-primary-light: #FEF2F2;
    --bb-secondary: #1E293B;
    --bb-secondary-light: #334155;
    --bb-text: #0F172A;
    --bb-text-muted: #64748B;
    --bb-bg: #FAFAFA;
    --bb-bg-alt: #F8FAFC;
    --bb-card: #FFFFFF;
    --bb-border: #E2E8F0;
    --bb-success: #16A34A;
    --bb-success-hover: #15803D;
    --bb-accent: #F59E0B;
    --bb-radius: 10px;
    --bb-radius-sm: 6px;
    --bb-radius-lg: 14px;
    --bb-shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --bb-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --bb-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --bb-shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.03);
    --bb-shadow-xl: 0 20px 40px -5px rgba(0,0,0,0.1);
    --bb-transition: 0.2s ease;
    --bb-font-heading: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --bb-font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* --- GLOBAL TYPOGRAPHY --- */
body,
.woocommerce,
.site-content,
p, li, span, div, input, select, textarea {
    font-family: var(--bb-font-body) !important;
}
a {
    font-family: var(--bb-font-body) !important;
    transition: color var(--bb-transition) !important;
}
h1, h2, h3, h4, h5, h6,
.wp-block-heading,
.woocommerce-loop-product__title,
.product_title {
    font-family: var(--bb-font-heading) !important;
    letter-spacing: -0.3px !important;
}

/* --- CRITICAL: Respect WordPress color classes in dark sections --- */
.has-white-color {
    color: #ffffff !important;
}
.wp-block-cover h1,
.wp-block-cover h2,
.wp-block-cover h3,
.wp-block-cover p,
.wp-block-cover span,
.wp-block-cover a,
.wp-block-cover div,
.bb-hero h1,
.bb-hero h2,
.bb-hero p,
.bb-hero span,
.bb-sale-banner h1,
.bb-sale-banner h2,
.bb-sale-banner p,
.bb-sale-banner span {
    color: inherit !important;
}

/* --- Smooth Scroll & Selection --- */
html { scroll-behavior: smooth; }
::selection { background: var(--bb-primary); color: #fff; }

/* --- Page Background --- */
body { background-color: var(--bb-bg) !important; }


/* =============================================
   HEADER
   ============================================= */

/* Top bar */
.top-bar {
    background: #fff !important;
    border-bottom: 1px solid var(--bb-border) !important;
    font-size: 13px !important;
}
.top-bar, .top-bar a { color: var(--bb-text-muted) !important; }
.top-bar a:hover { color: var(--bb-primary) !important; }

/* Header */
.site-header {
    background: #fff !important;
    border-bottom: 1px solid var(--bb-border) !important;
    box-shadow: none !important;
}

/* Secondary nav */
.secondary-navigation a {
    color: var(--bb-text) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}
.secondary-navigation a:hover { color: var(--bb-primary) !important; }

/* Search */
.site-search form input[type=search],
.dgwt-wcas-search-input {
    border-radius: var(--bb-radius) !important;
    border: 2px solid var(--bb-border) !important;
    font-family: var(--bb-font-body) !important;
    transition: border-color var(--bb-transition) !important;
    background: var(--bb-bg) !important;
}
.site-search form input[type=search]:focus,
.dgwt-wcas-search-input:focus {
    border-color: var(--bb-primary) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(220,38,38,0.08) !important;
    background: #fff !important;
}


/* =============================================
   NAVIGATION
   ============================================= */
.col-full-nav {
    background: var(--bb-secondary) !important;
    border: none !important;
    box-shadow: none !important;
}
.main-navigation a {
    font-family: var(--bb-font-heading) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    letter-spacing: 0.1px !important;
    color: #fff !important;
}
.main-navigation ul.menu li a:hover {
    opacity: 0.85 !important;
}
.main-navigation ul.sub-menu {
    background: #fff !important;
    border: 1px solid var(--bb-border) !important;
    box-shadow: var(--bb-shadow-lg) !important;
    border-radius: 0 0 var(--bb-radius-sm) var(--bb-radius-sm) !important;
}
.main-navigation ul.sub-menu a {
    color: var(--bb-text) !important;
    font-size: 13px !important;
}
.main-navigation ul.sub-menu a:hover {
    background: var(--bb-primary-light) !important;
    color: var(--bb-primary) !important;
    opacity: 1 !important;
}

/* Cart icon */
.shoptimizer-cart a.cart-contents .shoptimizer-cart-icon .mini-count {
    background: var(--bb-primary) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 10px !important;
}


/* =============================================
   HERO BANNER (Gutenberg cover block)
   ============================================= */
.bb-hero,
.wp-block-cover.bb-hero {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    position: relative !important;
}
/* Rich dark gradient (no blue tint) */
.wp-block-cover.bb-hero,
.wp-block-cover.bb-hero::before,
.bb-hero .wp-block-cover__background {
    background: linear-gradient(135deg, #111111 0%, #1c1c1c 50%, #282828 100%) !important;
    opacity: 1 !important;
}
/* Subtle warm radial accent */
.bb-hero::before {
    content: "" !important;
    position: absolute !important;
    top: 0; left: 0; right: 0; bottom: 0 !important;
    background: radial-gradient(ellipse at 75% 50%, rgba(220,38,38,0.06) 0%, transparent 60%) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}
.bb-hero .wp-block-cover__inner-container {
    position: relative !important;
    z-index: 2 !important;
    animation: bb-fadeUp 0.6s ease-out !important;
}

/* Trust badges glass card */
.bb-hero .wp-block-group.has-background {
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    background: rgba(255,255,255,0.06) !important;
}

/* Hero buttons */
.bb-hero .wp-block-button__link {
    transition: transform var(--bb-transition), box-shadow var(--bb-transition), background var(--bb-transition) !important;
    font-family: var(--bb-font-heading) !important;
}
.bb-hero .wp-block-button__link:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--bb-shadow-lg) !important;
}

/* Hero mobile */
@media (max-width: 782px) {
    .bb-hero .wp-block-columns { flex-direction: column !important; }
    .bb-hero .wp-block-column { flex-basis: 100% !important; }
    .bb-hero h1 { font-size: 32px !important; }
    .bb-hero .wp-block-group.has-background { margin-top: 25px !important; }
}


/* =============================================
   SECTION HEADINGS
   ============================================= */
.bb-section-heading {
    color: var(--bb-text) !important;
}
.bb-section-heading::after {
    content: "" !important;
    display: block !important;
    width: 40px !important;
    height: 3px !important;
    background: var(--bb-primary) !important;
    margin: 10px auto 0 !important;
    border-radius: 2px !important;
}


/* =============================================
   CATEGORY GRID
   ============================================= */
.bb-categories-section {
    background: #fff !important;
}
.bb-categories-section ul.products.columns-6 {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 14px !important;
}
.bb-categories-section li.product-category {
    text-align: center !important;
    padding: 18px 10px !important;
    border-radius: var(--bb-radius) !important;
    background: var(--bb-card) !important;
    border: 1px solid var(--bb-border) !important;
    transition: all var(--bb-transition) !important;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
}
.bb-categories-section li.product-category:hover {
    border-color: var(--bb-primary) !important;
    box-shadow: var(--bb-shadow-md) !important;
    transform: translateY(-2px) !important;
}
.bb-categories-section li.product-category a img {
    width: 72px !important;
    height: 72px !important;
    object-fit: contain !important;
    margin: 0 auto 10px !important;
    display: block !important;
    mix-blend-mode: multiply !important;
    transition: transform var(--bb-transition) !important;
}
.bb-categories-section li.product-category:hover a img {
    transform: scale(1.06) !important;
}
.bb-categories-section li.product-category h2,
.bb-categories-section li.product-category .woocommerce-loop-category__title {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: var(--bb-text) !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}
.bb-categories-section li.product-category h2 mark,
.bb-categories-section li.product-category .count {
    display: none !important;
}

@media (max-width: 992px) {
    .bb-categories-section ul.products.columns-6 {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}
@media (max-width: 480px) {
    .bb-categories-section ul.products.columns-6 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }
    .bb-categories-section li.product-category {
        padding: 12px 6px !important;
    }
    .bb-categories-section li.product-category a img {
        width: 50px !important; height: 50px !important;
    }
    .bb-categories-section li.product-category h2 { font-size: 11px !important; }
}


/* =============================================
   PRODUCT CARDS
   ============================================= */
ul.products:not(.columns-6) li.product {
    background: var(--bb-card) !important;
    border-radius: var(--bb-radius) !important;
    border: 1px solid var(--bb-border) !important;
    overflow: hidden !important;
    transition: all var(--bb-transition) !important;
    position: relative !important;
    box-shadow: var(--bb-shadow-xs) !important;
}
ul.products:not(.columns-6) li.product:hover {
    border-color: var(--bb-border) !important;
    box-shadow: var(--bb-shadow-lg) !important;
    transform: translateY(-3px) !important;
}

/* Product image */
ul.products li.product .woocommerce-image__wrapper {
    background: #fff !important;
    overflow: hidden !important;
    position: relative !important;
}
ul.products li.product .woocommerce-image__wrapper img {
    transition: transform 0.35s ease !important;
}
ul.products li.product:hover .woocommerce-image__wrapper img {
    transform: scale(1.03) !important;
}

/* Category label */
ul.products li.product p.product__categories {
    font-size: 10.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: var(--bb-text-muted) !important;
    margin: 12px 0 4px !important;
    font-weight: 600 !important;
}

/* Product title */
ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--bb-text) !important;
    line-height: 1.4 !important;
    margin-bottom: 6px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 40px !important;
}

/* Price */
ul.products li.product .price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--bb-text) !important;
    margin-bottom: 8px !important;
}
ul.products li.product .price del {
    color: #9CA3AF !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    margin-right: 6px !important;
}
ul.products li.product .price ins {
    font-weight: 700 !important;
    color: var(--bb-primary) !important;
    text-decoration: none !important;
    background: none !important;
}

/* Sale badge */
ul.products li.product .onsale,
.woocommerce span.onsale {
    background: var(--bb-primary) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: var(--bb-radius-sm) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
}

/* Add to cart — desktop hover */
@media (min-width: 993px) {
    ul.products li.product .button,
    ul.products li.product .add_to_cart_button {
        opacity: 0 !important;
        transform: translateY(6px) !important;
        transition: all var(--bb-transition) !important;
        background: var(--bb-primary) !important;
        color: #fff !important;
        border-radius: var(--bb-radius-sm) !important;
        font-weight: 600 !important;
        font-size: 13px !important;
        font-family: var(--bb-font-body) !important;
    }
    ul.products li.product:hover .button,
    ul.products li.product:hover .add_to_cart_button {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    ul.products li.product .button:hover,
    ul.products li.product .add_to_cart_button:hover {
        background: var(--bb-primary-hover) !important;
    }
}

/* Star ratings */
ul.products li.product .star-rating {
    font-size: 0.8em !important;
    color: var(--bb-accent) !important;
}

/* Out of stock */
ul.products li.product.outofstock { opacity: 0.65 !important; }
ul.products li.product.outofstock .woocommerce-image__wrapper::after {
    content: "Sold Out" !important;
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    background: var(--bb-secondary) !important;
    color: #fff !important;
    padding: 4px 12px !important;
    border-radius: var(--bb-radius-sm) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    z-index: 2 !important;
}

/* Hide clutter */
ul.products li.product .stock,
ul.products li.product p.stock,
ul.products li.product .below-product-trust,
ul.products li.product .price .woocommerce-Price-label,
ul.products li.product .price > small {
    display: none !important;
}


/* =============================================
   PRODUCT GRID — Mobile
   ============================================= */
@media (max-width: 992px) {
    ul.products:not(.columns-6) {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
        margin-left: 0 !important;
    }
    ul.products:not(.columns-6) li.product {
        width: 100% !important;
        margin: 0 !important;
        float: none !important;
        padding: 0 !important;
    }
    ul.products:not(.columns-6) li.product .woocommerce-card__header {
        padding: 8px 10px !important;
    }
    ul.products:not(.columns-6) li.product p.product__categories {
        font-size: 10px !important;
        margin-top: 6px !important;
        margin-bottom: 2px !important;
    }
    ul.products:not(.columns-6) li.product .woocommerce-loop-product__title {
        font-size: 12px !important;
        min-height: auto !important;
        margin-bottom: 3px !important;
    }
    ul.products:not(.columns-6) li.product .price { font-size: 13px !important; }
    ul.products:not(.columns-6) li.product .button,
    ul.products:not(.columns-6) li.product .add_to_cart_button {
        opacity: 1 !important;
        transform: none !important;
        width: calc(100% - 20px) !important;
        font-size: 12px !important;
        padding: 8px 12px !important;
        margin: 5px 10px 10px !important;
        box-sizing: border-box !important;
        background: var(--bb-primary) !important;
        color: #fff !important;
        border-radius: var(--bb-radius-sm) !important;
        text-align: center !important;
    }
}


/* =============================================
   SALE BANNER (dark section)
   ============================================= */
.bb-sale-banner {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    position: relative !important;
    overflow: hidden !important;
}
.bb-sale-banner::before {
    content: "" !important;
    position: absolute !important;
    top: -50% !important;
    right: -15% !important;
    width: 400px !important;
    height: 400px !important;
    background: radial-gradient(circle, rgba(220,38,38,0.08) 0%, transparent 70%) !important;
    border-radius: 50% !important;
    pointer-events: none !important;
}
.bb-sale-products {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

/* =============================================
   REVIEWS
   ============================================= */
.bb-reviews-section {
    background: #fff !important;
    border-top: 1px solid var(--bb-border) !important;
}


/* =============================================
   BUTTONS — Global
   ============================================= */
.button, button, input[type=button], input[type=submit] {
    border-radius: var(--bb-radius-sm) !important;
    font-family: var(--bb-font-body) !important;
    transition: all var(--bb-transition) !important;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: var(--bb-primary) !important;
    color: #fff !important;
    border: none !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background: var(--bb-primary-hover) !important;
}

/* Elementor buttons */
.elementor-button,
.elementor-button-wrapper .elementor-button {
    background-color: var(--bb-primary) !important;
    border-radius: var(--bb-radius-sm) !important;
}
.elementor-button:hover {
    background-color: var(--bb-primary-hover) !important;
}

/* Outline button */
.bb-outline-btn .wp-block-button__link {
    transition: all var(--bb-transition) !important;
    font-family: var(--bb-font-heading) !important;
}
.bb-outline-btn .wp-block-button__link:hover {
    background: var(--bb-text) !important;
    color: #fff !important;
    border-color: var(--bb-text) !important;
}


/* =============================================
   SINGLE PRODUCT PAGE
   ============================================= */
.single-product div.product .summary h1.product_title {
    font-size: 26px !important;
    font-weight: 700 !important;
    font-family: var(--bb-font-heading) !important;
    line-height: 1.3 !important;
    color: var(--bb-text) !important;
    border: none !important;
    padding-bottom: 8px !important;
}
.single-product .summary .price {
    font-size: 24px !important;
    font-weight: 700 !important;
    border: none !important;
    padding: 0 !important;
}
.single-product .summary .price del {
    color: #9CA3AF !important;
    font-weight: 400 !important;
    font-size: 16px !important;
}
.single-product .summary .price ins {
    color: var(--bb-primary) !important;
    text-decoration: none !important;
}
.single-product .summary .single_add_to_cart_button {
    background: var(--bb-primary) !important;
    border-radius: var(--bb-radius) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 15px 30px !important;
    transition: all var(--bb-transition) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border: none !important;
}
.single-product .summary .single_add_to_cart_button:hover {
    background: var(--bb-primary-hover) !important;
    transform: translateY(-1px) !important;
    box-shadow: var(--bb-shadow-md) !important;
}
.single-product .woocommerce-product-gallery img {
    border-radius: var(--bb-radius) !important;
}


/* =============================================
   SIDEBAR
   ============================================= */
#secondary .widget {
    background: var(--bb-card) !important;
    border: 1px solid var(--bb-border) !important;
    border-radius: var(--bb-radius) !important;
    padding: 20px !important;
}


/* =============================================
   FOOTER
   ============================================= */
footer.site-footer {
    background: var(--bb-secondary) !important;
    border-top: none !important;
}
footer.site-footer .widget-title,
footer.site-footer h2 {
    color: #fff !important;
    font-family: var(--bb-font-heading) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin-bottom: 18px !important;
}
footer.site-footer li,
footer.site-footer p {
    font-size: 13px !important;
    line-height: 1.8 !important;
    color: #94a3b8 !important;
}
footer.site-footer a {
    color: #94a3b8 !important;
    transition: color var(--bb-transition) !important;
}
footer.site-footer a:hover { color: #fff !important; }
footer.copyright {
    background: #0F172A !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
    padding: 12px !important;
}


/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */
.bb-whatsapp-float {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    z-index: 9999 !important;
    width: 56px !important;
    height: 56px !important;
    background: #25D366 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
}
.bb-whatsapp-float:hover {
    transform: scale(1.08) translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4) !important;
}
.bb-whatsapp-float svg {
    width: 28px !important;
    height: 28px !important;
    fill: #fff !important;
}


/* =============================================
   PAGE STYLES
   ============================================= */
.page-id-2635 .entry-content {
    max-width: 680px !important;
    margin: 0 auto !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
}
.page-id-2635 .entry-content h2 {
    text-align: left !important;
    font-size: 28px !important;
    color: var(--bb-text) !important;
}
.page-id-73 .entry-content {
    max-width: 680px !important;
    margin: 0 auto !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
    font-size: 12px !important;
    color: var(--bb-text-muted) !important;
    padding: 0 0 20px !important;
}


/* =============================================
   CHECKOUT
   ============================================= */
#place_order,
.woocommerce #payment #place_order {
    background: var(--bb-success) !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    border-radius: var(--bb-radius) !important;
    padding: 16px 30px !important;
    width: 100% !important;
    border: none !important;
    transition: all var(--bb-transition) !important;
}
#place_order:hover {
    background: var(--bb-success-hover) !important;
    transform: translateY(-1px) !important;
}


/* =============================================
   LINKS — Contextual
   ============================================= */
.entry-content a,
.woocommerce-breadcrumb a {
    color: var(--bb-primary) !important;
}
.entry-content a:hover,
.woocommerce-breadcrumb a:hover {
    color: var(--bb-primary-hover) !important;
}
/* Don't force link colors in these areas */
.main-navigation a,
footer.site-footer a,
ul.products li.product a,
.wp-block-cover a {
    color: inherit !important;
}


/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes bb-fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.bb-categories-section,
.bb-new-arrivals,
.bb-best-sellers,
.bb-sale-banner,
.bb-reviews-section {
    animation: bb-fadeUp 0.5s ease-out !important;
}


/* =============================================
   MOBILE
   ============================================= */
@media (max-width: 768px) {
    .top-bar-left, .top-bar-right { display: none !important; }
    .top-bar-center { text-align: center !important; flex: 1 !important; }
    .bb-sale-banner h2 { font-size: 26px !important; }
    .col-full-nav { border-bottom: none !important; box-shadow: none !important; }
}


/* =============================================
   STICKY ATC
   ============================================= */
.commercekit-sticky-atc .single_add_to_cart_button,
.commercekit-pdp-sticky-inner .single_add_to_cart_button {
    font-size: 0 !important;
    background: var(--bb-primary) !important;
    border-radius: 25px !important;
}
.commercekit-sticky-atc .single_add_to_cart_button::after,
.commercekit-pdp-sticky-inner .single_add_to_cart_button::after {
    content: "Buy Now" !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}


/* =============================================
   ELEMENT OVERRIDES
   ============================================= */

/* WhatsApp product button */
.productwhatsapp {
    border-radius: var(--bb-radius) !important;
    border: 1px solid #d1e7dd !important;
    background: #f0fdf4 !important;
    transition: all var(--bb-transition) !important;
}
.productwhatsapp:hover {
    background: #dcfce7 !important;
    border-color: #86efac !important;
}

/* Warranty widget */
.warranty-widget {
    border-radius: var(--bb-radius-sm) !important;
    background: var(--bb-bg) !important;
    font-size: 13px !important;
}

/* Payment discounts */
.single-product .payment-method-discounts {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
}
.single-product .payment-method-discounts .grouped-methods {
    padding: 12px !important;
    border: 1px solid var(--bb-border) !important;
    border-radius: var(--bb-radius) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 6px !important;
    font-size: 12px !important;
}

/* Koko hide */
.koko, .single-product .koko { display: none !important; }

/* Variation swatches */
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item) {
    border: 1px solid var(--bb-border) !important;
    border-radius: var(--bb-radius-sm) !important;
    background: var(--bb-bg) !important;
    box-shadow: none !important;
}

/* WooCommerce tabs */
.woocommerce-tabs ul.tabs li a {
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: var(--bb-font-heading) !important;
    color: var(--bb-text-muted) !important;
}
.woocommerce-tabs ul.tabs li.active a {
    color: var(--bb-primary) !important;
}

/* Bulk offer */
span.bulk-offer {
    background: var(--bb-primary-light) !important;
    border: 1px dashed var(--bb-primary) !important;
    border-radius: var(--bb-radius) !important;
    font-weight: 600 !important;
}

/* Progress bar */
.shoptimizer-free-shipping .progress-bar {
    background-color: var(--bb-primary) !important;
}

/* Mini cart */
.widget_shopping_cart .button.checkout,
.woocommerce .widget_shopping_cart .buttons .button {
    background: var(--bb-primary) !important;
    color: #fff !important;
}

/* Below header bar */
.below-header-wrapper {
    background: var(--bb-primary) !important;
}
.below-header-wrapper, .below-header-wrapper a {
    color: #fff !important;
}
