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

.wpf_hide_text li label{border: 1px solid #ccc !important;}
.wpf_layout_horizontal .wpf_items_group {z-index: 9999 !important;overflow: visible !important;}


.wpf_custom_selection_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 10px 0;
    border-top: 1px dashed #eee;
}

.wpf_custom_selection_tags span {
    font-size: 11px;
    text-transform: capitalize;
    display: flex;
    align-items: center;
}


/** .wpf_item:has(input:checked) .wpf_items_group {
    display: block !important;
}**/


.wpf_layout_horizontal .wpf_items_group {
padding: 40px 10% !important; 
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important; 
    gap: 20px 30px !important; 
    box-sizing: border-box !important;
    border-top: 1px solid #000 !important; 
}


.wpf_item .wpf_items_group ul.wpf_column_horizontal {
    display: contents !important; 
}


.wpf_item .wpf_items_group ul li {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}


.wpf_item input[type=checkbox] {
	-webkit-appearance: none; 
    border-radius: 50% !important; 
    border: 1px solid #ccc !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 12px !important;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s ease;
}

.wpf_item input[type=checkbox]:checked {
    background: #000 !important;
    border-color: #000 !important;
}


.wpf_item label {
    font-size: 14px !important;
    color: #333 !important;
    font-weight: 400 !important;
}


.wpf_color_icons li {
    display: flex !important;
    align-items: center !important;
    overflow: visible !important; 
}


.wpf_color_icons li label {
    position: relative !important;
    display: inline-flex !important; 
    align-items: center !important;
    width: 22px !important;  
    height: 22px !important; 
    border-radius: 50% !important;
    flex-shrink: 0 !important; 
    font-size: 0 !important;   
    border: 1px solid #e5e5e5 !important;
    cursor: pointer;
    margin-right: 45px !important; 
}


.wpf_color_icons li .wpf_tooltip {
    position: absolute !important; 
    left: 32px !important;        
    top: 50% !important;
    transform: translateY(-50%) !important;
    visibility: visible !important; 
    opacity: 1 !important;
    font-size: 14px !important;
    color: #333 !important;
    background: transparent !important; 
    padding: 0 !important;
    box-shadow: none !important;
    white-space: nowrap !important; 
    pointer-events: none !important;
	margin-top: 0px;
}


.wpf_color_icons li .wpf_tooltip::after,
.wpf_color_icons li .wpf_tooltip::before {
    display: none !important;
    content: none !important;
    border: none !important;
}


@media screen and (max-width: 767px) {
    .wpf_layout_horizontal .wpf_items_group {
        grid-template-columns: repeat(2, 1fr) !important; 
        padding: 20px 5% !important; 
        gap: 15px 10px !important;   
    }

    .wpf_color_icons li label {
        margin-right: 35px !important; 
    }

    .wpf_color_icons li .wpf_tooltip {
        font-size: 13px !important; 
        left: 30px !important;      
    }
}


@media screen and (max-width: 380px) {
    .wpf_layout_horizontal .wpf_items_group {
        grid-template-columns: repeat(1, 1fr) !important; 
    }
}