/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.custom-form-largetext label {
    font-size: 14px
}

/*** JB Search Certificates - START ***/

.certificate-widget-container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0px 0.2px 1px 0px rgba(0, 0, 0, 0.08), 0px 2px 4px 0px rgba(21, 24, 30, 0.08);
    text-align: left;
}

.certificate-widget-container h2 {
    font-weight: bold;
    color: #243746;
    margin-bottom: 10px;
}

.certificate-widget-container h3 {
    font-weight: normal;
    color: #243746;
    margin-bottom: 20px;
}

.certificate-widget-container p {
    color: #7D7D7D;
    margin-bottom: 30px;
}

.certificate-widget-container label {
    display: block;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #243746;
    margin-bottom: 8px;
}


.certificate-form-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border: none;
    gap: 15px;
}

.certificate-form-container input {
    flex: 1;
    min-width: 200px;
    border-radius: 10px !important;
    border-style: solid;
    border-width: 1px !important;
    border-color: #F4F5F6;
    padding: 18px 25px !important;
    font-size: 16px !important;
    box-shadow: inset 2px 2px 2px rgba(0, 0, 0, .1);
    background: #FFF;
    transition: all .3s;
}

.certificate-form-container input:focus {
    border-color: #FF6C0E !important;
    outline: none !important;
}

.certificate-form-container button,
.certificate-form-container button:hover {
    text-decoration: none;
    color: #1D2C38;
    border-radius: 10px;
    padding: 18px 25px !important;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.2s ease;
    text-align: center;
    border: none;
    min-width: 20%;
    position: relative;
}

.certificate-form-container button {
    background: #FF6C0E;
}

.certificate-form-container button:hover {
    background: #FF893E;
}

.certificate-form-container button:disabled {
    padding: 18px 25px !important;
    font-size: 16px;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-form-container button .spinner {
    display: inline-flex;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-radius: 50%;
    border-top-color: #1D2C38;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#message {
    display: none;
    /* Hidden by default */
    padding: 10px;
    font-size: 16px;
    border-radius: 3px;
    margin-top: 10px;
    max-width: 100%;
    width: fit-content;
}

#message.error {
    background: #E6C8C8;
    color: #1D2C38;
}

#message.success {
    background: #C8E6C9;
    color: #1D2C38;
}

@media (max-width: 768px) {
    .certificate-form-container {
        flex-direction: column;
        align-items: stretch;
    }

    .certificate-form-container input {
        width: 100%;
    }

    .certificate-form-container button {
        width: 100%;
    }
}

/*** JB Search Certificates - END ***/

/*** UAEL Woo Products Tag - START ***/
.uael-woo-products-grid ul li {
    position: relative;
}

.hc-label,
.custom-prod-tag {
    position: absolute;
    top: 0;
    right: 0;
    overflow: hidden;
    display: inline-flex;
    padding: .6em 1.2em;
    margin: 20px;
    justify-content: center;
    align-items: center;
    border-radius: 200px;
    background: #243746;
    color: #F4F5F6;
    font-size: 12px;
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-weight: var(--e-global-typography-accent-font-weight);
    word-spacing: var(--e-global-typography-accent-word-spacing) !important;
    letter-spacing: var(--e-global-typography-accent-letter-spacing);
    line-height: var(--e-global-typography-accent-line-height);
    text-transform: uppercase;
}

/*** UAEL Woo Products Tag - END ***/

/*** Product Cards - START ***/
.uael-woocommerce .uael-woo-products-summary-wrap .button {
    border-radius: 16px;
    text-align: center;
    width: auto;
}

.uael-woo-product-wrapper {
    height: 570px !important;
}

.product a img {
    height: 300px;
    max-height: 310px;
    border-radius: 24px 24px 0px 0px;
}

.uael-woocommerce ul.products li.product .price ins {
    margin-left: 0;
    text-decoration: none;
}

.uael-woocommerce ul.products li.product .price {
    display: flex;
    flex-direction: column;
}

.uael-woo-products-summary-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 45%;
}

.uael-woo-skin-grid-default .uael-woo-product-wrapper {
    border-radius: 24px;
}

.uael-woocommerce ul.products {
    padding: 0 15px;
}

