#custom-modal {
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

#custom-modal .learn-more-text {
    gap: 15px;
    display: flex;
    flex-direction: column;
}

#custom-modal .close {
    top: 10px;
    right: 15px;
    position: absolute;
}


#csp .row > div { height: auto; }
#csp .cs-row {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}
#csp .product-box {
    background: #9EBEFC;
    border-radius: 20px;
    padding-bottom: 20px;
    overflow: hidden;
    position: relative;
}
#csp .product-box .modal {
    position: absolute;
    border-radius: 20px;
    overflow-y: scroll;
}
#csp .product-box .modal-dialog {
    margin: 0;
    background: linear-gradient(0deg, #9ebefc, white);
    padding: 20px;
    z-index: 1;
    border-radius: 10px;
}
#csp .product-box .modal-header {
    padding: 0;
    border: 0;
    padding-bottom: 13px;
}
#csp .product-box .modal-header .btn-close {
    color: #263786 !important;
    font-size: 12px;
}
#csp .modal-header .btn-close:focus {
    box-shadow: none;
}
#csp .product-box .modal-body {
    padding: 0;
}
#csp .product-box .modal-content{
    border: none;
    background-color: transparent;
}
#csp .product-box-image {
    position: relative;
}

#csp .product-box h3 {
    
    color: #12247A;
    letter-spacing: -1.6px;
}
#csp .product-price {
    margin-top: 15px;
}
#csp .product-content a {
    text-decoration: none;
}
#csp .product-box .product-price h4 {
    color: #4757E1;
}
#csp .product-box .product-btns {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
}
#csp .product-box .product-btns .add-to-cart-custom {
    color: #334ED2;
    font-size: 17px;
    border: 2px solid #334ED2;
    padding: 8px 12px;
    border-radius: 50px;
    text-decoration: none;
    width: 100%;
    position: relative;
    text-align: left;
    background: transparent;
}
#csp .product-box .product-btns .add-to-cart-custom i {
    margin-left: 15px;
    position: absolute;
    top: 0;
    right: 13px;
    top: 12px;
}

#custom-modal .close span {
    width: 30px;
    height: 30px;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

#csp .product-box-image,
#csp .product-content {
    padding: 15px;
}

#csp .product-box .modal::-webkit-scrollbar {
    width: .5em;
}
 
#csp .product-box .modal::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
 
#csp .product-box .modal::-webkit-scrollbar-thumb {
  background-color: #334ED2;
  outline: 1px solid #334ED2;
}

/*Order Summary*/
#cart-page {opacity: 0;}
.fw-600 { font-weight: 600; }
#order-summary { gap: 40px; display: flex; flex-direction: column; }
#order-summary > .summary-box ul:is(.tv-subtotal) { padding-bottom:10px; }
#order-summary > .summary-box ul:is(.tv-summary) {border-bottom: 1px solid #3F5DF2;}
#cart-page .actions [name="update_cart"] { letter-spacing: 0; padding: 10px 20px !important; }
#order-summary > .summary-box ul { gap: 40px; display: flex; padding: 0 0 30px; flex-direction: column }
#order-summary > .summary-box .tv-subtotal span:has(.promo-code) { gap: 10px; display: flex; flex-direction: column; }
#order-summary > .summary-box .tv-subtotal .promo-code { margin: 0; cursor: pointer; font-size: 21px; line-height: 1.2; color: #3F5DF2; }


