:root {
	--container:1240px;
	--line:#fff;
	--bg:#390F0E;
	--bg-2:#fff;
    --col-left: 450px;
    --gap: 50px;
    --r: 8px;
    --r-sm: 8px;
    --line: #CECDA5;
    --text: #390F0E;
    --klasik: #390F0E;
    --muted: #A39982;
    --red: #A03035;
}

@media (min-width: 991px) and (max-width: 1200px) {
    :root {
        --col-left: 400px;
    }

    .item_head h1 {
        font-size: 35px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    :root {
        --col-left: 300px;
    }

    .item_head h1 {
        font-size: 30px !important;
    }
}

@media (max-width: 767px) {
    .inner .item_inner {
        display: block !important;
    }

    .item_gallery {
        margin-top: 40px;
        margin-bottom: 60px;
    }
}

.item_head h1 {
    font-size: 40px;
}

.item_head {
    min-width: 300px;
}

.item_inner h2, .more_recipes h2 {
    font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
    color: #390F0E;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.single-recept .et_pb_row {
    padding: 0;
}

.recipe_steps p {
    font-size: 15px;
    line-height: 24px;
    font-weight: 400;
}

.inner .item_inner {
    color: var(--text);
    display: grid;
    grid-template-columns:minmax(340px, var(--col-left)) 1fr;
    gap: var(--gap);
    padding: 0;
}

/* HLAVIČKA vlevo */
.inner .item_head {
    grid-column: 1/2
}

.inner .item_filtering {
    display: flex;
    gap: 15px;
    margin: 6px 0 18px
}

.inner .item_filtering img {
    width: auto;
    height: 26px;
    display: block
}

.inner .item_head h1 {
    margin: 0 0 18px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.01em
}

.inner .item_lead {
    margin: 0 0 18px;
    color: var(--klasik)
}

.item_meta {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.item_meta__cell {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
}

.item_meta__cell img {
    width: 22px;
    height: 22px;
}

.item_meta__cell strong {
    font-weight: 700;
    margin: 0;
}

:root {
    --accent: #a12922
}

.inner .item_stats {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 24px 60px;
    margin: 8px 0 26px;
}

.inner .item_stats .stat_label {
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
}

.inner .item_stats .stat_value {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    color: var(--accent);
}

.inner .item_stats .stat_value img {
    width: 28px;
    height: 28px;
    display: block;
}


/* GALERIE vpravo – full-bleed doprava */
.inner .image_main {
    width: 100%;
    aspect-ratio: 1000 / 750;
    height: auto;
    object-fit: cover;
}


.inner .item_gallery {
    grid-column: 2/3;
}

.inner .image_main {
    width: 100%;
    display: block;
    border-radius: var(--r);
    object-fit: cover;
    transition: opacity .2s ease;
}

.inner .item_gallery_thumbs {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}

.inner .image_thumb {
    width: 96px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--r-sm);
    background: #fff;
    border: 1px solid var(--line);
    box-sizing: border-box;
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.inner .image_thumb:hover {
    transform: translateY(-2px);
    opacity: .95
}

.inner .thumb_active {
    border-color: #A03035;
}

/* SUROVINY */
.inner .item_body {
    grid-column: 1/2;
    margin-top: 2px
}

.inner .item_body h2 {
    margin: 0px 0 15px;
    font-weight: 800
}

.inner .item_body h3 {
    margin: 22px 0 10px;
    font-weight: 700
}

.inner
.ingredients_section_title {
    font-size: 15px;
    margin: 0;
    font-weight: 700;
    font-family: 'Public Sans', Helvetica, Arial, Lucida, sans-serif;
    color: var(--klasik)
}


/* Tabulka surovin */
.inner .ingredients_table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 22px
}

.inner .ingredients_table td {
    padding: 7px 0;
    vertical-align: top
}

.inner .ingredients_table .ing_amount {
    width: 120px;
    color: var(--klasik);
    padding-right: 14px
}

/* Autor */
.inner .item_author {
    margin-top: 26px;
    color: var(--muted);
    font-style: italic;
    text-align: right;
}


.image_main {
    transition: opacity .2s ease
}

.image_thumb {
    border: 1px solid #e8eaee
}

.thumb_active {
    border-color: #a12922;
}


.inner .breadcrumbs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    font-size: 14px;
    color: #7a848c
}

.inner .breadcrumbs a {
    color: var(--muted);
    text-decoration: none
}

