/**
 * Nudzimisie Kids Pro — Frontend CSS
 * @version 6.0.0
 */

/* ========== MINI KALENDARZ ========== */
.nkids-calendar-mini {
    max-width: 400px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ========== ROOM SELECT ========== */
.nkids-room-select-wrap {
    margin-bottom: 30px;
    padding: 18px 20px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 16px rgba(0,0,0,.08);
}
.nkids-room-select-wrap h2 {
    margin-top: 0;
    margin-bottom: 8px;
}
.nkids-room-select-wrap .nkids-bdesc {
    margin-bottom: 12px;
}
.nkids-room-select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 15px;
    margin-bottom: 10px;
}
.nkids-room-details {
    font-size: 14px;
    margin-top: 4px;
}
.nkids-room-details .nkids-btn-small {
    padding: 8px 18px;
    font-size: 13px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: .2px;
}

.nkids-guests-picker-wrap {
    margin-bottom: 30px;
    padding: 18px 20px;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff9f4, #ffffff);
    box-shadow: 0 3px 16px rgba(0,0,0,.08);
}

.nkids-guests-picker-wrap h2 {
    margin-top: 0;
    margin-bottom: 8px;
}

.nkids-guests-stepper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.nkids-guests-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: #ff6b35;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(255,107,53,.25);
}

.nkids-guests-btn:hover {
    background: #f15a24;
}

.nkids-guests-input {
    width: 96px;
    padding: 10px 12px;
    border: 2px solid #ffd7c8;
    border-radius: 12px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    background: #fff;
}

.nkids-guests-input:focus {
    outline: none;
    border-color: #ff6b35;
}

.nkids-guests-note {
    margin: 10px 0 0;
    font-size: 13px;
    color: #666;
}

.nkids-calendar-header-mini {
    background: linear-gradient(135deg, #FF6B35, #FF8C42);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nkids-calendar-month {
    font-size: 18px;
    font-weight: 700;
}

.nkids-calendar-nav-mini {
    display: flex;
    gap: 10px;
}

.nkids-calendar-nav-mini button {
    background: rgba(255,255,255,.2);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}

.nkids-calendar-nav-mini button:hover {
    background: rgba(255,255,255,.3);
}

.nkids-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f8f9fa;
    padding: 10px 5px;
    border-bottom: 1px solid #eee;
}

.nkids-calendar-weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
}

.nkids-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 10px;
    gap: 5px;
}

.nkids-calendar-day-mini {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.nkids-calendar-day-mini:hover:not(.disabled) {
    background: #f0f0f0;
}

.nkids-calendar-day-mini.today {
    background: #FF6B35;
    color: #fff;
}

.nkids-calendar-day-mini.selected {
    background: #1a1a2e;
    color: #fff;
}

.nkids-calendar-day-mini.free {
    color: #28A745;
}

.nkids-calendar-day-mini.free::after {
    content: '';
    position: absolute;
    bottom: 3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #28A745;
}

.nkids-calendar-day-mini.partial {
    color: #F7931A;
}

.nkids-calendar-day-mini.partial::after {
    content: '';
    position: absolute;
    bottom: 3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #F7931A;
}

.nkids-calendar-day-mini.full {
    color: #DC3545;
    text-decoration: line-through;
}

.nkids-calendar-day-mini.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.nkids-calendar-day-mini.other-month {
    color: #ccc;
}

/* ========== SLOT PICKER ========== */
.nkids-slots-picker {
    margin-top: 20px;
}

.nkids-slots-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.nkids-slots-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.nkids-slot-option {
    padding: 12px 20px;
    border: 2px solid #eee;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    font-size: 15px;
}

.nkids-slot-option:hover:not(.disabled) {
    border-color: #FF6B35;
}

.nkids-slot-option.selected {
    background: #FF6B35;
    border-color: #FF6B35;
    color: #fff;
}

.nkids-slot-option.disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    text-decoration: line-through;
}

.nkids-slot-option.free {
    border-color: #28A745;
}

/* ========== WIZARD LAYOUT ========== */
.nkids-wizard-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