.custom-coupon > * { height: 40px; }
.tv-subtotal .promo-code input { opacity: 0; visibility: hidden; }
.summary-box:has(.tv-subtotal input:checked) .custom-coupon { display: flex; }
.custom-coupon button { color: #fff; padding: 10px 15px; background: #12247A; }
.custom-coupon {
    display: none;
    max-width: 330px;
    position: relative;
    align-items: center;
    justify-content: space-between;
}
.custom-coupon input { border: 0; margin: 0; padding: 10px; border-radius: 0; }

/*Checkout*/
.d-none { display:none !important; }
body:is(.woocommerce-checkout) #payment .woocommerce-privacy-policy-text p { margin: 0; }

body:is(.woocommerce-checkout) #customer_details > :last-child { width: 38%; }
body:is(.woocommerce-checkout) #customer_details > :first-child { width: 58%; }
body:is(.woocommerce-checkout) #customer_details { display: flex; flex-wrap: wrap; flex-direction: row; align-items: flex-start; justify-content: space-between; }

body:is(.woocommerce-checkout) .woocommerce-billing-fields__field-wrapper > * { float: none; clear: none; }
body:is(.woocommerce-checkout) .woocommerce-billing-fields__field-wrapper > :last-child { order: 4; width: 48%; }
body:is(.woocommerce-checkout) .woocommerce-billing-fields__field-wrapper > :first-child { order: 1; width: 48%; }
body:is(.woocommerce-checkout) .woocommerce-billing-fields__field-wrapper > :nth-child(2) { order: 2; width: 48%; }
body:is(.woocommerce-checkout) .woocommerce-billing-fields__field-wrapper > :nth-child(4) { order: 5; width: 100%; }
body:is(.woocommerce-checkout) .woocommerce-billing-fields__field-wrapper > :nth-child(5) { order: 6; width: 100%; }
body:is(.woocommerce-checkout) .woocommerce-billing-fields__field-wrapper > :nth-child(6) { order: 7; width: 100%; }
body:is(.woocommerce-checkout) .woocommerce-billing-fields__field-wrapper > :nth-child(7) { order: 8; width: 32.3%; }
body:is(.woocommerce-checkout) .woocommerce-billing-fields__field-wrapper > :nth-child(8) { order: 9; width: 32.3%; }
body:is(.woocommerce-checkout) .woocommerce-billing-fields__field-wrapper > :nth-child(9) { order: 10; width: 32.3%; }
body:is(.woocommerce-checkout) .woocommerce-billing-fields__field-wrapper > :nth-last-child(2) { order: 3; width: 48%; }
body:is(.woocommerce-checkout) .woocommerce-billing-fields__field-wrapper > :not(:nth-child(5)) { margin-bottom: 20px; }
body:is(.woocommerce-checkout) .woocommerce-billing-fields__field-wrapper { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; }
body:is(.woocommerce-checkout) .woocommerce-billing-fields__field-wrapper > :nth-child(3), body:is(.woocommerce-checkout) .woocommerce-billing-fields__field-wrapper > :nth-child(5) label { display: none; }
body:is(.woocommerce-checkout) #order_review #payment .place-order .woocommerce-form__label-for-checkbox, body:is(.woocommerce-checkout) #order_review #payment .place-order .woocommerce-form__label-for-checkbox ~ p { display: none; }

body:is(.woocommerce-checkout) #tv-billing-fields h2 {
    margin: 0;
    font-size: 56px;
    color: #3F5DF2;
    font-weight: 400;
    line-height: 1.2;
    font-family: AntaTrial-Regular !important;
    letter-spacing: -1px;
}



body:is(.woocommerce-checkout) #tv-billing-fields  .woocommerce-billing-fields__field-wrapper {
    margin: 0;
    border: 0;
}

body:is(.woocommerce-checkout) #tv-billing-fields .woocommerce-billing-fields__field-wrapper > *:not(:nth-child(5)) > label, 
body:is(.woocommerce-checkout) #tv-billing-fields .woocommerce-billing-fields__field-wrapper label > abbr {
    display: none;
}
body:is(.woocommerce-checkout) #tv-billing-fields .woocommerce-billing-fields__field-wrapper > p input, body:is(.woocommerce-checkout) #tv-billing-fields .woocommerce-billing-fields__field-wrapper > p  select ~ span .select2-selection--single {
    width: 100%;
    height: 51px;
    color: #000;
    border-radius: 100px;
    background-color: #BFD9FF !important;
    box-shadow: none;
    border: none;
    font-weight: 400;
    line-height: 1.2;
    font-family: AntaTrial-Regular !important;
    letter-spacing: -.60px;
    margin-top: 15px;
}
body:is(.woocommerce-checkout) #tv-billing-fields .woocommerce-billing-fields__field-wrapper > :nth-child(4) > label {
    margin: 35px 0 20px;
}

