/*
 Theme Name:   Astra Child
 Theme URI:    https://altilion.pl
 Description: Child theme for Astra – Altilion Energy
 Author:       Altilion
 Author URI:   https://altilion.pl
 Template:     astra
 Version:      1.0.14
*/

.altilion-compat-heading {
    font-size: 14px;
    margin: 0 0 6px;
}

.altilion-compat-wrapper {
    margin-bottom: 16px;
}

.altilion-compat-content {
    font-size: 13px;
    line-height: 1.5;
    color: #444;
    max-height: 80px;
    overflow: hidden;
}

.altilion-compat-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    margin: 0;
    padding-left: 16px;
    list-style: disc;
}

.altilion-compat-list li {
    margin: 0 0 4px;
}

.altilion-compat-wrapper.is-open .altilion-compat-content {
    max-height: none !important;
    overflow: visible !important;
}

.altilion-compat-toggle[hidden] {
    display: none !important;
}

.altilion-compat-toggle {
    margin-top: 6px;
    padding: 0;
    background: none;
    border: none;
    color: #0073aa;
    font-size: 13px;
    cursor: pointer;
}

.altilion-compat-toggle:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .altilion-compat-list {
        grid-template-columns: 1fr;
    }
}


.woocommerce_product_description:empty,
.woolentor-product-description:empty {
    display: none !important;
}






/* Homepage: cropped hero, trust section below the banner */
.home .uagb-block-87fd1652 {
    min-height: 0 !important;
    height: auto !important;
    overflow: hidden !important;
    padding-top: 48px !important;
    padding-bottom: 56px !important;
    justify-content: flex-start !important;
    gap: 0 !important;
}
.home .uagb-block-87fd1652 .uagb-block-b23cc87b {
    padding-top: 32px !important;
    padding-bottom: 16px !important;
}
.home .altilion-why {
    padding: 56px 24px 8px 24px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.home .altilion-why h2 {
    color: #111 !important;
    margin-bottom: 12px;
}
.home .altilion-why p {
    color: #444 !important;
    max-width: 640px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.5;
}
.home .uagb-block-a6d75286 {
    padding: 24px 16px 48px !important;
}
.home .uagb-block-a6d75286 .uagb-container-inner-blocks-wrap {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: space-between;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}
.home .uagb-block-a6d75286 .uagb-container-inner-blocks-wrap > * {
    flex: 1 1 0 !important;
    width: 25% !important;
    text-align: center;
}
.home .uagb-block-a6d75286 .uagb-ifb-title {
    font-size: 17px !important;
}
.home .uagb-block-a6d75286 .uagb-ifb-desc {
    overflow: visible !important;
    height: auto !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
}
.home .uagb-block-a6d75286 .uagb-infobox__content-wrap {
    text-align: center;
}
@media (max-width: 921px) {
    .home .uagb-block-87fd1652 {
        padding: 32px 16px 36px !important;
    }
    .home .uagb-block-87fd1652 h1 {
        font-size: 34px !important;
        line-height: 1.15 !important;
    }
    .home .uagb-block-87fd1652 .wp-block-column p.has-text-color {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
    .home .uagb-block-87fd1652 .uagb-block-b23cc87b {
        padding-top: 16px !important;
        padding-left: 12px !important;
    }
    .home .altilion-why {
        padding: 40px 16px 8px 16px;
    }
    .home .uagb-block-a6d75286 .uagb-container-inner-blocks-wrap {
        flex-wrap: wrap !important;
    }
    .home .uagb-block-a6d75286 .uagb-container-inner-blocks-wrap > * {
        flex: 1 1 45% !important;
        width: auto !important;
    }
}


/* Checkout: visible fields + compact login/coupon bars */
body.woocommerce-checkout .woocommerce-form-login-toggle,
body.woocommerce-checkout .woocommerce-form-coupon-toggle {
    display: inline-block;
    width: auto;
    max-width: 360px;
    margin: 0 12px 16px 0;
    vertical-align: top;
}
body.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    background: #f3f3f3 !important;
    border: 1px solid #e4e4e4 !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    min-height: 0 !important;
    width: auto !important;
    color: #333 !important;
}
body.woocommerce-checkout .woocommerce-info::before {
    display: none !important;
}
body.woocommerce-checkout form.woocommerce-checkout .form-row input.input-text,
body.woocommerce-checkout form.woocommerce-checkout .form-row textarea,
body.woocommerce-checkout form.woocommerce-checkout .form-row select,
body.woocommerce-checkout #customer_details .input-text {
    border: 1px solid #c8c8c8 !important;
    background: #fff !important;
    border-radius: 6px !important;
    min-height: 44px !important;
    color: #222 !important;
    box-shadow: none !important;
}
body.woocommerce-checkout form.woocommerce-checkout .form-row input.input-text:focus,
body.woocommerce-checkout form.woocommerce-checkout .form-row textarea:focus {
    border-color: #333 !important;
    box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.08) !important;
}
body.woocommerce-checkout .select2-container .select2-selection--single {
    border: 1px solid #c8c8c8 !important;
    border-radius: 6px !important;
    height: 44px !important;
    background: #fff !important;
}
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 42px !important;
    color: #222 !important;
}
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px !important;
}
body.woocommerce-checkout form.woocommerce-checkout .form-row label {
    margin-bottom: 6px;
}

/* Logo only — hide site title stacked on the mark */
.site-header .ast-site-title-wrap {
    display: none !important;
}
