/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://elementor.com/hello-theme/
 Description:  Child theme for Hello Elementor
 Author:       Mansoor
 Template:     hello-elementor
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  hello-elementor-child
*/

/* Apni custom CSS yahan likhein */

.stellar-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.stellar-plan-card {
    padding: 1.25rem;
    border: 1px solid #deded7;
    border-radius: .5rem;
}

.stellar-profile-menu {
    position: relative;
}

.stellar-profile-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.stellar-profile-trigger img {
    display: block;
    width: 24px;
    height: 24px;
}

.stellar-profile-links {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    min-width: 165px;
    padding: .4rem;
    border: 1px solid #deded7;
    border-radius: .4rem;
    background: #fff;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .12);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-.3rem);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}

.stellar-profile-menu:hover .stellar-profile-links,
.stellar-profile-menu:focus-within .stellar-profile-links {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.stellar-profile-links a {
    display: block;
    padding: .5rem .65rem;
    color: #222;
    white-space: nowrap;
}

.stellar-profile-links a:hover,
.stellar-profile-links a:focus-visible {
    background: #f4f4f0;
}

.stellar-plan-checkout {
    width: min(1100px, calc(100% - 2rem));
    margin: clamp(2rem, 5vw, 4rem) auto;
}

.stellar-checkout-heading h1 {
    margin: 0 0 1.5rem;
}

.stellar-checkout-account {
    padding: 1rem;
    margin-bottom: 1.25rem;
    background: #f3f6f2;
    border-radius: .5rem;
}

.stellar-checkout-account p {
    margin: .25rem 0 0;
    overflow-wrap: anywhere;
}

.stellar-plan-checkout form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 0 2rem;
    align-items: start;
}

.stellar-plan-checkout .woocommerce-NoticeGroup {
    grid-column: 1 / -1;
}

.stellar-plan-checkout #customer_details {
    grid-column: 1;
    grid-row: span 2;
}

.stellar-plan-checkout #customer_details .col-1 {
    float: none;
    width: 100%;
}

.stellar-plan-checkout #customer_details .col-2 {
    display: none;
}

.stellar-plan-checkout #order_review,
.stellar-plan-checkout #order_review_heading {
    grid-column: 2;
    width: 100%;
}

.stellar-plan-checkout #order_review_heading {
    margin-top: 0;
}

.stellar-plan-checkout #customer_details,
.stellar-plan-checkout #order_review {
    min-width: 0;
    padding: clamp(1rem, 3vw, 1.75rem);
    border: 1px solid #deded7;
    border-radius: .75rem;
}

.stellar-plan-checkout #place_order {
    float: none;
    width: 100%;
}

.elementor-element.elementor-element-6914487 {
    --view-cart-button-display: inline-flex;
    --checkout-button-display: inline-flex;
    --cart-footer-buttons-alignment-display: grid;
}

.elementor-9 .elementor-element.elementor-element-6914487 .elementor-menu-cart__footer-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .625rem;
    width: 100%;
}

.elementor-9 .elementor-element.elementor-element-6914487 .elementor-menu-cart__footer-buttons .elementor-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    text-align: center;
}

@media (max-width: 720px) {
    .stellar-plan-checkout form.checkout {
        display: block;
    }

    .stellar-plan-checkout #order_review_heading {
        margin-top: 1.5rem;
    }
}

.woocommerce-checkout .elementor-194 .elementor-element.elementor-element-6ded6ee {
    --min-height: clamp(7.5rem, 12vw, 11rem);
}

.woocommerce-checkout .elementor-194 .elementor-element.elementor-element-8aae597 .elementor-heading-title {
    display: block;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    line-height: 1.1;
    color: #123d28;
}

.stellar-checkout-notices {
    margin: 0 0 1.5rem;
    padding: 1rem 1.25rem;
    border: 1px solid #dbe5dc;
    border-radius: .65rem;
    background: #f4f7f3;
    color: #214333;
}

.stellar-checkout-notices p {
    margin: 0;
}

.stellar-checkout-notices p + p {
    margin-top: .45rem;
}

.stellar-checkout-notices a + a {
    margin-inline-start: 1rem;
}


.stellar-membership-dialog {
    width: min(1040px, calc(100vw - 2rem));
    max-height: calc(100dvh - 2rem);
    padding: 0;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0,0,0,.25);
}
.stellar-membership-dialog::backdrop {
    background: rgba(0, 30, 15, .55);
}
.stellar-membership-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #deded7;
}
.stellar-membership-dialog-header h2 {
    margin: 0;
    font-size: 1.5rem;
}
.stellar-membership-dialog-close {
    padding: .25rem .75rem;
    font-size: 1.75rem;
    line-height: 1;
}
.stellar-membership-frame {
    display: block;
    width: 100%;
    height: min(640px, calc(100dvh - 7rem));
    border: 0;
}
.stellar-membership-popup-body .stellar-plan-checkout {
    margin: 1.5rem auto;
}

