/* Custom CSS to increase Province field and not Clip off British Columbia on Cart page */

.select2-container--default .select2-selection--single {
    width: 100% !important;
    min-width: 200px;
}

/* Default state - white */
.wpmenucart-icon-shopping-cart-0,
.cartcontents {
    color: #FFFFFF !important;
    transition: color 0.3s ease;
}

/* On hover - change to your custom color */
.menu-item:hover .wpmenucart-icon-shopping-cart-0,
.menu-item:hover .cartcontents {
    color: #008FA7 !important;
}

.elementor-shortcode {
    --primary-color: #007BFF;
    --primary-dark: #0056b3;
}

/* Style button elements inside the search form */
.elementor-shortcode .csl-search-form button {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 9999px !important;
    border: none !important;
    box-shadow: none !important;
    padding: 12px 24px !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.elementor-shortcode .csl-search-form button:hover {
    background-color: var(--primary-dark) !important;
}


/* Button row */
.avwp-av p:last-child {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
    margin-top: 20px;
}

/* Buttons */
.avwp-av button {
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 12px 22px !important;
    width: 40%;
    min-width: 110px;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    white-space: nowrap;
    color: #ffffff !important;
    transition: background-color 0.25s ease, transform 0.2s ease !important;
}

/* Yes button */
.avwp-av button.yes {
    background: #0d5c78 !important;
}

/* Yes button hover */
.avwp-av button.yes:hover {
    background: #1783a8 !important;
    transform: translateY(-1px);
}

/* No button */
.avwp-av button.no {
    background: #123247 !important;
}

/* No button hover */
.avwp-av button.no:hover {
    background: #1f5878 !important;
    transform: translateY(-1px);
}

/* Reset WooCommerce quantity input completely */
.quantity input.qty {
    appearance: textfield !important;
    -webkit-appearance: textfield !important;
    -moz-appearance: textfield !important;

    color: #000 !important;
    background: #fff !important;
    font-size: 16px !important;
    text-align: center !important;

    width: 55px !important;
    height: 40px !important;
    line-height: 40px !important;

    border: 1px solid #ccc !important;
    padding: 0 !important;
}

.ast-qty-placeholder.plus,
.ast-qty-placeholder.minus {
    cursor: pointer !important;
    transition: background 0.2s ease;
}

.ast-qty-placeholder.plus:hover,
.ast-qty-placeholder.minus:hover {
    background: #f2f2f2;
}

@media (max-width: 767px) {
    .csl-sw-wrapper .gm-style,
    .csl-sw-wrapper iframe[src*="google"],
    .csl-sw-wrapper div[id*="map"] {
        height: 320px !important;
        min-height: 320px !important;
        max-height: 320px !important;
    }
}

@media (max-width: 767px) {
    .csl-list-item .marker-link svg,
    .csl-list-item svg#Layer_1 {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .avwp-av {
        padding: 24px !important;
        max-width: 92vw !important;
    }

    .avwp-av p:last-child {
        flex-direction: column;
        gap: 10px;
    }

    .avwp-av button {
        width: 100% !important;
    }
}

.payment_box.payment_method_square_credit_card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 16px;
}

.woocommerce-cart-form button[name="update_cart"] {
    display: none !important;
}

.woocommerce-cart-form .actions {
    padding: 0 !important;
    border: 0 !important;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions {
    display: none !important;
}