
/**
 * @see https://stackoverflow.com/questions/9328832/how-to-apply-specific-css-rules-to-chrome-only
 */

@media screen and (-webkit-min-device-pixel-ratio:0) {

    .woocommerce label, .woocommerce-form label, .wc_payment_method {
        position: relative;
        margin: 0;
        line-height: 1.5 !important;
    }

    /* ========================================================================== */

    .woocommerce label.checkbox,
    .woocommerce .mc4wp-checkbox label,
    .woocommerce .woocommerce-form__label-for-checkbox
    {
        display: block !important;
        padding-left: 30px !important;
        line-height: 1.5 !important;
        text-transform: none !important;
        cursor: pointer;
        font-size: 1rem;
    }
    .woocommerce label.checkbox span {
    }
    .woocommerce input[type="checkbox"] {
        display: flex;
        margin: 0 !important;
        cursor: pointer;
        -webkit-appearance: none;
        appearance: none;
        /* Safari */
        border: none;
        height: 0;
        background: transparent;
    }
    .woocommerce input[type="checkbox"] + label {
        cursor: pointer;
    }
    .woocommerce input[type="checkbox"]:before {
        position: absolute;
        top: 0;
        left: 0;
        content: '';
        width: 25px;
        height: 25px;
        background: #f2f3f6;
        border: 2px solid #5c5c5c;
        border-radius: 3px;
        transition: all .3s ease;
    }
    .woocommerce label:hover input[type="checkbox"]:before {
        border-color: #5c5c5c;
        background: #5c5c5c;
    }
    .woocommerce input[type="checkbox"]:checked:before {
        border-color: #9cc536 !important;
        background: #9cc536 !important;
    }
    .woocommerce input[type="checkbox"]:after {

    }
    .woocommerce input[type="checkbox"]:checked:after {
        position: absolute;
        left: 8px;
        top: 3px;
        content: '';
        width: 10px;
        height: 15px;
        border: solid #fff;
        border-width: 0 3px 3px 0;
        transform: rotate(45deg);
    }

    /* ========================================================================== */

    .woocommerce input[type="radio"] {
        margin: 0 !important;
        padding-left: 30px;
        cursor: pointer;
        -webkit-appearance: none;
        appearance: none;
        /* Safari */
        border: none;
        background: transparent;
    }
    .woocommerce input[type="radio"] + label {
        cursor: pointer;
    }
    .woocommerce input[type="radio"]:before {
        position: absolute;
        top: 0;
        left: 0;
        content: '';
        width: 25px;
        height: 25px;
        background: #fff;
        border: 1px solid #939499;
        border-radius: 100%;
        transition: all .3s ease;
    }
    input[type="radio"]:hover:before,
    .woocommerce label:hover input[type="radio"]:before
    {
        background: #f2f3f6;
    }
    .woocommerce input[type="radio"]:checked:before {
    }
    .woocommerce input[type="radio"]:after {
    }
    .woocommerce input[type="radio"]:checked:after {
        position: absolute;
        left: 6px;
        top: 6px;
        content: '';
        width: 13px;
        height: 13px;
        background: #9cc536;
        border-radius: 100%;
    }

}