/**
 * SVITSOL Exkurze - Objednavkovy wizard
 * ======================================
 * Combined Design - Dark Professional with gradient accents
 * Mobile-first, dark UI, purple/coral/green palette
 *
 * Sekce:
 *  0. Animace
 *  1. Zakladni layout
 *  2. Banner (order-banner)
 *  3. Progress bar
 *  4. Wizard step kontejner
 *  5. Formularove prvky
 *  6. Typ subjektu selector
 *  7. Karty aktivit
 *  8. Karty doplnku
 *  9. Kalendar
 * 10. Casove sloty
 * 11. Souhrn objednavky
 * 12. Navigace (prev/next/submit)
 * 13. Dekovaci stranka
 * 14. Doplnkove styly (loading, error, info, platby)
 * 15. Anti-robot (honeypot)
 * 16. Responsive
 * 17. Touch zarizeni
 * 18. Print
 * 19. Accessibility (reduced motion)
 */

/* ===================================
   0. ANIMACE
   =================================== */

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

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

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

@keyframes shimmerLine {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes checkmark {
    0% { transform: scale(0); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@keyframes thankyouBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===================================
   1. ZAKLADNI LAYOUT
   =================================== */

.order-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 25%, #45b7d1 50%, #96ceb4 75%, #ffeaa7 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    font-family: 'Nunito', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding: 0;
    margin: 0;
    color: #ffffff;
}

.wizard-overlay {
    position: relative;
    z-index: 100;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 20px 40px;
}

.order-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 16px 60px;
}

/* ===================================
   HLAVICKA (wizard header s logem)
   =================================== */

.wizard-header {
    width: 100%;
    max-width: 800px;
    margin-bottom: 16px;
    background-color: transparent;
    border-radius: 8px;
    padding: 8px 12px;
}

.wizard-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.wizard-logo-link:hover {
    transform: scale(1.03);
}

.wizard-logo-image {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.wizard-logo-text {
    font-size: 20px;
}

/* ===================================
   2. BANNER
   =================================== */

.order-banner {
    background: linear-gradient(145deg, #1e2a3a 0%, #162032 100%);
    border: 3px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 24px 30px;
    margin-bottom: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.order-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #f9ca24, #667eea, #ff6b6b);
    background-size: 300% 100%;
    animation: shimmerLine 4s linear infinite;
}

.order-banner-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
    letter-spacing: 0.5px;
    text-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.order-banner-subtitle {
    font-size: 15px;
    font-weight: 500;
    color: #aabbcc;
    margin: 0;
}

.order-banner-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Wizard banner (puvodni varianta) */
.wizard-banner {
    text-align: center;
    margin-bottom: 24px;
    background: linear-gradient(145deg, #1e2a3a 0%, #162032 100%);
    border: 3px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 16px 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.wizard-banner-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    margin: 0;
    letter-spacing: 1px;
}

.wizard-banner-subtitle {
    color: #aabbcc;
    font-size: 18px;
    font-weight: 600;
    text-shadow: none;
    margin: 0;
    opacity: 0.95;
}

/* ===================================
   3. PROGRESS BAR
   =================================== */

/* Varianta A - flexbox s carami */
.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 28px;
    width: 100%;
    max-width: 600px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    cursor: pointer;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    transition: all 0.3s ease;
    transform: rotate(-3deg);
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-shadow: none;
}

.progress-line {
    flex: 1;
    height: 3px;
    background: rgba(0, 0, 0, 0.15);
    margin: 0 8px;
    margin-bottom: 22px;
    border-radius: 2px;
    transition: background 0.3s ease;
}

/* Aktivni krok */
.progress-step.active .step-number {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(255,107,107,0.5);
    transform: rotate(-3deg) scale(1.15);
}

.progress-step.active .step-label {
    color: #1a1a1a;
    font-weight: 700;
}

/* Dokonceny krok */
.progress-step.completed .step-number {
    background: linear-gradient(135deg, #00d084, #00b894);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(0,208,132,0.5);
}

.progress-step.completed .step-label {
    color: #1a1a1a;
}

/* Dokoncena cara */
.progress-line.completed {
    background: linear-gradient(135deg, #00d084, #00b894);
}

/* Varianta B - progress-bar s fill */
.progress-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 28px;
    padding: 0 10px;
    position: relative;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 2px;
    z-index: 0;
}

.progress-bar-fill {
    position: absolute;
    top: 22px;
    left: 40px;
    height: 3px;
    background: linear-gradient(135deg, #00d084, #00b894);
    border-radius: 2px;
    z-index: 1;
    transition: width 0.5s ease;
}

.progress-bar .progress-step {
    z-index: 2;
    position: relative;
    cursor: pointer;
    flex: 1;
}

.progress-bar .progress-step:hover .step-number,
.progress-bar .progress-step:hover .progress-step-circle {
    transform: rotate(-3deg) scale(1.1);
    transition: transform 0.2s ease;
}

.progress-bar .progress-step.active:hover .step-number,
.progress-bar .progress-step.active:hover .progress-step-circle {
    transform: rotate(-3deg) scale(1.15);
}

.progress-step-circle {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    transition: all 0.4s ease;
    transform: rotate(-3deg);
}

.progress-step-circle i {
    font-size: 16px;
}

.progress-step-label {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    transition: all 0.3s ease;
    max-width: 90px;
    line-height: 1.3;
    text-shadow: none;
}

/* Aktivni krok - varianta B */
.progress-step.active .progress-step-circle {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border-color: transparent;
    color: #ffffff;
    transform: rotate(-3deg) scale(1.15);
    box-shadow: 0 4px 15px rgba(255,107,107,0.5);
}

.progress-step.active .progress-step-label {
    color: #1a1a1a;
    font-weight: 700;
}

/* Dokonceny krok - varianta B */
.progress-step.completed .progress-step-circle {
    background: linear-gradient(135deg, #00d084, #00b894);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,208,132,0.5);
}

.progress-step.completed .progress-step-label {
    color: #1a1a1a;
}

/* Barvy dle typu subjektu */
.progress-step.active.type-skola .step-number,
.progress-step.active.type-skola .progress-step-circle {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
    border-color: transparent;
}

.progress-step.active.type-skolka .step-number,
.progress-step.active.type-skolka .progress-step-circle {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
    border-color: transparent;
}

.progress-step.active.type-skupina .step-number,
.progress-step.active.type-skupina .progress-step-circle {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
    border-color: transparent;
}

.progress-step.active.type-dvojice .step-number,
.progress-step.active.type-dvojice .progress-step-circle {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
    border-color: transparent;
}

/* ===================================
   4. WIZARD STEP KONTEJNER
   =================================== */

.wizard-content {
    width: 100%;
    max-width: 960px;
    min-height: 300px;
}

.wizard-step {
    display: none;
    background: linear-gradient(145deg, #1e2a3a 0%, #162032 100%);
    border-radius: 20px;
    border: 3px solid rgba(255,255,255,0.1);
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.wizard-step.active {
    display: block;
    animation: fadeInStep 0.3s ease;
}

.wizard-card {
    background: linear-gradient(145deg, #1e2a3a 0%, #162032 100%);
    border: 3px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 20px;
    animation: fadeInUp 0.5s ease-out;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.wizard-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wizard-card-title i {
    font-size: 20px;
    color: #667eea;
    opacity: 0.9;
}

.wizard-card-desc {
    font-size: 14px;
    color: #aabbcc;
    margin: 0 0 24px;
    line-height: 1.5;
}

/* Step title (uvnitr wizard-step) */
.wizard-step h2 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
}

.wizard-step h2 i {
    color: #667eea;
}

.wizard-step p.step-desc {
    color: #aabbcc;
    font-size: 14px;
    margin: 0 0 24px;
    line-height: 1.5;
}

/* ===================================
   5. FORMULAROVE PRVKY
   =================================== */

.order-form .form-group,
.wizard-step .form-group {
    margin-bottom: 20px;
}

.order-form .form-group:last-child,
.wizard-step .form-group:last-child {
    margin-bottom: 0;
}

.order-form .form-label,
.wizard-step .form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #aabbcc;
    margin-bottom: 8px;
}

.order-form .form-label.required::after,
.wizard-step .form-label.required::after {
    content: " *";
    color: #ff6b6b;
    font-weight: 700;
}

.order-form input[type="text"],
.order-form input[type="email"],
.order-form input[type="tel"],
.order-form input[type="number"],
.order-form input[type="date"],
.order-form select,
.order-form textarea,
.wizard-step input[type="text"],
.wizard-step input[type="email"],
.wizard-step input[type="tel"],
.wizard-step input[type="number"],
.wizard-step input[type="date"],
.wizard-step select,
.wizard-step textarea {
    display: block;
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    font-family: inherit;
    color: #ffffff;
    background: #243447;
    border: 3px solid #3a4a5a;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: none;
}

.order-form input::placeholder,
.order-form textarea::placeholder,
.wizard-step input::placeholder,
.wizard-step textarea::placeholder {
    color: #5a6a7a;
}

.order-form input:hover,
.order-form select:hover,
.order-form textarea:hover,
.wizard-step input:hover,
.wizard-step select:hover,
.wizard-step textarea:hover {
    border-color: #4a6a7a;
    box-shadow: none;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus,
.wizard-step input:focus,
.wizard-step select:focus,
.wizard-step textarea:focus {
    background: #243447;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102,126,234,0.2);
}

.order-form select,
.wizard-step select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23aabbcc' d='M4.5 6L8 9.5 11.5 6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 42px;
    cursor: pointer;
}

.order-form textarea,
.wizard-step textarea {
    min-height: 100px;
    resize: vertical;
}

/* Validacni stavy */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 4px rgba(255,107,107,0.2);
}

.form-error-msg {
    display: block;
    font-size: 12px;
    color: #ff6b6b;
    font-weight: 600;
    margin-top: 6px;
}

.wizard-step .form-hint,
.order-form .form-hint {
    display: block;
    font-size: 12px;
    color: #5a6a7a;
    margin-top: 6px;
}

/* Radky formulare (vice poli vedle sebe) */
.order-form .form-row,
.wizard-step .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.order-form .form-row-3,
.wizard-step .form-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

/* ===================================
   6. TYP SUBJEKTU SELECTOR
   =================================== */

.type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.type-card {
    position: relative;
    background: linear-gradient(145deg, #243447 0%, #1a2836 100%);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.type-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.type-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.type-card-icon {
    font-size: 40px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.type-card-name {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    z-index: 1;
    margin-bottom: 4px;
}

.type-card-desc {
    font-size: 12px;
    color: #aabbcc;
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

/* Aktivni typ */
.type-card.active {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.type-card.active::after {
    content: '\f058';
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 22px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    z-index: 2;
    animation: checkmark 0.3s ease-out;
}

/* Barvy dle typu */
.type-card[data-type="skola"]::before {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
}
.type-card[data-type="skola"].active {
    border-color: rgba(255,255,255,0.1);
}
.type-card[data-type="skola"].active::before {
    opacity: 0.85;
}

.type-card[data-type="skolka"]::before {
    background: linear-gradient(45deg, #f39c12, #e67e22);
}
.type-card[data-type="skolka"].active {
    border-color: rgba(255,255,255,0.1);
}
.type-card[data-type="skolka"].active::before {
    opacity: 0.85;
}

.type-card[data-type="skupina"]::before {
    background: linear-gradient(45deg, #00d084, #00b894);
}
.type-card[data-type="skupina"].active {
    border-color: rgba(255,255,255,0.1);
}
.type-card[data-type="skupina"].active::before {
    opacity: 0.85;
}

.type-card[data-type="dvojice"]::before {
    background: linear-gradient(45deg, #667eea, #764ba2);
}
.type-card[data-type="dvojice"].active {
    border-color: rgba(255,255,255,0.1);
}
.type-card[data-type="dvojice"].active::before {
    opacity: 0.85;
}

/* Skryte radio inputy v type kartach */
.type-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Trida selector (2 tlacitka vedle sebe) */
.trida-selector {
    display: flex;
    gap: 12px;
}

.trida-option {
    flex: 1;
    cursor: pointer;
}

.trida-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.trida-option-btn {
    display: block;
    text-align: center;
    padding: 14px 20px;
    background: linear-gradient(145deg, #243447 0%, #1a2836 100%);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    color: #aabbcc;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.trida-option-btn:hover {
    border-color: rgba(255,255,255,0.2);
    color: #ffffff;
}

.trida-option input[type="radio"]:checked + .trida-option-btn {
    background: linear-gradient(145deg, #2a4a6b 0%, #1e3a55 100%);
    border-color: #4a9eff;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(74, 158, 255, 0.25);
}

/* Vybrany typ (z hlavni stranky) */
.type-selected-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: linear-gradient(145deg, #243447 0%, #1a2836 100%);
    border: 2px solid rgba(255,255,255,0.12);
    border-radius: 16px;
}

.type-selected-icon {
    font-size: 32px;
}

.type-selected-name {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    flex: 1;
}

.type-change-link {
    font-size: 13px;
    color: #aabbcc;
    text-decoration: none;
    transition: color 0.2s;
}

.type-change-link:hover {
    color: #ffffff;
}

/* ===================================
   7. KARTY AKTIVIT + 8. KARTY DOPLNKU
   Sdileny layout pro oba typy karet
   =================================== */

.activities-grid,
.addons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    align-items: stretch;
}

/* Spolecna karta */
.activity-card,
.addon-card {
    position: relative;
    background: linear-gradient(145deg, #243447 0%, #1a2836 100%);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.activity-card:hover,
.addon-card:hover {
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

/* Vybrany stav - aktivita modra, doplnek zelena */
.activity-card.selected {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.25), 0 6px 24px rgba(0, 0, 0, 0.3);
}

.addon-card.selected {
    border-color: #00d084;
    box-shadow: 0 0 0 3px rgba(0,208,132,0.25), 0 6px 24px rgba(0, 0, 0, 0.3);
}

/* --- Nazev radek --- */
.card-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-name {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
}

/* --- Oddelovac s info buttonem --- */
.card-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0;
}

.card-divider-line {
    flex: 1;
    height: 1px;
    background: #3a4a5a;
}

/* Info button (inline na konci linky) */
.card-info-btn {
    background: none;
    border: none;
    color: #5a6a7a;
    font-size: 14px;
    cursor: pointer;
    padding: 2px;
    transition: color 0.2s ease;
    line-height: 1;
    flex-shrink: 0;
}

.card-info-btn:hover {
    color: #667eea;
}

/* --- Cena --- */
.card-price {
    font-size: 14px;
    font-weight: 700;
    color: #ff6b6b;
}

/* --- Meta (cas, kapacita) --- */
.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
    color: #5a6a7a;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.card-meta i {
    font-size: 10px;
}

/* --- Spodni radek: stepper + checkbox --- */
.card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 6px;
}

/* +/- stepper (vzdy viditelny) */
.qty-stepper {
    display: flex;
    align-items: center;
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #3a4a5a;
    background: #243447;
}

.qty-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3a4a5a;
    border: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
    line-height: 1;
    user-select: none;
}

.qty-btn:hover {
    background: #4a6a7a;
}

.qty-btn:active {
    background: #667eea;
}

/* Skryt nativni sipky */
.activity-qty-input::-webkit-inner-spin-button,
.activity-qty-input::-webkit-outer-spin-button,
.addon-qty-input::-webkit-inner-spin-button,
.addon-qty-input::-webkit-outer-spin-button,
.math-answer-input::-webkit-inner-spin-button,
.math-answer-input::-webkit-outer-spin-button,
.no-native-spinner::-webkit-inner-spin-button,
.no-native-spinner::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.activity-qty-input,
.addon-qty-input,
.math-answer-input,
.no-native-spinner {
    -moz-appearance: textfield;
    appearance: textfield;
}

.activity-qty-input,
.addon-qty-input {
    width: 40px;
    padding: 5px 2px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    background: #243447;
    border: none;
    color: #ffffff;
    outline: none;
}

/* --- Custom checkbox --- */
.card-check {
    display: flex;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
}

.card-check input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.card-check-box {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    border: 2px solid #3a4a5a;
    background: #1a2836;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
}

.card-check-box::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 12px;
    color: transparent;
    transition: color 0.2s ease;
}

/* Checked stav - aktivita modra */
.activity-card .card-check input:checked ~ .card-check-box {
    background: #667eea;
    border-color: #667eea;
}

.activity-card .card-check input:checked ~ .card-check-box::after {
    color: #ffffff;
}

/* Checked stav - doplnek zelena */
.addon-card .card-check input:checked ~ .card-check-box {
    background: #00d084;
    border-color: #00d084;
}

.addon-card .card-check input:checked ~ .card-check-box::after {
    color: #ffffff;
}

/* Hover na checkbox */
.card-check:hover .card-check-box {
    border-color: #5a6a7a;
}

/* --- Tooltip pro popis aktivity --- */
.activity-tooltip {
    display: none;
    position: fixed;
    z-index: 9999;
    max-width: 300px;
    padding: 12px 16px;
    background: #1a2836;
    border: 2px solid #667eea;
    border-radius: 12px;
    color: #ccdde8;
    font-size: 13px;
    line-height: 1.5;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.activity-tooltip.visible {
    display: block;
    animation: fadeIn 0.15s ease;
}

/* --- Cenove varovani (pevne misto, neovlivnuje layout) --- */
.price-warning {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    background: rgba(243, 156, 18, 0.15);
    border: 1px solid #f39c12;
    border-radius: 8px;
    font-size: 10px;
    color: #aabbcc;
    min-height: 32px;
    visibility: hidden;
}

.price-warning.visible {
    visibility: visible;
}

.price-warning i {
    color: #f39c12;
    font-size: 12px;
    flex-shrink: 0;
}

/* ===================================
   9. KALENDAR
   =================================== */

.calendar-container {
    background: linear-gradient(145deg, #243447 0%, #1a2836 100%);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    justify-content: center;
}

.calendar-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #aabbcc;
}

.calendar-legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    flex-shrink: 0;
}

.calendar-legend-dot.available {
    background: linear-gradient(135deg, #00d084, #00b894);
}

.calendar-legend-dot.partial {
    background: linear-gradient(135deg, #ffeaa7, #f9ca24);
}

.calendar-legend-dot.booked {
    background: #2a3a4a;
}

.calendar-legend-dot.selected {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.selected-date-label {
    text-align: center;
    padding: 12px 16px;
    margin-top: 12px;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

.selected-date-label i {
    color: #ff6b6b;
    margin-right: 8px;
}

.selected-date-label strong {
    color: #ff6b6b;
    font-weight: 700;
}

/* ===================================
   10. CASOVE SLOTY
   =================================== */

.time-slots-container {
    margin-top: 16px;
    animation: slideDown 0.3s ease-out;
}

.time-slots-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.selected-time-range {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 10px 14px;
    font-size: 14px;
    color: #ffd9cf;
    background: linear-gradient(145deg, rgba(255,107,107,0.18), rgba(238,90,36,0.18));
    border: 1px solid rgba(255,107,107,0.35);
    border-radius: 12px;
}

.selected-time-range i {
    color: #ffb199;
}

.selected-time-range strong {
    color: #ffffff;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
}

.time-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(145deg, #243447 0%, #1a2836 100%);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease, transform 0.15s, box-shadow 0.15s;
}

.time-slot:hover:not(.booked):not(.timeline-only) {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.time-slot.available {
    background: linear-gradient(135deg, #00d084, #00b894);
    border-color: transparent;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0,208,132,0.4);
}

.time-slot.available:hover {
    background: linear-gradient(135deg, #00e08a, #00c8a4);
}

.time-slot.booked {
    background: #2a3a4a;
    border-color: #2a3a4a;
    color: #5a6a7a;
    cursor: not-allowed;
    text-decoration: line-through;
    text-decoration-color: #ff6b6b;
}

.time-slot.selected {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(255,107,107,0.6);
    transform: scale(1.05);
}

.time-slot.selected-range {
    background: linear-gradient(145deg, rgba(255,107,107,0.2), rgba(238,90,36,0.2));
    border-color: rgba(255,107,107,0.4);
    color: #ffd9cf;
    box-shadow: inset 0 0 0 1px rgba(255,107,107,0.15);
}

.time-slot.selected-range:hover {
    background: linear-gradient(145deg, rgba(255,107,107,0.28), rgba(238,90,36,0.28));
}

.time-slot.timeline-only {
    background: linear-gradient(145deg, #243447 0%, #1a2836 100%);
    border-color: rgba(255,255,255,0.06);
    color: #8fa3b8;
    cursor: default;
    box-shadow: none;
}

.time-slot i {
    margin-right: 6px;
    font-size: 13px;
}

/* ===================================
   11. SOUHRN OBJEDNAVKY
   =================================== */

.summary-card {
    background: linear-gradient(145deg, #1e2a3a 0%, #162032 100%);
    border: 3px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 28px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.summary-shopping-notice {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
    padding: 22px 24px;
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(255, 193, 7, 0.12), transparent 42%),
        linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 1px solid rgba(255, 209, 102, 0.25);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.24);
}

.summary-shopping-notice-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 193, 7, 0.14);
    border: 1px solid rgba(255, 209, 102, 0.32);
    color: #ffd56f;
    font-size: 18px;
}

.summary-shopping-notice-content {
    min-width: 0;
}

.summary-shopping-notice-title {
    font-size: 15px;
    font-weight: 800;
    color: #fff8df;
    margin-bottom: 6px;
}

.summary-shopping-notice-text {
    margin: 0;
    color: #dbe6f1;
    font-size: 14px;
    line-height: 1.65;
}

.summary-overview {
    position: relative;
    padding: 20px;
    margin-bottom: 22px;
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(255,107,107,0.18), transparent 38%),
        linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.08);
}

.summary-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.summary-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    color: #f1f5f9;
    font-size: 13px;
    font-weight: 700;
}

.summary-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}

.summary-metric {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(10, 18, 28, 0.34);
    border: 1px solid rgba(255,255,255,0.06);
}

.summary-metric-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9eb2c5;
}

.summary-metric-value {
    font-size: 24px;
    line-height: 1.1;
    color: #ffffff;
}

.summary-metric-note {
    font-size: 13px;
    color: #c5d2de;
    line-height: 1.5;
}

.summary-sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.summary-section {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #3a4a5a;
    padding: 18px 20px 16px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.06);
}

.summary-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.summary-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #aabbcc;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    font-size: 14px;
    color: #aabbcc;
    gap: 18px;
}

.summary-row-main {
    flex: 1;
}

.summary-row-label {
    color: #aabbcc;
    display: block;
}

.summary-row-note {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.4;
    color: #90a4b7;
}

.summary-row-value {
    font-weight: 600;
    text-align: right;
    flex-shrink: 0;
    margin-left: 12px;
    color: #ffffff;
    max-width: 48%;
}

.summary-divider {
    border: none;
    border-top: 1px solid #3a4a5a;
    margin: 12px 0;
}

.price-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(145deg, #1e2a3a 0%, #162032 100%);
    border-radius: 14px;
    margin-top: 12px;
}

.price-total-label {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.price-total-value {
    font-size: 26px;
    font-weight: 800;
    color: #ff6b6b;
}

.price-total-value small {
    font-size: 14px;
    font-weight: 600;
    color: #aabbcc;
}

/* Souhrn - editacni tlacitko */
.summary-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #667eea;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.summary-edit-btn:hover {
    color: #8899ee;
    background: rgba(102,126,234,0.1);
}

/* ===================================
   12. NAVIGACE (PREV/NEXT/SUBMIT)
   =================================== */

/* Varianta A - wizard-navigation (puvodni) */
.wizard-navigation {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    width: 100%;
    max-width: 960px;
}

.wizard-btn {
    padding: 14px 36px;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.wizard-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.4s;
}

.wizard-btn:hover::before {
    left: 100%;
}

.wizard-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.wizard-btn:active {
    transform: translateY(0);
}

.wizard-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none;
}

.wizard-btn:disabled::before {
    display: none;
}

.wizard-btn-back {
    background: #3a4a5a;
    color: #aabbcc;
    border: none;
}

.wizard-btn-back:hover:not(:disabled) {
    background: #4a5a6a;
}

.wizard-btn-next {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(255,107,107,0.4);
}

.wizard-btn-next:hover:not(:disabled) {
    filter: brightness(1.1);
}

.wizard-btn-submit {
    background: linear-gradient(135deg, #00d084, #00b894);
    color: #ffffff;
    min-width: 220px;
    box-shadow: 0 6px 20px rgba(0,208,132,0.4);
}

.wizard-btn-submit:hover:not(:disabled) {
    filter: brightness(1.1);
}

/* Varianta B - wizard-nav (nova, flex between) */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    gap: 12px;
}

.wizard-nav .btn-prev,
.wizard-nav .btn-next,
.wizard-nav .btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.btn-prev {
    background: #3a4a5a;
    color: #aabbcc;
    border: 2px solid #3a4a5a !important;
}

.btn-prev:hover {
    background: #4a5a6a;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn-prev i {
    transition: transform 0.2s ease;
}

.btn-prev:hover i {
    transform: translateX(-3px);
}

.btn-next {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(255,107,107,0.4);
}

.btn-next:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,107,107,0.5);
}

.btn-next i {
    transition: transform 0.2s ease;
}

.btn-next:hover i {
    transform: translateX(3px);
}

.btn-next:disabled,
.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-submit {
    background: linear-gradient(135deg, #00d084, #00b894);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,208,132,0.4);
    padding: 18px 40px;
    font-size: 17px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,208,132,0.5);
    filter: brightness(1.05);
}

.btn-submit:active {
    transform: translateY(-1px);
}

/* Spacer pro stred navigace */
.wizard-nav-spacer {
    flex: 1;
}

/* ===================================
   13. DEKOVACI STRANKA
   =================================== */

.wizard-container {
    position: relative;
    z-index: 200;
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(145deg, #1e2a3a 0%, #162032 100%);
    border: 3px solid rgba(255,255,255,0.1);
    border-radius: 28px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.thankyou-container {
    text-align: center;
    max-width: 600px;
    padding: 60px 50px;
    animation: fadeInUp 0.6s ease-out;
}

.thankyou-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: iconPulse 2s ease-in-out infinite;
}

.thankyou-container h1 {
    color: white;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.thankyou-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.thankyou-subtitle {
    font-size: 17px;
    color: #aabbcc;
    margin-bottom: 30px;
    line-height: 1.5;
}

.order-number {
    background: linear-gradient(145deg, #243447 0%, #1a2836 100%);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 18px 30px;
    margin-bottom: 35px;
    display: inline-block;
}

.order-number span {
    color: #aabbcc;
    font-size: 1.1rem;
    font-weight: 500;
}

.order-number strong {
    color: white;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.order-number-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #5a6a7a;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.thankyou-info {
    text-align: left;
    margin-bottom: 35px;
}

.thankyou-info h2 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-align: center;
}

.thankyou-info ol {
    list-style: none;
    counter-reset: steps;
    padding: 0;
    margin: 0;
}

.thankyou-info ol li {
    counter-increment: steps;
    color: #aabbcc;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    padding: 10px 10px 10px 50px;
    position: relative;
}

.thankyou-info ol li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 8px;
    width: 34px;
    height: 34px;
    background: linear-gradient(145deg, #243447 0%, #1a2836 100%);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    color: #667eea;
}

.thankyou-info-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.thankyou-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.thankyou-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #aabbcc;
    line-height: 1.5;
}

.thankyou-info-list li i {
    color: #667eea;
    margin-top: 3px;
    flex-shrink: 0;
}

.btn-back {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 25px rgba(102,126,234,0.4);
    letter-spacing: 1px;
}

.btn-back:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102,126,234,0.5);
    filter: brightness(1.1);
}

.btn-back:active {
    transform: translateY(-1px);
}

.thankyou-btn-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(102,126,234,0.4);
}

.thankyou-btn-home:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(102,126,234,0.5);
}

.thankyou-page-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
    position: relative;
    z-index: 100;
}

/* ===================================
   14. DOPLNKOVE STYLY
   =================================== */

/* Kontaktni info box (landing page) */
.contact-info-box {
    text-align: center;
    padding: 16px 20px;
}

.contact-info-box p {
    color: #aabbcc;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
    margin: 0;
}

.contact-info-box p strong {
    font-size: 15px;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
}

/* Wizard footer */
.wizard-footer {
    margin-top: 32px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.wizard-footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: color 0.2s;
}

.wizard-footer a:hover {
    color: white;
}

.wizard-footer-sep {
    margin: 0 8px;
    opacity: 0.5;
}

/* Spinner / Loading */
.order-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 16px;
}

.order-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.order-loading-text {
    font-size: 15px;
    color: #aabbcc;
}

/* Form divider */
.form-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    margin: 8px 0;
}

/* ARES lookup */
.ico-input-wrap {
    position: relative;
}

.ico-input-wrap input {
    padding-right: 36px;
}

.ares-status {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    pointer-events: none;
    white-space: nowrap;
}

.ares-status.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
}

