.elementor-31695 .elementor-element.elementor-element-a9b2926{text-align:center;}.elementor-31695 .elementor-element.elementor-element-6fea0c2{text-align:center;}/* Start custom CSS for heading, class: .elementor-element-a9b2926 *//* 
 * CSS BLACK FRIDAY - OTTIMIZZATO PER MOBILE
 * Aggiungi questo CSS al tuo tema o al plugin
 */

/* ============================================
   FILTRI BLACK FRIDAY - LAYOUT MOBILE
   ============================================ */

.bf-smart-filters {
    margin: 30px 0;
    text-align: center;
    padding: 20px 15px;
    background: #ffffff;
    border-radius: 0;
    border: none;
}

/* Bottone base */
.bf-filter-btn {
    background: #ffffff;
    color: #2c3e50;
    border: 2px solid #e0e0e0;
    padding: 14px 20px;
    margin: 8px 4px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    line-height: 1.4;
}

.bf-filter-btn:hover {
    background: #f5f5f5;
    color: #1a1a1a;
    border-color: #999;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

.bf-filter-btn.active {
    background: #2c3e50;
    color: #ffffff;
    border-color: #2c3e50;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

/* Badge contatore */
.bf-filter-btn .bf-count {
    background: #f0f0f0;
    color: #666;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    margin-left: 8px;
    font-weight: 700;
    display: inline-block;
    vertical-align: middle;
}

.bf-filter-btn.active .bf-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Bottone "TUTTI I PRODOTTI" - Scuro di default */
.bf-filter-btn[data-category="0"] {
    background: #2c3e50;
    color: #ffffff;
    border-color: #2c3e50;
    font-weight: 800;
}

.bf-filter-btn[data-category="0"]:hover {
    background: #1a252f;
    border-color: #1a252f;
}

.bf-filter-btn[data-category="0"] .bf-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Loading */
.bf-loading-filters {
    padding: 20px;
    font-size: 15px;
    color: #666;
}

/* ============================================
   RESPONSIVE MOBILE - COME NELL'IMMAGINE
   ============================================ */

/* Tablet e sotto */
@media (max-width: 1024px) {
    .bf-smart-filters {
        padding: 20px 12px;
    }
    
    .bf-filter-btn {
        font-size: 12px;
        padding: 13px 18px;
        margin: 6px 3px;
    }
}

/* Mobile - LAYOUT 2 COLONNE */
@media (max-width: 768px) {
    .bf-smart-filters {
        padding: 15px 8px;
        margin: 20px 0;
    }
    
    .bf-filter-btn {
        width: calc(50% - 10px) !important;
        padding: 15px 12px !important;
        font-size: 11px !important;
        margin: 5px !important;
        display: inline-block !important;
        box-sizing: border-box !important;
        text-align: center;
        vertical-align: top;
        min-height: 60px;
    }
    
    .bf-filter-btn .bf-count {
        font-size: 10px;
        padding: 3px 10px;
        margin-left: 6px;
        display: inline-block;
    }
}

/* Mobile piccolo - MANTIENI 2 COLONNE */
@media (max-width: 480px) {
    .bf-smart-filters {
        padding: 12px 6px;
    }
    
    .bf-filter-btn {
        width: calc(50% - 8px) !important;
        padding: 14px 10px !important;
        font-size: 10px !important;
        margin: 4px !important;
        min-height: 65px;
        line-height: 1.3;
    }
    
    .bf-filter-btn .bf-count {
        font-size: 9px;
        padding: 2px 8px;
        margin-left: 5px;
        margin-top: 3px;
        display: block;
    }
}

/* Mobile extra piccolo */
@media (max-width: 360px) {
    .bf-filter-btn {
        width: calc(50% - 6px) !important;
        padding: 12px 8px !important;
        font-size: 9px !important;
        margin: 3px !important;
        min-height: 60px;
    }
}

/* ============================================
   GRIGLIA PRODOTTI - RESPONSIVE
   ============================================ */

.bf-products-grid {
    display: grid;
    gap: 30px;
    margin: 40px 0;
}

@media (min-width: 1200px) {
    .bf-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .bf-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .bf-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .bf-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .bf-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ============================================
   CARD PRODOTTO - MOBILE
   ============================================ */

.bf-product-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.bf-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #FFD700;
}

@media (max-width: 768px) {
    .bf-product-card {
        border-radius: 8px;
    }
    
    .bf-product-card:hover {
        transform: translateY(-3px);
    }
}

/* ============================================
   BADGE SCONTO
   ============================================ */

.bf-badge-container {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
}

.bf-discount-badge {
    background: linear-gradient(135deg, #FF0000, #000);
    color: #FFD700;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .bf-discount-badge {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* ============================================
   IMMAGINE PRODOTTO
   ============================================ */

.bf-product-image {
    position: relative;
    overflow: hidden;
    background: #f9f9f9;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.bf-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.bf-product-card:hover .bf-product-image img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .bf-product-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .bf-product-image {
        height: 250px;
    }
}

/* ============================================
   INFO PRODOTTO
   ============================================ */

.bf-product-info {
    padding: 20px;
}

.bf-product-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
    min-height: 42px;
}

.bf-product-title a {
    text-decoration: none;
    color: inherit;
}

.bf-product-sku {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .bf-product-info {
        padding: 15px;
    }
    
    .bf-product-title {
        font-size: 14px;
        min-height: 40px;
    }
    
    .bf-product-sku {
        font-size: 11px;
    }
}

/* ============================================
   PREZZI
   ============================================ */

.bf-product-prices {
    margin-bottom: 15px;
}

.bf-original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.bf-sale-price {
    color: #FF0000;
    font-size: 28px;
    font-weight: bold;
    display: block;
}

.bf-savings {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #fff;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 900;
    display: inline-block;
    margin-top: 10px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .bf-original-price {
        font-size: 14px;
    }
    
    .bf-sale-price {
        font-size: 24px;
    }
    
    .bf-savings {
        font-size: 11px;
        padding: 6px 10px;
    }
}

/* ============================================
   BOTTONE AGGIUNGI CARRELLO
   ============================================ */

.bf-add-to-cart {
    width: 100%;
    background: linear-gradient(135deg, #FFDD00 0%, #FFC700 100%);
    color: #000;
    border: 2px solid #FFB800;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.bf-add-to-cart:hover {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    color: #FFDD00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .bf-add-to-cart {
        padding: 12px 20px;
        font-size: 13px;
        border-radius: 20px;
    }
}

/* ============================================
   STATO STOCK
   ============================================ */

.bf-stock-status {
    margin-top: 10px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
}

.bf-in-stock {
    color: #46b450;
}

.bf-low-stock {
    color: #FF6B00;
}

.bf-out-of-stock {
    color: #dc3232;
}

@media (max-width: 768px) {
    .bf-stock-status {
        font-size: 12px;
    }
}

/* ============================================
   BADGE BLACK FRIDAY GLOBALE
   ============================================ */

.bf-badge {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%) !important;
    color: #FFD700 !important;
    padding: 6px 12px !important;
    border-radius: 5px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    margin-left: 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
    display: inline-block !important;
}

@media (max-width: 768px) {
    .bf-badge {
        font-size: 9px !important;
        padding: 4px 10px !important;
    }
}

/* ============================================
   BADGE SALE PERCENTUALE
   ============================================ */

.product-type-simple .onsale,
.product-type-variable .onsale {
    background: linear-gradient(135deg, #FF0000, #8B0000) !important;
    color: #FFD700 !important;
    font-weight: 900 !important;
    min-width: 55px;
    min-height: 55px;
    line-height: 55px;
    border-radius: 50% !important;
    text-align: center;
    font-size: 16px !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
    border: 3px solid #FFD700;
}

@media (max-width: 768px) {
    .product-type-simple .onsale,
    .product-type-variable .onsale {
        min-width: 45px;
        min-height: 45px;
        line-height: 45px;
        font-size: 14px !important;
        border-width: 2px;
    }
}

/* ============================================
   UTILITÀ
   ============================================ */

/* Previeni overflow testo troppo lungo */
.bf-filter-btn,
.bf-product-title {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Migliora leggibilità su schermi piccoli */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
}

/* Fix per temi che potrebbero interferire */
.bf-filter-btn * {
    box-sizing: border-box;
}

.bf-products-grid * {
    box-sizing: border-box;
}/* End custom CSS */