/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.product-type-wgm_gift_card .price {
    margin: 0 !important;
}

.product-type-wgm_gift_card .price~.cart {
    padding-top: 0 !important;
}

.wps_wgm_added_wrapper {
    margin-bottom: 20px;
}

.wps_wgm_added_wrapper .wps_wgm_section .wps_wgc_label {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

#TB_window {
    left: 0 !important;
    margin: 0 auto !important;
    max-width: 600px !important;
    right: 0 !important;
    top: 10% !important;
    width: 95% !important;
    /*IOS issue(Mobile device)*/
    -webkit-overflow-scrolling: touch !important;
    z-index: 9999999;
}

#TB_window iframe#TB_iframeContent {
    margin: 0 auto;
    max-width: 600px;
    width: 100% !important;
    height: 480px !important;
}

@media only screen and (max-width: 640px) {
    #TB_window>iframe#TB_iframeContent {
        height: 400px !important;
    }

    /*IOS issue(Mobile device)*/
    #TB_window {
        height: 80vh;
        overflow-y: scroll;
    }
}

#wps_wgm_from_name {
    width: 99%;
}

#wps_wgm_to_download {
    width: 99%;
}

#wps_wgm_to_email {
    width: 99%;
    /* margin-bottom: 10px  !important; */
}

#wps_wgm_message {
    width: 99%;
}

/* custom css for redeem iframe*/
.wps_redeem_embed {
    width: 100%;
    height: 610px;
    display: block;
}

/*css for single product page on front end */
.wps_wgm_send_giftcard {
    margin-right: 5px;
}

.wps_wgm_msg_info,
.wps_wgm_msg_info_multiple_email {
    margin-top: 5px;
    margin-bottom: 3px;
    display: block;
    font-size: 13px;
}

.wps_wgm_msg_info_multiple_name {
    display: block;
    font-size: 13px;
    display: none;
}

#wps_wgm_to_name_optional {
    margin-top: 10px;
    width: 99%;
    display: none;
}

.wps_wgm_delivery_method {
    border: 1px solid #f1f1f1;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.12);
    margin-bottom: 25px;
    padding: 20px;
}

.wps_wgm_featured_img {
    margin-right: 12px;
    margin-bottom: 10px;
    border: solid 3px #d2d2d2;
    background-color: #00897b;
    float: left;
}

.wps_wgm_pre_selected_temp {
    border: 3px solid #2c2726 !important;
    border-radius: 5px;
    margin-right: 12px;
}

#wps_wgm_price {
    width: 99%;
}

#mwg_wgm_preview_email {
    font-weight: bold;
    letter-spacing: 1px;
    display: block;
    width: 99%;
    cursor: pointer;
}

.wps_wgm_selected_template {
    overflow: auto;
}

#wps_recharge_wallet_giftcard {
    width: unset !important;
    color: #fff !important;
}

.wps_wgm_min_user_price {
    display: none;
    color: red;
}

.wps_wgm_section select,
.wps_wgm_section input[type=text],
.wps_wgm_section textarea {
    min-height: 33px;
    color: #333333;
}

.wps_wgm_quantity_one_per_recipient {
    display: none;
}

/* / My Account start / */

.woocommerce-MyAccount-content .wps-wallet-field-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wps-wallet-field-container>label {
    text-align: left;
    font-size: 28px;
    font-weight: 300;
    line-height: 1.5;
}

.woocommerce-MyAccount-content .wps-wallet-field-container input[type=number],
.woocommerce-MyAccount-content .wps-wallet-field-container input[type=text],
.woocommerce-MyAccount-content .wps-wallet-field-container input[type=submit] {
    min-height: 30px;
    padding: 5px 10px;
    line-height: 1.5;
    max-width: 350px;
    margin: 0;

}



.woocommerce-MyAccount-content .wps-wallet-field-container input[type=submit] {
    max-width: fit-content;
    cursor: pointer;
}

/* / My Account end / */

/* New Amount input field start */
.wps_wgm_amount_input-box-wrap-main {
    display: inline-block;
    position: relative;
    margin-bottom: 20px;
}

label.wps_wgm_amount-label {
    display: block;
    font-size: 20px;
}

