/**
 * Pryntes.cz - Modern Native Stylesheet
 * Version: 3.0.0 (Native Prototype)
 * Features: Dark/Light Mode, Royal Blue & Powder Pink Design Tokens,
 *           CSS Grid & Flexbox, Fluid Typography, 3D Canvas, Cart Drawer,
 *           Zásilkovna Checkout, and Floating Chat.
 */

/* ==========================================================================
   1. DESIGN TOKENS & CSS VARIABLES
   ========================================================================== */
:root {
    /* Dark Mode (výchozí) */
    --bg-page: #070614;
    --bg-surface: #0b0f19;
    --bg-card: #0f172a;
    --bg-card-hover: #1e293b;
    --bg-input: #1e293b;
    --border-color: rgba(255, 255, 255, 0.09);
    --border-focus: #4a5fc4;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Primární akcent - Royal Blue */
    --accent-blue: #3447AA;
    --accent-blue-hover: #2a3a9a;
    --accent-blue-light: #4a5fc4;
    --accent-glow: rgba(52, 71, 170, 0.28);
    
    /* Sekundární akcent - Powder Pink */
    --accent-pink: #FBEAEB;
    --accent-pink-border: rgba(251, 234, 235, 0.35);
    --accent-pink-text: #7a1c28;

    --header-bg: rgba(7, 6, 20, 0.92);
    --header-border: rgba(255, 255, 255, 0.08);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.45);
    --shadow-card-hover: 0 16px 32px -6px rgba(0, 0, 0, 0.6);
    --transition: all 0.22s ease-in-out;
}

html.light-mode {
    /* Light Mode */
    --bg-page: #fdfcff;
    --bg-surface: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --bg-input: #f8fafc;
    --border-color: #e2e8f0;
    --border-focus: #3447AA;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;

    --accent-blue: #3447AA;
    --accent-blue-hover: #2a3a9a;
    --accent-blue-light: #4a5fc4;
    --accent-glow: rgba(52, 71, 170, 0.15);

    --accent-pink: #FBEAEB;
    --accent-pink-border: rgba(155, 42, 56, 0.2);
    --accent-pink-text: #7a1c28;

    --header-bg: rgba(255, 255, 255, 0.96);
    --header-border: #e2e8f0;

    --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
    --shadow-card-hover: 0 12px 28px -4px rgba(15, 23, 42, 0.14);
}

/* ==========================================================================
   2. RESET & BASE TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

img, svg, video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Typografická hierarchie */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--text-secondary); line-height: 1.68; }

/* Vertikální mantinely & spacing */
.pryntes-container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.pryntes-section {
    margin-top: 56px;
    margin-bottom: 56px;
    padding-top: 48px;
    padding-bottom: 48px;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px auto;
}

.section-header h2 {
    margin-bottom: 14px;
}

.section-header p {
    font-size: 1.05rem;
}

/* ==========================================================================
   3. STICKY HEADER & NAVIGATION
   ========================================================================== */
.pryntes-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--header-border);
    transition: background 0.25s, border-color 0.25s;
}

.pryntes-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.pryntes-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.pryntes-logo-img {
    width: 42px;
    height: 43px;
    object-fit: contain;
}

/* Logo Dark/Light automatické přepínání */
html:not(.light-mode) .logo-black { display: none !important; }
html:not(.light-mode) .logo-white { display: block !important; }
html.light-mode .logo-white { display: none !important; }
html.light-mode .logo-black { display: block !important; }

.pryntes-nav-desktop {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.pryntes-nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    position: relative;
    transition: color 0.2s ease;
}

.pryntes-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue-light), var(--accent-pink));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.pryntes-nav-link:hover {
    color: var(--text-primary);
}

.pryntes-nav-link:hover::after,
.pryntes-nav-link.active::after {
    transform: scaleX(1);
}

.pryntes-nav-link.active {
    color: var(--text-primary);
    font-weight: 600;
}

.pryntes-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pryntes-icon-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.pryntes-icon-btn:hover {
    border-color: var(--accent-blue);
    background: var(--bg-card-hover);
    transform: translateY(-1px);
}

.pryntes-icon-btn svg {
    width: 20px;
    height: 20px;
}

/* Cart badge */
.pryntes-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-blue);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    opacity: 0;
    transform: scale(0.6);
    transition: var(--transition);
}

.pryntes-cart-badge.has-items {
    opacity: 1;
    transform: scale(1);
}

