/**
* Theme Name: Poco Child
* Description: This is a child theme of Poco, generated by Merlin WP.
* Author: <a href="https://pavothemes.com/">Duc Pham (Opal Team)</a>
* Template: poco
* Version: 1.7.0
*/

ul#shipping_method li {
    display: list-item;
}

#promo-choice-row li > label,
ul#shipping_method li > label {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
    line-height: 1;
}

#promo-choice-row li ~ li,
ul#shipping_method li ~ li {
    margin: 8px 0 0;
}

#promo-choice-row ul {
    list-style: none;
    margin-left: 0;
    margin-bottom: 0;
}

#promo-choice-row li > label {
    cursor: pointer;
}

#promo-choice-row li > label::after {
    font-family: "poco-icon";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    vertical-align: middle;
    content: "";
    margin-left: 0.5407911001em;
    -webkit-transition: color, ease, 0.2s;
    transition: color, ease, 0.2s;
}

#promo-choice-row li > input[type=radio]:first-child {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

#promo-choice-row input[type="radio"]:first-child:checked + label:after {
    color: var(--primary);
}

#promo-choice-row li > input[type=radio]:first-child:checked + label::after {
    font-weight: 700;
    content: "";
}

#billing_country_field {
    display: none !important;
}

body:has(#delivery-button-1:checked) #billing_state_field,
body:has(#delivery-button-1:checked) #billing_address_1_field {
    display: none !important;
}

body:has(#delivery-button-2:checked) #billing_local_pickup_field {
    display: none !important;
}

#billing_local_pickup_field.kv-show-row,
#billing_state_field.kv-show-row,
#billing_country_field.kv-show-row,
#billing_address_1_field.kv-show-row {
    display: block !important;
}

.woocommerce-terms-and-conditions-wrapper label,
.kv-cashback-wrap label,
#billing_call_field label.checkbox{
    display:flex;
    align-items:center;
    cursor:pointer;
    font-weight:500;
    user-select: none;
    gap: 0!important;
}

#payment .payment_methods li .payment_box {
    padding: 0 1em 1em;
}

.woocommerce-terms-and-conditions-wrapper input,
.kv-cashback-wrap input,
#billing_call_field input#billing_call.input-checkbox{
    -webkit-appearance:none;
    appearance:none;
    width:20px !important; height:20px;
    margin:0;
    margin-right:.6rem!important;
    border:2px solid #cfd6df;
    border-radius:6px;
    background:#fff;
    display:grid;
    place-content:center;
    transition: border-color .2s, background-color .2s, box-shadow .2s, transform .05s;
}

.woocommerce-terms-and-conditions-wrapper input::before,
.kv-cashback-wrap input::before,
#billing_call_field input#billing_call.input-checkbox::before{
    content:"";
    width: 6px;
    height: 10px;
    margin-top: -3px;
    transform: scale(0) rotate(45deg);
    transition: transform .18s ease-in-out;
    border-right:3px solid #fff;
    border-bottom:3px solid #fff;
}

.woocommerce-terms-and-conditions-wrapper input:hover,
.kv-cashback-wrap input:hover,
#billing_call_field input#billing_call.input-checkbox:hover{
    border-color: #e63946;
}
.woocommerce-terms-and-conditions-wrapper input:focus-visible,
.kv-cashback-wrap input:focus-visible,
#billing_call_field input#billing_call.input-checkbox:focus-visible{
    outline:none;
    box-shadow: 0 0 0 3px rgba(230,57,70,.25);
}
.woocommerce-terms-and-conditions-wrapper input:checked,
.kv-cashback-wrap input:checked,
#billing_call_field input#billing_call.input-checkbox:checked{
    background: #e63946;
    border-color: #e63946;
}
.woocommerce-terms-and-conditions-wrapper input:checked::before,
.kv-cashback-wrap input:checked::before,
#billing_call_field input#billing_call.input-checkbox:checked::before{
    transform: scale(1) rotate(45deg);
}
.woocommerce-terms-and-conditions-wrapper input:disabled,
.kv-cashback-wrap input:disabled,
#billing_call_field input#billing_call.input-checkbox:disabled{
    opacity:.55;
    cursor:not-allowed;
}

#billing_call_field .optional{
    display: none;
}

.kv-delivery-methods {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 10px;
}

.kv-delivery-method {
    flex: 1;
}

.kv-delivery-method input {
    display: none !important;
}

.kv-delivery-method label {
    margin: 0 0 10px;
    font-weight: 700;
    border: none;
    font-size: 11px;
    border-radius: 8px;
    background: none;
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
    cursor: pointer;
    padding: 0.875em 2.5em;
    text-decoration: none;
    text-shadow: none;
    display: inline-block;
    -webkit-appearance: none;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 2px 14px;
    width: 100%;
    border: 2px solid #BF1519;
}

.kv-delivery-method label img {
    height: 60px;
    width: auto;
}

.kv-delivery-method label.active {

}

.kv-delivery-method label.active img {
    filter: grayscale(1) invert(1);
}

.kv-delivery-method label:not(.active) img {

}

.kv-delivery-method label:not(.active) {
    background: transparent;
    border-color: #000;
    color: #000;
}

.wc_payment_methods li {
    border: 2px solid #000;
}

.wc_payment_methods li:first-child {
    border-radius: 8px 8px 0 0;
}

.wc_payment_methods li:last-child {
    border-radius: 0 0 8px 8px;
}

.wc_payment_methods li:has(input:checked) {
    background: #BF1519;
    border-color: #BF1519;
}

.wc_payment_methods li img {
    max-height: 60px !important;
    position: absolute;
    left: 14px;
    top: 50%;
    margin-top: -30px;
}

.wc_payment_methods li:has(input:checked) img {
    filter: grayscale(1) invert(1);
}

.wc_payment_methods li:has(input:checked) label {
    color: #fff !important;
}

#payment .payment_methods li:has(input:checked) .payment_box {
    color: #fff;
    text-align: left;
    padding-left: 100px !important;
}

#payment .payment_methods li > label {
    text-align: left;
    padding: 12px 12px 12px 100px !important;
}

#payment .payment_methods li > label::before {
    content: unset !important;
}

.kv-sum-notification {
    background-color: #d51116;
    margin-bottom:20px;
    padding: 1em 1.618em;
    border-radius: 2px;
    color: #fff;
    border-left: 0.6180469716em solid #b50e13;
}

body:has(#delivery-button-1:checked) .kv-sum-notification {
    display: none !important;
}

tr.woocommerce-shipping-totals {
    display: none !important;
}




.smush-detected-img {
    box-shadow: unset !important;
}