.uael-woocommerce ul.products li.product .price bdi {
    font-size: 1.3rem;
}

@media (max-width: 1280px) {
    .uael-woo-product-wrapper {
        height: 540px !important;
    }

    .product a img {
        height: 290px;
    }

    .uael-woo-products-summary-wrap .button {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 768px) {
    .uael-woocommerce ul.products {
        padding: 0 10px;
    }

    .uael-woo-product-wrapper {
        height: 520px !important;
    }

    .uael-woo-products-summary-wrap {
        height: 40%;
    }

    .product a img {
        height: 300px;
    }

    .woocommerce-loop-product__title {
        font-size: 15px !important;
    }

    .uael-woocommerce ul.products li.product .price bdi {
        font-size: 1.1rem;
    }
}

/*** Product Cards - END ***/

/*** KCO Checkout - START ***/

.kco-headline-text-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 640px;
    margin: 0 auto 1rem auto;
    padding: 0 15px;
    gap: 10px;
}

.kco-headline-text-wrapper>h1 {
    font-size: 2.25rem;
    line-height: 1.2;
    letter-spacing: -0.015em;
    word-spacing: 0;
    font-weight: 600;
    margin: 0;
}

.kco-headline-text-wrapper>ol {
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0;
    word-spacing: 0.05em;
    margin: 0;
    padding: 0;
    list-style-position: inside;
}

.kco-headline-text-wrapper li::marker {
    font-weight: bold;
}

#klarna-checkout-select-other,
.checkout_coupon.woocommerce-form-coupon>.form-row.form-row-last>.apply-coupon-btn,
#place_order {
    font-size: 1rem;
    background: #243746;
    color: #F4F5F6;
    padding: 1.25rem;
    border-radius: 100px;
    transition: opacity 0.2s ease;
    font-weight: 600;
    word-spacing: 0;
    letter-spacing: 0.06rem;
    border: none;
    text-transform: none;
}

#place_order {
    background: #FF6C0E;
}

.coupon-trigger-wrap {
    margin-bottom: 24px;
}

.add-coupon-btn {
    font-size: 1rem;
    background: #F4F5F6;
    color: #243746;
    padding: 1.25rem !important;
    border-radius: 100px;
    transition: opacity 0.2s ease;
    font-weight: 600;
    word-spacing: 0;
    letter-spacing: 0.06rem;
    border: none;
    text-transform: none !important;
}

.add-coupon-btn:hover,
.add-coupon-btn:focus {
    opacity: 0.7;
    transition: opacity 0.2s ease;
    color: #243746 !important;
    background: #F4F5F6;
    border: none;
}

.kco-before-order-review-headers {
    margin: 160.97px 0 8px 0;
}

.kco-before-order-review-headers>h2 {
    color: rgb(14, 14, 15);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.5;
    word-spacing: 0;
    letter-spacing: 0;
    margin: 0 0 8px 0;
}

.kco-before-order-review-headers>span,
#kco-order-review span.alternative-payment-notice {
    color: rgb(14, 14, 15);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    word-spacing: 0.05em;
    line-height: 1.5;
}

#kco-order-review span.alternative-payment-notice {
    color: red;
}

#klarna-checkout-select-other:hover,
.checkout_coupon.woocommerce-form-coupon>.form-row.form-row-last>.apply-coupon-btn:hover,
.checkout_coupon.woocommerce-form-coupon>.form-row.form-row-first>.apply-coupon-btn:focus,
#place_order:hover,
#place_order:focus {
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

@media (max-width: 855px) {
    .kco-before-order-review-headers {
        margin: 204.16px 0 8px 0;
    }
}

