    /* RESET A ZÁKLAD */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    :root {
        --blood: #820b0b;
        --paper: #d1c1a3;
        --bg: #111111;
    }

    body {
        background-color: var(--bg);

        background-image:
            radial-gradient(
                circle at top,
                rgba(120,0,0,0.08),
                transparent 40%
            );

        color: #e0e0e0;
    }


    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
    }
    .container { 
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        position: relative; 
    }



    .main-logo {
        font-family: 'Cinzel';
        font-size: 1.4rem;
        display: block;
        letter-spacing: 2px; 
    }
    .year-logo {
        color: var(--blood);
        font-weight: bold;
        font-size: 0.9rem;
        text-align: center;
        display: block;
    }


    /* NAVBAR */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;

        width: 100%;

        z-index: 9999;

        border-bottom: 1px solid rgba(255,255,255,0.08);

        overflow: hidden;
    }

    /* background efekt */
    .navbar-bg {
        position: absolute;
        inset: 0;
        background: linear-gradient(
            180deg,
            #111111
        );
        z-index: 0;
    }

    /* obsah */
    .nav-container {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1200px;
        margin: auto;
        padding: 18px 40px;
    }



    .main-logo {
        font-family: 'Cinzel';
        font-size: 1.3rem;
        letter-spacing: 3px;
        color: #e5e5e5;
    }



    /* NAV LINKS */
    .nav-links {
        display: flex;
        gap: 40px;
        list-style: none;
    }

    .nav-links a {
        font-family: 'Cinzel';
        font-size: 0.75rem;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: #9a9a9a;
        text-decoration: none;
        position: relative;
        transition: 0.25s;
    }

    .nav-links a:hover {
        color: white;
    }

    /* subtle underline hover */
    .nav-links a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -6px;
        width: 0%;
        height: 1px;
        background: var(--blood);
        transition: 0.3s;
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    /* BUTTON – brush style */
    .nav-buy-btn {
        font-family: 'Cinzel';
        font-size: 0.75rem;
        letter-spacing: 2px;
        text-transform: uppercase;

        padding: 10px 22px;
        color: #fff;

        background: linear-gradient(
            90deg,
            #6e0a0a,
            #9e1a1a
        );

        border: none;
        cursor: pointer;

        position: relative;
        transition: 0.3s;
    }

    /* rough edges feel */
    .nav-buy-btn::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url('img/brush-texture.png');
        opacity: 0.25;
        mix-blend-mode: overlay;
    }

    /* hover */
    .nav-buy-btn:hover {
        transform: translateY(-1px);
        background: linear-gradient(
            90deg,
            #8b1111,
            #b32020
        );
    }

    /* GRID */
    .mid-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
    }
        /* ===== UKÁZKA ===== */
    .excerpt {

        display: flex;

        gap: 30px;

        align-items: flex-start;

        opacity: 0;

        transform: translateY(30px);

        transition:
            opacity 0.8s ease,
            transform 0.8s ease;
    }

    .excerpt.show {

        opacity: 1;

        transform: translateY(0);
    }


    .excerpt-content h3 {
        font-family: 'Cinzel';
        letter-spacing: 2px;
        margin-bottom: 10px;
    }

    .quote {
        font-style: italic;
        color: #cfcfcf;
        line-height: 1.7;
        margin: 20px 0;
        max-width: 500px;
    }

    .btn-outline {
        background: transparent;
        border: 1px solid #555;
        color: #ddd;
        padding: 10px 20px;
        font-family: 'Cinzel';
        cursor: pointer;
        transition: 0.3s;
    }

    .btn-outline:hover {
        border-color: var(--blood);
        color: white;
    }

    /* ===== NEWSLETTER (paper card) ===== */
    .newsletter {
        position: relative;
    }

    .paper {
        background: url('img/papirova-textura.webp');
        background-size: cover;
        padding: 40px;
        color: #2b2b2b;
        border: 1px solid #bfae8c;
        position: relative;
    }

    .paper h3 {
        font-family: 'Cinzel';
        margin-bottom: 10px;
    }

    .paper p {
        margin: 15px 0 25px;
        line-height: 1.6;
    }

    /* input */
    .paper input {
        width: 100%;
        padding: 12px;
        border: 1px solid #bfae8c;
        background: rgba(255,255,255,0.4);
        margin-bottom: 15px;
    }

    /* button */
    .btn-red-wide {
        width: 100%;
        background: var(--blood);
        color: white;
        border: none;
        padding: 14px;
        font-family: 'Cinzel';
        letter-spacing: 1px;
        cursor: pointer;
        transition: 0.3s;
    }

    .btn-red-wide:hover {
        background: #a31515;
    }



    /* ===== MID SECTION ===== */
    .mid-section {
        padding: 100px 0;
        border-bottom: 1px solid #111;
    }



    /* ===================== */
    /* ===== UKÁZKA ===== */
    /* ===================== */

    .excerpt {
        display: flex;
        gap: 35px;
        align-items: center;
    }

    .excerpt picture {
        flex: 0 0 240px;
        display: block;
    }

    .excerpt-img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 2px;
        border: 1px solid rgba(191, 174, 140, 0.25);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    }


    /* text */
    .excerpt-content {
        align-self: center;
    }

    .excerpt-content h3 {
        font-family: 'Cinzel';
        letter-spacing: 2px;
        font-size: 1.1rem;
        color: #ddd;
    }

    .quote {
        font-style: italic;
        color: #cfcfcf;
        line-height: 1.55;
        margin: 16px 0;
        max-width: 500px;
    }

    /* PDF button */
    .btn-outline {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        /* vyrovná mezeru, kterou letter-spacing přidává za poslední písmeno */
        text-indent: 2px;
        text-decoration: none;

        background: transparent;
        border: 1px solid #555;
        color: #ddd;

        padding: 12px 22px;
        font-family: 'Cinzel';
        font-size: 0.75rem;
        letter-spacing: 2px;
        text-transform: uppercase;

        transition: 0.3s;
    }

    .btn-outline:hover {
        border-color: var(--blood);
        color: white;
        transform: translateY(-1px);
    }

    /* ===================== */
    /* ===== POVÍDKA ===== */
    /* ===================== */

    .newsletter {
        position: relative;
    }

    /* paper card */
    .paper {
        position: relative;
        background: url('img/papirova-textura.webp');
        background-size: cover;
        padding: 45px;

        color: #2b2b2b;
        border: 1px solid #bfae8c;
    }

    /* title */
    .paper h3 {
        font-family: 'Cinzel';
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    /* text */
    .paper p {
        margin: 20px 0 30px;
        line-height: 1.6;
    }

    /* input */
    .paper input {
        width: 100%;
        padding: 14px;

        border: 1px solid #bfae8c;
        background: rgba(255,255,255,0.5);

        margin-bottom: 15px;
        font-family: 'Crimson Pro';
    }

    /* button */
    .btn-red-wide {
        width: 100%;
        background: var(--blood);
        color: white;

        border: none;
        padding: 14px;

        font-family: 'Cinzel';
        font-size: 0.8rem;
        letter-spacing: 2px;
        text-transform: uppercase;

        cursor: pointer;
        transition: 0.3s;
    }

    .btn-red-wide:hover {
        background: #a31515;
    }


    /* ===================== */
    /* ===== RESPONSIVE ===== */
    /* ===================== */


    /* HERO */
    .hero { padding: 80px 0; background: url('img/background-image.webp') center/cover; position: relative; }
    .hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,0.9) 30%, transparent); }
    .hero-content { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; }
    .main-title { font-family: 'Cinzel'; font-size: 3.2rem; line-height: 1.1; margin-bottom: 10px; }
    .sub-title { color: var(--blood); font-family: 'Cinzel'; font-size: 1.6rem; letter-spacing: 2px; }
    .cross-divider { width: 40px; height: 1px; background: var(--blood); margin: 15px 0; position: relative; }
    .cross-divider::after { content: '+'; position: absolute; top: -18px; left: 15px; color: var(--blood); }
    .hero-description p { margin-bottom: 10px; color: #999; font-size: 1.1rem; }
    .hero-buttons { display: flex; gap: 15px; margin-top: 30px; }
    .btn-red { background: var(--blood); color: white; }
    .btn-outline { background: transparent; border: 1px solid #444; color: white; }
    .download-info { font-size: 0.7rem; color: #555; margin-top: 10px; }
    .hero-right { position: relative; }
    .hero-price {
        opacity: 0;
        transform: translateY(30px);

        animation: fadeUp 1s ease forwards;
        animation-delay: 1.4s !important;
    }

    .btn {
        display: inline-flex;

        align-items: center;
        justify-content: center;

        padding: 15px 30px;

        border: none;

        font-family: 'Cinzel';
        font-weight: 500;

        cursor: pointer;

        transition: 0.3s;

        text-decoration: none;

        line-height: 1;
    }

    .book-main {

        width: 100%;

        height: auto;

        filter: drop-shadow(0 0 30px black);

        opacity: 0;

        transform: translateX(220px);

        animation:
            bookReveal 2.2s cubic-bezier(.16,1,.3,1) forwards;

        animation-delay: 0.2s;
    }
    /* BLOG */
    .blog { padding: 60px 0; }
    .blog-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
    .blog-header h2 { font-family: 'Cinzel'; }
    .red-cross { color: var(--blood); margin-right: 10px; }
    .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }

    .blog-card {

        background: rgba(255,255,255,0.015);

        border: 1px solid rgba(255,255,255,0.06);

        padding: 15px;

        opacity: 0;

        transform: translateY(60px);

        transition:
            opacity 0.8s ease,
            transform 0.8s ease,
            border-color 0.4s ease,
            box-shadow 0.4s ease;
    }

    .blog-card.visible {

        opacity: 1;

        transform: translateY(0);
    }

    .blog-card.visible:hover {

        transform: translateY(-10px);

        border-color: var(--blood);

        box-shadow:
            0 20px 40px rgba(0,0,0,0.45);
    }

    .blog-card:hover { border-color: var(--blood); }
    .card-img { height: 180px; background-size: cover; margin-bottom: 15px; }
    .blog-card h4 { font-family: 'Cinzel'; color: var(--blood); margin-bottom: 5px; }
    .read-more { color: var(--blood); text-decoration: none; font-size: 0.8rem; margin-top: 10px; display: inline-block; }

    .view-all {
        font-family: 'Cinzel';
        font-size: 0.8rem;
        letter-spacing: 2px;
        text-transform: uppercase;

        color: #cfcfcf;
        text-decoration: none;

        display: inline-flex;
        align-items: center;
        gap: 8px;

        transition: 0.25s;
    }

    /* všechny stavy → žádná modrá */
    .view-all:link,
    .view-all:visited {
        color: #cfcfcf;
    }

    /* hover efekt */
    .view-all:hover {
        color: var(--blood);
    }

    /* šipka animace */
    .view-all::after {
        content: "→";
        transition: 0.3s;
    }

    .view-all:hover::after {
        transform: translateX(4px);
    }


    /* ICONS */

    .cross {
        background-image: url("img/cross.webp");
    }

    .dragon {
        background-image: url("img/dragon.webp");
    }

    .shield {
        background-image: url("img/shield.webp");
    }

    .goblet {
        background-image: url("img/goblet.webp");
    }

    /* ===================== */
    /* ===== FEATURES ===== */
    /* ===================== */

    .features {

        position: relative;

        margin-top: -10px;

        z-index: 5;
    }

    /* PAPER FRAME */

    .features-paper {

        position: relative;

        padding: 70px 90px;

        background-image:
            url("img/parchment-frame\ \(1\).webp");

        background-size: 100% 100%;

        background-repeat: no-repeat;

        background-position: center;



        margin: auto;
        
        opacity: 0;

        transform: translateY(40px);

        animation:
            paperReveal 1.4s cubic-bezier(.16,1,.3,1) forwards;

        animation-delay: 0.2s;
    }

        @keyframes paperReveal {

        from {

            opacity: 0;

            transform: translateY(40px);
        }

        to {

            opacity: 1;

            transform: translateY(0);
        }
    }



    /* GRID */

    .features-grid {

        display: grid;

        grid-template-columns: repeat(4, 1fr);

        gap: 70px;

        align-items: start;
    }

    /* ITEM */

    .feature-item {

        display: flex;

        align-items: flex-start;

        gap: 18px;
    }

    /* ICON */

    .f-icon {

        width: 52px;
        height: 52px;

        flex-shrink: 0;

        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;

        opacity: 0.9;

        filter:
            drop-shadow(0 2px 6px rgba(0,0,0,0.45))
            brightness(0)
            saturate(100%)
            invert(12%)
            sepia(40%)
            saturate(1500%)
            hue-rotate(350deg)
            brightness(65%)
            contrast(105%);
    }




    /* TEXT */

    .feature-item h3 {

        font-family: 'Cinzel';

        font-size: 1rem;

        line-height: 1.2;

        letter-spacing: 1px;

        margin-bottom: 8px;

        color: #3a2416;
    }

    .feature-item p {

        font-size: 0.98rem;

        line-height: 1.8;

        color: rgba(45,30,22,0.82);

        max-width: 230px;
    }


    /* LOGO */

    .logo-box {
        display: flex;
        align-items: center;
        gap: 16px;

        margin-left: -20px; /* posun doprava */
    }

    /* vlajka */

    .logo-flag {
        width: 38px;
        height: auto;

        object-fit: contain;

        filter:
            drop-shadow(0 0 8px rgba(120,0,0,0.45));
    }

    /* text */

    .main-logo {
        font-family: 'Cinzel';
        font-size: 1.3rem;
        letter-spacing: 3px;
        color: #e5e5e5;
    }

      /* animace */ 

    .hero-left > * {
        opacity: 0;
        transform: translateY(30px);

        animation: fadeUp 1s ease forwards;
    }

    .main-title { animation-delay: 0.2s !important; }
    .sub-title { animation-delay: 0.4s !important; }
    .cross-divider { animation-delay: 0.6s !important; }
    .hero-description { animation-delay: 0.8s !important; }
    .hero-buttons { animation-delay: 1s !important; }
    .download-info { animation-delay: 1.2s !important; }

    @keyframes fadeUp {

        from {
            opacity: 0;
            transform: translateY(30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes bookReveal {

    from {

        opacity: 0;

        transform:
            translateX(220px);
    }

    to {

        opacity: 1;

        transform:
            translateX(0);
    }
}


/* =========================
   FOOTER
========================= */

.footer{
    position: relative;
    background:
        linear-gradient(to bottom, rgba(0,0,0,.85), rgba(0,0,0,.96)),
        url("img/paper-texture.jpg");

    border-top:1px solid rgba(209,193,163,.15);

    padding:80px 0 40px;
    overflow:hidden;
}

.footer::before{
    content:"";
    position:absolute;
    inset:0;

    background:
        rgba(209,193,163,0.03);

    pointer-events:none;
}

.footer-top-border{
    position:absolute;
    top:0;
    left:0;

    width:100%;
    height:1px;

    background:
        linear-gradient(
            to right,
            transparent,
            rgba(209,193,163,0.35),
            transparent
        );
}

.footer-grid{
    position:relative;
    z-index:2;

    display:grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap:70px;
}

/* LOGO */

.footer-logo{
    display:flex;
    align-items:center;
    gap:14px;

    margin-bottom:25px;
}

.footer-logo img{
    width:42px;
    height:auto;
}

.footer-logo span{
    font-family:'Cinzel', serif;
    font-size:1.4rem;
    letter-spacing:3px;
    color:#d1c1a3;
}

/* TEXT */

.footer-lore{
    max-width:340px;

    color:#9d9483;

    line-height:1.8;
    font-size:.95rem;

    margin-bottom:35px;
}

.footer-copy{
    color:#6f675a;
    font-size:.8rem;
    letter-spacing:1px;
}

/* TITLES */

.footer h4{
    font-family:'Cinzel', serif;

    color:#d1c1a3;

    margin-bottom:25px;

    letter-spacing:2px;
    font-size:1rem;
}

/* LINKS */

.footer-links{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.footer-links a,
.footer-mail{
    width:fit-content;

    color:#9d9483;

    text-decoration:none;

    transition:.25s ease;
    position:relative;
}

.footer-links a::after,
.footer-mail::after{
    content:"";
    position:absolute;

    left:0;
    bottom:-3px;

    width:0%;
    height:1px;

    background:#820b0b;

    transition:.25s ease;
}

.footer-links a:hover,
.footer-mail:hover{
    color:#d1c1a3;
}

.footer-links a:hover::after,
.footer-mail:hover::after{
    width:100%;
}

/* FLAGS */

.footer-flags{
    display:flex;
    flex-wrap:wrap;
    gap:12px;

    margin-top:28px;
    margin-bottom:22px;
}

.footer-flags img{
    width:52px;

    filter:
        drop-shadow(0 0 8px rgba(0,0,0,.5));

    transition:.3s ease;

    cursor:pointer;
}

.footer-flags img:hover{
    transform:
        translateY(-4px)
        scale(1.04);
}

/* PAYMENT */

.footer-payment{
    color:#756b5b;
    font-size:.85rem;
}


/* =========================
   HERO PRICE
========================= */
.hero-price{
    display:flex;
    align-items:center;

    gap:6px;

    margin-top:28px;

    width:fit-content;

    padding:0;

    background:none;
}

.hero-price img{
    width:75px;
    height:auto;

    flex-shrink:0;

    margin-right:-20px;
    margin-left: -20px;
    filter:
        drop-shadow(0 0 10px rgba(0,0,0,.4));
}

.hero-price-text{
    display:flex;
    flex-direction:column;

    justify-content:center;

    line-height:1;
}

.price-main{
    font-family:'Cinzel', serif;

    color:#d1c1a3;

    font-size:1.4rem;
    letter-spacing:1px;
}

.price-sub{
    margin-top:4px;

    color:#8d8475;

    font-size:.72rem;

    letter-spacing:2px;
    text-transform:uppercase;
}


/* =========================
   MOBILE NAV
========================= */

    .mobile-menu-btn{
        display:none;

        width:46px;
        height:46px;

        background:none;
        border:none;

        position:relative;

        cursor:pointer;
        z-index:10001;
    }

    .mobile-menu-btn span{
        position:absolute;

        left:10px;

        width:26px;
        height:1.5px;

        background:#d1c1a3;

        transition:.35s ease;
    }

    .mobile-menu-btn span:nth-child(1){
        top:14px;
    }

    .mobile-menu-btn span:nth-child(2){
        top:22px;
    }

    .mobile-menu-btn span:nth-child(3){
        top:30px;
    }

    /* ACTIVE */

    .mobile-menu-btn.active span:nth-child(1){
        transform:rotate(45deg);
        top:22px;
    }

    .mobile-menu-btn.active span:nth-child(2){
        opacity:0;
    }

    .mobile-menu-btn.active span:nth-child(3){
        transform:rotate(-45deg);
        top:22px;
    }

    /* OVERLAY */

    .mobile-menu{
        position:fixed;
        inset:0;

        z-index:9998;

        opacity:0;
        visibility:hidden;

        transition:.45s ease;
    }

    .mobile-menu.active{
        opacity:1;
        visibility:visible;
    }

    .mobile-menu-bg{
        position:absolute;
        inset:0;

        background:
            linear-gradient(
                to bottom,
                rgba(5,5,5,.97),
                rgba(0,0,0,.99)
            );

        backdrop-filter:blur(6px);
    }

    /* CONTENT */

    .mobile-menu-content{
        position:relative;
        z-index:2;

        height:100%;

        display:flex;
        flex-direction:column;

        justify-content:center;
        align-items:center;

        gap:34px;
    }

    .mobile-menu-content a{
        font-family:'Cinzel';

        font-size:1.4rem;
        letter-spacing:4px;

        color:#d1c1a3;

        text-decoration:none;

        position:relative;

        opacity:0;
        transform:translateY(20px);

        transition:
            .4s ease;
    }

    .mobile-menu.active .mobile-menu-content a{
        opacity:1;
        transform:translateY(0);
    }

    .mobile-menu-content a:hover{
        color:white;
    }

    body.menu-open{
        overflow:hidden;
    }

    .excerpt picture {
        display: block;
        margin: auto;
    }

    .excerpt-img {
        width: 100%;
        display: block;
        margin: auto;
    }

    #ukazka {
        scroll-margin-top: 300px;
    }

    .checkout-box{
        width:min(750px,90%);
        padding:50px;

        background:
            linear-gradient(
                180deg,
                rgba(20,20,20,.98),
                rgba(10,10,10,.98)
            );

        border:1px solid rgba(209,193,163,.12);

        backdrop-filter:blur(10px);

        box-shadow:
            0 20px 80px rgba(0,0,0,.75),
            0 0 40px rgba(130,11,11,.15);

        position:relative;
    }

    .checkout-box::before{
        content:"";

        position:absolute;

        top:0;
        left:0;

        width:100%;
        height:2px;

        background:var(--blood);
    }

    .checkout-box h2{
        font-family:'Cinzel';
        color:var(--paper);

        letter-spacing:2px;

        font-size:2rem;

        margin-bottom:35px;
    }

    .checkout-box label{

        display:flex;
        align-items:flex-start;

        gap:14px;

        margin-bottom:24px;

        line-height:1.8;

        color:#b8b8b8;

        font-size:1.05rem;
    }

    .checkout-box input[type="checkbox"]{

        width:18px;
        height:18px;

        accent-color:var(--blood);

        margin-top:5px;

        flex-shrink:0;
    }
    
    .checkout-box a{
        color:var(--paper);
        text-decoration:none;

        border-bottom:1px solid transparent;

        transition:.3s;
    }

    .checkout-box a:hover{
        border-color:var(--paper);
    }

    .checkout-buttons{
    display:flex;
    gap:15px;

    margin-top:35px;
}

.checkout-buttons button{

    padding:14px 24px;

    border:none;

    cursor:pointer;

    font-family:'Cinzel';

    letter-spacing:2px;

    text-transform:uppercase;

    transition:.3s;
}

#closeModal{

    background:transparent;

    border:1px solid rgba(255,255,255,.15);

    color:#aaa;
}

#closeModal:hover{

    border-color:#666;

    color:white;
}


/* =========================
   CHECKOUT MODAL
========================= */

.checkout-modal{
    position: fixed;
    inset: 0;

    display: none;
    justify-content: center;
    align-items: center;

    padding: 20px;

    background: rgba(0,0,0,.82);

    backdrop-filter: blur(6px);

    z-index: 99999;
}

.checkout-modal.active{
    display: flex;
}

.checkout-box{

    width: min(760px, 95vw);

    background:
        linear-gradient(
            180deg,
            rgba(18,18,18,.98),
            rgba(10,10,10,.98)
        );

    border: 1px solid rgba(209,193,163,.12);

    box-shadow:
        0 30px 80px rgba(0,0,0,.7),
        0 0 40px rgba(130,11,11,.12);

    padding: 45px;

    position: relative;
}

.checkout-box::before{

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background: var(--blood);
}

.checkout-box h2{

    font-family: 'Cinzel';

    color: var(--paper);

    letter-spacing: 2px;

    font-size: 2rem;

    margin-bottom: 12px;
}

.checkout-subtitle{

    color: #8f8f8f;

    line-height: 1.8;

    margin-bottom: 35px;
}

.checkout-box label{

    display: flex;

    align-items: flex-start;

    gap: 14px;

    margin-bottom: 25px;

    color: #c0c0c0;

    line-height: 1.8;
}

.checkout-box input[type="checkbox"]{

    width: 18px;
    height: 18px;

    accent-color: var(--blood);

    margin-top: 5px;

    flex-shrink: 0;
}

.checkout-box a{

    color: var(--paper);

    text-decoration: none;

    transition: .25s;
}

.checkout-box a:hover{

    color: white;
}

.checkout-buttons{

    display: flex;

    gap: 15px;

    margin-top: 35px;
}

.checkout-buttons button{

    font-family: 'Cinzel';

    letter-spacing: 2px;

    text-transform: uppercase;

    padding: 14px 24px;

    cursor: pointer;

    transition: .3s;
}

#closeModal{

    background: transparent;

    color: #aaa;

    border: 1px solid rgba(255,255,255,.15);
}

#closeModal:hover{

    color: white;

    border-color: rgba(255,255,255,.4);
}

#continueCheckout{

    border: none;

    color: white;

    background:
        linear-gradient(
            90deg,
            #6e0a0a,
            #9e1a1a
        );
}

