/* -----------------------------------------------------------
           ZÁKLAD
----------------------------------------------------------- */
        :root {
            --bg-main: #020617;
            --bg-section: #020617;
            --bg-card: #020617;
            --accent: #f97316;
            --accent-soft: #fed7aa;
            --accent-strong: #ea580c;
            --text-main: #f9fafb;
            --text-muted: #cbd5f5;
            --border-soft: rgba(148, 163, 184, 0.35);
            --radius-lg: 24px;
            --radius-md: 18px;
            --shadow-card: 0 18px 45px rgba(15, 23, 42, 0.9);
        }

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

html, body {
    height: 100%;
    background: #020617 url('https://sosvoucher.cz/wp-content/uploads/2026/05/background.jpeg')
        center top / cover no-repeat fixed !important;
    background-attachment: fixed !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    line-height: 1.5;
}

/* WordPress / Elementor / Theme reset */
.wp-site-blocks,
.site,
.entry-content,
.page,
#page,
#content,
.elementor,
.elementor-section,
.elementor-container,
.elementor-widget-wrap {
    background: transparent !important;
}


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

        img {
            max-width: 100%;
            display: block;
        }

/* Desktop scroll offset */
[id] {
    scroll-margin-top: 160px;
}

/* Mobilní scroll offset */
@media (max-width: 720px) {
    [id] {
        scroll-margin-top: 210px;
    }
}

        .page-wrap {
    	    min-height: 100vh;
    	    background: transparent !important;
	}


        .container {
            max-width: 1120px;
            margin: 0 auto;
            padding: 0 16px;
        }

        /* -----------------------------------------------------------
           HEADER – DESKTOP + APP-LIKE MOBIL
        ----------------------------------------------------------- */
        .sv-header {
            position: sticky;
            top: 0;
            z-index: 50;
            backdrop-filter: blur(18px);
            background: linear-gradient(to bottom, rgba(2,6,23,0.96), rgba(2,6,23,0.85), transparent);
            border-bottom: 1px solid rgba(15,23,42,0.9);
        }

        .sv-header-inner {
            max-width: 1120px;
            margin: 0 auto;
            padding: 10px 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }

        .sv-header-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .sv-logo {
            width: 150px;
            height: 150px;
            border-radius: 0; /* žádný kruh */
            overflow: visible;
            background: none;
        }

        .sv-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain; /* aby se logo nedeformovalo */
        }

        .sv-brand {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .sv-brand-title {
            font-size: 18px;
            font-weight: 700;
        }

        .sv-brand-sub {
            font-size: 13px;
            color: var(--text-muted);
        }

        .sv-header-nav {
            display: flex;
            align-items: center;
            gap: 20px;
            font-size: 15px;
        }

        .sv-header-nav a {
            position: relative;
            padding-bottom: 2px;
        }

        .sv-header-nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 0;
            height: 2px;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--accent-soft), var(--accent-strong));
            transition: width 0.18s ease-out;
        }

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

        .sv-header-cta {
            padding: 8px 18px;
            border-radius: 999px;
            border: 1px solid rgba(248, 250, 252, 0.15);
            background: linear-gradient(135deg, #f97316, #ea580c);
            color: #111827;
            font-weight: 600;
            font-size: 14px;
            box-shadow: 0 10px 26px rgba(234, 88, 12, 0.55);
        }

        /* Mobilní header – app-like */
        .sv-header-mobile-toggle {
            display: none;
            width: 36px;
            height: 36px;
            border-radius: 999px;
            border: 1px solid rgba(148,163,184,0.6);
            background: rgba(15,23,42,0.9);
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        .sv-header-mobile-toggle span {
            width: 18px;
            height: 2px;
            background: #e5e7eb;
            border-radius: 999px;
            position: relative;
        }

        .sv-header-mobile-toggle span::before,
        .sv-header-mobile-toggle span::after {
            content: "";
            position: absolute;
            left: 0;
            width: 18px;
            height: 2px;
            background: #e5e7eb;
            border-radius: 999px;
        }

        .sv-header-mobile-toggle span::before {
            top: -5px;
        }

        .sv-header-mobile-toggle span::after {
            top: 5px;
        }

        .sv-header-mobile-menu {
            display: none;
            border-top: 1px solid rgba(15,23,42,0.9);
            background: rgba(2,6,23,0.98);
        }

        .sv-header-mobile-menu-inner {
            max-width: 1120px;
            margin: 0 auto;
            padding: 10px 16px 12px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .sv-header-mobile-menu a {
            padding: 8px 0;
            font-size: 15px;
        }

        .sv-header-mobile-menu .sv-header-cta {
            width: 100%;
            text-align: center;
            justify-content: center;
        }

        .nav-slogan {
    max-width: 1120px;
    margin: -35px auto 6px;
    text-align: center;
    font-size: 35px;
    line-height: 1.2;
    color: #ffffffee;
    font-family: "Brush Script MT", "Segoe Script", cursive;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

        /* -----------------------------------------------------------
           HERO
        ----------------------------------------------------------- */
        .sv-hero {
            padding: 32px 0 40px;
        }

        .sv-hero-grid {
            display: grid;
            grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
            gap: 32px;
            align-items: center;
        }

        .sv-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 4px 12px;
            border-radius: 999px;
            background: rgba(15,23,42,0.9);
            border: 1px solid rgba(248, 250, 252, 0.12);
            font-size: 18px;
            color: var(--text-muted);
            margin-bottom: 14px;
        }

        .sv-badge-dot {
            width: 13px;
            height: 13px;
            border-radius: 999px;
            background: radial-gradient(circle at 30% 30%, #f9fafb, #22c55e 55%, #166534 100%);
        }

        .sv-hero-title {
            font-size: clamp(32px, 4vw, 44px);
            line-height: 1.1;
            margin-bottom: 12px;
            color: #000000;
        }

        .sv-hero-title span {
            color: var(--accent-soft);
        }

        .sv-hero-sub {
            font-size: 18px;
            color: var(--text-muted);
            margin-bottom: 18px;
            color: #000000;
        }

        .sv-hero-bullets {
            display: flex;
            flex-wrap: wrap;
            gap: 10px 16px;
            margin-bottom: 20px;
            font-size: 14px;
            color: var(--text-muted);
        }

        .sv-hero-bullets span {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .sv-hero-bullets span::before {
            content: "•";
            color: var(--accent-soft);
        }

        .sv-hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 16px;
        }

.sv-btn-primary {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid rgba(250, 204, 21, 0.8);
    font-size: 15px;
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    background: linear-gradient(135deg, #facc15, #eab308);
    box-shadow: 0 10px 26px rgba(234, 179, 8, 0.55);
    font-weight: 600;
}

.sv-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(234, 179, 8, 0.75);
}

.sv-btn-primary:active {
    transform: scale(0.97);
}

.sv-btn-secondary {
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    /* Zlatý styl */
    color: #fefce8;
    border: 1px solid rgba(250, 204, 21, 0.8);
    background: rgba(250, 204, 21, 0.10); /* jemný zlatý nádech */

    /* Efekty */
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.18s ease-out;
    box-shadow: 0 0 0 rgba(234, 179, 8, 0); /* žádný stín defaultně */
}


.sv-btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(250, 204, 21, 0.18);
    box-shadow: 0 8px 20px rgba(234, 179, 8, 0.35);
}

.sv-btn-secondary:active {
    transform: scale(0.97);
}


/* Hero – náhled voucheru */
.sv-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.sv-hero-image img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.6);
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

/* Jemný WOW efekt při hoveru */
.sv-hero-image img:hover {
    transform: rotateY(8deg) scale(1.03);
    box-shadow: 0 25px 60px rgba(234, 179, 8, 0.55);
}


    .sv-hero-image {
        margin-top: 20px;
    }

    .sv-hero-image img {
        max-width: 100%;
        transform: none;
    }




        .sv-hero-meta {
            font-size: 13px;
            color: var(--text-muted);
        }

        .sv-hero-meta strong {
            color: var(--accent-soft);
        }

        /* Hero – pravý panel (voucher karta) */
        .sv-hero-card {
            background: radial-gradient(circle at 0 0, #1f2937 0, #020617 55%);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-soft);
            box-shadow: var(--shadow-card);
            padding: 20px 18px;
        }

        .sv-hero-card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
            font-size: 13px;
            color: var(--text-muted);
        }

        .sv-hero-card-title {
            font-size: 16px;
            font-weight: 600;
        }

        .sv-hero-card-badge {
            padding: 4px 10px;
            border-radius: 999px;
            background: rgba(22,163,74,0.15);
            color: #bbf7d0;
            font-size: 11px;
        }

        .sv-hero-card-main {
            border-radius: 16px;
            border: 1px dashed rgba(148,163,184,0.6);
            padding: 14px 14px 12px;
            margin-bottom: 10px;
        }

        .sv-hero-card-line {
            display: flex;
            justify-content: space-between;
            font-size: 13px;
            margin-bottom: 6px;
        }

        .sv-hero-card-line span:first-child {
            color: var(--text-muted);
        }

        .sv-hero-card-line span:last-child {
            font-weight: 500;
        }

        .sv-hero-card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12px;
            color: var(--text-muted);
        }

        .sv-hero-card-footer strong {
            color: var(--accent-soft);
        }

        /* -----------------------------------------------------------
           SEKCE: JAK TO FUNGUJE
        ----------------------------------------------------------- */
        .sv-section {
            padding: 32px 0;
        }

        .sv-section-header {
            margin-bottom: 18px;
            color: #000000;
        }

        .sv-section-title {
            font-size: 24px;
            margin-bottom: 6px;
            color: #000000;
        }

        .sv-section-sub {
            font-size: 18px;
            color: #000000;
        }

        .sv-quick-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 18px;
        }

        .sv-quick-card {
            background: #020617;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-soft);
            padding: 14px 12px;
            font-size: 14px;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .sv-quick-label {
            font-size: 12px;
            color: var(--text-muted);
        }

        .sv-quick-value {
            font-weight: 600;
        }

        .sv-quick-cta {
            margin-top: 4px;
            font-size: 12px;
            color: var(--accent-soft);
        }

        /* -----------------------------------------------------------
           SEKCE: TYPY VOUCHERŮ
        ----------------------------------------------------------- */
        .sv-types-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 18px;
        }

        .sv-type-card {
            background: #020617;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-soft);
            padding: 16px 14px;
            font-size: 14px;
        }

        .sv-type-title {
            font-size: 16px;
            margin-bottom: 6px;
        }

        .sv-type-text {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 10px;
        }

        .sv-type-meta {
            font-size: 12px;
            color: var(--text-muted);
            margin-bottom: 8px;
        }

        .sv-type-btn {
            display: inline-block;
            margin-top: 4px;
            padding: 8px 14px;
            border-radius: 999px;
            border: 1px solid rgba(148,163,184,0.6);
            font-size: 13px;
        }

        /* -----------------------------------------------------------
           SEKCE: BENEFITY / DÁREK BEZ RIZIKA
        ----------------------------------------------------------- */
        .sv-benefits-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 18px;
        }

        .sv-benefit-card {
            background: #020617;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-soft);
            padding: 16px 14px;
            font-size: 14px;
        }

        .sv-benefit-title {
            font-size: 16px;
            margin-bottom: 6px;
        }

        .sv-benefit-text {
            font-size: 14px;
            color: var(--text-muted);
        }

        /* -----------------------------------------------------------
           SEKCE: CTA
        ----------------------------------------------------------- */
        .sv-cta {
            margin: 32px 0 40px;
            padding: 20px 18px;
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-soft);
            background: radial-gradient(circle at 0 0, #1f2937 0, #020617 55%);
            text-align: center;
        }

        .sv-cta-title {
            font-size: 22px;
            margin-bottom: 8px;
        }

        .sv-cta-text {
            font-size: 15px;
            color: var(--text-muted);
            margin-bottom: 16px;
        }

        .sv-cta-actions {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
        }

        /* -----------------------------------------------------------
           FOOTER – WEB + MOBIL
        ----------------------------------------------------------- */
        .sv-footer {
            border-top: 1px solid rgba(15,23,42,0.9);
            background: #020617;
            padding: 18px 0 22px;
        }

        .sv-footer-inner {
            max-width: 1120px;
            margin: 0 auto;
            padding: 0 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            font-size: 13px;
            color: #9ca3af;
            flex-wrap: wrap;
        }

        .sv-footer-links {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
        }

        .sv-footer-links a {
            color: #e5e7eb;
            font-size: 13px;
        }

        /* -----------------------------------------------------------
           RESPONSIVITA
        ----------------------------------------------------------- */
        @media (max-width: 900px) {
            .sv-hero-grid {
                grid-template-columns: minmax(0, 1fr);
            }

            .sv-hero-card {
                max-width: 420px;
                margin: 0 auto;
            }

            .sv-quick-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .sv-types-grid,
            .sv-benefits-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 720px) {
            .sv-header-nav {
                display: none;
            }

            .sv-header-cta {
                display: none;
            }

            .sv-header-mobile-toggle {
                display: inline-flex;
            }

            .sv-header-inner {
                padding: 8px 14px;
            }

            .sv-brand-title {
                font-size: 16px;
            }

            .sv-brand-sub {
                font-size: 12px;
            }

            .sv-hero {
                padding: 24px 0 32px;
            }

            .sv-hero-title {
                font-size: 26px;
            }

            .sv-hero-sub {
                font-size: 15px;
            }

            .sv-quick-grid {
                grid-template-columns: 1fr;
            }

            .sv-types-grid,
            .sv-benefits-grid {
                grid-template-columns: 1fr;
            }

            .sv-footer-inner {
                flex-direction: column;
                align-items: flex-start;
            }
        }





