.ares-status.success {
    color: #4ecdc4;
}

.ares-status.success::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.ares-status.error {
    color: #ff6b6b;
    font-size: 12px;
    pointer-events: auto;
    cursor: help;
}

.ares-filled {
    border-color: rgba(102, 126, 234, 0.4) !important;
    background: rgba(102, 126, 234, 0.05) !important;
}

/* Chybova hlaska (cela stranka) */
.order-error {
    text-align: center;
    padding: 40px 20px;
}

.order-error-icon {
    font-size: 50px;
    margin-bottom: 16px;
    opacity: 0.8;
}

.order-error-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.order-error-msg {
    font-size: 14px;
    color: #aabbcc;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Info box v ramci formulare */
.order-info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(102,126,234,0.15);
    border: 1px solid rgba(102,126,234,0.3);
    border-radius: 12px;
    font-size: 13px;
    color: #aabbcc;
    line-height: 1.5;
    margin-bottom: 20px;
}

.order-info-box i {
    color: #667eea;
    font-size: 18px;
    margin-top: 1px;
    flex-shrink: 0;
}

.order-info-box.warning {
    background: rgba(243, 156, 18, 0.15);
    border-color: #f39c12;
}

.order-info-box.warning i {
    color: #f39c12;
}

/* Platebni metody */
.payment-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.summary-actions-card {
    margin-top: 24px;
    padding: 22px;
    background: linear-gradient(145deg, rgba(17, 30, 48, 0.96) 0%, rgba(13, 24, 39, 0.96) 100%);
    border: 2px solid rgba(102, 126, 234, 0.28);
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.summary-actions-header {
    margin-bottom: 18px;
}

.summary-actions-header .wizard-section-title-sm {
    margin-top: 0;
    margin-bottom: 8px;
}

.summary-actions-note {
    margin: 0;
    color: #d9e4ff;
    font-size: 14px;
    line-height: 1.55;
}

.summary-input-block {
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.summary-input-block + .summary-input-block {
    margin-top: 14px;
}

.summary-input-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: linear-gradient(145deg, #243447 0%, #1a2836 100%);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: rgba(255,255,255,0.15);
    background: #2a3d4e;
}

.payment-method.selected {
    border-color: #667eea;
    background: rgba(102,126,234,0.15);
    box-shadow: 0 0 0 4px rgba(102,126,234,0.2);
}

.payment-method input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #667eea;
    cursor: pointer;
    flex-shrink: 0;
}

.payment-method-icon {
    font-size: 22px;
    color: #aabbcc;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.payment-method-name {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

/* Poznamka pod formularem */
.order-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-top: 16px;
    line-height: 1.5;
}

.order-note a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
}