#continueCheckout:hover:not(:disabled){

    transform: translateY(-2px);

    background:
        linear-gradient(
            90deg,
            #8b1111,
            #b32020
        );
}  :disabled{

    opacity: .35;

    cursor: not-allowed;

    transform: none;
}



        




    /* RESPONSIVE */
    @media (max-width: 900px) {

    .checkout-box{

        width:calc(100vw - 30px);

        padding:25px 20px;
    }

    .checkout-box h2{

        font-size:1.5rem;

        text-align:center;

        margin-bottom:25px;
    }

    .checkout-box label{

        font-size:.95rem;

        line-height:1.8;

        gap:10px;

        align-items:flex-start;
    }

    .checkout-box input[type="checkbox"]{

        width:20px;
        height:20px;

        margin-top:3px;

        flex-shrink:0;
    }

    .checkout-buttons{

        flex-direction:column;

        gap:12px;
    }

    .checkout-buttons button{

        width:100%;
    }



        .hero-buttons .btn {
            font-size: 0.9rem;
            padding: 12px 16px;
        }


        .hero-content, .mid-grid, .blog-grid, .features-grid { grid-template-columns: 1fr; gap: 30px; }
        .hero-right { order: -1; }
        .nav-links { display: none; }

        .mid-grid {
            grid-template-columns: 1fr;
            gap: 50px;
        }

        .excerpt {
            flex-direction: column;
        }

        .excerpt-img {
            width: 100%;
            height: 220px;
        }

        .features-paper{

            background-image:
                url("img/parchment-frame-mobile.webp");

            background-size:100% 100%;

            padding:70px 40px;
        }


        .features-grid {
            grid-template-columns: 1fr;
            gap: 35px;
        }

        .feature-item {
            gap: 16px;
        }

        .f-icon {
            width: 44px;
            height: 44px;
        }

        .feature-item p {
            max-width: 100%;
        }

        .footer-grid{
            grid-template-columns:1fr;
            gap:55px;
        }

        .footer{
            padding:70px 0 50px;
        }
 
        .footer-brand,
        .footer-links-wrap,
        .footer-contact{
            text-align:center;
        }

        .footer-logo{
            justify-content:center;
        }

        .footer-lore{
            margin-inline:auto;
        }

        .footer-links{
            align-items:center;
        }

        .footer-mail{
            margin:auto;
        }

        .footer-flags{
            justify-content:center;
        }

        .hero-price{
            margin-inline:0;
        }

        .nav-links{
            display:none;
         }

        .mobile-menu-btn{
            display:block;
        }

        .nav-container{
            display:grid;

            grid-template-columns:
                1fr auto auto;

            align-items:center;

            gap:12px;

            padding:16px 18px;
        }

        .logo-box{
            margin-left:0;
            gap:10px;
        }

        .logo-flag{
            width:30px;
        }

        .main-logo{
            font-size:1rem;
            letter-spacing:2px;
        }

        .nav-buy-btn{
            padding:10px 14px;

            font-size:.62rem;
            letter-spacing:1.5px;

            white-space:nowrap;
        }

        /* MOBIL — deník světa / blog text */

        .blog-card{
            padding: 16px;
        }

        .blog-card h4{
            font-size: 1rem;

            line-height: 1.35;

            letter-spacing: 1px;

            margin-bottom: 10px;
        }

        .blog-card p{
            font-size: .92rem;

            line-height: 1.7;

            color: #a8a8a8;
        }

        .read-more{
            font-size: .72rem;

            letter-spacing: 1px;

            margin-top: 14px;
        }

        /* header sekce */

        .blog-header{
            flex-direction: column;

            align-items: flex-start;

            gap: 16px;
        }

        .blog-header h2{
            font-size: 1.8rem;

            line-height: 1.1;

            letter-spacing: 2px;
        }

        /* grid */

        .blog-grid{
            gap: 22px;
        }

        /* obrázky */

        .card-img{
            height: 200px;

            background-position: center;
            background-size: cover;

            border-radius: 6px;
        }


        


    }