/* -----------------------------------------------------------
   GLOBAL WIZARD STYLES
----------------------------------------------------------- */

.sv-wizard {
    margin-top: 40px;
    padding-bottom: 80px;
    animation: fadeIn 0.6s ease-out;
}

.sv-title {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1a1a1a;
    text-align: center;
}

.sv-sub {
    font-size: 18px;
    margin-bottom: 30px;
    color: #444;
    text-align: center;
}

/* -----------------------------------------------------------
   PROGRESS BAR
----------------------------------------------------------- */

.sv-progress {
    width: 100%;
    height: 12px;
    background: rgba(0,0,0,0.08);
    border-radius: 999px;
    margin: 0 auto 40px;
    max-width: 600px;
    overflow: hidden;
}

.sv-progress-inner {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #facc15, #eab308);
    border-radius: 999px;
    transition: width 0.4s ease-out;
    box-shadow: 0 0 12px rgba(234,179,8,0.6);
}

/* -----------------------------------------------------------
   STEP TRANSITIONS
----------------------------------------------------------- */

.sv-step {
    animation: fadeSlide 0.5s ease-out;
}

@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* -----------------------------------------------------------
   CARD GRID (KROK 1)
----------------------------------------------------------- */
/* ------------------------------
   KROK 1 – KARTY S ROTACÍ
------------------------------ */