.inner .breadcrumbs a:hover {
    color: var(--accent)
}

.inner .breadcrumbs .sep {
    opacity: .5
}

.inner .breadcrumbs .current {
    color: var(--red)
}

.inner .item_inner {
    display: grid;
    grid-template-columns:minmax(340px, var(--col-left)) 1fr;
    gap: var(--gap);
}

.inner .item_head {
    grid-column: 1/2;
    order: 1
}

.inner .item_gallery {
    grid-column: 2/3;
    order: 2
}

.inner .item_body {
    grid-column: 1/2;
    order: 3
}

.inner .item_postup {
    grid-column: 1/3;
    order: 4;
	margin-top: 50px;
}

.inner .item_postup {
    grid-column: 2/3;
    order: 4
}

@media (max-width: 980px) {
    .inner .item_inner {
        grid-template-columns:1fr;
        gap: 28px
    }

    .inner .item_head {
        order: 1
    }

    .inner .item_gallery {
        order: 2
    }

    .inner .item_body {
        order: 3
    }

}


.recepty_grid {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 45px
}

.recept_card {
    background: #F7F7F0;
    border-radius: 8px;
}

.recept_card_img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block
}

.recept_card_body {
    padding: 18px 20px 20px
}

.recept_card_meta {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 10px
}

.recept_card_meta .meta_icon {
    width: auto;
    height: 40px;
    display: inline-block
}

.meta_time img {
    width: auto;
    height: 25px !important;
}

.recept_card_meta .meta_time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-size: 14px
}

.recept_card_title {
    margin: 6px 0 8px;
    line-height: 1.2
}

.recept_card_title a {
    text-decoration: none;
    color: inherit;
    font-weight: 700;
    font-size: 28px;
}

.recept_card_lead {
    margin: 0 0 14px;
    color: #390F0E
}

.recept_card_actions .recept_card_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
    color: #A03035;
}

.recept_card_actions .recept_card_btn:hover {
    color: #AF4449;
}

@media (max-width: 900px) {
	.recept_card_title a {
		font-size: 22px;
	}
	.item_head h1 {
		font-size: 28px;
	}
	.item_inner h2, .more_recipes h2, .shop_section h2 {
		font-size: 22px;
	}	
    .recept_card--hero .recept_card_img img {
        height: 240px;
    }

    .recepty_grid {
        grid-template-columns:1fr
    }
}

.recepty_load_more {
    font-size: 20px;
    font-weight: 500;
    border-radius: 8px;
    color: #FFFFFF !important;
    background-color: #585243;
    margin: 50px auto 0 auto;
    display: block;
    border: none;
    padding: 10px 25px;
}

.recepty_load_more:hover {
    background-color: #7C745F;
    cursor: pointer;
}


.recepty_filter {
    background: #eeefe5;
    border-radius: 12px;
    padding: 0px;
    margin-bottom: 0px
}

.recepty_filter .filter_group {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap
}

.multi_select {
    position: relative
}

.multi_select_btn {
    font-size: 14px;
    appearance: none;
    background: #F7F7F0;
    border: 2px solid #390F0E;
    color: #390F0E;
    border-radius: 10px;
    padding: 12px 44px 12px 16px;
    min-width: 240px;
    text-align: left;
    cursor: pointer;
    position: relative
}

.multi_select_btn::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #3a1f1a;
    border-bottom: 2px solid #3a1f1a;
    transform: translateY(-60%) rotate(45deg)
}

.multi_select.open .multi_select_btn::after {
    transform: translateY(-40%) rotate(-135deg)
}

.multi_select_menu {
    display: none;
    position: absolute;
    z-index: 50;
    top: 100%;
    left: 0;
    margin-top: 10px;
    background: #F7F7F0;
    border: 1px solid #390F0E;
    border-radius: 8px;
    padding: 5px;
    min-width: 200px;
    max-height: 555px;
    overflow: auto;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

.multi_select.open .multi_select_menu {
    display: block
}

/* řádek položky: ikona – text – checkbox napravo */
.multi_select_menu label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    border-radius: 8px;
    cursor: pointer;
    line-height: 1.2;
    color: var(--red);
    font-weight: 700
}

.multi_select_menu label:hover {
    background: #f6f6f2
}

/* ikona vlevo */
.multi_select_menu label img {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: block
}

