/* Hof Maiberg Companion – Fleischdetail 1.0.8
 * Bewusst an die Kursdetailseite angeglichen.
 */

.hmc-meat-product-page .site-content{
    padding-top:0!important;
}

.hmc-meat-detail,
.hmc-meat-detail *{
    box-sizing:border-box;
}

.hmc-meat-detail{
    background:#F8F6F1;
    color:#2E352B;
}

.hmc-meat-detail__article{
    margin:0!important;
}

.hmc-meat-detail__hero{
    position:relative;
    min-height:clamp(440px,62vh,680px);
    display:flex;
    align-items:flex-end;
    overflow:hidden;
    background:#3F5238;
}

.hmc-meat-detail__hero-media,
.hmc-meat-detail__hero-overlay{
    position:absolute;
    inset:0;
}

.hmc-meat-detail__hero-image{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

.hmc-meat-detail__hero-overlay{
    background:
        linear-gradient(
            180deg,
            rgba(24,31,22,.12) 20%,
            rgba(24,31,22,.74) 100%
        );
}

.hmc-meat-detail__hero-content{
    position:relative;
    z-index:2;
    width:min(1280px,calc(100% - 80px));
    margin:0 auto;
    padding:90px 0 70px;
    color:#fff;
}

.hmc-meat-detail__back-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin:0 0 24px;
    color:rgba(255,255,255,.92);
    font-family:"Montserrat",sans-serif;
    font-size:13px;
    font-weight:600;
    text-decoration:none;
}

.hmc-meat-detail__back-link:hover{
    color:#fff;
    opacity:.82;
}

.hmc-meat-detail__features{
    margin:0 0 16px;
    font-family:"Montserrat",sans-serif;
    font-size:13px;
    font-weight:600;
    letter-spacing:.09em;
    text-transform:uppercase;
}

.hmc-meat-detail__hero h1{
    max-width:900px;
    margin:0 0 24px;
    color:#fff;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:clamp(48px,7vw,86px);
    font-weight:600;
    line-height:.98;
}

.hmc-meat-detail__status{
    display:inline-flex;
    padding:7px 12px;
    border-radius:999px;
    background:rgba(248,246,241,.92);
    color:#36502F;
    font-family:"Montserrat",sans-serif;
    font-size:11px;
    font-weight:700;
    letter-spacing:.06em;
    text-transform:uppercase;
}

.hmc-meat-detail__status--preorder{
    color:#7B4A0E;
}

.hmc-meat-detail__status--sold-out{
    color:#666660;
}

.hmc-meat-detail__container{
    width:min(1280px,calc(100% - 80px));
    margin:0 auto;
    padding:80px 0 100px;
}

.hmc-meat-detail__layout{
    display:grid;
    grid-template-columns:minmax(0,1.45fr) minmax(310px,.55fr);
    gap:clamp(50px,7vw,100px);
    align-items:start;
}

.hmc-meat-detail__main{
    min-width:0;
}

.hmc-meat-detail__section{
    padding:0 0 64px;
    margin:0 0 64px;
    border-bottom:1px solid #DED8CB;
}

.hmc-meat-detail__section:last-child{
    margin-bottom:0;
}

.hmc-meat-detail__section h2,
.hmc-meat-detail__summary h2{
    margin:0 0 28px;
    color:#2E352B;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:clamp(34px,4vw,48px);
    font-weight:600;
    line-height:1.05;
}

.hmc-meat-detail__prose{
    color:#465044;
    font-family:"Montserrat",sans-serif;
    font-size:16px;
    line-height:1.85;
}

.hmc-meat-detail__prose>*:first-child{
    margin-top:0;
}

.hmc-meat-detail__prose>*:last-child{
    margin-bottom:0;
}

/* Produktionsprofil in das Kurs-Raster integrieren */
.hmc-meat-detail__profile-section .hmc-production-profile{
    margin:0;
    background:#fff;
}