.sv-card {
    position: relative;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.sv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: #facc15;
}

.sv-card.active {
    outline: 2px solid #ffcc00;
    box-shadow: 0 0 12px rgba(255,204,0,0.6);
}

/* Cenovka */
.sv-price-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffcc00;
    color: #000;
    padding: 6px 12px;
    font-weight: 700;
    border-radius: 6px;
    font-size: 15px;
    z-index: 5;
}

.sv-card-body {
    padding: 18px;
    text-align: center;
}

.sv-card-body h3 {
    font-size: 20px;
    margin-bottom: 6px;
    color: #111;
}

.sv-card-body p {
    font-size: 15px;
    color: #555;
}


/* Wrapper pro rotaci */
.sv-card-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    margin-bottom: 10px;
}

/* Obrázek */
.sv-card-img {
    width: 100%;
    height: 100%;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    border-radius: 8px;
}

/* Šipky */
.sv-card-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    padding: 6px 10px;
    font-size: 22px;
    cursor: pointer;
    border-radius: 6px;
    z-index: 10;
    transition: background .2s ease;
}

.sv-card-nav:hover {
    background: rgba(0,0,0,0.7);
}

.sv-card-prev {
    left: 6px;
}

.sv-card-next {
    right: 6px;
}




/* -----------------------------------------------------------
   FORM (KROK 2)
----------------------------------------------------------- */