.wps_wgm_amount_input-box-wrap-outer {
    padding: 2px;
    border-radius: 10px;
    background-image: linear-gradient(292.19deg, #008BD2 27.7%, #A73463 78.79%) !important;
    display: inline-block;
    z-index: 1;
    position: relative;
}

.wps_wgm_amount_input-box-wrap {
    background: #181818;
    border-radius: 10px;
    padding-right: 6px;
}

.wps_wgm_amount_input-box-wrap .wps_enter_amount {
    font-size: 16px;
    color: #828282;
    padding: 25px;
    display: inline-block;
}

.wps_wgm_amount_input-box-wrap .wps_wgm_input-box-inner {
    border: 0;
    padding: 20px 10px;
    background: #fff;
    max-width: 120px;
    font-size: 16px;
    color: #181818;
    border-radius: 0 10px 10px 0;
    min-width: 100px;
    width: 100%;
}

.wps_wgm_amount_input-box-wrap .wps_wgm_input-box-inner:focus {
    outline: none;
}

.wps_wgm_amount_input-box-wrap .wps_wgm_input-box-inner::placeholder {
    color: #7c7c7c;
}

.wps_wgm_amount_input-box-wrap .wps_wgm_input-box-inner:focus::placeholder {
    opacity: 0;
}

.wps_wgm_amount_input-box-wrap-main .error-message {
    padding: 6px;
    border-radius: 0 0 10px 10px;
    background-color: #FF2860;
    max-width: 215px;
}

.wps_wgm_amount_input-box-wrap-main .error-message p {
    margin: 0;
    color: #fff;
}

.wps_wgm_amount_input-box-wrap-outer.error_border {
    background: #FF2860 !important;
    border-radius: 10px 10px 0 0;
}

.wps_wgm_amount_input-box-wrap-outer.error_border .wps_wgm_amount_input-box-wrap {
    background: #fff;
}

.wps_wgm_amount_input-box-wrap-outer.error_border .wps_wgm_amount_input-box-wrap .wps_wgm_input-box-inner {
    color: #FF2860;
}

.wps_wgm_amount_input-box-wrap-outer.error_border .wps_wgm_amount_input-box-wrap .wps_enter_amount {
    background: #181818;
    color: #fff;
    border-radius: 10px 0 0 10px;
}

/* New Amount input field end */

/* Custom CSS for Gift Card Template */
#wps-send-gift-wrapper {
    display: none;
}

#wps-back-button {
    cursor: pointer;
}

.wps-send-gift-wrapper-product:has(#wps-send-gift-wrapper.active-giftcard-temp)~div {
    display: none;
}

#giftcard-details-section .wps-cgw-wrapper-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    max-width: 1280px;
    margin: auto;
    padding: 48px 15px;
    align-items: flex-start;
}

#wps-send-gift-wrapper .giftcard-customizer h2.wps-cgw-heading {
    display: none;
}


#wps-send-gift-wrapper .giftcard-customizer .category-tabs button.tab,#wps-send-gift-wrapper .giftcard-customizer .delivery-tabs button {
    background: transparent;
    color: #000;
    font-weight: 400;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border: 1px solid var(--e-global-color-3600664);
}

#wps-send-gift-wrapper .giftcard-customizer .category-tabs button.tab.active,#wps-send-gift-wrapper .giftcard-customizer .delivery-tabs button.active {
    border-color: var(--e-global-color-accent);
    background: var(--e-global-color-accent);
    color: #fff;
}

.wps-cgw-gift-details h5 {
    margin: 25px 0 15px;
}

.wps-cgw-gift-details label {
    font-weight: 400;
    display: block;
    margin-bottom: 8px;
}

.wps-cgw-gift-details textarea, .wps-cgw-gift-details input[type=text],.wps-cgw-gift-details input[type=email],.wps-cgw-gift-details input[type=tel] {
    background: transparent;
    border: 1px solid var(--e-global-color-3600664);
    box-shadow: none;
    border-radius: 10px;
}

.section-header p {
    color: #555;
    margin-bottom: 20px;
}

.category-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.customizer-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

#giftcard-details-section .wps-cgw-wrapper-row .preview-area {
    border: none;
    background: #fff;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1;
    padding: 30px;
    border-radius: 10px;
}

