/*
 * Hof Maiberg Checkout 1.0.21
 * Header/Footer optisch an die normale Hof-Maiberg-Website angepasst.
 */

body.hmc-checkout-clean{
    margin:0!important;
    background:#F8F6F1!important;
    color:#2E352B;
}

/* Original Kadence-/FunnelKit-Headerreste vollständig entfernen. */
body.hmc-checkout-clean #masthead,
body.hmc-checkout-clean .site-header-wrap,
body.hmc-checkout-clean .site-top-header-wrap,
body.hmc-checkout-clean .site-main-header-wrap,
body.hmc-checkout-clean .site-bottom-header-wrap,
body.hmc-checkout-clean header.site-header{
    display:none!important;
}

/* Original Theme-Footer im Checkout nicht zusätzlich ausgeben. */
body.hmc-checkout-clean #colophon,
body.hmc-checkout-clean footer.site-footer{
    display:none!important;
}

/* ---------------------------------------------------------
 * HEADER
 * --------------------------------------------------------- */
.hmc-checkout-site-header{
    width:100%;
    background:#fff;
}

.hmc-checkout-topbar{
    height:36px;
    display:flex;
    align-items:center;
    background:#3F5238;
    color:#F8F6F1;
}

.hmc-checkout-topbar__inner{
    width:min(1560px,calc(100% - 64px));
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    font-family:"Montserrat",Arial,sans-serif;
    font-size:13px;
    font-weight:500;
    line-height:1;
}

.hmc-checkout-topbar__right{
    opacity:.82;
    font-size:12px;
}

/*
 * Normale Website: grosse, ruhige weisse Headerfläche.
 * Navigation/Suche fehlen bewusst, Höhe und Farbwirkung bleiben.
 */
.hmc-checkout-mainheader{
    height:204px;
    display:flex;
    align-items:center;
    background:#fff;
    border-bottom:1px solid #F0EEE8;
}

.hmc-checkout-mainheader__inner{
    width:min(1800px,calc(100% - 120px));
    height:100%;
    margin:0 auto;
    display:flex;
    align-items:center;
}

.hmc-checkout-mainheader__logo{
    display:inline-flex;
    align-items:center;
    text-decoration:none!important;
}

.hmc-checkout-mainheader__logo img{
    display:block;
    width:auto;
    max-width:290px;
    max-height:125px;
    object-fit:contain;
}

.hmc-checkout-logo-text{
    color:#3F5238;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:34px;
    font-weight:600;
}

/* ---------------------------------------------------------
 * CHECKOUT CONTENT
 * --------------------------------------------------------- */
body.hmc-checkout-clean .wfacp_main_form,
body.hmc-checkout-clean .wfacp_main_form.woocommerce,
body.hmc-checkout-clean .wfacp-section,
body.hmc-checkout-clean .wfacp_checkout_form{
    font-family:"Montserrat",Arial,sans-serif;
}

.hmc-checkout-digital-note{
    margin:0 0 22px;
    padding:15px 17px;
    display:flex;
    align-items:flex-start;
    gap:11px;
    border:1px solid #DCE5D7;
    border-radius:10px;
    background:#F3F7F0;
    color:#3F5238;
    font-family:"Montserrat",Arial,sans-serif;
}

.hmc-checkout-digital-note__icon{
    width:24px;
    height:24px;
    flex:0 0 24px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:1px;
    border-radius:50%;
    background:#3F5238;
    color:#fff;
    font-size:12px;
    font-weight:700;
}

.hmc-checkout-digital-note strong,
.hmc-checkout-digital-note span{
    display:block;
}

.hmc-checkout-digital-note strong{
    margin-bottom:3px;
    color:#2E352B;
    font-size:13px;
}

.hmc-checkout-digital-note span{
    color:#687064;
    font-size:11.5px;
    line-height:1.55;
}

body.hmc-checkout-clean .wfacp_shipping_method:empty,
body.hmc-checkout-clean .woocommerce-shipping-methods:empty{
    display:none!important;
}