@media (max-width: 768px) {
    .kco-headline-text-wrapper>h1 {
        font-size: 2rem;
        line-height: 1.25;
        letter-spacing: -0.01em;
    }

    .kco-headline-text-wrapper>p {
        font-size: 0.95rem;
        line-height: 1.6;
        letter-spacing: 0.005em;
        word-spacing: 0.05em;
    }

    .kco-before-order-review-headers {
        margin: 0 0 8px 0;
    }

    #kco-wrapper {
        display: flex;
        flex-direction: column;
    }

    #kco-iframe {
        order: 1;
    }

    #kco-order-review {
        padding: 0px 15px;
        order: 2;
    }

    #klarna-checkout-select-other,
    .checkout_coupon.woocommerce-form-coupon>.form-row.form-row-last>.apply-coupon-btn,
    #place_order {
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
        border-radius: 50px;
        word-spacing: 0;
        letter-spacing: 0.05rem;
    }

    .add-coupon-btn {
        font-size: 0.875rem;
        padding: 0.75rem 1rem !important;
        border-radius: 50px;
        letter-spacing: 0.05rem;
    }

    .checkout_coupon.woocommerce-form-coupon {
        flex-direction: column !important;
    }

    .checkout_coupon.woocommerce-form-coupon>.form-row.form-row-first>.add-coupon-lbl {
        font-size: 1rem !important;
        line-height: 1.4 !important;
        word-spacing: 0.03em !important;
        letter-spacing: 0.01em !important;
        margin-bottom: 8px !important;
    }

    .checkout_coupon.woocommerce-form-coupon>.form-row.form-row-first {
        width: 100% !important;
        align-self: center;
    }

    .checkout_coupon.woocommerce-form-coupon>.form-row.form-row-last {
        width: 100% !important;
        display: flex;
        justify-content: flex-start !important;
    }

}


/*** KCO Checkout - END ***/

.wc-coupon-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wc-coupon-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .25);
}

.wc-coupon-modal__inner {
    position: relative;
    max-width: 820px;
    width: 100%;
    padding: 1rem;
    background: #fff;
    border-radius: 6px;
    z-index: 999;
}

.wc-coupon-modal__close {
    position: absolute;
    top: .5rem;
    right: .5rem;
    border: 0;
    background: none;
    border: none !important;
    color: #243746 !important;
    text-transform: none !important;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.wc-coupon-modal__close:hover {
    background: none;
}

.checkout_coupon.woocommerce-form-coupon {
    display: flex !important;
    flex-direction: row;
    border: none !important;
    width: 100%;
    padding: 10px !important;
    margin: 1em 0 !important;
}

.checkout_coupon.woocommerce-form-coupon>.form-row.form-row-first {
    width: 75%;
    align-self: center;
}

.checkout_coupon.woocommerce-form-coupon>.form-row.form-row-last {
    width: 25%;
    display: flex;
    justify-content: center;
    align-self: flex-end;
}

.checkout_coupon.woocommerce-form-coupon>.form-row.form-row-first>.add-coupon-lbl {
    font-size: 1.25rem;
    line-height: 1.5;
    word-spacing: 0.05em;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
}

.checkout_coupon.woocommerce-form-coupon>.form-row.form-row-last>.add-coupon-input:focus {
    border-width: 1px 1px 1px 1px;
}

li.wc_payment_method.payment_method_cod {
    display: none;
}

li.wc_payment_method.payment_method_kco input[type="radio"],
li.wc_payment_method.payment_method_kco label img {
    display: none;
}

li.wc_payment_method.payment_method_kco label[for="payment_method_kco"] {
    font-size: 1rem;
    background: #243746;
    color: #F4F5F6;
    padding: 1.25rem;
    border-radius: 100px;
    font-weight: 600;
    word-spacing: 0;
    letter-spacing: 0.06rem;
    border: none;
    cursor: pointer;
    display: inline-block;
    margin: 0;
    user-select: none;
    line-height: 1;
    transition: opacity 0.2s ease;
}

li.wc_payment_method.payment_method_kco label[for="payment_method_kco"]:hover {
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.woocommerce-checkout #payment .place-order ul.wc_payment_methods {
    padding: 0;
    border: none;
}

.woocommerce-checkout #payment div.place-order {
    display: flex;
    flex-direction: column;
}

.woocommerce-checkout #payment div.place-order .place-order-btn-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 1rem;

}

@media (max-width: 768px) {
    .woocommerce-checkout #payment div.place-order .place-order-btn-wrapper {
        flex-direction: column;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .woocommerce-checkout #payment .place-order ul.wc_payment_methods {
        width: 100%;
    }

    li.wc_payment_method.payment_method_kco label[for="payment_method_kco"] {
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
        border-radius: 50px;
        word-spacing: 0;
        letter-spacing: 0.05rem;
        width: 100%;
        text-align: center;
    }
}