/* ========== FORMULARZ REZERWACJI ========== */
.nkids-booking-form {
    min-width: 0;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

/* ========== LIVE SUMMARY SIDEBAR ========== */
.nkids-live-summary {
    position: sticky;
    top: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
    padding: 24px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
}
.nkids-live-summary h3 {
    font-size: 17px;
    margin: 0 0 16px;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nkids-ls-section {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0e6dd;
}
.nkids-ls-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.nkids-ls-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #999;
    margin-bottom: 4px;
}
.nkids-ls-value {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}
.nkids-ls-value strong {
    color: #FF6B35;
}
.nkids-ls-empty {
    color: #ccc;
    font-style: italic;
}

.nkids-form-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #1a1a2e;
}

.nkids-form-step {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.nkids-form-step:last-child {
    border-bottom: none;
}

.nkids-step-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.nkids-step-number {
    width: 28px;
    height: 28px;
    background: #FF6B35;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.nkids-form-group {
    margin-bottom: 15px;
}

.nkids-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.nkids-form-group input,
.nkids-form-group select,
.nkids-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s;
}

.nkids-form-group input:focus,
.nkids-form-group select:focus,
.nkids-form-group textarea:focus {
    outline: none;
    border-color: #FF6B35;
}

.nkids-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.nkids-submit-btn {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #FF6B35, #FF8C42);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nkids-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,107,53,.4);
}

.nkids-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ========== LEGENDA ========== */
.nkids-legend {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 15px;
    font-size: 12px;
    color: #666;
}