.hmc-meat-detail__profile-section .hmc-production-profile h3{
    font-size:30px;
}

.hmc-meat-detail__gallery{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}

.hmc-meat-detail__gallery figure{
    aspect-ratio:4/3;
    margin:0;
    overflow:hidden;
    border:1px solid #E5E0D6;
    border-radius:12px;
    background:#ECE9E1;
}

.hmc-meat-detail__gallery img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

.hmc-meat-detail__sidebar{
    position:sticky;
    top:110px;
}

.hmc-meat-detail__summary{
    padding:30px;
    background:#fff;
    border:1px solid #E5E0D6;
    border-radius:18px;
    box-shadow:0 16px 42px rgba(46,53,43,.08);
}

.hmc-meat-detail__summary h2{
    font-size:32px;
}

.hmc-meat-detail__summary dl{
    margin:0;
}

.hmc-meat-detail__summary dl>div{
    padding:17px 0;
    border-bottom:1px solid #ECE8DF;
}

.hmc-meat-detail__summary dl>div:first-child{
    padding-top:0;
}

.hmc-meat-detail__summary dt,
.hmc-meat-detail__summary dd{
    margin:0;
    font-family:"Montserrat",sans-serif;
}

.hmc-meat-detail__summary dt{
    margin-bottom:5px;
    color:#70786C;
    font-size:11px;
    font-weight:700;
    letter-spacing:.07em;
    text-transform:uppercase;
}

.hmc-meat-detail__summary dd{
    color:#2E352B;
    font-size:15px;
    font-weight:500;
    line-height:1.55;
}

.hmc-meat-detail__summary-price{
    font-weight:600!important;
}

.hmc-meat-detail__summary-price .price{
    color:inherit!important;
    font-size:inherit!important;
}

.hmc-meat-price__unit{
    color:#687064;
    font-size:.82em;
    font-weight:400;
}

.hmc-meat-detail__summary-status{
    display:inline-flex;
    padding:5px 9px;
    border-radius:999px;
    background:#E4EDDF;
    color:#36502F;
    font-size:11px;
    font-weight:700;
    letter-spacing:.05em;
    text-transform:uppercase;
}

.hmc-meat-detail__summary-status--preorder{
    background:#F4E4CC;
    color:#7B4A0E;
}

.hmc-meat-detail__summary-status--sold-out{
    background:#E5E5E2;
    color:#666660;
}

.hmc-meat-detail__button{
    width:100%;
    display:inline-flex;
    justify-content:center;
    margin-top:26px;
    padding:14px 22px;
    border-radius:999px;
    background:#C97B19;
    color:#fff;
    font-family:"Montserrat",sans-serif;
    font-size:14px;
    font-weight:700;
    text-decoration:none;
}

.hmc-meat-detail__button:hover{
    background:#A86513;
    color:#fff;
}

.hmc-meat-detail__booking-status{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin:0 0 22px;
    padding:14px 18px;
    border:1px solid #DDE5D8;
    border-radius:10px;
    background:#F1F6EE;
    color:#36502F;
    font-family:"Montserrat",sans-serif;
}

.hmc-meat-detail__booking-status span{
    color:#667061;
    font-size:11px;
    font-weight:700;
    letter-spacing:.07em;
    text-transform:uppercase;
}

.hmc-meat-detail__booking-status strong{
    font-size:14px;
}

.hmc-meat-detail__closed-notice{
    padding:26px;
    border-radius:14px;
    background:#E9E7E1;
    color:#565B53;
    font-family:"Montserrat",sans-serif;
}

.hmc-meat-detail__closed-notice p{
    margin:8px 0 0;
    line-height:1.7;
}

/* WooCommerce-Kaufbereich analog zum Kursbuchungsblock */
.hmc-meat-detail__cart{
    width:100%;
    font-family:"Montserrat",sans-serif;
}