/* text uprostřed, checkbox úplně vpravo */
.multi_select_menu label input[type="checkbox"] {
    margin-left: auto
}

/* vlastní vzhled checkboxu */
.multi_select_menu input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid #7d2320;
    border-radius: 6px;
    background: #fff;
    display: inline-grid;
    place-content: center;
    transition: .15s ease;
}

.multi_select_menu input[type="checkbox"]:hover {
    border-color: #9c2b26
}

.multi_select_menu input[type="checkbox"]:checked {
    background: #a12922;
    border-color: #a12922
}

.multi_select_menu input[type="checkbox"]:checked {
    background-color: #a12922;
    border-color: #a12922;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 8.5L6.5 11.5L12.5 5.5' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
}

/* jemnější scrollbar uvnitř menu */
.multi_select_menu::-webkit-scrollbar {
    width: 10px
}

.multi_select_menu::-webkit-scrollbar-thumb {
    background: #e6e7e1;
    border-radius: 10px
}

.multi_select_menu::-webkit-scrollbar-track {
    background: transparent
}


.multi_actions .multi_apply {
    background: #b23a2e;
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 8px 14px;
    cursor: pointer
}

.filter_reset {
    background: transparent;
    border: 0;
    color: #A03035;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 6px;
    cursor: pointer
}

@media (max-width: 780px) {
    .multi_select_btn {
        min-width: 200px
    }
}

.filter_reset .tts {
    text-decoration: underline;
}

.filter_reset:hover .tts {
    text-decoration: none;
}

.recepty_grid {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 28px;
}

.recept_card_img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.recept_card_body {
    padding: 18px 20px 20px
}

.recept_card_meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px
}

.recept_card_meta .meta_time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7a847a;
    font-size: 14px
}

.recept_card_title {
    margin: 6px 0 8px;
    line-height: 1.2
}

.recept_card_title a {
    text-decoration: none;
    color: inherit
}

.recept_card_lead {
    margin: 0 0 14px;
    color: #556
}

.recept_card_actions .recept_card_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    text-decoration: none
}

/* HERO RECEPTY */
.recept_card--hero {
    grid-column: 1/-1;
    position: relative;
}

.recept_card--hero .recept_card_img {
    height: 450px !important;
    border-radius: 16px;
    overflow: hidden;
    display: block;
}

.recept_card--hero .recept_card_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.recept_card--hero .recept_card_body {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    max-width: 640px;
    background: #f7f7f0;
    border-radius: 8px;
    padding: 28px 32px;
}

.recept_card--hero .recept_card_title {
    margin: 6px 0 12px;
    line-height: 1.2;
}

.recept_card--hero .recept_card_lead {
    margin: 0 0 18px
}

/* REVERSED HERO (foto vlevo, text vpravo) */
.recept_card--hero.is-reversed .recept_card_body {
    left: auto;
    right: 0px;
}

.recept_card--hero.is-reversed {
    direction: rtl
}

.recept_card--hero.is-reversed .recept_card_body * {
    direction: ltr
}

/* Odstupy gridu */
.recepty_grid > .recept_card--hero:not(.is-reversed) {
    padding-left: 300px;
    background: none !important
}

.recepty_grid > .recept_card--hero.is-reversed {
    padding-right: 300px;
    background: none !important
}

@media (max-width: 900px) {
    .recepty_grid {
        grid-template-columns:1fr;
        gap: 20px
    }

    .recept_card--hero .recept_card_img {
        height: 240px !important;
    }

    .recept_card--hero .recept_card_body, .recept_card--hero.is-reversed .recept_card_body {
        left: 0;
        right: 0;
        transform: none;
        top: 0;
        bottom: 16px;
        max-width: none;
        padding: 20px;
        margin-top: 0px;
        position: relative;
    }

    .recepty_grid > .recept_card--hero:not(.is-reversed),
    .recepty_grid > .recept_card--hero.is-reversed {
        padding-left: 0;
        padding-right: 0;
    }
}

.recept_card {
    overflow: hidden;
    transition: all 0.5s;
}

.recept_card:hover {
    box-shadow: -1px -1px 12px 11px rgba(232, 232, 221, 0.65);
    -webkit-box-shadow: -1px -1px 12px 11px rgba(232, 232, 221, 0.65);
    -moz-box-shadow: -1px -1px 12px 11px rgba(232, 232, 221, 0.65);
    transition: all 0.5s;
}