/* ---------------------------------------------------------
 * FOOTER – angelehnt an den bestehenden Website-Footer
 * --------------------------------------------------------- */
.hmc-checkout-footer{
    margin-top:70px;
    padding:72px 40px 38px;
    background:#3F5238;
    color:#E8E7E1;
    font-family:"Montserrat",Arial,sans-serif;
}

.hmc-checkout-footer__inner{
    width:min(1540px,calc(100% - 40px));
    margin:0 auto;
}

.hmc-checkout-footer__grid{
    display:grid;
    grid-template-columns:1.35fr .8fr .95fr .95fr;
    gap:72px;
    align-items:start;
    padding-bottom:68px;
}

.hmc-checkout-footer__brand img{
    display:block;
    width:auto;
    max-width:270px;
    max-height:125px;
    object-fit:contain;
    margin-bottom:30px;
}

.hmc-checkout-footer__brand .hmc-checkout-logo-text{
    color:#fff;
    display:block;
    margin-bottom:28px;
}

.hmc-checkout-footer__brand h3{
    margin:0 0 15px;
    color:#F3F0E8;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:25px;
    font-weight:500;
}

.hmc-checkout-footer__brand p{
    max-width:290px;
    margin:0;
    color:#D2D3CC;
    font-size:15px;
    line-height:1.65;
    text-align:center;
}

.hmc-checkout-footer__column h4{
    margin:5px 0 28px;
    color:#fff;
    font-size:14px;
    font-weight:700;
    letter-spacing:.09em;
}

.hmc-checkout-footer__column p{
    margin:0 0 28px;
    color:#D2D3CC;
    font-size:15px;
    line-height:1.75;
    text-align:center;
}

.hmc-checkout-footer__column p strong{
    color:#F0F0EB;
    font-weight:600;
}

.hmc-checkout-footer__column nav{
    display:flex;
    flex-direction:column;
    gap:18px;
    align-items:flex-start;
}

.hmc-checkout-footer__column a{
    color:#D2D3CC!important;
    font-size:15px;
    line-height:1.35;
    text-decoration:none!important;
}

.hmc-checkout-footer__column a:hover{
    color:#fff!important;
}

.hmc-checkout-footer__contact a{
    line-height:2;
}

.hmc-checkout-footer__bio-logo{
    display:flex;
    justify-content:center;
    margin:16px 0 28px;
}

.hmc-checkout-footer__bio-logo img{
    width:auto;
    max-width:92px;
    max-height:78px;
    object-fit:contain;
}

.hmc-checkout-footer__socials{
    display:flex;
    justify-content:center;
    gap:12px;
}

.hmc-checkout-footer__socials a,
.hmc-checkout-footer__social-placeholder{
    width:42px;
    height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,255,255,.28);
    border-radius:50%;
    color:#fff!important;
    font-family:Arial,sans-serif;
    font-size:20px;
    text-decoration:none!important;
}

.hmc-checkout-footer__bottom{
    min-height:70px;
    padding-top:34px;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:40px;
    border-top:1px solid rgba(255,255,255,.13);
}

.hmc-checkout-footer__copyright{
    color:#C8CBC4;
    font-size:12px;
    white-space:nowrap;
}

.hmc-checkout-footer__legal{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:16px 28px;
}

.hmc-checkout-footer__legal a{
    color:#D2D3CC!important;
    font-size:12px;
    text-decoration:none!important;
}

.hmc-checkout-footer__legal a:hover{
    color:#fff!important;
}

/* ---------------------------------------------------------
 * RESPONSIVE
 * --------------------------------------------------------- */
@media(max-width:1100px){
    .hmc-checkout-mainheader__inner{
        width:min(100% - 64px,1000px);
    }

    .hmc-checkout-footer__grid{
        grid-template-columns:1fr 1fr;
        gap:50px 70px;
    }
}