.order-note a:hover {
    color: #fff;
}

/* ===================================
   15. ANTI-ROBOT (HONEYPOT)
   =================================== */

.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
    tab-index: -1;
}

/* ===================================
   UTILITY CLASSES
   =================================== */

/* Distribution summary */
.distribution-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.distribution-left {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.distribution-right {
    color: #aabbcc;
    font-size: 14px;
    font-weight: 500;
}

.distribution-right strong {
    color: #667eea;
    font-size: 15px;
}

.distribution-summary span {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.distribution-summary strong {
    color: #ffffff;
}

#distributed-count {
    color: #00d084;
}

#remaining-count {
    color: #ff6b6b;
}

/* Distribuce - chybovy stav (zbyvaji/prebyvaji lidi) */
.distribution-error {
    color: #ff6b6b !important;
    font-weight: 700;
}

.distribution-summary:has(.distribution-error) {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.distribution-ok {
    color: #4ecdc4 !important;
}

/* Pulzni animace pri validacni chybe */
@keyframes distributionPulse {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.08); }
    30% { transform: scale(1); }
    45% { transform: scale(1.08); }
    60% { transform: scale(1); }
    75% { transform: scale(1.05); }
    90% { transform: scale(1); }
}

.distribution-pulse {
    animation: distributionPulse 1.5s ease;
}

