/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */


/* Final fine-tuning for the 'Calculate shipping' button size */
.woocommerce-cart-totals a.shipping-calculator-button,
.cart-subtotal + tr td a,
tr.shipping td a,
.woocommerce-shipping-totals a,
td[data-title="Shipping"] a {
    display: inline-block !important;      
    background-color: #ef4444 !important;  
    color: #ffffff !important;             
    padding: 7px 12px !important;          /* Shaved down vertical and horizontal padding */
    border-radius: 4px !important;         
    font-size: 15px !important;            
    text-transform: none !important;       
    letter-spacing: normal !important;     
    font-family: inherit !important;       
    font-weight: 500 !important;           
    text-decoration: none !important;      
    margin-top: 6px !important;
    text-align: center !important;
    line-height: 1 !important;             
    box-shadow: none !important;
    transition: all 0.2s ease-in-out !important;
}

/* Hover style state */
.woocommerce-cart-totals a.shipping-calculator-button:hover,
.cart-subtotal + tr td a:hover,
tr.shipping td a:hover,
.woocommerce-shipping-totals a:hover,
td[data-title="Shipping"] a:hover {
    background-color: #d32f2f !important;  
    color: #ffffff !important;
}


/* Hide the country selection field on the cart page shipping calculator */
.woocommerce-cart .shipping-calculator-form p#calc_shipping_country_field {
    display: none !important;
}

/* Overwrite structural mobile layout rules suppressing desktop titles */
.wpc-filters-section .wpc-filter-header,
.wpc-filters-widget-controls .wpc-filter-header,
.wpc-filter-layout-vertical .wpc-filter-header,
html body .wpc-filter-header {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    padding-top: 10px !important;
    padding-bottom: 5px !important;
}

/* Ensure the title text elements inside are forced visible, colored, bigger, and bold */
.wpc-filter-header h4, 
.wpc-filter-title {
    display: inline-block !important;
    visibility: visible !important;
    color: #111111 !important;     /* A slightly darker black for better contrast */
    font-size: 19px !important;     /* Increases the size (adjust this number if needed) */
    font-weight: 600 !important;    /* Makes the font bold */
    letter-spacing: -0.2px !important; /* Cleans up the spacing for a premium look */
}