.sv-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 30px;
}


    .sv-form-grid .sv-full {
        grid-column: span 2;
    }

.sv-form-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    color: #333;
}

.sv-form-field input,
.sv-form-field textarea {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 2px solid #ddd;
    background: #fff;
    color: #111;
    font-size: 16px;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.sv-form-field input:focus,
.sv-form-field textarea:focus {
    border-color: #eab308;
    box-shadow: 0 0 12px rgba(234,179,8,0.4);
    outline: none;
}

/* -----------------------------------------------------------
   PREVIEW (KROK 4)
----------------------------------------------------------- */

.sv-preview-box iframe {
    width: 100%;
    height: 600px;
    border-radius: 12px;
    border: 2px solid #ddd;
}

/* -----------------------------------------------------------
   BUTTONS
----------------------------------------------------------- */

.sv-btn {
    padding: 14px 32px;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: block;
    margin: 20px auto 0;
}

/* -----------------------------------------------------------
   MOBILE
----------------------------------------------------------- */

/* -----------------------------------------------------------
   MOBILE VERSION
----------------------------------------------------------- */
@media (max-width: 720px) {
    .sv-title {
        font-size: 26px;
    }

    .sv-step-wrapper {
        grid-template-columns: 1fr;
    }

    .sv-form-grid {
        grid-template-columns: 1fr;
    }


    .sv-sub {
        font-size: 16px;
    }

    .sv-card-grid {
        grid-template-columns: 1fr;
    }

    .sv-btn {
        width: 100%;
    }
}

/* 3×3 grid – pevná mřížka */
.sv-grid-3x3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* přesně 3 sloupce */
    gap: 28px;
    margin-bottom: 40px;
    max-width: 1240px;      /* pevná maximální šířka */
    margin: 0 auto 40px;    /* centrování + spodní mezera */
    padding: 0 20px;        /* malé odsazení od okrajů */
}