.hmc-meat-detail__cart form.cart{
    width:100%;
    margin:0!important;
    padding:24px;
    border:1px solid #E5E0D6;
    border-radius:14px;
    background:#fff;
}

.hmc-meat-detail__cart .quantity{
    display:inline-flex;
    margin:0 10px 10px 0!important;
    vertical-align:middle;
}

.hmc-meat-detail__cart .qty{
    min-width:94px;
    min-height:48px;
    border:1px solid #D8D5CE!important;
    border-radius:8px!important;
    background:#fff!important;
    color:#2E352B!important;
    font-family:"Montserrat",sans-serif!important;
    font-weight:650!important;
}

.hmc-meat-detail__cart .single_add_to_cart_button{
    min-height:48px!important;
    padding:12px 24px!important;
    border:0!important;
    border-radius:999px!important;
    background:#3F5238!important;
    color:#fff!important;
    font-family:"Montserrat",sans-serif!important;
    font-size:14px!important;
    font-weight:700!important;
    line-height:1.3!important;
    box-shadow:none!important;
}

.hmc-meat-detail__cart .single_add_to_cart_button:hover{
    background:#30422B!important;
    color:#fff!important;
}

.hmc-meat-detail__cart .variations{
    width:100%;
    margin:0 0 20px!important;
}

.hmc-meat-detail__cart .variations th,
.hmc-meat-detail__cart .variations td{
    display:block;
    width:100%;
    padding:0!important;
    border:0!important;
    text-align:left;
}

