/* Hide the buttons on all devices by default */
body div.elementor.elementor-location-archive.product div div.elementor-element.e-con-full.e-flex.e-con.e-child div div div button,
button.btn.btn-primary.yith-wcan-filters-opener.enhanced {
    display: none;
}

/* Show the buttons on mobile devices (screens smaller than 768px) */
@media (max-width: 767px) {
    body div.elementor.elementor-location-archive.product div div.elementor-element.e-con-full.e-flex.e-con.e-child div div div button,
    button.btn.btn-primary.yith-wcan-filters-opener.enhanced {
        display: block;
    }
}
/* Convert h2 headings in cookie banner to regular paragraphs visually */
#cookie-law-info-bar h2, 
#cookie-law-info-bar h3,
#cookie-law-info-bar h4,
#cookie-law-info-bar h5 {
    font-size: 1em;
    font-weight: normal;
    margin: 0;
    padding: 0;
    display: inline;
}
/* WooCommerce terms checkbox — force visibility */
.woocommerce form.checkout #terms.input-checkbox,
.woocommerce-checkout input#terms[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #333;
    border-radius: 3px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    margin-right: 8px;
    display: inline-block;
    box-shadow: none;
    opacity: 1;
}

/* Hover state */
.woocommerce form.checkout #terms.input-checkbox:hover,
.woocommerce-checkout input#terms[type="checkbox"]:hover {
    border-color: #000;
}

/* Checked state — draws the checkmark */
.woocommerce form.checkout #terms.input-checkbox:checked,
.woocommerce-checkout input#terms[type="checkbox"]:checked {
    background-color: #333;
    border-color: #333;
}

.woocommerce form.checkout #terms.input-checkbox:checked::after,
.woocommerce-checkout input#terms[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Focus state for accessibility */
.woocommerce form.checkout #terms.input-checkbox:focus,
.woocommerce-checkout input#terms[type="checkbox"]:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}