/* MOBILNÍ VERZE */
@media (max-width: 720px) {
    .sv-grid-3x3 {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 0 10px;
    }
}

/* -----------------------------------------------------------
   KROK 2 – WRAPPER (max 1300px, centrované)
----------------------------------------------------------- */

.sv-step-wrapper {
    max-width: 1240px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 0 20px;
}


/* -----------------------------------------------------------
   PREVIEW BOX (pravý sloupec)
----------------------------------------------------------- */

.sv-preview-side {
    background: #ffffffdd;
    border: 2px solid #eee;
    border-radius: 18px;
    padding: 20px;
    text-align: center;
}

.sv-preview-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #111;
}

.sv-preview-mini img {
    width: 100%;
    max-width: 420px;   /* rozumná šířka na stránce */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    border: 2px solid #ddd;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* ------------------------------
   KROK 2 – STRIP KATEGORIÍ
------------------------------ */

.sv-category-strip {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    color: #000;
}

.sv-category-pill {
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    cursor: pointer;
    transition: background .2s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.sv-category-pill.active {
    background: #ffcc00;
    color: #000;
    font-weight: 700;
}

/* ------------------------------
   GRID ŠABLON V KROKU 2
------------------------------ */

#svTemplatesGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 25px;
}

.sv-template-thumb {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.sv-template-thumb:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.sv-template-thumb.active {
    outline: 2px solid #ffcc00;
}

.sv-template-thumb-img {
    width: 100%;
    height: 120px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 6px;
    margin-bottom: 8px;
}

.sv-template-thumb-price {
    text-align: center;
    font-weight: 700;
    color: #ffcc00;
}




/* -----------------------------------------------------------
   KROK 3 – STEJNÝ LAYOUT JAKO KROK 2
----------------------------------------------------------- */

.sv-summary-box {
    background: #ffffffdd;
    border: 2px solid #eee;
    border-radius: 18px;
    padding: 24px;
    color: #111;
    font-size: 17px;
    line-height: 1.7;
}

.sv-summary-item {
    margin-bottom: 14px;
}

.sv-summary-item strong {
    color: #000;
}

/* -----------------------------------------------------------
   KROK 4 – NÁHLED
----------------------------------------------------------- */

.sv-preview-box {
    position: relative;
    background: #ffffffdd;
    border: 2px solid #eee;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 0 25px rgba(0,0,0,0.08);
}

.sv-preview-img {
    width: 100%;
    max-width: 700px;   /* velký, ale ne přes celý monitor */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    border: 2px solid #ddd;

}

.sv-preview-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    font-weight: 800;
    color: rgba(0,0,0,0.08);
    pointer-events: none;
    user-select: none;

}

/* -----------------------------------------------------------
KONTAKT – NOVÁ SEKCE
----------------------------------------------------------- */

.sv-contact {
    padding: 40px 0 60px;
}

.sv-contact-title {
    font-size: 34px;
    margin-bottom: 10px;
    color: #000;
}

.sv-contact-sub {
    font-size: 18px;
    margin-bottom: 30px;
    color: #333;
}

.sv-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.sv-contact-card {
    background: rgba(255,255,255,0.85);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid rgba(0,0,0,0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.sv-contact-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #000;
}

.sv-contact-card p {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.sv-contact-form input,
.sv-contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #ccc;
    margin-bottom: 12px;
    font-size: 15px;
}

.sv-contact-form button {
    width: 100%;
    margin-top: 10px;
}

/* -----------------------------------------------------------
   PREVIEW PAGE
----------------------------------------------------------- */

.sv-preview-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px;
}

.sv-preview-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.sv-preview-actions {
    text-align: center;
    margin-top: 40px;
}

/* Náhledový box */
.sv-preview-box {
    position: relative;
    background: #ffffffdd;
    border: 2px solid #eee;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 0 25px rgba(0,0,0,0.08);
}


/* Mobilní verze */
@media (max-width: 900px) {
    .sv-preview-wrapper {
        grid-template-columns: 1fr;
    }
}


/* -----------------------------------------------------------
   PRÁVNÍ DOKUMENTY – GRID
----------------------------------------------------------- */

.sv-legal {
    margin-top: 60px;
    padding: 40px 0;
    text-align: center;
}

.sv-legal-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.sv-legal-sub {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 40px;
    color: #000;
}

.sv-legal-grid {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    flex-wrap: wrap; /* aby se přizpůsobilo menším obrazovkám */
    justify-content: center; /* zarovnání na střed */
}

.sv-legal-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 25px 15px;
    text-align: center;
    text-decoration: none;
    color: #222;
    border: 1px solid #e5e5e5;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    z-index: 2;
    flex: 1 1 18%; /* každý box zabere cca 18 % šířky */
    min-width: 220px; /* aby se nerozpadly na mobilech */
    max-width: 260px;
}