.hmc-meat-detail__cart .variations label{
    display:block;
    margin:0 0 6px;
    color:#667061;
    font-size:11px;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.hmc-meat-detail__cart .variations select{
    width:100%;
    min-height:46px;
    margin:0 0 14px;
    padding:9px 11px;
    border:1px solid #D8D5CE;
    border-radius:8px;
    background:#fff;
    color:#2E352B;
}

.hmc-meat-detail__cart .reset_variations{
    display:inline-block;
    margin:2px 0 14px;
    color:#C97B19;
    font-size:12px;
}

.hmc-meat-detail__cart .woocommerce-variation-price{
    margin:0 0 16px;
    color:#2E352B;
    font-weight:700;
}

.hmc-meat-detail__smallprint{
    margin:18px 0 0;
    color:#757A72;
    font-family:"Montserrat",sans-serif;
    font-size:11px;
    line-height:1.6;
}

.hmc-meat-detail a:focus-visible,
.hmc-meat-detail button:focus-visible,
.hmc-meat-detail input:focus-visible,
.hmc-meat-detail select:focus-visible{
    outline:2px solid #C97B19!important;
    outline-offset:4px;
}

.hmc-meat-product-page .woocommerce-notices-wrapper{
    width:min(1280px,calc(100% - 80px));
    margin:20px auto;
    font-family:"Montserrat",sans-serif;
}

@media(max-width:960px){
    .hmc-meat-detail__layout{
        grid-template-columns:1fr;
    }

    .hmc-meat-detail__sidebar{
        position:static;
        order:-1;
    }
}

@media(max-width:680px){
    .hmc-meat-detail__hero-content,
    .hmc-meat-detail__container,
    .hmc-meat-product-page .woocommerce-notices-wrapper{
        width:calc(100% - 40px);
    }

    .hmc-meat-detail__hero{
        min-height:480px;
    }

    .hmc-meat-detail__hero-content{
        padding-bottom:48px;
    }

    .hmc-meat-detail__container{
        padding:56px 0 70px;
    }

    .hmc-meat-detail__section{
        padding-bottom:46px;
        margin-bottom:46px;
    }

    .hmc-meat-detail__summary{
        padding:24px;
    }

    .hmc-meat-detail__gallery{
        grid-template-columns:1fr;
    }

    .hmc-meat-detail__cart form.cart{
        padding:20px;
    }

    .hmc-meat-detail__cart .quantity{
        display:flex;
        width:100%;
        margin-right:0!important;
    }

    .hmc-meat-detail__cart .qty{
        width:100%;
    }

    .hmc-meat-detail__cart .single_add_to_cart_button{
        width:100%;
    }
}

@media(prefers-reduced-motion:reduce){
    html{
        scroll-behavior:auto;
    }
}


/* 1.0.10 – erweiterte Produktinformationen */
.hmc-meat-detail__product-type{
    display:inline-flex;
    align-items:center;
    padding:5px 9px;
    border-radius:999px;
    font-size:11px;
    font-weight:700;
    letter-spacing:.045em;
    text-transform:uppercase;
}

.hmc-meat-detail__product-type--package{
    background:#F4E4CC;
    color:#7B4A0E;
}

.hmc-meat-detail__product-type--piece{
    background:#E4EDDF;
    color:#36502F;
}

.hmc-meat-detail__product-type-note{
    display:block;
    margin-top:6px;
    color:#747A71;
    font-size:11px;
    line-height:1.45;
}

.hmc-meat-detail__info-list{
    margin:0;
    padding-left:18px;
    color:#465044;
}

.hmc-meat-detail__info-list li{
    margin:0 0 6px;
    line-height:1.55;
}

.hmc-meat-detail__info-list li:last-child{
    margin-bottom:0;
}

.hmc-meat-detail__info-wide dd{
    color:#465044!important;
    font-size:13px!important;
    line-height:1.65!important;
}


/* 1.0.11 – Inline-SVG-Icons */
.hmc-inline-icon{
    width:18px;
    height:18px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 18px;
    color:#C97B19;
    vertical-align:middle;
}

.hmc-inline-icon svg{
    width:100%;
    height:100%;
    display:block;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.hmc-meat-detail__summary dt{
    display:flex;
    align-items:center;
    gap:8px;
}

.hmc-meat-detail__summary dt .hmc-inline-icon{
    width:16px;
    height:16px;
    flex-basis:16px;
}

.hmc-inline-icon--button{
    margin-right:8px;
    color:currentColor;
}

.hmc-meat-detail__button{
    align-items:center;
}

/* Vertrauensleiste unterhalb der Bestellung */
.hmc-meat-detail__usp-strip{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:0;
    margin-top:58px;
    overflow:hidden;
    border:1px solid #E5E0D6;
    border-radius:16px;
    background:#fff;
}

.hmc-meat-detail__usp{
    min-width:0;
    display:flex;
    align-items:flex-start;
    gap:14px;
    padding:22px 24px;
    border-right:1px solid #ECE8DF;
}

.hmc-meat-detail__usp:last-child{
    border-right:0;
}

.hmc-meat-detail__usp-icon{
    width:29px;
    height:29px;
    flex-basis:29px;
    color:#3F5238;
}

.hmc-meat-detail__usp strong,
.hmc-meat-detail__usp span{
    display:block;
    font-family:"Montserrat",sans-serif;
}

.hmc-meat-detail__usp strong{
    margin-bottom:4px;
    color:#2E352B;
    font-size:12px;
    font-weight:700;
}

.hmc-meat-detail__usp span{
    color:#687064;
    font-size:10.5px;
    line-height:1.5;
}

@media(max-width:960px){
    .hmc-meat-detail__usp-strip{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .hmc-meat-detail__usp{
        border-bottom:1px solid #ECE8DF;
    }

    .hmc-meat-detail__usp:nth-child(2){
        border-right:0;
    }

    .hmc-meat-detail__usp:nth-last-child(-n+2){
        border-bottom:0;
    }
}

@media(max-width:560px){
    .hmc-meat-detail__usp-strip{
        grid-template-columns:1fr;
    }

    .hmc-meat-detail__usp{
        border-right:0;
        border-bottom:1px solid #ECE8DF!important;
    }

    .hmc-meat-detail__usp:last-child{
        border-bottom:0!important;
    }
}