@media(max-width:680px){
    .hmc-checkout-topbar{
        height:34px;
    }

    .hmc-checkout-topbar__inner{
        width:calc(100% - 28px);
        font-size:10.5px;
    }

    .hmc-checkout-topbar__right{
        display:none;
    }

    .hmc-checkout-mainheader{
        height:130px;
    }

    .hmc-checkout-mainheader__inner{
        width:calc(100% - 32px);
        justify-content:center;
    }

    .hmc-checkout-mainheader__logo img{
        max-width:225px;
        max-height:96px;
    }

    .hmc-checkout-footer{
        margin-top:44px;
        padding:52px 22px 28px;
    }

    .hmc-checkout-footer__inner{
        width:100%;
    }

    .hmc-checkout-footer__grid{
        grid-template-columns:1fr;
        gap:42px;
        padding-bottom:48px;
        text-align:center;
    }

    .hmc-checkout-footer__brand{
        display:flex;
        flex-direction:column;
        align-items:center;
    }

    .hmc-checkout-footer__brand img{
        max-width:235px;
        margin-bottom:24px;
    }

    .hmc-checkout-footer__column nav{
        align-items:center;
    }

    .hmc-checkout-footer__bottom{
        flex-direction:column;
        align-items:center;
        padding-top:28px;
    }

    .hmc-checkout-footer__legal{
        justify-content:center;
    }
}
\n\n/* 1.0.22 – FunnelKit robuste Vollbreiten-Ausgabe */\n.hmc-checkout-site-header,\n.hmc-checkout-footer{\n    position:relative;\n    left:50%;\n    width:100vw!important;\n    max-width:none!important;\n    margin-left:-50vw!important;\n    margin-right:-50vw!important;\n    box-sizing:border-box;\n}\nbody > .hmc-checkout-site-header,\nbody > .hmc-checkout-footer{\n    left:auto;\n    width:100%!important;\n    margin-left:0!important;\n    margin-right:0!important;\n}\nbody.hmc-checkout-clean #masthead,\nbody.hmc-checkout-clean .site-header-wrap,\nbody.hmc-checkout-clean .site-top-header-wrap,\nbody.hmc-checkout-clean .site-main-header-wrap,\nbody.hmc-checkout-clean .site-bottom-header-wrap,\nbody.hmc-checkout-clean header.site-header,\nbody.hmc-checkout-clean #colophon,\nbody.hmc-checkout-clean footer.site-footer{\n    display:none!important;\n    visibility:hidden!important;\n    height:0!important;\n    min-height:0!important;\n    overflow:hidden!important;\n    margin:0!important;\n    padding:0!important;\n}\nbody.hmc-checkout-clean .hmc-checkout-site-header,\nbody.hmc-checkout-clean .hmc-checkout-footer{\n    display:block!important;\n    visibility:visible!important;\n    height:auto!important;\n    min-height:0!important;\n    overflow:visible!important;\n}\nbody.hmc-checkout-clean .hmc-checkout-mainheader{\n    height:204px!important;\n}\nbody.hmc-checkout-clean .hmc-checkout-logo-image{\n    background:transparent!important;\n}\n

/* 1.0.23 – weisses transparentes Logo im dunkelgrünen Footer */
.hmc-checkout-footer__brand .hmc-checkout-footer-logo-image{
    display:block;
    width:auto;
    max-width:270px;
    max-height:125px;
    object-fit:contain;
    margin-bottom:30px;
    background:transparent!important;
}

@media(max-width:680px){
    .hmc-checkout-footer__brand .hmc-checkout-footer-logo-image{
        max-width:235px;
        max-height:105px;
        margin-bottom:24px;
    }
}


/* ---------------------------------------------------------
 * 1.0.24 – Header noch näher am normalen Hof-Maiberg-Header
 * --------------------------------------------------------- */

.hmc-checkout-topbar{
    height:36px!important;
    min-height:36px!important;
    background:#3F5238!important;
}

