/*
Theme Name: Shanghai Mama Custom Theme
Theme URI: 
Author: Nancheng
Author URI: 
Description: A custom theme for Shanghai Mama Cuzco
Version: 1.0
License: MIT
License URI: https://opensource.org/licenses/MIT
Text Domain: limppu-custom-theme
Template: blocksy
*/

.ct-dropdown,
.ct-dropdown .sub-menu,
.menu-item .sub-menu,
.sub-menu {
    background: #222 !important; /* dark background */
}

.ct-dropdown a, 
.ct-dropdown .sub-menu a, 
.main-navigation .sub-menu a {
    color: #fff !important; /* white text */
}



/* Cart page fix */



/* Checkout page fix */

.woocommerce {
    .woocommerce-message,
    .woocommerce-info {
        background: var(--theme-palette-color-1);
    }

    .woocommerce-info .showlogin {
        padding-right: 10px;
    }
}

/* Hide product image on checkout */
.woocommerce-checkout .wc-block-components-order-summary-item__image img {
    display: none;
}
.woocommerce-checkout .wc-block-components-order-summary-item__image {
    width: auto !important;
}
.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity {
    transform: translate(50%,100%) !important;
}
.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    background-color: var(--theme-palette-color-1);
}
.wc-block-components-address-card address .wc-block-components-address-card__address-section--secondary {
    color: var(--theme-palette-color-4);
}

.form-row.wpc_pro_order_time .woocommerce-input-wrapper label {
    margin-bottom: 0 !important;
}
/**Billing state */
#billing_state_field {
    display: none !important;
}
/* Delivery / Pickup hide date*/
.wpc_pro_delivery_section,
.wpc_pro_pickup_section {
    display: none !important;
}


/* Custom tip */
input#wpc_pro_custom_tip_amount, .wpc-custom-tip-input-group {
	background:#333;
}
#wpc_pro_order_tip_block {
    margin: 40px 0;

    h3 {
        font-size: 17px;
        color: var(--theme-heading-color, var(--theme-heading-3-color, var(--theme-headings-color)));
    }

    button {
        background-color: var(--theme-button-background-initial-color);
        /* border-color: var(--theme-button-background-initial-color); */
        border-width: 0;
        border-radius: 0;
        color: var(--theme-button-text-initial-color);
        font-family: var(--theme-button-font-family,var(--theme-font-family) );
        font-size: var(--theme-button-font-size);
        font-weight: var(--theme-button-font-weight);
    }
    button:hover {
        background-color: var(--theme-button-background-hover-color);
        transform: none;
        color: var(--theme-button-text-initial-color);
    }

    .wpc-tip-btn-active {
        box-shadow: none;
    }

    .wpc_pro_tip_type_custom_wrap {
        .wpc-currency-symbol {
            display: none;
        }
        .wpc-custom-tip-input-group {
            gap: 8px;
            background: transparent;
            border-width: 0;
            border-radius: 0;
            padding: 0;
            transition: none;
        }

        input {
            background-color: var(--has-classic-forms, var(--theme-form-field-background-initial-color));
        }

        input:focus {
            background-color: var(--has-classic-forms, var(--theme-form-field-background-focus-color));
        }

        .wpc-custom-tip-input-group:focus-within {
            border-color: transparent;
            box-shadow: none;
        }
    }

}

/* Payment */
#payment ul.payment_methods > li.wc_payment_method > label::before {
    /* border: solid var(--theme-form-selection-field-initial-color); */
    border-color: var(--theme-form-selection-field-active-color) !important;
    /* border: var(--form-selection-control-border-width, var(--theme-form-field-border-width, 1px)) solid var(--theme-form-selection-field-initial-color) !important; */
}

/* Mini Cart customization */
.wpc_cart_block {
    color: var(--theme-palette-color-5);
}
.wpc-minicart-wrapper .product_list_widget .mini_cart_item ,
.wpc-minicart-wrapper .wpc-coupon-wrapper .coupon_from .wpc-minicart-coupon-field,
.wpc-minicart-wrapper .product_list_widget .mini_cart_item .mini-cart-quantity-wrapper .quantity .qty {
    color: var(--theme-palette-color-5);
}

/* .wpc-minicart-wrapper .product_list_widget .mini_cart_item
.mini-cart-quantity-wrapper .quantity button {
    top: 1px !important;
}

.wpc-minicart-wrapper .product_list_widget .mini_cart_item
.mini-cart-quantity-wrapper .quantity button.plus {
    right: -15px !important;
}

.wpc-minicart-wrapper .product_list_widget .mini_cart_item 
.mini-cart-quantity-wrapper .quantity::after {
    right: -45px !important;
} */


.wpc-minicart-wrapper .product_list_widget .mini_cart_item {
    .mini-cart-quantity-wrapper {
        .quantity button {
            top: 1px !important;
        }
        .quantity button.plus {
            right: -15px !important;
        }
        .quantity::after {
            right: -45px !important;
        }
    }

    a:not(.remove) {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
}

.mini-cart-quantity-wrapper > .woocommerce-Price-amount {
    position: absolute;
    left: 120px;
    top: 19px;
}


/* Reservation form customization */
.wcf-reservation-style-1 > .wcf-reservation-form-item:nth-child(1),
.wcf-reservation-style-1 > .wcf-reservation-form-item:nth-child(3),
.wcf-reservation-style-1 > .wcf-reservation-form-item:nth-child(5) {
  display: inline-block;
  width: 48%;
  vertical-align: top;
}

.wcf-reservation-style-1 > .wcf-reservation-form-item:nth-child(1) .wcf-popover-btn {
    width: 100%;
}

.wcf-reservation-style-1 > .wcf-reservation-form-item:nth-child(2),
.wcf-reservation-style-1 > .wcf-reservation-form-item:nth-child(4),
.wcf-reservation-style-1 > .wcf-reservation-form-item:nth-child(6) {
  display: inline-block;
  width: 48%;
  vertical-align: top;
}

.wcf-reservation-style-1 > .wcf-reservation-form-item:nth-child(1),
.wcf-reservation-style-1 > .wcf-reservation-form-item:nth-child(3),
.wcf-reservation-style-1 > .wcf-reservation-form-item:nth-child(5) {
  margin-right: 4%;
}