/* Slunce / Měsíc ikony s plynulou rotací */
#pryntes-theme-toggle-btn {
    position: relative;
    overflow: hidden;
}

#pryntes-theme-toggle-btn svg {
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

html:not(.light-mode) .icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    display: block !important;
}

html:not(.light-mode) .icon-moon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.4);
    position: absolute;
    pointer-events: none;
    display: block !important;
}

html.light-mode .icon-sun {
    opacity: 0;
    transform: rotate(90deg) scale(0.4);
    position: absolute;
    pointer-events: none;
    display: block !important;
}

html.light-mode .icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    display: block !important;
}

/* Hamburger pro mobil */
.pryntes-mobile-toggle {
    display: none;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pryntes-mobile-drawer {
    display: none;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 18px 24px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.pryntes-mobile-drawer.is-open {
    display: block;
}

.pryntes-mobile-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pryntes-mobile-nav a {
    display: block;
    padding: 12px 16px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    color: var(--text-primary);
}

.pryntes-mobile-nav a:hover,
.pryntes-mobile-nav a.active {
    background: var(--bg-surface);
    color: var(--accent-blue-light);
}

/* ==========================================================================
   4. BUTTONS, BADGES & INTERACTIVE CONTROLS
   ========================================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent-blue);
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px var(--accent-glow);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.2s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* Jemný světelný přelet (shimmer) při najetí myší */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
    transform: skewX(-25deg);
    transition: left 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.btn-primary:hover {
    background: var(--accent-blue-hover);
    box-shadow: 0 8px 26px var(--accent-glow);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-primary:hover::after {
    left: 150%;
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    font-size: 0.98rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.2s ease, 
                background-color 0.2s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: var(--accent-blue);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.btn-secondary:active {
    transform: translateY(0) scale(0.98);
}

.btn-outline {
    background: transparent;
    color: var(--accent-blue);
    border: 1.5px solid var(--accent-blue);
    font-size: 0.98rem;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--accent-blue);
    color: #ffffff;
    transform: translateY(-2px);
}

.badge-blue {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(52, 71, 170, 0.12);
    color: var(--accent-blue-light);
    border: 1px solid rgba(52, 71, 170, 0.25);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-pink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-pink);
    color: var(--accent-pink-text);
    border: 1px solid var(--accent-pink-border);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-tpu {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.28);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
}

/* Formulářové prvky */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 0.98rem;
    color: var(--text-primary);
    outline: none;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(52, 71, 170, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Responzivní řádky formulářů */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row-address {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
}

/* Rozvržení kontakt, služby, o nás */
.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: start;
}

.service-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-card);
    margin-bottom: 36px;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 56px;
}

.product-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.cta-banner-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 56px 36px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.cta-banner-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cta-banner-card {
        padding: 32px 20px !important;
        text-align: left !important;
    }

    .cta-banner-card h2,
    .cta-banner-card p {
        text-align: left !important;
    }

    .cta-banner-buttons {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
    }

    .cta-banner-buttons .btn-primary,
    .cta-banner-buttons .btn-secondary {
        width: 100% !important;
        text-align: center !important;
    }
}

/* ==========================================================================
   5. HOMEPAGE SPECIFICS (HERO, TEASER, WORKFLOW, PRICING)
   ========================================================================== */
.hero-section {
    padding-top: 36px;
    padding-bottom: 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-content h1 {
    margin: 16px 0 20px;
}

.hero-content p {
    font-size: 1.12rem;
    max-width: 580px;
    margin-bottom: 32px;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.trust-icon {
    color: var(--accent-blue-light);
    flex-shrink: 0;
}

.hero-visual-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.hero-visual-card img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 380px;
    object-fit: cover;
}

/* Upoutávka Srdce na míru (Teaser Card) */
.heart-teaser-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(52, 71, 170, 0.08) 100%);
    border: 1px solid rgba(52, 71, 170, 0.25);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.heart-teaser-card::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    background: var(--accent-glow);
    filter: blur(100px);
    top: -80px;
    right: -80px;
    pointer-events: none;
}

/* 4-krokový proces zakázky */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.workflow-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-card);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.workflow-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.workflow-step-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-blue);
    opacity: 0.6;
    margin-bottom: 16px;
    line-height: 1;
}

.workflow-card h3 {
    margin-bottom: 12px;
}

.workflow-card p {
    font-size: 0.92rem;
}