.nkids-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nkids-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.nkids-legend-dot.free { background: #28A745; }
.nkids-legend-dot.partial { background: #F7931A; }
.nkids-legend-dot.full { background: #DC3545; }

/* ========== WYBRANE INFO ========== */
.nkids-selected-info {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #FF6B35;
}

.nkids-selected-info strong {
    color: #FF6B35;
}

/* ========== PAKIETY ========== */
.nkids-packages {
    display: grid;
    gap: 15px;
    margin-top: 15px;
}

.nkids-package-card {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.nkids-package-card:hover {
    border-color: #FF6B35;
}

.nkids-package-card.selected {
    border-color: #FF6B35;
    background: #fff5f0;
}

.nkids-package-card.selected::after {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    background: #FF6B35;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.nkids-package-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
}

.nkids-package-price {
    font-size: 24px;
    font-weight: 800;
    color: #FF6B35;
    margin: 5px 0;
}

.nkids-package-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* ========== LOADING ========== */
.nkids-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: #666;
}

.nkids-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #eee;
    border-top-color: #FF6B35;
    border-radius: 50%;
    animation: nkids-spin 0.8s linear infinite;
    margin-right: 10px;
}

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

/* ========== BOOKING WIZARD STEPPER ========== */
.nkids-booking-stepper {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 30px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.nkids-booking-stepper::-webkit-scrollbar { display: none; }
.nkids-bstep {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #aaa;
    position: relative;
}
.nkids-bstep span {
    width: 26px;
    height: 26px;
    background: #e0e0e0;
    color: #999;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}
.nkids-bstep.active span { background: #FF6B35; color: #fff; }
.nkids-bstep.active { color: #FF6B35; }
.nkids-bstep.done span { background: #28a745; color: #fff; }
.nkids-bstep.done { color: #28a745; }
.nkids-bstep::after {
    content: '›';
    position: absolute;
    right: -6px;
    color: #ccc;
    font-size: 18px;
}
.nkids-bstep:last-child::after { display: none; }

/* Wizard panels */
.nkids-bpanel { display: none; background: #fff; padding: 30px; border-radius: 14px; box-shadow: 0 2px 16px rgba(0,0,0,.08); }
.nkids-bpanel.active { display: block; }
.nkids-bpanel h2 { font-size: 22px; margin-bottom: 8px; }
.nkids-bdesc { color: #777; margin-bottom: 20px; font-size: 14px; }
.nkids-bsub { font-size: 16px; color: #555; margin-bottom: 14px; }

/* Wizard navigation — Override Hello Elementor reset: button { border:1px solid #c36 } */
.nkids-bnav { display: flex; justify-content: center; gap: 16px; margin-top: 28px; padding-bottom: 10px; }
.nkids-btn,
.nkids-btn:focus,
.nkids-btn:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    background: linear-gradient(135deg, #FF6B35, #FF8C42) !important;
    color: #fff !important;
    border: none !important;
    outline: none !important;
    border-radius: 50px !important;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s, background .2s;
    letter-spacing: .3px;
    line-height: 1.2;
    min-width: 160px;
    box-shadow: 0 4px 14px rgba(255,107,53,.2);
}
.nkids-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,53,.35) !important;
    background: linear-gradient(135deg, #FF6B35, #FF8C42) !important;
    color: #fff !important;
}
.nkids-btn:active { transform: translateY(0); }
.nkids-btn-outline,
.nkids-btn-outline:focus {
    background: #fff !important;
    border: 2px solid #6b7280 !important;
    color: #374151 !important;
    box-shadow: none;
}
.nkids-btn-outline:hover {
    background: #374151 !important;
    color: #fff !important;
    border-color: #374151 !important;
    box-shadow: 0 6px 20px rgba(55,65,81,.2) !important;
}
.nkids-bsubmit,
.nkids-bsubmit:focus {
    background: linear-gradient(135deg, #43a047, #66bb6a) !important;
    padding: 16px 40px;
    font-size: 17px;
    min-width: 220px;
    box-shadow: 0 4px 14px rgba(67,160,71,.25);
}
.nkids-bsubmit:hover {
    box-shadow: 0 6px 20px rgba(67,160,71,.35) !important;
    background: linear-gradient(135deg, #43a047, #66bb6a) !important;
}
.nkids-btn-sm { padding: 8px 18px; font-size: 13px; border-radius: 50px !important; min-width: auto; }

/* Package / Cake / Decor grid cards */
.nkids-pkg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.nkids-pkg-grid-sm { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.nkids-pkg-card {
    border: 3px solid transparent;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: all .2s;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.nkids-pkg-card:hover { border-color: var(--pkg-color, #FF6B35); transform: translateY(-3px); }
.nkids-pkg-card.selected { border-color: var(--pkg-color, #FF6B35); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pkg-color, #FF6B35) 25%, transparent); }
.nkids-pkg-card.nkids-pkg-card-disabled {
    opacity: 0.5;
    filter: grayscale(0.25);
    cursor: not-allowed;
    transform: none !important;
}
.nkids-pkg-card.nkids-pkg-card-disabled:hover {
    border-color: transparent;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.nkids-pkg-card.nkids-pkg-card-disabled::before {
    content: 'Max 10 dzieci';
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: rgba(34, 34, 34, 0.85);
    color: #fff;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}
.nkids-pkg-card.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: var(--pkg-color, #FF6B35);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}
.nkids-pkg-card { position: relative; }
.nkids-pkg-img {
    aspect-ratio: 1 / 1;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}
.nkids-pkg-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,.7);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}
.nkids-pkg-body { padding: 12px 14px; }
.nkids-pkg-body h3 { font-size: 15px; margin: 0 0 6px; }
/* "Co zawiera?" toggle */
.nkids-pkg-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--pkg-color, #FF6B35) !important;
    cursor: pointer;
    border: 1.5px solid var(--pkg-color, #FF6B35) !important;
    background: rgba(255,255,255,.85) !important;
    padding: 6px 14px;
    border-radius: 50px !important;
    transition: background .2s, color .2s, box-shadow .2s;
    letter-spacing: .2px;
    outline: none !important;
}
.nkids-pkg-toggle:focus {
    border: 1.5px solid var(--pkg-color, #FF6B35) !important;
    background: rgba(255,255,255,.85) !important;
    outline: none !important;
}
.nkids-pkg-toggle:hover {
    background: var(--pkg-color, #FF6B35) !important;
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(0,0,0,.1);
}
.nkids-pkg-toggle .nkids-toggle-arrow {
    display: inline-block;
    transition: transform .25s;
    font-size: 10px;
}
.nkids-pkg-toggle.open .nkids-toggle-arrow { transform: rotate(180deg); }
.nkids-pkg-toggle.open {
    background: var(--pkg-color, #FF6B35);
    color: #fff;
}
/* Expandable detail panel */
.nkids-pkg-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}
.nkids-pkg-details-inner {
    padding: 10px 0 4px;
    font-size: 12px;
    line-height: 1.6;
    color: #555;
    border-top: 1px solid #f0e6dd;
    margin-top: 8px;
}

/* Addon grid */
.nkids-addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}
.nkids-addon-card { cursor: pointer; }
.nkids-addon-card input[type="checkbox"] { display: none; }
.nkids-addon-inner {
    transition: border-color .2s, background .2s, box-shadow .2s;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    transition: all .2s;
    background: #fff;
}
.nkids-addon-inner:hover { border-color: #FF6B35; box-shadow: 0 3px 12px rgba(255,107,53,.12); }
.nkids-addon-card input:checked + .nkids-addon-inner { border-color: #FF6B35; background: #fff5f0; box-shadow: 0 3px 12px rgba(255,107,53,.15); }
.nkids-addon-inner img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; margin-bottom: 8px; display: block; margin-left: auto; margin-right: auto; }
.nkids-addon-icon { font-size: 32px; margin-bottom: 8px; }
.nkids-addon-inner strong { display: block; font-size: 14px; margin-bottom: 4px; }
.nkids-price-tag { display: inline-block; background: #f5f5f5; padding: 2px 8px; border-radius: 12px; font-size: 12px; color: #555; margin-bottom: 6px; }
/* Qty wrap with +/- buttons */
.nkids-qty-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}
.nkids-qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #FF6B35;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(255,107,53,.25);
    transition: transform .15s, box-shadow .15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nkids-qty-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 14px rgba(255,107,53,.35);
}
.nkids-qty-btn:active {
    transform: scale(0.95);
}
.nkids-qty-input { width: 48px !important; padding: 6px 4px !important; text-align: center; border: 2px solid #ffd7c8 !important; border-radius: 10px !important; font-size: 16px !important; font-weight: 700; color: #1a1a2e; background: #fff; transition: border-color .2s; }
.nkids-qty-input:focus { border-color: #FF6B35 !important; outline: none; box-shadow: 0 0 0 3px rgba(255,107,53,.1); }

/* Contact grid (step 6) */
.nkids-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.nkids-contact-grid label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 5px; color: #444; }
.nkids-contact-grid input,
.nkids-contact-grid textarea {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color .2s;
}
.nkids-contact-grid input:focus,
.nkids-contact-grid textarea:focus { outline: none; border-color: #FF6B35; }

/* Summary cards */
.nkids-summary-cards, .nkids-portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}
.nkids-scard {
    background: #fff;
    border: 1px solid #f0e6dd;
    border-radius: 12px;
    padding: 18px;
}
.nkids-scard h4 { font-size: 15px; margin: 0 0 8px; color: #555; }
.nkids-scard div { font-size: 14px; }

.nkids-deposit-info {
    background: #fff5f0;
    border-left: 4px solid #FF6B35;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin-top: 20px;
}
.nkids-deposit-info p { margin: 4px 0; font-size: 14px; }

/* Date/time indicator */
.nkids-selected-datetime { background: #e8f5e9; border-radius: 8px; padding: 10px 16px; margin-top: 14px; }
.nkids-chosen-dt { color: #2e7d32; }

/* Booking message */
#nkids-booking-msg {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 600;
}
#nkids-booking-msg.success { background: #e8f5e9; color: #2e7d32; }
#nkids-booking-msg.error { background: #fce4ec; color: #c62828; }

/* ========== EVENTS PAGE ========== */
.nkids-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.nkids-event-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 16px rgba(0,0,0,.08);
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
}
.nkids-event-card:hover { transform: translateY(-4px); box-shadow: 0 6px 24px rgba(0,0,0,.12); }
.nkids-event-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.nkids-event-date-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #fff;
    border-radius: 10px;
    padding: 6px 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.nkids-eday { display: block; font-size: 22px; font-weight: 800; line-height: 1; color: #FF6B35; }
.nkids-emonth { display: block; font-size: 12px; font-weight: 600; color: #666; text-transform: uppercase; }
.nkids-event-countdown {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #FF6B35;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
.nkids-event-body { padding: 18px 20px; }
.nkids-event-body h3 { font-size: 18px; margin: 0 0 6px; color: #2d2d2d; }
.nkids-event-when { font-size: 14px; color: #777; margin-bottom: 10px; }
.nkids-event-body p { font-size: 14px; color: #555; margin-bottom: 12px; }

/* ========== PRICING TABLE ========== */
.nkids-pricing-table-wrap { overflow-x: auto; }
.nkids-pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 16px rgba(0,0,0,.08);
}
.nkids-pricing-table thead th {
    background: linear-gradient(135deg, #FF6B35, #FF8C42);
    color: #fff;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
}
.nkids-pricing-table tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid #f0e6dd;
    font-size: 15px;
}
.nkids-pricing-table tbody tr:last-child td { border-bottom: none; }
.nkids-pricing-table tbody tr:hover { background: #fff9f5; }

/* ========== PORTAL ========== */
.nkids-portal { max-width: 900px; margin: 0 auto; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .nkids-wizard-layout {
        grid-template-columns: 1fr;
    }
    .nkids-live-summary {
        position: static;
        max-height: none;
        order: -1;
    }
}
@media (max-width: 600px) {
    .nkids-booking-form {
        padding: 20px;
        margin: 0;
    }
    
    .nkids-form-row,
    .nkids-contact-grid {
        grid-template-columns: 1fr;
    }
    
    .nkids-legend {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .nkids-slots-grid {
        justify-content: center;
    }
    
    .nkids-bstep {
        font-size: 0;
        padding: 6px 10px;
        gap: 0;
        flex-shrink: 0;
    }
    .nkids-bstep span {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
    .nkids-bstep::after {
        content: '';
        width: 16px;
        height: 2px;
        background: #ddd;
        position: static;
        display: block;
        margin-left: 6px;
    }
    .nkids-bstep.done::after { background: #28a745; }
    .nkids-bstep.active::after { background: #FF6B35; }
    .nkids-bstep:last-child::after { display: none; }
    
    .nkids-pkg-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .nkids-addon-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .nkids-events-grid { grid-template-columns: 1fr; }
    .nkids-summary-cards, .nkids-portal-grid { grid-template-columns: 1fr; }
    
    .nkids-contact-grid > div[style] { grid-column: auto !important; }
}

/* ====================================================================
   SINGLE EVENT PAGE
   ==================================================================== */
.nkids-event-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}
.nkids-event-hero {
    position: relative;
    height: 400px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 48px;
    background: linear-gradient(135deg, #FF6B35, #FF8C42);
}
.nkids-event-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(.65);
}
.nkids-event-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,26,46,0) 0%, rgba(26,26,46,.85) 80%);
}
.nkids-event-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 48px;
}
.nkids-event-hero-title {
    color: #fff;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    text-shadow: 0 6px 20px rgba(0,0,0,.4);
    margin-bottom: 16px;
}
.nkids-event-hero-date {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    padding: 12px 24px;
    border-radius: 999px;
    background: rgba(255,107,53,.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.2);
    width: max-content;
}
.nkids-event-hero-room {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 22px;
    border-radius: 999px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.2);
    width: max-content;
    margin-top: 10px;
}
.nkids-event-hero-room a {
    color: #fff !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.4);
    transition: border-color .2s;
}
.nkids-event-hero-room a:hover {
    border-bottom-color: #fff;
}

/* Event grid: description + form */
.nkids-event-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: start;
}
.nkids-event-description {
    background: #fff;
    padding: 48px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.nkids-event-description h2 {
    font-size: 32px;
    font-weight: 800;
    color: #2d2d2d;
    margin-bottom: 24px;
}
.nkids-event-description p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
}

/* Event form sidebar */
.nkids-event-form-wrap {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    position: sticky;
    top: 30px;
}

/* ---- Toggle: zapisz / pytanie (iOS segmented control) ---- */
.nkids-evtoggle {
	position: relative;
	display: flex;
	background: #f1f1f4;
	border-radius: 999px;
	padding: 3px;
	gap: 0;
	margin-bottom: 24px;
	border: none !important;
	box-shadow: none;
	outline: none !important;
}
.nkids-evtoggle-indicator {
	position: absolute;
	top: 3px;
	bottom: 3px;
	left: 3px;
	width: calc(50% - 3px);
	border-radius: 999px;
	background: linear-gradient(135deg, #FF6B35, #FF8C42);
	box-shadow: 0 4px 14px rgba(255,107,53,.3);
	transform: translateX(0);
	transition: transform .3s cubic-bezier(.4,0,.2,1);
	will-change: transform;
}
.nkids-evtoggle[data-mode="question"] .nkids-evtoggle-indicator {
	transform: translateX(100%);
}
/* Override Hello Elementor: button { border:1px solid #c36; color:#c36 } */
.nkids-evtoggle .nkids-evtoggle-btn,
.nkids-evtoggle .nkids-evtoggle-btn:hover,
.nkids-evtoggle .nkids-evtoggle-btn:focus,
.nkids-evtoggle .nkids-evtoggle-btn:active {
	position: relative;
	z-index: 1;
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 12px 14px;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	border-radius: 999px;
	background: transparent !important;
	color: #9ca3af !important;
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: color .2s ease;
	white-space: nowrap;
}
.nkids-evtoggle .nkids-evtoggle-btn.active,
.nkids-evtoggle .nkids-evtoggle-btn.active:hover,
.nkids-evtoggle .nkids-evtoggle-btn.active:focus {
	color: #fff !important;
	background: transparent !important;
}
.nkids-evtoggle-btn svg {
	flex-shrink: 0;
	transition: color .2s ease;
}
.nkids-evtoggle .nkids-evtoggle-btn.active svg {
	color: #fff !important;
}

/* ---- Shared form styles ---- */
.nkids-event-form .nkids-form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}
/* Override Hello Elementor: label { display: inline-block } */
.nkids-event-form .nkids-form-label {
    display: block !important;
    width: 100%;
    font-weight: 600;
    font-size: 13px;
    color: #374151;
    margin-bottom: 6px;
    letter-spacing: .01em;
    line-height: 1.4;
}
/* Override Hello Elementor: input { border:1px solid #666; border-radius:3px } */
.nkids-event-form .nkids-form-input,
.nkids-event-form .nkids-form-textarea {
    width: 100% !important;
    padding: 12px 14px;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 12px !important;
    font-size: 15px;
    transition: border-color .2s, box-shadow .2s;
    font-family: inherit;
    box-sizing: border-box;
    background: #f9fafb !important;
    color: #111827;
}
.nkids-event-form .nkids-form-input::placeholder,
.nkids-event-form .nkids-form-textarea::placeholder {
    color: #9ca3af;
}
.nkids-event-form .nkids-form-input:focus,
.nkids-event-form .nkids-form-textarea:focus {
    border-color: #FF6B35 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(255,107,53,.08);
    outline: none;
}
.nkids-event-form .nkids-form-textarea {
    resize: vertical;
    min-height: 70px;
}

/* Duo row: 2-col on desktop sidebar, 1-col on mobile */
.nkids-form-row-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
}
.nkids-form-row-duo .nkids-form-row {
    margin-bottom: 14px;
}
@media (max-width: 480px) {
    .nkids-form-row-duo {
        grid-template-columns: 1fr;
    }
}

/* Acceptance checkbox (base) */
.nkids-acceptance-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}
.nkids-acceptance-label input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    min-width: 18px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #FF6B35;
}
.nkids-acceptance-label span {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
}
.nkids-acceptance-label a {
    color: #FF6B35;
    font-weight: 600;
    text-decoration: none;
}
.nkids-acceptance-label a:hover {
    text-decoration: underline;
}

/* Acceptance block on event forms — full-width, subtle card */
.nkids-event-form .nkids-form-row:has(.nkids-acceptance-label) {
    margin-top: 4px;
}
.nkids-event-form .nkids-acceptance-label {
    display: flex !important;
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    transition: border-color .2s, background .2s;
    box-sizing: border-box;
}
.nkids-event-form .nkids-acceptance-label:has(input:checked) {
    border-color: #FF6B35;
    background: #fff7ed;
}
.nkids-event-form .nkids-acceptance-label span {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}

/* Submit button — Override Hello Elementor: button { border:1px solid #c36 } */
.nkids-event-form .nkids-btn-event-submit,
.nkids-event-form .nkids-btn-event-submit:hover,
.nkids-event-form .nkids-btn-event-submit:focus,
.nkids-event-form .nkids-btn-event-submit:active {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 28px;
    background: linear-gradient(135deg, #FF6B35, #FF8C42) !important;
    color: #fff !important;
    border: none !important;
    outline: none !important;
    border-radius: 50px !important;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    letter-spacing: .3px;
    margin-top: 8px;
    box-shadow: 0 4px 14px rgba(255,107,53,.25);
}
.nkids-event-form .nkids-btn-event-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,107,53,.35) !important;
}
.nkids-event-form .nkids-btn-question,
.nkids-event-form .nkids-btn-question:hover,
.nkids-event-form .nkids-btn-question:focus {
    background: linear-gradient(135deg, #FF6B35, #FF8C42) !important;
    border: none !important;
    color: #fff !important;
}
.nkids-event-form .nkids-btn-question:hover {
    box-shadow: 0 8px 20px rgba(255,107,53,.35) !important;
}

/* Event form messages */
#nkids-event-message .nkids-success {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-weight: 600;
}
#nkids-event-message .nkids-error {
    background: #fce4ec;
    color: #c62828;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
    .nkids-event-grid {
        grid-template-columns: 1fr;
    }
    .nkids-event-form-wrap {
        position: static;
    }
    .nkids-event-hero {
        height: 320px;
    }
    .nkids-event-hero-content {
        padding: 32px;
    }
    .nkids-event-description {
        padding: 32px;
    }
}

/* ========== DECORATION CUSTOMIZATION PANEL ========== */
#nkids-decor-custom {
    display: none;
    margin-top: 18px;
    padding: 20px;
    background: #faf6ff;
    border-radius: 14px;
    border: 1px solid #e6d9f2;
}
#nkids-decor-custom.visible {
    display: block;
    animation: nkidsFadeIn .3s ease;
}
@keyframes nkidsFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.nkids-decor-custom-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #333;
}
.nkids-colors-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}
.nkids-decor-custom-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
}
.nkids-color-input,
.nkids-theme-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    background: #fff;
    transition: border-color .2s;
    box-sizing: border-box;
}
.nkids-color-input:focus,
.nkids-theme-input:focus {
    border-color: #a855f7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(168,85,247,.12);
}
.nkids-decor-custom-hint {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

/* ========== CAKE SELECT ========== */
.nkids-cake-select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 15px;
    background: #fff;
    margin-bottom: 6px;
    box-sizing: border-box;
}
.nkids-cake-select:focus {
    border-color: #FF6B35;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,107,53,.12);
}
.nkids-cake-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
    margin-top: 12px;
}
.nkids-cake-sub {
    display: none;
    margin-top: 14px;
    padding: 16px;
    background: #fff9f5;
    border-radius: 12px;
    border: 1px solid #ffe0cc;
}
.nkids-cake-sub.visible {
    display: block;
    animation: nkidsFadeIn .3s ease;
}
#nkids-cake-portions-row {
    display: none;
    margin-top: 14px;
}
#nkids-cake-portions-row.visible {
    display: block;
}
#nkids-cake-portions {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 15px;
    box-sizing: border-box;
}

/* ========== RESPONSIVE: 768px — Tablet ========== */
@media (max-width: 768px) {
    /* Wizard stepper: compact on tablet */
    .nkids-booking-stepper {
        gap: 0;
        justify-content: center;
    }
    .nkids-bstep {
        flex-shrink: 0;
        font-size: 0;
        padding: 8px 10px;
        gap: 0;
    }
    .nkids-bstep span { font-size: 12px; display: flex; }
    .nkids-bstep::after {
        content: '';
        width: 20px;
        height: 2px;
        background: #ddd;
        position: static;
        display: block;
        margin-left: 6px;
    }
    .nkids-bstep.done::after { background: #28a745; }
    .nkids-bstep.active::after { background: #FF6B35; }
    .nkids-bstep:last-child::after { display: none; }

    /* Wizard nav: stack on mobile */
    .nkids-bnav {
        flex-direction: column;
        gap: 10px;
    }
    .nkids-bnav .nkids-btn {
        width: 100%;
        text-align: center;
    }

    /* Live summary compact */
    .nkids-live-summary {
        padding: 16px;
        font-size: 14px;
    }
    .nkids-live-summary h3 {
        font-size: 18px;
    }

    /* Decoration panel: stack colors */
    .nkids-colors-wrap {
        grid-template-columns: 1fr;
    }

    /* Package cards: smaller min */
    .nkids-pkg-grid {
        grid-template-columns: 1fr;
    }
    .nkids-pkg-card {
        min-height: auto;
    }

    /* Addon grid: 2 cols on tablet */
    .nkids-addon-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Cake sub-options */
    .nkids-cake-sub {
        padding: 12px;
    }

    /* Event single page */
    .nkids-event-hero {
        height: 260px;
        border-radius: 0;
        margin-left: -20px;
        margin-right: -20px;
    }
    .nkids-event-hero-content {
        padding: 24px;
    }
    .nkids-event-hero-title {
        font-size: clamp(24px, 6vw, 36px);
    }
    .nkids-event-hero-date {
        font-size: 14px;
        padding: 8px 16px;
    }
    .nkids-event-hero-room {
        font-size: 13px;
        padding: 8px 16px;
        margin-top: 8px;
    }
    .nkids-event-single {
        padding: 24px 16px;
    }
    .nkids-event-description {
        padding: 24px;
    }
    .nkids-event-form-wrap {
        padding: 24px;
    }
    .nkids-evtoggle-btn {
        font-size: 12px;
        padding: 10px 8px;
    }
}

/* ========== RESPONSIVE: 480px — Small phones ========== */
@media (max-width: 480px) {
    .nkids-booking-form {
        padding: 14px;
    }
    .nkids-bstep {
        padding: 4px 6px;
    }
    .nkids-bstep span {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
    .nkids-bstep::after {
        width: 10px;
        margin-left: 4px;
    }
    .nkids-addon-grid {
        grid-template-columns: 1fr;
    }
    .nkids-event-hero {
        height: 200px;
    }
    .nkids-event-hero-content {
        padding: 16px;
    }
    .nkids-event-description,
    .nkids-event-form-wrap {
        padding: 16px;
    }
    .nkids-event-grid {
        gap: 20px;
    }
    .nkids-evtoggle {
        border-radius: 999px;
    }
    .nkids-evtoggle-btn {
        padding: 10px 10px;
        font-size: 12px;
    }
}

/* ========== LIVE PRICE WIDGET ========== */
.nkids-live-price {
    display: none;
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 9999;
    background: linear-gradient(135deg, #FF6B35, #FF8F00);
    color: #fff;
    border-radius: 16px;
    padding: 10px 20px;
    box-shadow: 0 6px 24px rgba(255,107,53,.4);
    text-align: center;
    min-width: 120px;
    transition: transform .2s, box-shadow .2s;
    cursor: default;
}
.nkids-live-price.visible { display: flex; align-items: center; gap: 10px; }
.nkids-live-price.pulse { animation: nkids-pulse .35s ease; }
@keyframes nkids-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}
.nkids-lp-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: .85;
}
.nkids-lp-amount {
    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
}

/* Desktop: live price inside sidebar instead */
@media (min-width: 901px) {
    .nkids-live-price { display: none !important; }
}

/* Mobile: bottom bar */
@media (max-width: 900px) {
    .nkids-live-price {
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 16px 16px 0 0;
        justify-content: center;
        padding: 12px 20px;
    }
    .nkids-lp-amount { font-size: 24px; }
    /* Prevent content being hidden behind price bar */
    .nkids-shortcode-wrap { padding-bottom: 70px; }
}

/* ========== LIVE SUMMARY TOTAL (sidebar) ========== */
.nkids-ls-total {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid #FF6B35;
    text-align: center;
}
.nkids-ls-total-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #999;
    margin-bottom: 4px;
}
.nkids-ls-total-amount {
    font-size: 28px;
    font-weight: 800;
    color: #FF6B35;
    transition: color .2s;
}