.distribution-summary:has(.distribution-error) {
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.25);
}

/* Variant badge (A/B detekce) */
.variant-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 8px;
    transition: all 0.3s ease;
}

.variant-badge.variant-a {
    background: rgba(78, 205, 196, 0.15);
    color: #4ecdc4;
    border: 1px solid rgba(78, 205, 196, 0.3);
}

.variant-badge.variant-b {
    background: rgba(159, 122, 234, 0.15);
    color: #9f7aea;
    border: 1px solid rgba(159, 122, 234, 0.3);
}

/* Section titles in wizard */
.wizard-section-title {
    color: #ffffff;
    margin-top: 32px;
    margin-bottom: 16px;
}

.wizard-section-title-sm {
    color: #ffffff;
    margin-top: 24px;
    margin-bottom: 12px;
}

/* Consent */
.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #ffffff;
    cursor: pointer;
}

.consent-checkbox {
    margin-top: 2px;
    width: 20px;
    height: 20px;
    accent-color: #667eea;
    flex-shrink: 0;
}

.consent-card {
    border-color: rgba(102, 126, 234, 0.35);
    background: rgba(102, 126, 234, 0.12);
}

.consent-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.consent-copy strong {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
}

.consent-copy span {
    color: #d3def3;
    font-size: 14px;
    line-height: 1.5;
}