.sv-legal-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: #7a4bff;
}

.sv-legal-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.sv-legal-actions {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.sv-legal-icon {
    font-size: 42px;
    color: #7a4bff;
    margin-bottom: 15px;
}

.sv-legal-box h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.sv-legal-box p {
    font-size: 15px;
    opacity: 0.75;
}

/* -----------------------------------------------------------
   PRÁVNÍ STRÁNKY – ČERNÝ TEXT NA SVĚTLÉM POZADÍ
----------------------------------------------------------- */

.sv-legal-page,
.sv-legal-page * {
    color: #1a1a1a !important;
}

.sv-legal-page h1,
.sv-legal-page h2,
.sv-legal-page h3 {
    color: #111 !important;
}

.sv-legal-date {
    color: #444 !important;
}

.sv-legal-tools {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
}


/* -----------------------------------------------------------
   PRÁVNÍ DOKUMENTY – BACKGROUND OBRÁZKY
----------------------------------------------------------- */

/* Poloprůhledný background */
.sv-legal-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.18; /* průhlednost obrázku */
    z-index: 1;
}


/* Obchodní podmínky */
.sv-legal-box:nth-child(1)::before {
    background-image: url('https://sosvoucher.cz/wp-content/themes/hello-elementor-child/img/obchodni_podminky.png');
}