.recept_card--hero:hover {
    box-shadow: none !important;
}

.recept_card--hero:hover .recept_card_body {
    box-shadow: -1px -1px 12px 11px rgba(232, 232, 221, 0.65);
    -webkit-box-shadow: -1px -1px 12px 11px rgba(232, 232, 221, 0.65);
    -moz-box-shadow: -1px -1px 12px 11px rgba(232, 232, 221, 0.65);
    transition: all 0.5s;
}

.recept_card--hero .recept_card_body {
    transition: all 0.5s;
}

.recept_card--hero .recept_card_body img {
    transition: all 0.5s;
}

.recept_card--hero:hover .recept_card_body img {
    transition: all 0.5s;
    transform: scale(1.02);
}

.recept_card img {
    transition: all 0.5s;
}

.recept_card:hover img {
    transition: all 0.5s;
    transform: scale(1.02);
}

.recept_card_img {
    overflow: hidden;
}

.recept_card--hero {
    overflow: visible !important;
}

.recept_card_btn:hover img {
    margin-left: 5px;
    transition: all 0.2s;
}

.recept_card_btn img {
    margin-left: 0px;
    transition: all 0.2s;
}


.shop_section {
    margin: 64px 0
}

.shop_section h2 {
    margin: 0 0 22px;
    color: var(--klasik);
    font-weight: 800;
    line-height: 1.2
}

.shop_grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 28px
}

.shop_card {
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column
}

.shop_card .shop_img {
    position: relative;
    background: #fff;
    border: 1px solid #B4AA94;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.shop_card .shop_body {
    padding: 14px 0px 16px
}

.shop_img a {
	width: 100%;
    display: flex;
}

.shop_img img {
	width: 100%;
	height: auto;
    border-radius: 8px;
}

.shop_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px
}

.shop_price {
    font-size: 14px;
    color: var(--klasik);
    line-height: 1.2
}

.shop_price b {
    display: block;
    font-size: 15px
}

.shop_btn {
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Public Sans', Arial, sans-serif !important;
    color: #fff !important;
    font-size: 18px !important;
    border-radius: 8px !important;
}

.shop_btn:hover {
    background: #AF4449 !important;
}

.shop_title {
    margin: 0 0 10px;
    color: var(--klasik);
    font-weight: 700;
    font-size: 24px;
}

.shop_card:hover .shop_title {
    color: #A03035;
}

.shop_badges {
    display: flex;
    gap: 12px;
    margin: 6px 0 10px
}

.badge {
    font-size: 18px;
    color: var(--klasik);
    font-weight: 700;
}

.badge--ok {
    color: #436436
}

.badge--muted {
    color: #390F0E
}

.shop_price span {
    display: block;
    padding-bottom: 5px;
}

.shop_variants {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.pill {
    text-decoration: none;
    padding: 5px 15px 3px;
    font-size: 14px;
    min-width: 40px;
    background: transparent;
    color: #A39982;
    display: inline-block;
    border-radius: 6px;
    border: 1px solid #A39982;
}

.pill:hover {
    background: #A39982;
    color: #fff;
    border-color: #A39982;
    cursor: pointer;
}

@media (min-width:768px) and (max-width: 800px) {
    .shop_grid {
        grid-template-columns:repeat(4, 1fr);
    }
}

@media (min-width:550px) and (max-width: 768px) {
    .shop_grid {
        grid-template-columns:repeat(2, 1fr);
    }
}
@media (max-width: 550px) {
    .shop_grid {
        grid-template-columns:1fr;
    }
}


.prices .old-price {
    font-size: .9em;
    text-decoration: line-through;
    margin-right: 12px;
}

.prices .price-final strong {
    font-weight: 700;
    font-size: 18px;
    color: #390F0E !important;
}

span.pr-list-unit {
    font-size: 14px;
    display: inline-block;
}

.flags.flags-extra {
    position: absolute;
    bottom: 0;
    right: 0;
    border-radius: 8px !important;
}

.flags {
    width: 100%;
    margin-left: 10px;
}

.flags.flags-extra .flag.flag-discount {
    padding: 0;
    width: 70px;
    height: 70px;
    line-height: 70px;
}

.flag.flag.flag-discount {
    color: #fff !important;
    background: #d20000 !important;
}

.flag {
    border-radius: 8px !important;
    position: absolute;
    bottom: 0px !important;
    right: 0px !important;
    text-align: center;
}