


.recipe_page .buttons_wrap button{
    padding: 0px 17px;
}

.recipe_page .buttons_wrap button img{
    margin-left: 10px;
}

.buttons_wrap button.second{
    margin-left: 10px;
    margin-right: 10px;
}



.recipe_page .recipe_body{
    padding-top: 0;
}

.recipe_page .buttons_wrap{
    margin-top: 25px;

}


.recipe_new_page .content_ingredients{

}


.recipe_page .main_box .content h2{
    font-size: 30px;
}

.recipe_page .main_box .content{
    margin-top: 0px;
    width: 100%;
}


.recipe_page .main_box .content.content_ingredients{
    margin-top: 30px;
}

.recipe_page .main_box{
    padding: 40px;
    margin-top: 30px;
}


.recipe_page .main_box .tik_tok .tik_tok_img{
    max-width: 100%;
}


.recipe_page.recipe_new_page .main_box .content ul li:before{
    display: none;
}

.recipe_page.recipe_new_page .main_box .content ul{
    margin: 0px;
    margin-bottom: 25px;
    width: max-content;
}

.recipe_page.recipe_new_page .main_box .content ul li{
    font-size: 14px;
    border-bottom: 1px solid #E6E6E6;
    padding: 8px 0px;
    padding-right: 50px;
}


.recipe_page.recipe_new_page .main_box .content ul li:last-child{
    border: none;
}

.recipe_new_page .content_instructions{

}



.recipe_page .main_box .content.content_instructions .text span{
    width: 30px;
    height: 30px;
    background-color: #d2b887;
    text-align: center;
    line-height: 30px;
    color: #ffffff;
    font-size: 20px;
    border-radius: 50%;
    font-weight: 700;
}

.recipe_page .main_box .content.content_instructions .instruction_title{
    margin-left: 10px;
    width: 80%;
}


.recipe_page .main_box .content .text{
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 13px;
}

.recipe_page .main_box .content label{
    margin-bottom: 15px;
}

.recipe_page .main_box .content.content_instructions h3, .recipe_page .main_box .content.content_ingredients h3{
    font-size: 14px;
    font-weight: 700;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 10px;
}


.recipe_page .author{
    padding: 0px;
    border: none;
}

.recipe_page .author .content .team_title{
    font-weight: 700;
    text-transform: none;
    font-style: italic;
}

.recipe_page .author .content .name {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    margin-top: 24px;
}


.recipe_add_to_cart_top{
    display: flex;
    margin-bottom: 30px;
}

.recipe_add_to_cart_top img{
    width: 104px;
    height: 87px;
}

.recipe_page .recipe_add_to_cart .recipe_add_to_cart_top h3{
    font-size: 30px;
}

.recipe_page .recipe_add_to_cart h4{
    margin: 0;
    margin-bottom: 5px;
}

.recipe_page .recipe_add_to_cart .recipe_add_to_cart_top .text{
    margin-left: 15px;
}


.cake_converter_card{
    background-color: #292828;
    display: flex;
    flex-direction: row;
    height: auto;
    align-items: center;
    margin-bottom: 20px;
    padding: 13px;
}

.cake_converter_card .main-img {
    width: 310px;
    margin: 0 auto;
    height: 210px;
    margin-right: -25px;
}

.cake_converter_card.cake_converter_recipes .main-img {
    width: 380px;
    height: auto;
    margin-right: -80px;
}


.cake_converter_card .card_content{
    padding: 0px;
    background: none;
    margin: 0px;
    text-align: left;
    padding: 20px;
}


.recipe_page .recipe_add_to_cart .products_box{
    padding: 20px;
}

.cake_converter_card .card_content p{
    font-size: 20px;
}


.cake_converter_card .card_content .cta{
    height: 38px;
    line-height: 38px;
    text-align: center;
}


.cake_converter_card .card_content .cta img{
    width: 25px;
}