/* Math answer */
.math-answer-input {
    max-width: 180px;
}

.summary-question-label {
    display: block;
    margin-bottom: 10px;
    color: #dfe8f5;
}

.math-card {
    border-color: rgba(78, 205, 196, 0.25);
    background: rgba(78, 205, 196, 0.08);
}

.math-card.math-card-invalid {
    border-color: rgba(255, 107, 107, 0.55);
    background: rgba(255, 107, 107, 0.12);
}

.math-card.math-card-valid {
    border-color: rgba(0, 208, 132, 0.45);
    background: rgba(0, 208, 132, 0.12);
}

/* Legacy addon-qty-row alias */

/* Initially hidden elements */
.initially-hidden {
    display: none;
}

/* Form spacing helpers */
.mt-8 {
    margin-top: 8px;
}

.mt-12 {
    margin-top: 12px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-24 {
    margin-top: 24px;
}

/* ===================================
   16. RESPONSIVE
   =================================== */

/* Tablet */
@media (min-width: 768px) {
    .order-wrapper {
        padding: 30px 24px 60px;
    }

    .order-banner {
        padding: 32px 40px;
    }

    .order-banner-title {
        font-size: 34px;
    }

    .type-selector {
        grid-template-columns: repeat(4, 1fr);
    }

    .activities-grid,
    .addons-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .wizard-card {
        padding: 36px;
    }

    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .order-wrapper {
        padding: 40px 24px 80px;
    }

    .order-banner-title {
        font-size: 38px;
    }

    .activities-grid,
    .addons-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .wizard-card {
        padding: 40px;
    }
}

/* Stredni mobily */
@media (max-width: 768px) {
    .wizard-overlay {
        padding: 15px 12px 30px;
    }

    .wizard-banner-title {
        font-size: 17px;
    }

    .step-label {
        font-size: 10px;
    }

    .step-number {
        width: 38px;
        height: 38px;
        font-size: 16px;
        border-radius: 12px;
    }

    .wizard-step {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .wizard-navigation {
        gap: 12px;
    }

    .wizard-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .type-selector {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

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

    .addons-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Thankyou responsive */
    .wizard-container {
        padding: 35px 25px;
        border-radius: 22px;
        margin: 0 15px;
    }

    .thankyou-container {
        padding: 40px 30px;
    }

    .thankyou-icon {
        font-size: 4rem;
    }

    .thankyou-container h1 {
        font-size: 1.8rem;
    }

    .order-number {
        padding: 14px 22px;
    }

    .order-number strong {
        font-size: 1.2rem;
    }

    .thankyou-info ol li {
        font-size: 0.95rem;
        padding-left: 45px;
    }

    .btn-back {
        padding: 14px 35px;
        font-size: 0.95rem;
    }

    /* Formular na tabletu */
    .order-form .form-row,
    .wizard-step .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Male mobily */
@media (max-width: 480px) {
    .order-wrapper {
        padding: 12px 12px 50px;
    }

    .order-banner {
        padding: 20px 16px;
        border-radius: 16px;
        margin-bottom: 16px;
    }

    .order-banner-title {
        font-size: 22px;
    }

    .order-banner-subtitle {
        font-size: 13px;
    }

    .wizard-banner-title {
        font-size: 15px;
    }

    /* Progress bar na mobilu */
    .progress-bar {
        padding: 0;
        margin-bottom: 20px;
    }

    .progress-bar::before {
        left: 24px;
        right: 24px;
    }

    .progress-step-circle {
        width: 38px;
        height: 38px;
        font-size: 16px;
        border-radius: 12px;
    }

    .progress-step-circle i {
        font-size: 13px;
    }

    .progress-step-label {
        font-size: 10px;
        max-width: 70px;
    }

    .progress-step.active .progress-step-circle {
        transform: rotate(-3deg) scale(1.1);
    }

    .progress-line {
        margin: 0 4px;
    }

    .step-label {
        font-size: 9px;
    }

    .step-number {
        width: 34px;
        height: 34px;
        font-size: 15px;
        border-radius: 10px;
    }

    /* Wizard step na mobilu */
    .wizard-step {
        padding: 16px 12px;
    }

    .wizard-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .wizard-card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .wizard-card-title {
        font-size: 18px;
    }

    .wizard-card-desc {
        font-size: 13px;
    }

    /* Typ selector - 2 sloupce na mobilu */
    .type-selector {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .type-card {
        padding: 20px 14px;
        border-radius: 14px;
    }

    .type-card-icon {
        font-size: 32px;
        margin-bottom: 8px;
    }

    .type-card-name {
        font-size: 14px;
    }

    .type-card-desc {
        font-size: 11px;
    }

    /* Formulare na mobilu */
    .order-form .form-row,
    .wizard-step .form-row {
        grid-template-columns: 1fr;
    }

    .order-form .form-row-3,
    .wizard-step .form-row-3 {
        grid-template-columns: 1fr;
    }

    .order-form input[type="text"],
    .order-form input[type="email"],
    .order-form input[type="tel"],
    .order-form input[type="number"],
    .order-form input[type="date"],
    .order-form select,
    .order-form textarea,
    .wizard-step input[type="text"],
    .wizard-step input[type="email"],
    .wizard-step input[type="tel"],
    .wizard-step input[type="number"],
    .wizard-step input[type="date"],
    .wizard-step select,
    .wizard-step textarea {
        font-size: 16px; /* Prevent iOS zoom */
        padding: 12px 14px;
    }

    /* Karty na mobilu */
    .activities-grid,
    .addons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .activity-card,
    .addon-card {
        padding: 12px;
        border-radius: 14px;
    }

    .card-name {
        font-size: 13px;
    }

    .card-price {
        font-size: 13px;
    }

    .card-meta {
        font-size: 10px;
    }

    /* Casove sloty na mobilu */
    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 8px;
    }

    .time-slot {
        padding: 12px 8px;
        font-size: 14px;
        border-radius: 10px;
    }

    /* Navigace na mobilu */
    .wizard-nav {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .wizard-nav .btn-prev,
    .wizard-nav .btn-next,
    .wizard-nav .btn-submit {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
    }

    /* Souhrn na mobilu */
    .summary-card {
        padding: 20px;
        border-radius: 16px;
    }

    .summary-shopping-notice {
        padding: 18px;
        border-radius: 16px;
        gap: 14px;
    }

    .summary-shopping-notice-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 16px;
    }

    .summary-overview {
        padding: 18px;
        border-radius: 16px;
    }

    .summary-sections-grid {
        grid-template-columns: 1fr;
    }

    .summary-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .summary-row-value {
        margin-left: 0;
        max-width: 100%;
        text-align: left;
    }

    .price-total {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        padding: 14px 16px;
    }

    .price-total-value {
        font-size: 24px;
    }

    /* Dekovacka na mobilu */
    .wizard-container {
        padding: 28px 18px;
        border-radius: 18px;
        margin: 0 10px;
    }

    .thankyou-container {
        padding: 30px 20px;
    }

    .thankyou-icon {
        font-size: 3.5rem;
        margin-bottom: 15px;
    }

    .thankyou-container h1 {
        font-size: 1.5rem;
        margin-bottom: 22px;
    }

    .thankyou-title {
        font-size: 24px;
    }

    .thankyou-subtitle {
        font-size: 15px;
    }

    .order-number {
        padding: 12px 18px;
        margin-bottom: 25px;
    }

    .order-number span {
        font-size: 1rem;
    }

    .order-number strong {
        font-size: 1.1rem;
    }

    .thankyou-info h2 {
        font-size: 1.15rem;
    }

    .thankyou-info ol li {
        font-size: 0.9rem;
        padding-left: 42px;
    }

    .thankyou-info ol li::before {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }

    .btn-back {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .calendar-legend {
        gap: 10px;
    }

    .calendar-legend-item {
        font-size: 12px;
    }
}

/* ===================================
   17. TOUCH ZARIZENI
   =================================== */

@media (hover: none) and (pointer: coarse) {
    .type-card:hover,
    .activity-card:hover,
    .addon-card:hover,
    .time-slot:hover:not(.booked):not(.timeline-only),
    .payment-method:hover {
        transform: none;
        box-shadow: none;
    }

    .type-card:active,
    .activity-card:active,
    .addon-card:active,
    .time-slot:active:not(.booked):not(.timeline-only),
    .payment-method:active {
        transform: scale(0.98);
    }

    .btn-prev:hover,
    .btn-next:hover,
    .btn-submit:hover {
        transform: none;
    }

    .btn-prev:active,
    .btn-next:active,
    .btn-submit:active {
        transform: scale(0.97);
    }

    .wizard-btn:hover {
        transform: none !important;
        filter: none !important;
    }

    .wizard-btn:active {
        transform: scale(0.95) !important;
        filter: brightness(1.1) !important;
    }

    .btn-back:hover {
        transform: none;
        filter: none;
    }

    .btn-back:active {
        transform: scale(0.95);
        filter: brightness(1.1);
    }
}

/* ===================================
   18. PRINT
   =================================== */

@media print {
    .order-page {
        background: #fff !important;
        animation: none !important;
    }

    .wizard-nav,
    .wizard-navigation,
    .progress-bar,
    .wizard-progress,
    .btn-prev,
    .btn-next,
    .btn-submit,
    .wizard-btn {
        display: none !important;
    }

    .wizard-card,
    .wizard-step,
    .summary-card,
    .order-banner,
    .wizard-container {
        background: #fff !important;
        backdrop-filter: none !important;
        border: 1px solid #ddd !important;
        color: #333 !important;
        box-shadow: none !important;
    }

    .wizard-card-title,
    .order-banner-title,
    .wizard-banner-title,
    .summary-section-title,
    .price-total-label {
        color: #333 !important;
        text-shadow: none !important;
    }

    .summary-overview,
    .summary-metric,
    .summary-section,
    .summary-tag {
        background: #fff !important;
        color: #333 !important;
        border-color: #ddd !important;
        box-shadow: none !important;
    }

    .summary-metric-label,
    .summary-metric-value,
    .summary-metric-note,
    .summary-tag,
    .summary-row-note {
        color: #333 !important;
    }

    .summary-row,
    .summary-row-label,
    .summary-row-value {
        color: #333 !important;
    }

    .price-total-value {
        color: #27ae60 !important;
        text-shadow: none !important;
    }
}

/* ===================================
   19. ACCESSIBILITY - Reduced motion
   =================================== */

@media (prefers-reduced-motion: reduce) {
    .order-page {
        animation: none;
    }

    .wizard-step,
    .order-banner,
    .progress-bar,
    .wizard-progress,
    .type-card,
    .activity-card,
    .addon-card,
    .time-slot,
    .thankyou-container,
    .thankyou-icon {
        animation: none !important;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* ===================================
   20. UTILITY TRIDY (nahrazeni inline stylu z JS)
   =================================== */
.hidden {
    display: none !important;
}

.validation-error {
    outline: 2px solid #e74c3c;
}

.validation-success {
    outline: 2px solid #00d084;
}

.text-error {
    color: #ff6b6b;
}

.text-success {
    color: #00d084;
}

.text-variant {
    color: #4ecdc4;
}

.time-slot-error {
    color: #ff6b6b;
}