body:is(.woocommerce-checkout) #tv-billing-fields .woocommerce-billing-fields__field-wrapper > p {
    margin: 0;
}

body:is(.woocommerce-checkout) #tv-billing-fields > h3 {
    margin-bottom: 15px;
    margin-top: 50px;
}

body:is(.woocommerce-checkout) #tv-billing-fields .woocommerce-billing-fields__field-wrapper > * input::placeholder {
    color: #fff;
}

body:is(.woocommerce-checkout) #tv-billing-fields .woocommerce-billing-fields__field-wrapper > * select ~ span .select2-selection--single {
    color: #fff;
    display: flex;
    align-items: center;
}

body:is(.woocommerce-checkout) #tv-billing-fields .woocommerce-billing-fields__field-wrapper > * select ~ span {
    background: transparent !important;
}

#tv-billing-fields {
    max-width: 620px;
}

/*Single Product*/
body:is(.single-product) #tm-service textarea { height: 100px; }
body:is(.single-product) #tm-service input[type="text"] { height: 60px; }
body:is(.single-product) #tm-service .yes-currently { margin: 0; display:block; }
body:is(.single-product):not(.open-modal):has(.email-to-discuss) .cart { display: none; }
body:is(.single-product) .product:is(.product_cat-add-on) .variations td { position: relative; }
body:is(.single-product) .product:is(.product_cat-add-on) .price-container { margin: -10px 0 15px !important; }
body:is(.single-product) #tm-service { gap: 40px; padding: 0; display: flex; flex-direction: column; margin: 30px 0 !important; }
body:is(.single-product) .email-to-discuss img { opacity: .7; filter: invert(1); margin-left: 10px; mix-blend-mode: color-dodge; }
body:is(.single-product) .email-to-discuss ~ *, body:is(.single-product):has(.email-to-discuss) .price-container { display: none !important; }
body:is(.single-product) #tm-service input[type="text"]::placeholder, body:is(.single-product) #tm-service textarea::placeholder { color: #fff; }
body:is(.single-product) .product:is(.product_cat-add-on) .variations .reset_variations { right: 20px; margin: 0; padding: 0; bottom: -25px; position: absolute; }
body:is(.single-product) .product:is(.product_cat-add-on) .variations  select { font-size: 16px; color: #12247A; font-weight: 600; border: 1px solid; padding: 15px 20px; border-radius: 100px; }
body:is(.single-product) .product:is(.product_cat-add-on) .variations label[for="trademark-search"], body:is(.single-product) .product:is(.product_cat-add-on) .single_variation_wrap .single_variation > * { display: none; }
body:is(.single-product) #tm-service input[type="text"], body:is(.single-product) #tm-service textarea { border: 0; width: 100%; font-size: 18px; max-width: 552px; color: #12247A; border-radius: 26px; letter-spacing: -1px; padding: 10px 20px 10px; background: #BFD9FF !important; font-family: AntaTrial-Regular !important; }
body:is(.single-product) .email-to-discuss, body:is(.single-product) .add_to_cart_button { width: 100%; font-size: 18px; color: #BFD9FF; margin-top: 20px; max-width: 270px; font-weight: 400; padding: 23px 10px; letter-spacing: -1px; border-radius: 50px; background: #334ED2; text-transform: uppercase; font-family: AntaTrial-Semibold; }


@media(max-width: 767px){
    #csp .product-box .product-btns a {
        display: block;
        margin-bottom: 12px;
    }
    #csp .product-box {
        padding-bottom:5px;
    }
}