body:has(.recept-box) article header h1 {
    display: none;
}

.recept-box {
    font-family: "Roboto";
    color: #4a2e20;
    padding: 20px !important;
    margin: 0 10px -50px;

    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: visible;

    min-width: 335px;
    min-height: 550px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    background-color: #caa7f9;
}

.recept-box.color-lila {
    background-color: #caa7f9;
}

.recept-box.color-green {
    background-color: #b1db67;
}

.recept-box.color-yellow {
    background-color: #f7d147;
}

.recept-box.color-blue {
    background-color: #4FC7F3;
}

.recept-box.color-brown {
    background-color: #A36742;
}

.recept-box.color-red {
    background-color: #E05559;
}

.recept-box.color-pink {
    background-color: #E35C7E;
}

.recept-box.color-orange {
    background-color: #EE7D31;
}

.recept-box .recept-column {
    flex: 1;
    padding: 0px !important;
}

.recept-box .recept-column:nth-child(1) { order: 2; }
.recept-box .recept-column:nth-child(2) { order: 1; }
.recept-box .recept-column:nth-child(3) { order: 3; }

.recept-box .recept-column a {
    color: #4a2e20;
}

.recept-box .recept-column .recept-meta span.recept-obtiznost {
    font-family: "Knofedt", sans-serif;
    font-weight: 100;
    font-size: 3rem;
    background-color: #ddf75c;
    color: #30a506;
    padding: 6px 30px !important;
    border-radius: 999px !important;
}

.recept-box.color-green .recept-column .recept-meta span.recept-obtiznost {
    background-color: #caa7f9;
    color: #fff;
}

.recept-box.color-yellow .recept-column .recept-meta span.recept-obtiznost {
    background-color: #a36643;
    color: #f7d147;
}

.recept-box.color-blue .recept-column .recept-meta span.recept-obtiznost {
    background-color: #FDC52C;
    color: #B57117;
}

.recept-box.color-brown .recept-column .recept-meta span.recept-obtiznost {
    background-color: #34D8D2;
    color: #20716E;
}

.recept-box.color-red .recept-column .recept-meta span.recept-obtiznost {
    background-color: #882AD8;
    color: #45146E;
}

.recept-box.color-pink .recept-column .recept-meta span.recept-obtiznost {
    background-color: #02C6FD;
    color: #007393;
}

.recept-box.color-orange .recept-column .recept-meta span.recept-obtiznost {
    background-color: #4DD3E3;
    color: #01727F;
}

.recept-box .recept-column .recept-meta span.recept-cas {
    margin-left: 15px;
    font-size: 1.85rem;
    font-weight: 500;
}

.recept-box .recept-column .recept-meta span.recept-cas::before {
    content: "";
    -webkit-mask: url("/user/documents/theme/img/time-icon.svg") no-repeat center/contain;
    mask: url("/user/documents/theme/img/time-icon.svg") no-repeat center/contain;
    background-color: #f7d147;
    display: inline-block;
    width: 26px;
    height: 26px;
    margin-right: 6px;
    margin-bottom: -6px;
}

.recept-box.color-lila .recept-column .recept-meta span.recept-cas::before {
    background-color: #f7d147;
}

.recept-box.color-green .recept-column .recept-meta span.recept-cas::before {
    background-color: #ddf65c;
}

.recept-box.color-yellow .recept-column .recept-meta span.recept-cas::before {
    background-color: #ff7504;
}

.recept-box.color-blue .recept-column .recept-meta span.recept-cas::before {
    background-color: #1C6971;
}

.recept-box.color-brown .recept-column .recept-meta span.recept-cas::before {
    background-color: #A3E42D;
}

.recept-box.color-red .recept-column .recept-meta span.recept-cas::before {
    background-color: #DCE238;
}

.recept-box.color-pink .recept-column .recept-meta span.recept-cas::before {
    background-color: #FFBF33;
}

.recept-box.color-orange .recept-column .recept-meta span.recept-cas::before {
    background-color: #FFBF33;
}

.recept-box .recept-column h2 {
    font-family: "Knofedt", sans-serif;
    font-size: 7rem;
    text-transform: uppercase;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
    color: #4a2e20;
    font-weight: 100;
}

.recept-box .recept-column.recept-center {
    margin: 0 auto;
}

.recept-box .recept-column.recept-center img {
    margin-top: -80px;
}

.recept-box .recept-column .recept-toggle-buttons {
    display: inline-flex;
    width: auto;
    gap: 0px;
    margin-top: 20px;
    background-color: #fbcc43;
    border-radius: 999px;
    font-family: "Knofedt", sans-serif;
    font-size: 2.6rem;
    font-weight: 100;
    text-transform: uppercase;
}

.recept-box .recept-column .recept-toggle-buttons button {
    background: transparent;
    border: none;
    padding: 0px 30px !important;
    border-radius: 999px !important;
    cursor: pointer;
    color: #dd4820;
}

