/* Parim - všechny úpravy šablony Tasty Recipes (Colorlib) na jednom místě */

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

/* hezčí zalamování řádků */
h1, h2, h3 { text-wrap: balance; }
p, li, summary, label { text-wrap: pretty; }
/* zlom řádku za spojovníkem („e-“ / „mail“) brání v textech &#8288; (word joiner) za spojovníkem */
/* vystředěné odstavce vypadají líp se stejně dlouhými řádky */
.section_title p, .slider_text p, .news_consent, .news_msg { text-wrap: balance; }

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
    outline: 2px solid #FFC000;
    outline-offset: 3px;
}

/* tlačítko: tmavý text na žluté kvůli čitelnosti */
.boxed-btn3 { color: #1F1F1F; font-size: 15px; padding: 14px 36px; }
.boxed-btn3:hover { color: #1F1F1F; background: #fff; border-color: #FFC000; }

.kicker {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 0;
}

/* #777 ze šablony nemá kontrast 4,5:1 */
p, .section_title p, .recepie_area .book .book_desc { color: #666; }

.section_title h2 { font-size: 56px; line-height: 1.15; font-weight: 400; color: #000; margin-bottom: 24px; }
.section_title p { font-size: 16px; line-height: 1.75; }

/* ---------- hlavička ---------- */
.header-area .logo {
    font-family: "Kaushan Script", cursive;
    font-size: 40px;
    line-height: 1;
    color: #fff;
}
.header-area .logo:hover { color: #FFC000; }
.header-area .main-header-area .main-menu { padding: 0; }
#navigation a { color: #fff; font-size: 16px; text-transform: none; }
#navigation a:hover { color: #FFC000; }
.mena_prepinac {
    margin-left: auto;
    margin-right: 28px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 3px;
    color: #fff;
    font-size: 15px;
    white-space: nowrap;
}
.mena_prepinac:hover { color: #1F1F1F; background: #FFC000; border-color: #FFC000; }
.menu_toggle { display: none; }

@media (max-width: 991px) {
    .header-area .logo { font-size: 32px; }
    .mena_prepinac { margin-right: 0; padding: 5px 12px; font-size: 14px; }
    .mena_prepinac + .menu_toggle { margin-left: 12px; }
    .menu_toggle {
        display: block;
        position: relative;
        width: 44px;
        margin-left: auto;
        height: 44px;
        padding: 0;
        background: none;
        border: 1px solid rgba(255, 255, 255, .5);
        border-radius: 3px;
        cursor: pointer;
    }
    .menu_toggle span,
    .menu_toggle span::before,
    .menu_toggle span::after {
        position: absolute;
        left: 11px;
        width: 20px;
        height: 2px;
        background: #fff;
        content: "";
    }
    .menu_toggle span { top: 20px; }
    .menu_toggle span::before { left: 0; top: -6px; }
    .menu_toggle span::after { left: 0; top: 6px; }

    #navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 15px;
        right: 15px;
        padding: 8px 0;
        background: #fff;
        text-align: left;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
    }
    #navigation.open { display: block; }
    #navigation li { display: block; margin: 0; }
    #navigation a { display: block; padding: 12px 20px; color: #000; }
    #navigation a:hover { color: #000; background: #FFF6D9; }
    .header-area { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
    [id] { scroll-margin-top: 64px; }
}

/* ---------- úvod ---------- */
.slider_area .single_slider { height: auto; min-height: 100vh; padding: 140px 0 100px; }
.slider_text h1 { color: #fff; font-size: 80px; line-height: 1.15; margin-bottom: 24px; }
.slider_text p { color: #fff; font-size: 20px; line-height: 1.6; margin-bottom: 40px; }

@media (max-width: 991px) {
    .slider_text h1 { font-size: 52px; }
}
@media (max-width: 767px) {
    .slider_area .single_slider { min-height: 560px; padding: 120px 0 70px; }
    .slider_text h1 { font-size: 40px; }
    .slider_text p { font-size: 17px; margin-bottom: 30px; }
}

/* ---------- o mně ---------- */
.recepie_videoes_area { padding: 130px 0 120px; }
.recepie_videoes_area .recepie_info > p { margin: 0; }
.recepie_videoes_area .recepie_info h2 { font-size: 56px; line-height: 1.15; margin: 12px 0 30px; }
.about_text p { font-size: 16px; line-height: 1.75; margin-bottom: 16px; }
.about_quote {
    margin: 30px 0 16px;
    padding-left: 20px;
    border-left: 3px solid #FFC000;
    font-size: 18px;
    line-height: 1.6;
    font-style: italic;
    color: #333;
}
.signature { font-family: "Kaushan Script", cursive; font-size: 28px; color: #000; }

/* ---------- kuchařky ---------- */
#kucharky { padding: 120px 0 70px; }
.recepie_area .book {
    position: relative;
    display: flex;
    flex-direction: column;
    height: calc(100% - 40px);
    margin-bottom: 40px;
    padding: 44px 40px 36px;
    border: 1px solid #eee;
    text-align: left;
}
.recepie_area .book_featured { border-color: #FFC000; }
.recepie_area .book .book_badge {
    position: absolute;
    top: -12px;
    left: 40px;
    margin: 0;
    padding: 4px 12px;
    white-space: nowrap;
    border-radius: 2px;
    background: #FFC000;
    color: #1F1F1F;
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.recepie_area .book .recepie_thumb { width: 150px; height: 150px; flex-shrink: 0; margin: 0; } /* margin:auto ze šablony ve flexu rozhazoval obsah karet */
.recepie_area .book .recepie_thumb img { height: 100%; object-fit: cover; }
.recepie_area .book h3 { margin: 28px 0 12px; font-size: 30px; line-height: 1.3; }
.recepie_area .book .book_desc { font-size: 16px; line-height: 1.7; margin-bottom: 18px; }
.book_points { margin-bottom: 0; }
.book_points li { position: relative; padding-left: 24px; margin-bottom: 8px; font-size: 15px; line-height: 1.5; color: #555; }
.book_points li::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FFC000;
}
.recepie_area .book .book_bonus {
    margin: 18px 0 0;
    padding-top: 18px;
    border-top: 1px solid #eee;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}
.recepie_area .book .book_bonus strong { color: #000; }
/* cena a tlačítko vždy dole, v řadě karet na stejné výšce */
.book_buy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-top: auto;
    padding-top: 32px;
}
.recepie_area .book .book_price { margin: 0; font-size: 34px; font-weight: 700; line-height: 1.2; color: #000; }
@media (max-width: 575px) {
    .recepie_area .book { padding: 40px 20px 28px; }
    .recepie_area .book .book_badge { left: 20px; }
    .recepie_area .book .recepie_thumb { width: 120px; height: 120px; }
    .recepie_area .book h3 { font-size: 26px; }
}

/* ---------- časté dotazy ---------- */
.faq_area { padding: 120px 0 100px; }
.faq_item { border-bottom: 1px solid #eee; }
.faq_item:first-child { border-top: 1px solid #eee; }
.faq_item summary {
    position: relative;
    padding: 22px 56px 22px 0;
    list-style: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    color: #000;
}
.faq_item summary::-webkit-details-marker { display: none; }
.faq_item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FFC000;
    color: #1F1F1F;
    font-size: 22px;
    line-height: 36px;
    text-align: center;
}
.faq_item[open] summary::after { content: "\2212"; }
.faq_answer { padding: 0 56px 20px 0; }
@media (max-width: 575px) { .faq_answer { padding-right: 0; } }
.faq_answer p { font-size: 16px; line-height: 1.75; color: #666; margin-bottom: 12px; }

/* ---------- odběr ---------- */
.news_area { padding: 100px 0; background: #f7f7f7; }
.news_msg { margin: 30px 0 0; padding: 14px 20px; border-radius: 8px; text-align: center; font-size: 16px; }
.news_ok { background: #e6f4ea; color: #1e5e2b; }
.news_error { background: #fdecea; color: #a11b1b; }
.news_form { display: flex; margin-top: 36px; }
.news_form input[type=email] {
    flex: 1;
    min-width: 0;
    height: 54px;
    padding: 0 24px;
    border: 1px solid #ddd;
    border-radius: 50px;
    background: #fff;
    font-size: 16px;
}
.news_form input[type=email]::placeholder { color: #999; font-size: 16px; }
.news_form input[type=email]:focus { border-color: #FFC000; }
.news_form .boxed-btn3 { margin-left: 10px; white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.news_consent { margin-top: 16px; text-align: center; font-size: 13px; line-height: 1.6; }
.news_consent a { color: #000; text-decoration: underline; }

@media (max-width: 575px) {
    .news_form { flex-direction: column; }
    .news_form input[type=email] { flex: none; }
    .news_form .boxed-btn3 { margin: 12px 0 0; }
}

/* ---------- kontakt ---------- */
.contact_area { padding: 120px 0; }
.contact_area .section_title p { max-width: 730px; margin-left: auto; margin-right: auto; }
.contact_mail {
    display: inline-block;
    margin-top: 24px;
    border-bottom: 3px solid #FFC000;
    font-size: 28px;
    font-weight: 500;
    color: #000;
}
.contact_mail:hover { color: #000; border-color: #000; }

/* ---------- patička ---------- */
.footer { background: #000; }
.footer .footer_top { padding: 80px 0 30px; }
.footer .footer_top .footer_widget { margin-bottom: 30px; }
/* horní hrany sloupců: logo, nadpis i první odkaz začínají na stejné lince */
.footer .logo { display: block; width: fit-content; font-family: "Kaushan Script", cursive; font-size: 40px; line-height: 1; color: #fff; }
.footer .footer_top .footer_widget .footer_title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}
.footer .footer_top .footer_widget p.footer_text { margin: 0; font-size: 15px; line-height: 1.8; color: #B2B2B2; }
.footer .footer_top .footer_widget .footer_links li { font-size: 15px; line-height: 24px; margin-bottom: 12px; }
.footer .footer_top .footer_widget .footer_links li a { color: #B2B2B2; }
.footer .footer_top .footer_widget .footer_links li a:hover { color: #FFC000; }
.footer .copy-right_text { padding-bottom: 32px; }
.footer .copy-right_text .copy_right { margin: 0; padding-top: 24px; border-top: 1px solid #222; font-size: 13px; line-height: 1.8; color: #919191; }

/* ---------- podstránky ---------- */
.legal_bradcam { padding: 190px 0 90px; background: #1F1F1F; }
.bradcam_area h1 { margin: 0; font-size: 60px; color: #fff; }
.legal_area { padding: 80px 0 100px; }
.legal_text p,
.legal_text li { font-size: 16px; line-height: 1.75; color: #444; }
.legal_text p { margin-bottom: 16px; }
.legal_text h2,
.legal_text h3 { font-family: "Roboto", sans-serif; color: #000; line-height: 1.3; }
.legal_text h2 { margin: 44px 0 16px; font-size: 24px; font-weight: 700; }
.legal_text h3 { margin: 28px 0 12px; font-size: 19px; font-weight: 500; }
.legal_text > :first-child { margin-top: 0; }
.legal_text ul,
.legal_text ol { margin: 0 0 16px; padding-left: 24px; }
.legal_text ul li { list-style: disc; }
.legal_text ol li { list-style: decimal; }
.legal_text li { margin-bottom: 6px; padding-left: 4px; }
.legal_text ul li::marker { color: #FFC000; }
.legal_text a { color: #000; text-decoration: underline; text-decoration-color: #FFC000; text-underline-offset: 3px; }

/* ---------- menší obrazovky ---------- */
@media (max-width: 991px) {
    .section_title h2,
    .recepie_videoes_area .recepie_info h2 { font-size: 44px; }
}
@media (max-width: 767px) {
    .section_title h2,
    .recepie_videoes_area .recepie_info h2 { font-size: 36px; }
    .recepie_videoes_area { padding: 70px 0 60px; }
    #kucharky, .faq_area, .contact_area { padding: 70px 0 40px; }
    .contact_area { padding-bottom: 70px; }
    .news_area { padding: 70px 0; }
    .contact_mail { font-size: 22px; }
    .footer .footer_top { padding-top: 50px; }
    .legal_bradcam { padding: 130px 0 60px; }
    .bradcam_area h1 { font-size: 34px; }
    .legal_area { padding: 50px 0 60px; }
}

/* objednávka */
.order_form .news_msg { margin: 0 0 30px; text-align: left; }
.order_summary { display: flex; align-items: center; gap: 20px; margin-bottom: 36px; padding: 20px 24px; border: 2px solid #FFC000; border-radius: 6px; }
.order_summary img { width: 72px; height: 72px; flex-shrink: 0; object-fit: cover; }
.order_summary p { margin: 0; }
.order_summary .order_summary_label { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: #666; }
.order_summary .order_summary_name { font-size: 20px; font-weight: 500; line-height: 1.3; color: #000; }
.order_summary .order_summary_price { margin-left: auto; font-size: 28px; font-weight: 700; white-space: nowrap; color: #000; }
.order_field { margin-bottom: 24px; }
.order_field label { display: block; margin-bottom: 8px; font-size: 16px; font-weight: 500; color: #000; }
.order_optional { font-weight: 400; color: #666; }
.order_field input,
.order_field select,
.order_field textarea { display: block; width: 100%; padding: 13px 18px; border: 1px solid #ccc; border-radius: 6px; background: #fff; font-size: 16px; line-height: 1.5; color: #1F1F1F; }
.order_field textarea { resize: vertical; }
.order_field input::placeholder,
.order_field textarea::placeholder { color: #999; }
.order_field input:focus,
.order_field select:focus,
.order_field textarea:focus { border-color: #FFC000; outline: 2px solid #FFC000; outline-offset: 0; }
.order_form [aria-invalid] { border-color: #a11b1b; }
.order_error { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: #a11b1b; }
.order_info { margin: 36px 0 28px; padding: 20px 24px; border-radius: 6px; background: #FFF6D9; }
.order_info h2 { margin: 0 0 8px; font-family: "Roboto", sans-serif; font-size: 18px; font-weight: 700; }
.order_info p { margin-bottom: 8px; font-size: 15px; line-height: 1.65; color: #333; }
.order_info p:last-child { margin-bottom: 0; }
.order_check { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: #333; }
.order_check input { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; accent-color: #FFC000; }
.order_check + .order_error { margin: -8px 0 16px 32px; }
.order_check a,
.order_note a { color: #000; text-decoration: underline; text-decoration-color: #FFC000; text-underline-offset: 3px; }
.order_note { margin: 24px 0 30px; font-size: 14px; line-height: 1.6; }
.order_form .boxed-btn3 { cursor: pointer; }
@media (max-width: 575px) {
    .order_summary { flex-wrap: wrap; padding: 16px; }
    .order_summary img { width: 56px; height: 56px; }
    .order_summary .order_summary_price { margin-left: 76px; font-size: 24px; }
    .order_form .boxed-btn3 { width: 100%; padding-left: 16px; padding-right: 16px; }
}
.order_summary_note { margin: 4px 0 0; font-size: 14px; color: #666; }

/* předplatné - vlastní světlá plocha s hranicí, ať sekce nesplývá s okolím */
#predplatne { padding: 110px 0 100px; background: #f7f7f7; border-top: 1px solid #ececec; border-bottom: 1px solid #ececec; }
#predplatne .section_title { margin-bottom: 44px; }
#predplatne .section_title .kicker { margin-bottom: 10px; }
#predplatne .section_title p { max-width: 680px; margin: 0 auto; }
/* výhody: mřížka v samostatném panelu, ne odstavec odrážek */
.sub_points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 40px;
    max-width: 860px;
    margin: 0 auto 64px;
    padding: 34px 40px;
    background: #fff;
    border: 1px solid #ececec;
    text-align: left;
}
.sub_points li { margin: 0; font-size: 16px; line-height: 1.6; color: #444; }
.sub_points li::before { top: 10px; }
.recepie_area .sub_plan { background: #fff; padding: 32px 30px; text-align: center; }
/* štítek patří dovnitř karty, ne přes její okraj */
.recepie_area .sub_plan .book_badge { position: static; transform: none; display: inline-block; margin: 0 auto 16px; }
.recepie_area .sub_plan .sub_badge_space { display: block; height: 24px; margin-bottom: 16px; }
/* decentní zvýraznění: druhá linka uvnitř, bez posunu rozvržení */
.recepie_area .book_featured.sub_plan { box-shadow: inset 0 0 0 1px #FFC000; }
.recepie_area .sub_plan h3 { margin: 0 0 14px; font-size: 26px; }
.recepie_area .sub_plan .book_desc { margin-bottom: 0; padding-bottom: 26px; font-size: 15px; line-height: 1.7; }
.recepie_area .sub_plan .book_buy { flex-direction: column; gap: 18px; margin-top: auto; padding-top: 26px; border-top: 1px solid #eee; }
.recepie_area .sub_plan .book_price { font-size: 34px; }
.recepie_area .sub_plan .boxed-btn3 { width: 100%; padding: 13px 18px; line-height: 1.4; white-space: normal; }
.sub_notes { margin-top: 24px; padding-top: 30px; border-top: 1px solid #e6e6e6; }
.sub_note { max-width: 720px; margin: 0 auto 12px; font-size: 14px; line-height: 1.7; text-align: center; text-wrap: pretty; }
.sub_note:last-child { margin-bottom: 0; }
/* odkaz na předplatné v úvodu */
.slider_text p a { color: #fff; text-decoration: underline; text-decoration-color: #FFC000; text-underline-offset: 4px; }
.slider_text p a:hover { color: #FFC000; }
@media (max-width: 767px) {
    #predplatne { padding: 70px 0 60px; }
    .sub_points { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 40px; padding: 26px 24px; }
    .recepie_area .sub_plan { padding: 26px 22px; }
    /* karty jsou pod sebou, prázdné místo po štítku už nemá co zarovnávat */
    .recepie_area .sub_plan .sub_badge_space { display: none; }
    .sub_notes { margin-top: 0; padding-top: 26px; }
}

/* skriptové nadpisy se na úzkých mobilech dotýkaly okraje */
@media (max-width: 480px) {
    .section_title h2,
    .recepie_videoes_area .recepie_info h2 { font-size: 32px; }
    .slider_text h1 { font-size: 36px; }
}
