/**
 * COMPARE TABLE - BUTTONS STYLING (STRONGER SELECTORS)
 * Plik: assets/css/compare.css
 */

/* ==========================================
   PRZYCISKI W TABELI COMPARE - MOCNIEJSZE
   ========================================== */

/* Przyciski w wierszu dodaj do koszyka */
#yith-woocompare-table tr.add_to_cart .add_to_cart_button,
#yith-woocompare-table tr.add_to_cart .button,
#yith-woocompare-table tr.repeated.add_to_cart .add_to_cart_button,
#yith-woocompare-table tr.repeated.add_to_cart .button,
#yith-woocompare-table .add_to_cart_wrap .add_to_cart_button,
#yith-woocompare-table .add_to_cart_wrap .button,
table#yith-woocompare-table .button.add_to_cart_button,
table#yith-woocompare-table a.button {
    background: #FDA635 !important;
    background-color: #FDA635 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    line-height: 1.4 !important;
}

/* Hover state */
#yith-woocompare-table tr.add_to_cart .add_to_cart_button:hover,
#yith-woocompare-table tr.add_to_cart .button:hover,
#yith-woocompare-table tr.repeated.add_to_cart .add_to_cart_button:hover,
#yith-woocompare-table tr.repeated.add_to_cart .button:hover,
#yith-woocompare-table .add_to_cart_wrap .add_to_cart_button:hover,
#yith-woocompare-table .add_to_cart_wrap .button:hover,
table#yith-woocompare-table .button.add_to_cart_button:hover,
table#yith-woocompare-table a.button:hover {
    background: #FF6B35 !important;
    background-color: #FF6B35 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(253, 166, 53, 0.3) !important;
}

/* Przyciski w górnej części (product_info) */
#yith-woocompare-table tr.product_info .add_to_cart_wrap .button,
#yith-woocompare-table tr.product_info .add_to_cart_wrap .add_to_cart_button {
    background: #FDA635 !important;
    background-color: #FDA635 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
}

#yith-woocompare-table tr.product_info .add_to_cart_wrap .button:hover,
#yith-woocompare-table tr.product_info .add_to_cart_wrap .add_to_cart_button:hover {
    background: #FF6B35 !important;
    background-color: #FF6B35 !important;
}

/* ==========================================
   PRZYCISK USUŃ (X)
   ========================================== */
#yith-woocompare-table .remove a {
    color: #666666 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

#yith-woocompare-table .remove a:hover {
    color: #E63946 !important;
}

#yith-woocompare-table .remove span.remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    background: #F5F5F5 !important;
    border-radius: 50% !important;
    margin-right: 5px !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
}

#yith-woocompare-table .remove a:hover span.remove {
    background: #FFEBEE !important;
    color: #E63946 !important;
}

/* ==========================================
   PREVIEW BAR (STICKY) - PRZYCISK
   ========================================== */
#yith-woocompare-preview-bar .yith-woocompare-open,
#yith-woocompare-preview-bar footer .button,
#yith-woocompare-preview-bar footer a.button {
    background: #FDA635 !important;
    background-color: #FDA635 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 28px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

#yith-woocompare-preview-bar .yith-woocompare-open:hover,
#yith-woocompare-preview-bar footer .button:hover,
#yith-woocompare-preview-bar footer a.button:hover {
    background: #FF6B35 !important;
    background-color: #FF6B35 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(253, 166, 53, 0.3) !important;
}

/* ==========================================
   FIX - Usuń szare tło z przycisków
   ========================================== */
#yith-woocompare-table .button,
#yith-woocompare-table .add_to_cart_button {
    background-image: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

#yith-woocompare-table .button:hover,
#yith-woocompare-table .add_to_cart_button:hover {
    background-image: none !important;
    text-shadow: none !important;
}