.recept-box .recept-column .recept-toggle-buttons button.active {
    background-color: #dd4820;
    color: #fbcc43;
    font-weight: 400;
}

.recept-box .recept-column .recept-content {
    display: none;
}

.recept-box .recept-column .recept-content.active {
    display: block;
}

.recept-box .recept-column #ingredience ul {
    list-style: disc;
    padding-left: 20px;
}

.recept-box .recept-column ol {
    padding-left: 20px;
}

.recept-box .recept-column #ingredience ul li {
    font-size: 1.7rem;
    line-height: 1.4;
    margin-bottom: 10px;
    position: relative;
    padding-left: 4px;
}

.recept-box .recept-column #ingredience ul li::before {
    content: "";
    margin: 0;
}

.recept-box .recept-column #ingredience li::marker {
    color: #f7d147;
    font-size: 1.6em;
}

.recept-box .recept-column ol li,
.recept-box .recept-column #ingredience ul li a {
    color: #4a2e20;
}

.recept-box .recept-column #ingredience ul li img {
    width: auto;
    max-width: 30px;
    max-height: 30px;
    margin-right:10px;
}

.recept-center .recept-meta {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: bold;
    color: #4a2e20;
    text-align: center;
}

.recept-gallery-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.recept-main-img {
    width: 200px;
    height: 200px;
    max-width: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid white;
    position: relative;
    z-index: 2;
    margin-top: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.recept-box .recept-column .recept-gallery-carousel {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    scrollbar-width: none; /* Firefox */
}

.recept-gallery-carousel::-webkit-scrollbar {
    display: none; /* Chrome */
}

.recept-box .recept-column .recept-gallery-carousel img {
    width: auto;
    height: auto;
}

.recept-box .recept-column .recept-gallery-wrapper #mainGalleryImg {
    min-height: 200px;
    border-radius: 10px;
}

.recept-box .recept-column .recept-gallery-carousel a {
    flex: 0 0 calc(33.333% - 10px);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
}

.recept-box .recept-column .recept-gallery-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s ease, border-color 0.2s;
}

.recept-gallery-carousel img:hover {
    transform: scale(1.05);
    border-color: #888;
}

.recipe-next, .recipe-prev {
    display: none !important;
}

.recept-box .recept-column .accordion-header {
    font-family: "Knofedt", sans-serif;
    font-weight: 100;
    font-size: 25px;
    text-transform: uppercase;
}

.recept-box .recept-column #ingredience .accordion-content ul {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


body.in-recepty.type-post .btn-with-icon{display:inline-flex;align-items:center;gap:8px}
body.in-recepty.type-post .btn-with-icon .icon{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center}
body.in-recepty.type-post .btn-with-icon .spinner{width:18px;height:18px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
body.in-recepty.type-post .add-to-cart-button {
    border-radius: 10px;
    font-size: 20px;
    font-weight: 400;
}

@media(min-width: 1024px) {
    .recept-box {
        flex-direction: row;
        max-width: none !important;
        margin: 0 40px;
    }

    .recept-box .recept-column:nth-child(1) { order: 1; }
    .recept-box .recept-column:nth-child(2) { order: 2; }
    .recept-box .recept-column:nth-child(3) { order: 3; }

    .recept-box .recept-column .recept-toggle-buttons {
        margin-top: 0;
    }

    .recept-box .recept-column #ingredience ul,
    .recept-box .recept-column ol {
        padding-left: 28px;
    }

    .recept-box .recept-column.recept-center {
        position: relative;
        text-align: center;
    }

    .recept-box .recept-column.recept-center img {
        --img-width: 300px;

        /*position: absolute;*/
        /*left: calc(50% - calc(var(--img-width) / 2));*/
        /*bottom: -40px;*/
        width: var(--img-width);
        max-width: none !important;
    }

    article {
        position: relative;
    }

    .recipe-next, .recipe-prev {
        display: block !important;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: transparent !important;
        border: 2px solid #51282b !important;
        border-radius: 50% !important;
        width: 40px;
        height: 53px;
        cursor: pointer;
        z-index: 10;
        font-size: 0px;
        line-height: 46px;
        overflow: hidden;
        transition: none !important;
    }

    .recipe-prev {
        left: -18px;
    }

    .recipe-next {
        right: -18px;
    }

    .recipe-prev::before,
    .recipe-next::before {
        align-items: center;
        display: flex;
        justify-content: center;
        font-family: "shoptet";
        font-size: 20px;
        font-weight: 100;
        color: #51282b;
    }

    .recipe-prev::before {
        content: "\e90f";
        margin-left: -3px;
    }

    .recipe-next::before {
        content: "\e910";
        margin-right: -3px;
    }
}

@media(min-width: 1250px) {
    .recept-box .recept-column.recept-center img {
        --img-width: 400px;
    }
}

@media(min-width: 1440px) {
    .recept-box {
        margin: 0 10px;
    }

    .recipe-prev {
        left: -60px;
    }

    .recipe-next {
        right: -60px;
    }
}