/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (min-width: 768px) and (max-width: 1024px) {

    /* =========================
       GLOBAL
    ========================= */



    .container{
        padding: 0 34px;
    }

    section{
        overflow: hidden;
    }

    /* =========================
       NAVBAR
    ========================= */

    .nav-links{
        display: none;
    }

    .mobile-menu-btn{
        display: block;
    }

    .nav-container{
        display: grid;

        grid-template-columns:
            1fr auto auto;

        align-items: center;

        gap: 18px;

        padding: 18px 28px;
    }

    .logo-box{
        margin-left: 0;
        gap: 12px;
    }

    .logo-flag{
        width: 34px;
    }

    .main-logo{
        font-size: 1.05rem;
        letter-spacing: 2px;
    }

    .nav-buy-btn{
        padding: 10px 16px;

        font-size: .64rem;
        letter-spacing: 1.5px;

        white-space: nowrap;
    }

    /* =========================
       HERO
    ========================= */

    .hero{
        padding:
            130px 0
            90px;
    }

    .hero-overlay{
        background:
            linear-gradient(
                90deg,
                rgba(0,0,0,.92) 0%,
                rgba(0,0,0,.72) 50%,
                rgba(0,0,0,.25) 100%
            );
    }

    .hero-content{
        display: grid;

        grid-template-columns:
            1fr 0.9fr;

        gap: 36px;

        align-items: center;
    }

    /* TEXT vlevo */

    .hero-left{
        order: 1;

        max-width: 480px;

        z-index: 2;
    }

    /* KNIHA vpravo */

    .hero-right{
        order: 2;

        display: flex;
        justify-content: center;
        align-items: center;
    }

    .book-main{
        width: 100%;
        max-width: 350px;
        height: auto;

        transform: none;
    }

    .main-title{
        font-size:
            clamp(2.8rem, 5vw, 4.2rem);

        line-height: .92;

        margin-bottom: 18px;
    }

    .sub-title{
        font-size: 1.1rem;
        letter-spacing: 3px;
    }

    .hero-description p{
        font-size: .98rem;
        line-height: 1.75;
    }

    .hero-buttons{
        flex-wrap: wrap;
        gap: 12px;

        margin-top: 26px;
    }

    .btn{
        padding: 13px 22px;
    }

    .hero-price{
        margin-top: 30px;
    }

    /* =========================
       FEATURES
    ========================= */

    .features{
        margin-top: -10px;
    }

    .features-paper{
        padding: 65px 50px;

        background-size: 100% 100%;
    }

    .features-grid{
        grid-template-columns:
            repeat(2, 1fr);

        gap: 40px;
    }

    .feature-item{
        gap: 16px;
    }

    .feature-item h3{
        font-size: .92rem;
    }

    .feature-item p{
        max-width: 100%;

        font-size: .9rem;
        line-height: 1.7;
    }

    .f-icon{
        width: 44px;
        height: 44px;
    }

    /* =========================
       MID SECTION
    ========================= */

    .mid-section{
        padding: 90px 0;
    }

    .mid-grid{
        display: flex;
        flex-direction: column;

        gap: 90px;
    }

    /* =========================
       EXCERPT / WORLD SECTIONS
    ========================= */

    .excerpt{
        display: grid;

        grid-template-columns:
            0.95fr 1.05fr;

        align-items: center;

        gap: 34px;
    }

    /* střídání layoutu */

    .excerpt:nth-child(even) picture{
        order: 1;
    }

    .excerpt:nth-child(even) .excerpt-content{
        order: 2;
    }

    /* obrázky */

    .excerpt picture{
        width: 100%;
    }

    .excerpt-img{
        width: 100%;

        aspect-ratio: 16 / 10;

        height: auto;

        object-fit: cover;
        object-position: center;

        border-radius: 8px;

        display: block;

        filter:
            brightness(.88)
            contrast(1.02);

        box-shadow:
            0 10px 30px rgba(0,0,0,.45);
    }

    /* text */

    .excerpt-content{
        width: 100%;
        max-width: 100%;
    }

    .excerpt-content h3{
        font-size: 1.45rem;

        letter-spacing: 3px;

        margin-bottom: 18px;
    }

    .quote{
        font-size: 1rem;

        line-height: 1.9;

        max-width: 100%;

        margin: 24px 0 30px;
    }

    .btn-outline{
        padding: 13px 24px;
        
        font-size: .7rem;

        letter-spacing: 2px;
    }

    /* =========================
       PAPER / NEWSLETTER
    ========================= */

    .paper{
        padding: 42px;
    }

    .paper h3{
        font-size: 1rem;
    }

    .paper p{
        font-size: .96rem;
    }

    /* =========================
       BLOG
    ========================= */

    .blog{
        padding: 80px 0;
    }

    .blog-grid{
        grid-template-columns:
            repeat(2, 1fr);

        gap: 22px;
    }

    /* TABLET — zobraz jen 2 nejnovější blog karty */

    .blog-grid .blog-card:nth-child(n+3){
        display: none;
    }

    .blog-card{
        padding: 18px;
    }

    .card-img{
        height: 220px;
    }

    /* =========================
       FOOTER
    ========================= */

    .footer{
        padding: 80px 0 45px;
    }

    .footer-grid{
        grid-template-columns:
            1fr 1fr;

        gap: 55px;
    }

    .footer-brand{
        grid-column: 1 / -1;
    }

    .footer-lore{
        max-width: 100%;
    }

    
}

@media (min-width: 768px) and (max-width: 1366px) {

    .hero {
        padding: 105px 0 60px;
    }

    .main-title {
        font-size: clamp(2rem, 3.6vw, 3rem);
    }

    .book-main {
        max-width: 370px;
    }

}