/* Sekce Materiálů */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.material-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.material-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-3px);
}

.material-tag {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 8px;
}

.material-features {
    list-style: none;
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* Orientační Ceník */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.pricing-card.featured {
    border-color: var(--accent-blue);
    box-shadow: 0 12px 36px var(--accent-glow);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 28px;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 16px 0;
}

.pricing-price span {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ==========================================================================
   6. 3D VIEWER & CUSTOMIZER (SRDCE NA MÍRU)
   ========================================================================== */
.customizer-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: start;
}

.viewer-card {
    position: sticky;
    top: 96px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.viewer-canvas-wrap {
    position: relative;
    width: 100%;
    height: 520px;
    background: radial-gradient(circle at center, rgba(52, 71, 170, 0.08) 0%, transparent 70%);
    cursor: grab;
}

.viewer-canvas-wrap:active {
    cursor: grabbing;
}

.viewer-loader {
    position: absolute;
    inset: 0;
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    z-index: 20;
    transition: opacity 0.3s;
}

.spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(52, 71, 170, 0.2);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.viewer-footer-info {
    padding: 14px 20px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.controls-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.swatch-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.color-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.color-swatch.active {
    border-color: var(--accent-blue);
    transform: scale(1.15);
    box-shadow: 0 0 12px var(--accent-glow);
}

/* ==========================================================================
   7. SLIDE-OVER CART DRAWER & CHECKOUT
   ========================================================================== */
.pryntes-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

.pryntes-drawer-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.pryntes-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    border-left: 1px solid var(--border-color);
    z-index: 1010;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.5);
}

.pryntes-cart-drawer.is-open {
    transform: translateX(0);
}

.drawer-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-close-btn {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.drawer-close-btn:hover {
    color: var(--text-primary);
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drawer-item-card {
    display: flex;
    gap: 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    align-items: center;
}

.drawer-item-thumb {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--bg-card);
}

.drawer-item-info {
    flex: 1;
}

.drawer-item-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.drawer-item-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.drawer-item-price {
    font-weight: 700;
    color: var(--accent-blue-light);
    margin-top: 4px;
}

.drawer-item-remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px 8px;
    line-height: 1;
}

.drawer-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-surface);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drawer-subtotal-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.15rem;
    font-weight: 700;
}

/* Stránka pokladny (kosik.html) */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.checkout-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-card);
    margin-bottom: 24px;
}

.shipping-option {
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.shipping-option.active {
    border-color: var(--accent-blue);
    background: rgba(52, 71, 170, 0.08);
}

/* Modal po odeslání objednávky */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    padding: 20px;
}

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    max-width: 540px;
    width: 100%;
    padding: 40px;
    box-shadow: var(--shadow-card-hover);
    text-align: center;
    position: relative;
}

/* ==========================================================================
   8. FLOATING CHAT WIDGET
   ========================================================================== */
.pryntes-chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 850;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.pryntes-chat-teaser {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    animation: fadeInBounce 0.4s ease-out;
}

@keyframes fadeInBounce {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.chat-teaser-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
}

.pryntes-chat-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--accent-blue);
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 24px var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.pryntes-chat-btn:hover {
    transform: scale(1.08);
    background: var(--accent-blue-hover);
}

.pryntes-chat-popup {
    display: none;
    position: absolute;
    bottom: 74px;
    right: 0;
    width: 360px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card-hover);
    overflow: hidden;
    flex-direction: column;
}

.pryntes-chat-widget.is-open .pryntes-chat-popup {
    display: flex;
}

.chat-popup-header {
    background: var(--bg-surface);
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-popup-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-btn-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: #ffffff;
    padding: 12px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}

.chat-btn-wa:hover {
    background: #1eb956;
}