.calculate_portions{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.calculate_portions .portion_content{
    background-color: #292828;
    color: #ffffff;
    padding: 0 20px;
    height: 41px;
    text-transform: uppercase;
    padding-right: 55px;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    line-height: 41px;
}


.calculate_portions button{
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}



.calculate_portions .portion_content .quantity{
    vertical-align: middle;
    margin-left: 10px;
    margin-right: 10px;
}



/* RECIPE BOOK */


.book_recipe .hero{
    background-color: #292828;
    color: #ffffff;
    padding-top: 30px;
    padding-bottom: 30px;
}

.book_recipe .hero img{
    width: 610px;
    max-width: 100%;
}

.book_recipe .hero .content{
    margin-left: 30px;
}

.book_recipe .hero h1{
    font-weight: 800;
    margin-bottom: 30px;
}

.book_recipe .hero .h1_mobile{
    display: none;
}

.book_recipe .hero .box{
    display: flex;
    align-items: center;
}

.book_recipe .hero .text{
    font-size: 24px;
    width: 100%;
}


.book_recipe .stats {
    display: flex;
    margin: 0 auto;
    gap: 17px;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.book_recipe .stats .stats_card{
    padding: 15px;
    width: 200px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    background-color: #CAB180;
    border-radius: 6px;
}

.book_recipe .stats .stats_card .image_box{
    height: 75px;
    line-height: 75px;
}

.book_recipe .stats .stats_card img{

}

.book_recipe .stats .stats_card .text{
    padding: 0 21px;
}

.book_recipe .stats .stats_card .text h3{
    font-size: 62px;
    display: block;
}

.book_recipe h2{
    font-size: 30px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 40px;
    margin-top: 80px;
    font-weight: 700;
}


.book_recipe h3{
    font-size: 18px;
}

.book_recipe h3 strong{
    font-weight: 700;
}


.book_recipe .input_box{
    display: flex;
}

.book_recipe .input_box input{
    height: 51px;
    padding: 0 20px;
    border-top-left-radius: 6px;
    border: 1px solid #000000;
    border-bottom-left-radius: 6px;
    width: 50%;
}

.book_recipe .input_box button{
    height: 51px;
    padding: 0 20px;
    border-top-right-radius: 6px;
    border: 1px solid #000000;
    border-bottom-right-radius: 6px;
    width: 50%;
    border-left: none;
    background-color: #D1E5A1;
    font-size: 14px;
    font-weight: 700;
    transition: .3s;
}

.book_recipe .input_box button:hover{
    opacity: 0.8;
}

.book_recipe .box_1{
    margin-bottom: -80px;
}

.book_recipe .box_1 .text{
    margin-bottom: 20px;
}


.book_recipe .box_1 .input_box{
    margin-top: 20px;
}

.book_recipe .cake_converter_card{
    margin-top: 57px;
}

.book_recipe .cake_converter_card .main-img{
    width: 372px;
    margin: 0 auto;
    height: 241px;
    margin-right: 0;
    margin-top: -45px;
}

.book_recipe .newsletters_box{
    background-color: #292828;
    text-align: center;
    padding: 30px;
    margin-bottom: 40px;
    margin-top: 30px;
}


.book_recipe .newsletters_box .content{
    display: flex;
    align-items: center;
    justify-content: center;
}

.book_recipe .newsletters_box h3{
    color: #ffffff;
    width: 50%;
}

.book_recipe .newsletters_box .input_box{
    width: 50%;
}

.book_recipe .newsletters_box .input_box button{
    border: none;
    text-transform: uppercase;
}

.book_recipe .newsletters_box .input_box input{
    border: none;
}

.free_recipe{
    background-color: #292828;
    padding: 50px;
    color: #ffffff;
}

.free_recipe img {
    height: auto;
    margin: 0 auto;
    display: block;
    margin-bottom: -50px;
    margin-left: 0;
    width: 600px;
    max-width: unset;
}

.free_recipe button{
    background-color: #D1E5A1;
}


.modal_free_recipe .free_recipe img{
    float: right;
    width: 570px;
    margin-top: -80px;
}

.modal_free_recipe .free_recipe h3{
    color: #292828;
}

.modal_free_recipe .text {
    color: #ffffff;
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.recipe_page .recipe_body .academy_wrapper a{
    color: #292828;
}


.modal_free_recipe_new form{
    display: flex;
}

.modal_free_recipe .free_recipe input{
    border-radius: 0px;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    width: 100%;
}


.modal_free_recipe .modal-body .btn_primary {
    border-radius: 0px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    width: 60%;
}

.modal_free_recipe .free_recipe {
    background-color: #292828;
    color: #ffffff;
}

.modal_free_recipe .free_recipe h3{
    color: #ffffff;
    width: 60%;
}

.modal_free_recipe .text{
    color: #ffffff;
    width: 80%;
}

.modal_free_recipe .modal-body{
    background-color: #292828;
    padding: 50px;
}


.modal.modal_free_recipe.show .modal-dialog{
    max-width: 1100px;
}

.free_recipe .text{
    font-size: 24px;
}

.modal_free_recipe.modal_free_recipe_new .free_recipe{
    padding: 30px;
}

.modal_free_recipe .btn-close img{
    filter: invert(1);
}

.recipe_page .buttons_wrap button{

    margin-bottom: 5px;
}

.recipe_add_to_cart .cake_converter_card{
    display: block;
    position: relative;
}


.recipe_add_to_cart .cake_converter_card .card_content{
    width: 46%;
    padding: 10px 10px;
    padding-right: 0px;
}

.recipe_add_to_cart .cake_converter_card .main-img{
    position: absolute;
    right: -23px;
    top: -33px;
}

.recipe_add_to_cart .cake_converter_card.cake_converter_recipes{
    margin-top: 50px;
}

.recipe_add_to_cart .cake_converter_card.cake_converter_recipes .main-img{
    width: 410px;
}


.recipe_no_products .cake_converter_card .main-img{
    width: 254px;
    height: auto;
    top: 0;
    right: 0;
}

.recipe_no_products .cake_converter_card.cake_converter_recipes .main-img{
    width: 290px;
}


.recipe_add_to_cart.recipe_no_products .cake_converter_card.cake_converter_recipes{
    margin: 0px;
}


.recipe_add_to_cart.recipe_no_products .cake_converter_card .card_content{
    width: 48%;
}


.recipe_page .recipe_body{
    position: relative;
}

.recipe_toc {
  position: absolute;      /* PREJ: fixed */
  top: 115px;
  left: 40px;
  width: 200px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  z-index: 100;
  opacity: 1;              /* vedno vidno */
  pointer-events: auto;    /* vedno klikabilno */
  transition: none;        /* brez bledenja */
}
.recipe_toc.is-fixed {
  position: fixed;
  top: var(--tocTop, 90px); /* JS nastavi dejanski top = header + 10 */
  left: var(--tocLeft, 40px);
  width: 200px;
}

#recipe-toc {
  will-change: transform;
}

/* notranji stil */
.recipe_toc__title {
  font-weight: 700;
  margin-bottom: 8px;
}

.recipe_toc__nav ul { list-style: none; margin: 0; padding: 0; }
.recipe_toc__nav li {border-bottom: 1px solid #E6E6E6;padding: 15px 15px;display: flex;gap: 10px;align-items: center;}
.recipe_toc__nav a { text-decoration: none; color: #222; }

.recipe_toc__nav li.active {
  background: #F6F5F5;
  border-left: 4px solid #CAB180;
}
.recipe_toc__nav li.active a {
  font-weight: 600;
  color: #1e293b;
}


.recipe_toc__nav a:hover { text-decoration: underline; color: #000; }

.description.editor_text,
.content.content_ingredients h2[id],
.content.content_ingredients h3[id]{
  scroll-margin-top: 100px; /* prilagodi (ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â°ÃƒÆ’Ã¢â‚¬Â¹ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â  header + 10px) */
}



.recipe_page .recipe_body .recipe_toc__nav li a{
    color: #292828;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.recipe_page .recipe_body .recipe_toc__nav li a span{
    width: 24px;
    height: 24px;
    display: inline-block;
    border: 1px solid #D2B887;
    border-radius: 50%;
    align-items: center;
    color: #D2B887;
    margin-right: 0;
    text-align: center;
    flex: 0 0 24px;
}


.recipe_page .recipe_body .recipe_toc__nav li.toc-level-2 a{
    font-size: 14px;
    font-weight: 400;
}

@media (max-width: 991.98px){
    #recipe-toc.recipe_toc{
        position: static;      
        top: auto;
        left: auto;
        width: auto;
        max-height: none;
        margin: 12px 0 16px;
        box-shadow: none;      
        opacity: 1;            
        pointer-events: auto;  
    }

    .toc-accordion{
        background: #fff;
        overflow: hidden;
        margin: 12px 0 16px;
    }

    .toc-accordion__btn{
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: .5rem;
        padding: 18px 20px;
        font-weight: 700;
        font-size: 16px;
        background: #fff;
        border: 0;
        cursor: pointer;
    }
    .toc-accordion__chev{
        width: 22px;
        height: 22px;
        flex: 0 0 22px;
        transition: transform .2s ease;
    }
    .toc-accordion.is-open .toc-accordion__chev{
        transform: rotate(180deg);
    }

    .toc-accordion__panel{
        max-height: 0;              /* zaprto */
        overflow: hidden;
        transition: max-height .25s ease;
        border-top: 1px solid #eee;
    }

    /* ko je panel odprt, dopuščamo rast do vsebine (JS sproti nastavi max-height) */
    .toc-accordion.is-open .toc-accordion__panel{
        /* max-height nastavlja JS na scrollHeight px */
    }

    /* tvoj obstoječi #recipe-toc naj v panelu izgleda normalno */
    #recipe-toc{
        border-radius: 0;
        box-shadow: none;
        position: static !important;   /* na mobiju ne lepi */
        width: 100% !important;
    }
}

/* Smooth accordion animation for level-2 items */
.recipe_toc__nav li.toc-level-2 {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom-width: 0;
  transition:
    max-height .3s ease,
    opacity .25s ease,
    padding .25s ease,
    border-width .25s ease;
}

.recipe_toc__nav li.toc-level-2.is-open {
  opacity: 1;
  padding-top: 5px;
  padding-bottom: 5px;
  border: none;
  border-left: 4px solid #CAB180;
}

.recipe_toc__nav li.toc-level-2.is-open.active2 a{
    color: #d2b887;
}


@media screen and (max-width: 1200px){
    .recipe_add_to_cart .cake_converter_card.cake_converter_recipes .main-img{
        width: 365px;
        top: -10px;
    }

    .recipe_add_to_cart .cake_converter_card .main-img{
        width: 265px;
        height: auto;
        top: 0px;
    }
}

@media screen and (max-width: 991px){


    .modal.show .modal-dialog{
        max-width: 100%;
    }

    .recipe_page .buttons_wrap {
        margin-top: 90px;
        margin-bottom: 25px;
    }

    .recipe_page .buttons_wrap button{
        width: 100%;
        margin-bottom: 5px;
    }

    .buttons_wrap button.second{
        margin: 0px;
        margin-bottom: 5px;
    }

    .recipe_page .main_box .content h2{
        font-size: 24px;
        margin-left: 15px;
        margin-right: 15px;
    }

    .recipe_page .main_box{
        padding: 10px;
    }


    .recipe_page .main_box .content .form_group{
        margin-left: 10px;
        margin-right: 10px;
    }


    .recipe_page .main_box .content.content_instructions .instruction_title p{
        text-align: left !important;
    }

    .recipe_page .main_box .content.content_instructions .instruction_title{
        width: 90%;
    }

    .author a{
        margin-top: 0px;
    }

    .recipe_add_to_cart_top{
        text-align: left;

    }

    .recipe_page .recipe_add_to_cart .recipe_add_to_cart_top h3 {
        font-size: 27px;
    }


    .cake_converter_card .card_content{
        order: 2;
        margin-left: 40%;
        padding-right: 12px;
    }

    .cake_converter_card .main-img{
        width: auto;
        margin: 0 auto;
        height: 159px;
        margin-right: 0;
        order: 1;
    }


    .product_card button{

    }

    .cake_converter_card.cake_converter_recipes .main-img {
        width: 160px;
        height: auto;
        margin-right: 0;
    }


    .book_recipe .hero .box{
        flex-direction: column;
    }

    .book_recipe .hero h1{
        display: none;
    }

    .book_recipe .hero .h1_mobile{
        display: block;
        font-size: 30px;
        margin-top: 20px;
    }

    .book_recipe .hero{
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
    }

    .book_recipe .hero .content{
        margin: 0px;
        margin-top: 20px;
    }

    .book_recipe .stats{
        padding: 10px;
        gap: 10px;
        justify-content: center;
    }

    .book_recipe .stats .stats_card {
        width: 48%;
    }

    .book_recipe .stats .stats_card .text{
        font-size: 13px;
        padding: 0px;
    }

    .book_recipe .box_1 {
        margin-bottom: 50px;
        padding: 0 15px;
        text-align: center;
    }

    .book_recipe .box_1 img, .book_recipe .box_2 img{
        max-width: 100%;
    }

    .book_recipe h2{
        font-size: 24px;
        margin-top: 30px;
    }

    .book_recipe .box_2 .box_content{
        text-align: center;
        padding:  0 15px;
    }

    .book_recipe .cake_converter_card .main-img{
        width: auto;
        margin: 0 auto;
        height: 159px;
        margin-right: 0;
        order: 1;
    }

    .book_recipe .cake_converter_card{
        padding: 0px;
    }

    .book_recipe .newsletters_box .content{
        flex-direction: column;
    }

    .book_recipe .newsletters_box h3 {
        width: 100%;
        margin-bottom: 10px;
    }

    .book_recipe .newsletters_box .input_box{
        width: 100%;
    }

    .book_recipe .input_box{
        flex-direction: column;
    }

    .book_recipe .input_box input{
        width: 100%;
        border-radius: 0px;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
    }

    .book_recipe .input_box button{
        border: 1px solid #000000;
        width: 100%;
        border-top: none;
        border-radius: 0px;
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;
    }


    .free_recipe img{
        max-width: 100%;
    }

    .free_recipe {
        padding: 15px;
        padding-bottom: 30px;
    }

    .calculate_portions .portion_content{
        font-size: 12px;
        padding-right: 10px;
        padding-left: 15px;
        width: 60%;
    }



    .calculate_portions img{
        width: 24px;
    }


    .recipe_page.recipe_new_page .product_card button img{
        float: none;
    }


    .modal_free_recipe .free_recipe h3{
        width: 100%;

    }

    .modal_free_recipe .text{
        width: 100%;
    }


    .modal_free_recipe .free_recipe img{
        width: auto;
        float: none;
        margin: 0;
    }

    .modal_free_recipe.modal_free_recipe_new .modal-body{
        padding: 10px;
    }

    .modal_free_recipe.modal_free_recipe_new .free_recipe{
        padding: 15px;
        text-align: center;
    }

    .modal_free_recipe_new form{
        flex-direction: column;
    }

    .modal_free_recipe.modal_free_recipe_new .modal-body .btn_primary{
        border-radius: 0px;
        width: 100%;
        margin: 0px;
    }

    .modal_free_recipe .free_recipe input{
        width: 100%;
        border-radius: 0px;
        margin: 0px;
    }

    .modal_free_recipe.modal_free_recipe_new .text{
        font-size: 16px;
    }


    .recipe_add_to_cart .cake_converter_card .main-img{
        left: 0px;
        right: auto;
    }


    .recipe_add_to_cart .cake_converter_card.cake_converter_recipes .main-img{
        left: -50px;
        width: 300px;
    }

}


@media screen and (max-width: 768px){
    .recipe_add_to_cart .cake_converter_card.cake_converter_recipes{
        overflow: hidden;
    }

    .recipe_add_to_cart .cake_converter_card .card_content{
        width: 60%;
    }

    .recipe_add_to_cart .cake_converter_card .main-img{
        width: 140px;
        top: 7%;
    }

    .recipe_add_to_cart .cake_converter_card.cake_converter_recipes .main-img{
        left: -50px;
        width: auto;
        top: -54px;
    }

    .recipe_add_to_cart.recipe_no_products .cake_converter_card .card_content {
        width: 60%;
    }
}