/* GDPR */
.sv-legal-box:nth-child(2)::before {
    background-image: url('https://sosvoucher.cz/wp-content/themes/hello-elementor-child/img/gdpr.png');
}

/* Cookies */
.sv-legal-box:nth-child(3)::before {
    background-image: url('https://sosvoucher.cz/wp-content/themes/hello-elementor-child/img/cookies.png');
}

/* Reklamace */
.sv-legal-box:nth-child(4)::before {
    background-image: url('https://sosvoucher.cz/wp-content/themes/hello-elementor-child/img/reklamace.png');
}


        .step-number {
            width: 40px;
            height: 40px;
            border-radius: 999px;
            background: radial-gradient(circle at 30% 30%, #000000, var(--accent-soft));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .sv-cart-icon-wrapper {
    position: relative;
    margin-left: 20px;
}

.sv-cart-link {
    position: relative;
    display: inline-block;
}

.sv-cart-icon {
    width: 28px;
    height: 28px;
    fill: #f4c542;
    transition: 0.2s;
}

.sv-cart-link:hover .sv-cart-icon {
    transform: scale(1.1);
}

.sv-cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #ff3b3b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
}


.sv-cart-wrap {
    max-width: 960px;
    margin: 40px auto;
    color: #fff;
}

.sv-cart-wrap h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #000;
}

.sv-cart-list {
    margin-bottom: 30px;
}

.sv-cart-item {
    display: flex;
    gap: 20px;
    background: rgba(15, 10, 40, 0.9);
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.sv-cart-thumb-wrap {
    flex: 0 0 180px;
}

.sv-cart-thumb {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.sv-cart-info {
    flex: 1;
    font-size: 14px;
}

.sv-cart-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.sv-cart-info p {
    margin: 2px 0;
}

.sv-cart-side {
    flex: 0 0 140px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.sv-cart-price {
    font-size: 20px;
    font-weight: 700;
    color: #f4c542;
}

.sv-cart-remove {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.2s;
}

.sv-cart-remove:hover {
    background: rgba(255,255,255,0.1);
}

.sv-cart-summary {
    background: rgba(15, 10, 40, 0.95);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.sv-cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 18px;
}

.sv-cart-total-row strong {
    font-size: 22px;
    color: #f4c542;
}

.sv-cart-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.sv-cart-empty {
    max-width: 600px;
    margin: 60px auto;
    text-align: center;
    color: #fff;
}