.chat-unread-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-card);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.chat-quick-bar {
    padding: 12px 16px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-btn-wa.chat-btn-wa--compact {
    padding: 9px 12px;
    font-size: 0.88rem;
}

.chat-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: var(--bg-surface);
    padding: 4px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.chat-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.84rem;
    font-weight: 600;
    padding: 7px 10px;
    border-radius: calc(var(--radius-md) - 2px);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.chat-tab-btn.is-active {
    background: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(52, 71, 170, 0.25);
}

.chat-tab-panel {
    display: none;
    flex-direction: column;
}

.chat-tab-panel.is-active {
    display: flex;
}

.chat-messages {
    height: 245px;
    overflow-y: auto;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-behavior: smooth;
}

.chat-msg {
    max-width: 85%;
    padding: 10px 13px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.45;
    word-break: break-word;
    position: relative;
}

.chat-msg--admin {
    align-self: flex-start;
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 4px;
}

.chat-msg--customer {
    align-self: flex-end;
    background: var(--accent-blue);
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.chat-msg-meta {
    display: block;
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 4px;
    text-align: right;
}

.chat-msg--admin .chat-msg-meta {
    text-align: left;
}

.chat-live-form {
    padding: 12px 16px 16px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-surface);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-live-input-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.chat-live-input-row .form-control {
    flex: 1;
    padding: 9px 12px;
    font-size: 0.88rem;
}

.chat-attach-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 1.05rem;
    transition: var(--transition);
    margin: 0;
}

.chat-attach-btn:hover {
    border-color: var(--accent-blue);
    background: rgba(52, 71, 170, 0.12);
}

.chat-send-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: var(--accent-blue);
    color: #ffffff;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
}

.chat-send-btn:hover {
    background: var(--accent-blue-hover);
}

.chat-send-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .pryntes-chat-popup {
        width: calc(100vw - 32px);
        right: -8px;
    }
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.pryntes-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 64px 0 32px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col h4 {
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.94rem;
}

