/* ============================================================================
   MOHAWK MEDIBLES - VISUAL IMPROVEMENTS
   Date: 2026-03-20
   Loaded at priority 999 to override parent theme button.css
   ============================================================================ */

/* --- Add to Cart Button: Override CSS variable approach --- */
.elbzotech-bt-style2.ajax_add_to_cart {
    --bzo-main-color: #28a745 !important;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 32px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3) !important;
}
.elbzotech-bt-style2.ajax_add_to_cart:hover,
.elbzotech-bt-style2.ajax_add_to_cart:focus {
    --bzo-main-color: #20c997 !important;
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.45) !important;
    color: #fff !important;
    border: none !important;
}

/* --- Buy Now Button: Dark secondary --- */
.single_add_to_cart_button.button.alt {
    background: #1a1a1a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
}
.single_add_to_cart_button.button.alt:hover {
    background: #333 !important;
}

/* --- Sale Price: Green and bold --- */
.price ins .woocommerce-Price-amount,
.summary .price ins {
    color: #28a745 !important;
    font-weight: 800 !important;
}
.price del {
    opacity: 0.4 !important;
    font-size: 0.85em !important;
}

/* --- Sale Badge: Red glow --- */
.onsale, span.onsale {
    background: linear-gradient(135deg, #ff4444, #cc0000) !important;
    color: #fff !important;
    font-weight: 800 !important;
    box-shadow: 0 2px 10px rgba(255, 68, 68, 0.4) !important;
    border: none !important;
}

/* --- Product Gallery: Rounded with shadow --- */
.woocommerce-product-gallery {
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

/* --- Product Cards: Hover lift --- */
li.product,
.type-product {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
li.product:hover,
.type-product:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
}

/* --- Brand Logos: Grayscale to color on hover --- */
.elbzotech-brand-item img {
    transition: all 0.3s ease !important;
    filter: grayscale(30%) !important;
}
.elbzotech-brand-item:hover img {
    filter: grayscale(0%) !important;
    transform: scale(1.05) !important;
}

/* --- Category Circles: Hover glow --- */
.elbzotech-product-category-extra .item-product-cate {
    transition: all 0.4s ease !important;
}
.elbzotech-product-category-extra .item-product-cate:hover {
    transform: scale(1.08) !important;
}
.elbzotech-product-category-extra .item-product-cate:hover img {
    box-shadow: 0 0 25px rgba(40, 167, 69, 0.35), 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* --- Search Bar: Rounded with focus glow --- */
.header-main input[type="search"] {
    border-radius: 25px !important;
    border: 2px solid #e0e0e0 !important;
    transition: all 0.3s ease !important;
}
.header-main input[type="search"]:focus {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15) !important;
}

/* --- E-Transfer Notice: Subtler dark bar --- */
.woocommerce-store-notice {
    background: #1a1a1a !important;
    font-size: 13px !important;
    padding: 8px 20px !important;
    letter-spacing: 0.3px !important;
}

/* --- Wishlist Heart: Red on hover --- */
.add-to-wishlist a:hover,
.yith-wcwl-add-to-wishlist a:hover {
    color: #ff4444 !important;
}

/* --- Shop page Add to Cart buttons in grid --- */
.elbzotech-bt-style2 {
    --bzo-main-color: #28a745 !important;
}

/* --- Product Card Hover Lift (theme-specific classes) --- */
.item-product {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.item-product:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
}

/* --- Grid Select Options / Add to Cart buttons --- */
.elbzotech-bt-style2,
a.elbzotech-bt-style2 {
    --bzo-main-color: #28a745 !important;
}

/* --- Smooth image zoom on product hover --- */
.product-thumb img {
    transition: transform 0.5s ease !important;
}
.item-product:hover .product-thumb img {
    transform: scale(1.03) !important;
}

/* --- Star ratings: green fill --- */
.star-rating span::before {
    color: #28a745 !important;
}


/* ============================================================================
   LIGHTHOUSE ACCESSIBILITY FIXES - 2026-03-20
   ============================================================================ */

/* Touch targets: Ensure minimum 48x48px */
button.button-layout-flex-e.elbzotech-text-bt-search {
    min-width: 48px !important;
    min-height: 48px !important;
    padding: 12px !important;
}

.elbzotech-list-link-global-inline a.item-link {
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
}

/* Focus visible outlines */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid #28a745 !important;
    outline-offset: 2px !important;
}