.hmc-checkout-topbar__inner{
    width:min(1540px,calc(100% - 64px))!important;
    height:36px;
    margin:0 auto;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:30px;
    color:#F7F5EF;
    font-family:"Montserrat",Arial,sans-serif;
    font-size:13px!important;
    font-weight:500!important;
}

.hmc-checkout-topbar__news,
.hmc-checkout-topbar__links{
    display:flex;
    align-items:center;
    gap:11px;
    white-space:nowrap;
}

.hmc-checkout-topbar__news i,
.hmc-checkout-topbar__links i{
    opacity:.55;
    font-style:normal;
}

.hmc-checkout-topbar__links a{
    color:#F7F5EF!important;
    text-decoration:none!important;
}

.hmc-checkout-topbar__links a:hover{
    text-decoration:underline!important;
}

/*
 * Höhe und weisse Fläche orientieren sich direkt am normalen Header.
 * Das Logo bleibt an derselben linken Flucht wie auf der Website.
 */
body.hmc-checkout-clean .hmc-checkout-mainheader{
    height:204px!important;
    min-height:204px!important;
    background:#fff!important;
    border-bottom:1px solid #ECEBE6!important;
}

.hmc-checkout-mainheader__inner{
    width:min(1780px,calc(100% - 110px))!important;
    height:100%!important;
    margin:0 auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
}

.hmc-checkout-mainheader__logo{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex:0 0 auto;
}

.hmc-checkout-mainheader__logo .hmc-checkout-logo-image{
    width:auto!important;
    height:auto!important;
    max-width:285px!important;
    max-height:122px!important;
    object-fit:contain!important;
    object-position:left center!important;
}

.hmc-checkout-mainheader__checkout{
    display:flex;
    align-items:center;
    gap:8px;
    color:#7B8276;
    font-family:"Montserrat",Arial,sans-serif;
    font-size:12px;
    font-weight:500;
}

.hmc-checkout-mainheader__checkout span{
    width:22px;
    height:22px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid #CBD5C6;
    border-radius:50%;
    color:#3F5238;
    background:#F6F8F4;
    font-size:11px;
    font-weight:700;
}

/* Keine zusätzliche Navigation/Suche im Checkout-Header. */
.hmc-checkout-mainheader nav,
.hmc-checkout-mainheader .search-toggle,
.hmc-checkout-mainheader .header-search-toggle{
    display:none!important;
}

@media(max-width:900px){
    .hmc-checkout-topbar__news span:nth-of-type(n+3),
    .hmc-checkout-topbar__news i:nth-of-type(n+2){
        display:none;
    }

    .hmc-checkout-mainheader__inner{
        width:calc(100% - 56px)!important;
    }

    .hmc-checkout-mainheader__logo .hmc-checkout-logo-image{
        max-width:245px!important;
        max-height:108px!important;
    }
}

@media(max-width:680px){
    .hmc-checkout-topbar{
        height:34px!important;
        min-height:34px!important;
    }

    .hmc-checkout-topbar__inner{
        width:calc(100% - 28px)!important;
        height:34px;
        font-size:10.5px!important;
    }

    .hmc-checkout-topbar__links{
        display:none!important;
    }

    .hmc-checkout-topbar__news{
        gap:7px;
    }

    body.hmc-checkout-clean .hmc-checkout-mainheader{
        height:132px!important;
        min-height:132px!important;
    }

    .hmc-checkout-mainheader__inner{
        width:calc(100% - 32px)!important;
    }

    .hmc-checkout-mainheader__logo .hmc-checkout-logo-image{
        max-width:215px!important;
        max-height:94px!important;
    }

    .hmc-checkout-mainheader__checkout{
        font-size:0;
    }

    .hmc-checkout-mainheader__checkout span{
        font-size:11px;
    }
}


/* 1.0.25 – ursprüngliche Infobar unter dem Checkout-Header entfernen */
body.hmc-checkout-clean [data-hmc-hidden-duplicate-topbar="1"]{
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    overflow:hidden!important;
}