.footer-links a:hover {
    color: var(--accent-blue-light);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ==========================================================================
   10. RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-grid,
    .heart-teaser-card,
    .customizer-layout,
    .checkout-grid,
    .contact-layout,
    .about-hero-grid,
    .service-card-grid {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
    }

    .service-card-grid > div {
        order: unset !important;
    }

    .viewer-card {
        position: relative !important;
        top: auto !important;
    }

    .workflow-grid,
    .materials-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .pricing-grid {
        grid-template-columns: 1fr !important;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .pryntes-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .pryntes-header-inner {
        height: 64px;
    }

    .pryntes-logo-img {
        width: 36px;
        height: 37px;
    }

    .pryntes-logo-link {
        font-size: 1.2rem;
    }

    .pryntes-nav-desktop {
        display: none !important;
    }

    .pryntes-mobile-toggle {
        display: flex !important;
    }

    .pryntes-section {
        margin-top: 32px !important;
        margin-bottom: 32px !important;
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    /* Čisté zarovnání textu na mobilu vlevo (žádné nepřirozené středění odstavců) */
    .hero-content {
        align-items: flex-start !important;
        text-align: left !important;
    }

    .hero-content h1 {
        font-size: 2.1rem !important;
        line-height: 1.22 !important;
        margin: 14px 0 16px 0 !important;
        text-align: left !important;
    }

    .hero-content p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 24px !important;
        text-align: left !important;
    }

    .section-header {
        text-align: left !important;
        margin-bottom: 28px !important;
    }

    .section-header h1,
    .section-header h2 {
        text-align: left !important;
    }

    .section-header p {
        text-align: left !important;
    }

    /* Tlačítka na celou šířku mobilu */
    .hero-cta-row {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
        margin-bottom: 28px !important;
    }

    .hero-cta-row .btn-primary,
    .hero-cta-row .btn-secondary,
    .hero-cta-row .btn-outline {
        width: 100% !important;
        text-align: center !important;
        padding: 14px !important;
    }

    /* Trust body pod tlačítky na mobilu */
    .hero-trust-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding-top: 20px !important;
    }

    .hero-visual-card {
        padding: 16px !important;
        border-radius: var(--radius-lg) !important;
    }

    .hero-visual-card img {
        height: 240px !important;
    }

    /* Upoutávková karta srdce na mobilu */
    .heart-teaser-card {
        padding: 28px 20px !important;
        border-radius: var(--radius-lg) !important;
        text-align: left !important;
    }

    .heart-teaser-card h2 {
        font-size: 1.65rem !important;
    }

    /* 3D Konfigurátor plátno */
    .viewer-canvas-wrap {
        height: 360px !important;
    }

    .viewer-footer-info {
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center !important;
        font-size: 0.8rem !important;
    }

    .controls-card {
        padding: 24px 18px !important;
        border-radius: var(--radius-lg) !important;
    }

    /* Formuláře a vstupy: žádné stlačené 2 sloupce a prevence zoomu na iOS */
    .form-row-2,
    .form-row-address {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .form-control,
    input, select, textarea {
        font-size: 16px !important; /* Prevence nežádoucího iOS Safari auto-zoomu */
    }

    .swatch-group {
        gap: 12px !important;
    }

    .color-swatch {
        width: 38px !important;
        height: 38px !important;
    }

    .checkout-box {
        padding: 22px 18px !important;
        border-radius: var(--radius-lg) !important;
    }

    /* Karty služeb na mobilu */
    .service-card-grid {
        padding: 24px 18px !important;
        border-radius: var(--radius-lg) !important;
        gap: 24px !important;
    }

    .service-card-grid img {
        height: 200px !important;
    }

    .workflow-grid,
    .materials-grid,
    .product-catalog-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .workflow-card,
    .material-card {
        padding: 22px 18px !important;
    }

    /* Plovoucí chat na telefonu - neblokuje obsah */
    .pryntes-chat-widget {
        bottom: 16px !important;
        right: 16px !important;
    }

    .pryntes-chat-btn {
        width: 50px !important;
        height: 50px !important;
    }

    .pryntes-chat-btn svg {
        width: 24px !important;
        height: 24px !important;
    }

    .pryntes-chat-teaser {
        display: none !important; /* Na mobilu skrýt, aby nezakrývala tlačítka a text */
    }

    .pryntes-chat-popup {
        width: calc(100vw - 32px) !important;
        max-width: 360px !important;
        bottom: 64px !important;
        right: 0 !important;
    }

    /* Patička na mobilu */
    .pryntes-footer {
        padding: 48px 0 24px !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center !important;
    }

    /* Plovoucí badge na mobilu - přizpůsobení */
    .floating-tech-badge {
        position: static !important;
        margin-top: 14px !important;
        width: 100% !important;
        justify-content: center !important;
        animation: none !important;
    }
}

/* ==========================================================================
   9. MODERN ANIMATIONS & MICRO-INTERACTIONS (INSPIRED BY SVGATOR)
   ========================================================================== */

/* --------------------------------------------------------------------------
   9.1 AMBIENT HERO LIGHTING & DRIFTING BLOBS
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-ambient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.42;
    will-change: transform;
}

.hero-ambient-blob.blob-1 {
    width: 500px;
    height: 500px;
    top: -120px;
    left: -140px;
    background: radial-gradient(circle, rgba(52, 71, 170, 0.45) 0%, rgba(52, 71, 170, 0) 70%);
    animation: driftOrb1 18s ease-in-out infinite alternate;
}

.hero-ambient-blob.blob-2 {
    width: 440px;
    height: 440px;
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(251, 234, 235, 0.22) 0%, rgba(52, 71, 170, 0.18) 50%, rgba(52, 71, 170, 0) 70%);
    animation: driftOrb2 22s ease-in-out infinite alternate;
}

@keyframes driftOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(45px, 35px) scale(1.12); }
    100% { transform: translate(-25px, 55px) scale(0.94); }
}

@keyframes driftOrb2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-45px, -35px) scale(1.15); }
    100% { transform: translate(30px, -25px) scale(0.92); }
}

html.light-mode .hero-ambient-blob {
    opacity: 0.22;
}

.hero-section .pryntes-container {
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   9.2 FLOATING TECH BADGE NA HERO OBRÁZKU
   -------------------------------------------------------------------------- */
.hero-visual-card {
    overflow: visible !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.hero-visual-card:hover {
    box-shadow: 0 20px 48px -10px rgba(52, 71, 170, 0.32), 0 0 0 1px rgba(52, 71, 170, 0.35);
    transform: translateY(-4px);
}

.hero-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero-image-wrap img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual-card:hover .hero-image-wrap img {
    transform: scale(1.035);
}

.floating-tech-badge {
    position: absolute;
    bottom: -16px;
    left: 28px;
    background: rgba(14, 12, 34, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(52, 71, 170, 0.4);
    border-radius: var(--radius-full);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38), 0 0 16px rgba(52, 71, 170, 0.28);
    animation: floatBadge 4.5s ease-in-out infinite;
    z-index: 2;
    transition: transform 0.3s ease;
}

html.light-mode .floating-tech-badge {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(52, 71, 170, 0.25);
    box-shadow: 0 12px 28px rgba(52, 71, 170, 0.16);
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.badge-icon-pulse {
    font-size: 1.25rem;
    animation: pulseIcon 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px #3447AA); }
    50% { transform: scale(1.22); filter: drop-shadow(0 0 8px #FBEAEB); }
}

.badge-tech-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.25;
}

.badge-tech-text strong {
    font-size: 0.88rem;
    color: var(--text-primary);
}

.badge-tech-text span {
    font-size: 0.74rem;
    color: var(--accent-blue-light);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   9.3 LEVITUJÍCÍ 3D SRDCE S AUROU (TEASER CARD)
   -------------------------------------------------------------------------- */
.heart-visual-aura {
    position: relative;
    display: inline-block;
    text-align: center;
}

.heart-visual-aura::before {
    content: '';
    position: absolute;
    inset: 5%;
    background: radial-gradient(circle, rgba(251, 234, 235, 0.28) 0%, rgba(52, 71, 170, 0.2) 50%, transparent 75%);
    border-radius: 50%;
    filter: blur(32px);
    z-index: 0;
    animation: pulseAura 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulseAura {
    0%, 100% { transform: scale(0.92); opacity: 0.6; }
    50% { transform: scale(1.08); opacity: 1; }
}

.heart-teaser-img {
    position: relative;
    z-index: 1;
    max-height: 320px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    object-fit: contain;
    animation: floatHeart 5s ease-in-out infinite;
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.45));
    transition: filter 0.4s ease;
}

.heart-teaser-card:hover .heart-teaser-img {
    filter: drop-shadow(0 22px 36px rgba(52, 71, 170, 0.45));
}

@keyframes floatHeart {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

/* --------------------------------------------------------------------------
   9.4 PROPOJUJÍCÍ LINIE 4 KROKŮ & KROKOVÁ ČÍSLA
   -------------------------------------------------------------------------- */
.workflow-grid {
    position: relative;
}

@media (min-width: 992px) {
    .workflow-grid::before {
        content: '';
        position: absolute;
        top: 52px;
        left: 12%;
        right: 12%;
        height: 2px;
        background: linear-gradient(90deg, 
            rgba(52, 71, 170, 0.12) 0%, 
            rgba(52, 71, 170, 0.45) 25%, 
            rgba(251, 234, 235, 0.65) 65%, 
            rgba(52, 71, 170, 0.12) 100%
        );
        background-size: 200% 100%;
        animation: flowGradient 6s linear infinite;
        z-index: 0;
        pointer-events: none;
    }
}

@keyframes flowGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.workflow-card {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Horní akcentní linie na kartách postupu */
.workflow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-pink));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.workflow-card:hover::before {
    opacity: 1;
}

.workflow-step-num {
    background: linear-gradient(135deg, var(--accent-blue-light) 0%, var(--accent-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.workflow-card:hover .workflow-step-num {
    transform: scale(1.15) translateY(-2px);
    opacity: 1;
}

/* --------------------------------------------------------------------------
   9.5 KARTY & HOVER ZDVIH (MATERIAL, PRICING, PRODUCT, SERVICE)
   -------------------------------------------------------------------------- */
.card-hover-lift,
.material-card,
.pricing-card,
.product-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
    will-change: transform, box-shadow;
}

.card-hover-lift:hover,
.material-card:hover,
.pricing-card:hover,
.product-card:hover {
    transform: translateY(-6px) translateZ(0);
    box-shadow: 0 16px 36px -8px rgba(52, 71, 170, 0.24), 0 0 0 1px rgba(52, 71, 170, 0.35);
    border-color: rgba(52, 71, 170, 0.45);
}

.card-hover-lift:active,
.material-card:active,
.pricing-card:active,
.product-card:active {
    transform: translateY(-2px) scale(0.99);
}

/* Dýchající záře pro doporučený balíček v ceníku */
.pricing-card.featured {
    animation: featuredPulse 4s ease-in-out infinite;
}

@keyframes featuredPulse {
    0%, 100% {
        box-shadow: 0 12px 34px rgba(52, 71, 170, 0.28);
    }
    50% {
        box-shadow: 0 16px 44px rgba(52, 71, 170, 0.46), 0 0 20px rgba(52, 71, 170, 0.22);
    }
}

/* --------------------------------------------------------------------------
   9.6 INTERAKTIVNÍ PRVKY KOŠÍKU (BADGE POP & DRAWER ITEM SLIDE)
   -------------------------------------------------------------------------- */
@keyframes badgePop {
    0% { transform: scale(0.6); }
    40% { transform: scale(1.45); }
    70% { transform: scale(0.88); }
    100% { transform: scale(1); }
}

.pryntes-cart-badge.badge-pop {
    animation: badgePop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.drawer-item-card {
    animation: drawerItemSlide 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes drawerItemSlide {
    0% { opacity: 0; transform: translateX(24px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* --------------------------------------------------------------------------
   9.7 PLOVOUCÍ CHAT BEACON & LIVE STATUS RADAR PING
   -------------------------------------------------------------------------- */
.pryntes-chat-btn {
    position: relative;
}

.pryntes-chat-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--accent-blue-light);
    opacity: 0;
    animation: beaconWave 3.5s ease-out infinite;
    pointer-events: none;
}

@keyframes beaconWave {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}

.status-indicator {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 9px;
    height: 9px;
    margin-right: 6px;
    vertical-align: middle;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #10b981;
}

.status-ping {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #10b981;
    animation: radarPing 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes radarPing {
    0% { transform: scale(1); opacity: 0.85; }
    75%, 100% { transform: scale(2.8); opacity: 0; }
}

/* --------------------------------------------------------------------------
   9.8 VZORKY BAREV PRO 3D KONFIGURÁTOR (SRDCE NA MÍRU)
   -------------------------------------------------------------------------- */
.color-swatch {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.25s ease, 
                border-color 0.25s ease;
}

.color-swatch:hover {
    transform: scale(1.18);
    box-shadow: 0 0 14px rgba(52, 71, 170, 0.45);
}

.color-swatch.active {
    transform: scale(1.12);
    box-shadow: 0 0 0 3px var(--accent-blue-light), 0 6px 14px rgba(0,0,0,0.3);
    animation: swatchPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes swatchPop {
    0% { transform: scale(0.9); }
    50% { transform: scale(1.22); }
    100% { transform: scale(1.12); }
}

/* --------------------------------------------------------------------------
   9.9 SAMOKRESLÍCÍ SVG ČÁROVÁ ANIMACE (SELF-DRAWING TRUST CHECKMARKS)
   -------------------------------------------------------------------------- */
.trust-icon-svg {
    width: 20px;
    height: 20px;
    color: var(--accent-blue-light);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.trust-icon-svg .svg-circle {
    stroke-dasharray: 52;
    stroke-dashoffset: 52;
    transition: stroke-dashoffset 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-icon-svg .svg-check {
    stroke-dasharray: 14;
    stroke-dashoffset: 14;
    transition: stroke-dashoffset 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
}

.trust-item.is-revealed .trust-icon-svg .svg-circle,
.trust-item:hover .trust-icon-svg .svg-circle {
    stroke-dashoffset: 0;
}

.trust-item.is-revealed .trust-icon-svg .svg-check,
.trust-item:hover .trust-icon-svg .svg-check {
    stroke-dashoffset: 0;
}

/* --------------------------------------------------------------------------
   9.10 SYSTÉM ANIMACÍ PŘI SKROLOVÁNÍ (INTERSECTION OBSERVER REVEAL)
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Varianta: škálování */
.reveal.reveal-scale {
    transform: scale(0.93);
}

.reveal.reveal-scale.is-revealed {
    transform: scale(1);
}

/* Varianta: čisté prolnutí */
.reveal.reveal-fade {
    transform: none;
}

/* Varianta: zleva */
.reveal.reveal-left {
    transform: translateX(-30px);
}

.reveal.reveal-left.is-revealed {
    transform: translateX(0);
}

/* Varianta: zprava */
.reveal.reveal-right {
    transform: translateX(30px);
}

.reveal.reveal-right.is-revealed {
    transform: translateX(0);
}

/* Kaskádové postupné zpoždění potomků (Stagger effect) */
.stagger-group > .reveal:nth-child(1) { transition-delay: 0.05s; }
.stagger-group > .reveal:nth-child(2) { transition-delay: 0.14s; }
.stagger-group > .reveal:nth-child(3) { transition-delay: 0.23s; }
.stagger-group > .reveal:nth-child(4) { transition-delay: 0.32s; }
.stagger-group > .reveal:nth-child(5) { transition-delay: 0.41s; }
.stagger-group > .reveal:nth-child(6) { transition-delay: 0.50s; }

/* --------------------------------------------------------------------------
   9.11 PŘÍSTUPNOST: PODPORA PREFERS-REDUCED-MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .trust-icon-svg .svg-circle,
    .trust-icon-svg .svg-check {
        stroke-dashoffset: 0 !important;
    }
}