#giftcard-details-section .wps-cgw-wrapper-row .preview-area img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    height: 100%;
}

.template-options {
    flex: 1;
    min-width: 400px;
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
}

.template-thumb {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.template-thumb:hover {
    border-color: #7e57c2;
}

.template-thumb.selected {
    border-color: #7e57c2;
    box-shadow: 0 0 0 2px #7e57c2;
}


.delivery-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    max-width: 800px;
    margin: auto;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}

.delivery-box p {
    margin-bottom: 5px;
}

.delivery-box p {
    margin-bottom: 20px;
    color: #666;
}

.delivery-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.delivery-tabs button.active {
    background: #7e57c2;
    color: white;
    border-color: #7e57c2;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
}

.form-note {
    color: #f97316;
    font-size: 13px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-note::before {
    content: "⚠️";
    font-size: 14px;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 200px;
}

/* Custom CSS for Gift Card Template */

/* Gutchien Product start */

.gu_hpc-amount h4.wps-sp_label {
    font-weight: 500;
    margin: 0 0 20px;
}

.gu_hpc-amount p.wps_wgm_digital_select {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gu_hpc-amount .elementor-product-wgm_gift_card {
    height: 100%;
}

.gu_hpc-amount .elementor-product-wgm_gift_card form {
    height: 100%;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
}

.gu_hpc-amount .elementor-product-wgm_gift_card form button.single_add_to_cart_button {
    /* flex: 1; */
}

.gu_hpc-amount .elementor-product-wgm_gift_card form .wps_wgm_section.wps_price_list {
    flex: 1;
}

.gu_hpc-amount p.wps_wgm_digital_select button {
    background: transparent;
    border-color: var(--e-global-color-3600664);
    color: var(--e-global-color-3600664);
    flex: 1 0 auto;
}

.gu_hpc-amount p.wps_wgm_digital_select button.selected,
.gu_hpc-amount p.wps_wgm_digital_select input#set_amount.selected {
    color: var(--e-global-color-primary);
    border-color: var(--e-global-color-primary);
}

.gu_hpc-amount p.wps_wgm_digital_select input#set_amount {
    order: 1;
    border-radius: 150px;
    border: 2px solid var(--e-global-color-3600664);
    background: transparent;
    color: var(--e-global-color-3600664);
    text-align: center;
    box-shadow: none;
    font-size: 16px;
    cursor: pointer;
}

.gu_hpc-amount label.wps_wgm_amount-label {
    font-size: 14px;
    margin: 0 0 5px;
    display: block;
    line-height: 1.5;
}

.wps_wgm_amount-wrap {
    border: 2px solid var(--e-global-color-3600664);
    border-radius: 150px;
    padding: 0 15px;
    font-size: 16px;
}

.wps_wgm_amount-wrap input[type=text] {
    margin: 0 0 0 2px;
    border: none;
    box-shadow: none;
    background: transparent;
    font-size: 16px;
    color: var(--e-global-color-text);
    padding: 14px 5px;
    min-width: 100px;
    width: auto;
    max-width: 120px;
}

.wps_wgm_amount-wrap input[type=text]:focus,
.gu_hpc-amount p.wps_wgm_digital_select input#set_amount:focus,.wps-cgw-gift-details textarea:focus, .wps-cgw-gift-details input[type=text]:focus,.wps-cgw-gift-details input[type=email]:focus,.wps-cgw-gift-details input[type=tel]:focus {
    outline: none;
    background: transparent;
}

.wps_wgm_amount_input-box-wrap-main {
    margin-bottom: 10px;
}

.elementor-product-wgm_gift_card button.single_add_to_cart_button {
    background: var(--e-global-color-primary);
    border-color: var(--e-global-color-primary);
    width: 100%;
}

.elementor-product-wgm_gift_card button.single_add_to_cart_button:hover {
    color: var(--e-global-color-primary);
    background: transparent;
    border-color: var(--e-global-color-primary);
}

.gu_r-banner-wrap .elementor-button {
    cursor: pointer;
}

/* Gutchien Product end */

.woocommerce-checkout #order_review_heading {
	display: none;
}
.woocommerce-checkout .woocommerce-additional-fields {
	display: none;
}