.stellar-plan-payment-summary h3 {
    margin: 0 0 .5rem;
}
.stellar-plan-payment-summary > p {
    margin: 0 0 1rem;
    color: #53675a;
}
.stellar-plan-totals {
    margin: 0 0 1.5rem;
}
.stellar-plan-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .6rem 0;
}
.stellar-plan-totals dd {
    margin: 0;
    text-align: right;
}
.stellar-plan-totals .stellar-plan-total {
    border-top: 1px solid #deded7;
    font-weight: 600;
}
.stellar-membership-popup-body .stellar-plan-checkout form.checkout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.stellar-membership-popup-body #order_review_heading {
    font-size: 1.3rem;
}
.stellar-membership-popup-body .woocommerce-billing-fields > h3 {
    font-size: 1.3rem;
    margin-top: 0;
}
@media (max-width: 720px) {
    .stellar-membership-popup-body .stellar-plan-checkout form.checkout {
        display: block;
    }
}

.stellar-membership-dialog-header h2 {
    color: #fff;
    font-family: inherit;
    font-size: 1.25rem;
    font-weight: 600;
}
.stellar-membership-dialog-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 50%;
    background: transparent;
    color: #fff;
}
.stellar-membership-dialog-close:hover,
.stellar-membership-dialog-close:focus-visible {
    background: #fff;
    color: #004c26;
}
.stellar-membership-popup-body {
    background: #f7f7f1;
    color: #193c29;
}
.stellar-membership-popup-body .stellar-plan-checkout {
    width: calc(100% - 3rem);
    margin: 1.5rem auto;
}
.stellar-membership-popup-body .stellar-plan-checkout form.checkout {
    gap: 0 1.5rem;
}
.stellar-membership-popup-body #customer_details,
.stellar-membership-popup-body #order_review {
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #dde3d9;
    border-radius: 14px;
}
.stellar-membership-popup-body #order_review_heading {
    display: none;
}
.stellar-membership-popup-body #customer_details {
    grid-row: 1;
}
.stellar-membership-popup-body #order_review {
    grid-row: 1;
}
.stellar-membership-popup-body .stellar-checkout-account {
    margin-bottom: 1.25rem;
    background: #edf3eb;
    border: 1px solid #dbe6d7;
}
.stellar-membership-popup-body .stellar-plan-payment-summary h3 {
    color: #004c26;
    font-size: 1.8rem;
    line-height: 1.2;
}
.stellar-membership-popup-body .form-row label {
    color: #36523f;
    font-size: .85rem;
}
.stellar-membership-popup-body .input-text,
.stellar-membership-popup-body select,
.stellar-membership-popup-body .select2-selection {
    min-height: 44px;
    border: 1px solid #ccd7c8;
    border-radius: 8px;
    background: #fff;
}
.stellar-membership-popup-body #payment {
    background: #f2f5ef;
    border-radius: 10px;
}
.stellar-membership-popup-body #payment .payment_box {
    background: #e5ede1;
    color: #29432f;
}
.stellar-membership-popup-body #place_order {
    min-height: 48px;
    border: 1px solid #004c26;
    border-radius: 99px;
    background: #004c26;
    color: #fff;
    font-weight: 600;
}
.stellar-membership-popup-body #place_order:hover {
    background: #06391f;
}
@media (max-width: 720px) {
    .stellar-membership-dialog {
        width: calc(100vw - 1rem);
    }
    .stellar-membership-dialog-header {
        padding: 1rem;
    }
    .stellar-membership-popup-body .stellar-plan-checkout {
        width: calc(100% - 1.5rem);
        margin: .75rem auto;
    }
    .stellar-membership-popup-body #order_review {
        margin-top: 1rem;
    }
}
.stellar-address-note {
    display: block;
    margin: .4rem 0 1rem;
    padding: .75rem 1rem;
    border-left: 3px solid #004c26;
    background: #f1f5ee;
    color: #214333;
    font-size: .9rem;
}
.stellar-profile-address p {
    margin: .4rem 0;
}
.woocommerce-checkout .wc-block-checkout__billing-fields input[readonly] {
    background: #f2f5ef;
    cursor: default;
}
