/* ═══════════════════════════════════════════
 * NK Configurator — Frontend CSS v4.2.0
 * Design: NEJKAM.cz Design System
 * ═══════════════════════════════════════════ */

:root {
    --nk-accent: #f4a51c;
    --nk-accent-hover: #d97706;
    --nk-green: #16a34a;
    --nk-green-hover: #15803d;
    --nk-green-light: #dcfce7;
    --nk-green-lighter: #f0fdf4;
    --nk-blue: #21B4F7;
    --nk-blue-hover: #0da0e3;
    --nk-blue-light: #e8f7fe;
    --nk-danger: #dc2626;
    --nk-danger-light: #fef2f2;
    --nk-text: #2d3748;
    --nk-text-price: #2d3748;
    --nk-text-secondary: #718096;
    --nk-text-muted: #a0aec0;
    --nk-bg: #ffffff;
    --nk-bg-body: #f0f4f8;
    --nk-bg-card: #f0f4f8;
    --nk-border: #EDF0F2;
    --nk-radius: 8px;
    --nk-radius-sm: 8px;
    --nk-radius-btn: 8px;
    --nk-radius-badge: 4px;
    --nk-shadow: 0 1px 3px rgba(0,0,0,.04);
    --nk-shadow-md: 0 4px 12px rgba(0,0,0,.06);
    --nk-shadow-hover: 0 8px 24px rgba(0,0,0,.08);
    --nk-transition: .2s ease;
    --nk-font: inherit;
    --nk-font-title: inherit;
    --nk-font-price: inherit;
    --nk-columns: 4;
    --nk-stock-green: #16a34a;
    --nk-stock-green-bg: #dcfce7;
    --nk-stock-yellow: #ca8a04;
    --nk-stock-yellow-bg: #fef08a;
}

/* Container — no max-width, allow tabs overflow */
.nk-configurator { font-family: var(--nk-font); color: var(--nk-text); margin: 0 0 80px; overflow: visible !important; }

/* ═══ STATUS BAR — with icons ═══ */
.nk-tabs-wrapper { display: flex; align-items: stretch; position: relative; margin-bottom: 28px; background: var(--nk-bg-body); border-radius: var(--nk-radius); padding: 6px; }
.nk-tabs-arrow { display: none; }
.nk-tabs { display: flex !important; flex-wrap: nowrap !important; gap: 4px; margin-bottom: 0; padding: 0; border-bottom: none; position: relative; overflow-x: auto !important; overflow-y: visible !important; -webkit-overflow-scrolling: touch; scrollbar-width: none; flex: 1; min-width: 0; scroll-behavior: smooth; }
.nk-tabs::-webkit-scrollbar { display: none; }
.nk-tab { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 16px 10px; border: none; background: transparent; color: var(--nk-text-muted); font-family: var(--nk-font); font-size: 13px; font-weight: 500; cursor: pointer; margin: 0; transition: all var(--nk-transition); white-space: nowrap; position: relative; flex-shrink: 0; border-radius: var(--nk-radius-sm); min-width: 80px; }
.nk-tab:hover { background: rgba(255,255,255,.6); color: var(--nk-text); }
.nk-tab.active { background: #fff; color: var(--nk-text); box-shadow: 0 1px 4px rgba(0,0,0,.06); font-weight: 600; }
.nk-tab.complete { color: var(--nk-text); }
.nk-tab.has-selection { color: var(--nk-text); }
/* Tab icon */
.nk-tab-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0; }
.nk-tab-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--nk-text-muted); stroke-width: 1.5; transition: stroke var(--nk-transition); }
.nk-tab-icon-img { width: 28px; height: 28px; object-fit: contain; opacity: 0.5; transition: opacity var(--nk-transition); }
.nk-tab.active .nk-tab-icon svg { stroke: var(--nk-text); }
.nk-tab.active .nk-tab-icon-img { opacity: 1; }
.nk-tab.complete .nk-tab-icon svg,
.nk-tab.has-selection .nk-tab-icon svg { stroke: var(--nk-green); }
.nk-tab.complete .nk-tab-icon-img,
.nk-tab.has-selection .nk-tab-icon-img { opacity: 0.85; }
/* Fallback number */
.nk-tab-icon .nk-tab-number { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--nk-border); color: var(--nk-text-muted); font-size: 13px; font-weight: 700; transition: background var(--nk-transition), color var(--nk-transition); }
.nk-tab.active .nk-tab-icon .nk-tab-number { background: var(--nk-green); color: #fff; }
.nk-tab.complete .nk-tab-icon .nk-tab-number,
.nk-tab.has-selection .nk-tab-icon .nk-tab-number { background: var(--nk-green); color: #fff; }
/* Tab label */
.nk-tab-label { display: flex; align-items: center; gap: 4px; }
.nk-tab-title { font-size: 13px; }
.nk-tab-status { font-size: 12px; font-weight: 600; color: var(--nk-green); }

/* ═══ LAYOUT ═══ */
.nk-layout { display: flex; gap: 28px; align-items: flex-start; overflow: visible !important; }
.nk-main { flex: 1; min-width: 0; }
.nk-nav-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--nk-border); }

/* ═══ SIDEBAR ═══ */
.nk-sidebar { width: 320px; flex-shrink: 0; position: sticky !important; top: 20px; align-self: flex-start; z-index: 50; margin-bottom: 40px; }
.nk-sidebar-inner { background: var(--nk-bg); border: 1px solid var(--nk-border); border-radius: var(--nk-radius); padding: 24px; box-shadow: var(--nk-shadow-md); position: relative; z-index: 50; }
.nk-sidebar-title { font-family: var(--nk-font-title); font-size: 16px; font-weight: 700; margin: 0 0 12px; color: var(--nk-text); padding-bottom: 12px; border-bottom: 1px solid var(--nk-border); }

.nk-sidebar-step { margin-bottom: 0; border-bottom: 1px solid var(--nk-border); }
.nk-sidebar-step:last-child { border-bottom: none; }

/* Compact header row — clickable toggle */
.nk-sidebar-compact-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 0; cursor: pointer; }
.nk-sidebar-compact-row:hover { opacity: 0.8; }
.nk-sidebar-compact-arrow { font-size: 10px; color: var(--nk-text-muted); flex-shrink: 0; width: 12px; transition: transform 0.15s; }
.nk-sidebar-compact-title { font-size: 14px; font-weight: 600; color: var(--nk-text); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nk-sidebar-compact-qty { font-weight: 400; color: var(--nk-text-muted); font-size: 13px; }
.nk-sidebar-compact-price { font-family: var(--nk-font-price); font-weight: 700; white-space: nowrap; color: var(--nk-text-price); font-size: 14px; flex-shrink: 0; }

/* Expanded detail — products list */
.nk-sidebar-detail { padding: 0 0 10px 18px; }
.nk-sidebar-item { display: flex; justify-content: space-between; align-items: flex-start; padding: 3px 0; font-size: 13px; color: var(--nk-text); gap: 8px; line-height: 1.35; }
.nk-sidebar-item-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nk-sidebar-item-price { font-family: var(--nk-font-price); font-weight: 600; white-space: nowrap; color: var(--nk-text-price); font-size: 13px; }
.nk-sidebar-item-price.nk-sidebar-free { color: var(--nk-green); font-size: 12px; font-weight: 500; }
.nk-sidebar-empty { font-size: 13px; color: var(--nk-text-muted); text-align: center; padding: 20px 0; margin: 0; }
.nk-sidebar-total { margin-top: 12px; padding-top: 14px; border-top: 2px solid var(--nk-border); text-align: right; }
.nk-sidebar-price-row { font-family: var(--nk-font-price); padding: 1px 0; text-align: right; }
.nk-sidebar-price-row .nk-price-value { font-weight: 700; }
.nk-sidebar-price-row small { font-weight: 400; }
/* bez DPH — hlavní, větší */
.nk-sidebar-price-excl { font-size: 20px; color: var(--nk-text-price); }
.nk-sidebar-price-excl small { color: var(--nk-text-secondary); font-size: 14px; }
/* s DPH — menší, šedá */
.nk-sidebar-price-incl { font-size: 14px; color: var(--nk-text-secondary); margin-top: 2px; }
.nk-sidebar-price-incl small { font-size: 13px; }
/* Akční cena — přeškrtnutá původní + červená nová */
.nk-sidebar-price-original { font-size: 14px; color: var(--nk-text-muted); text-align: right; }
.nk-sidebar-price-original del { text-decoration: line-through; }
.nk-sidebar-price-excl.nk-sidebar-has-discount .nk-price-value { color: #dc2626; }
.nk-sidebar .nk-btn-add-to-cart { width: 100%; margin-top: 14px; text-align: center; background: var(--nk-accent); color: #fff; border-color: var(--nk-accent); font-size: 16px; padding: 14px 28px; border-radius: var(--nk-radius-btn); }
.nk-sidebar .nk-btn-add-to-cart:hover { background: var(--nk-accent-hover); border-color: var(--nk-accent-hover); }
.nk-sidebar-reset { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border: none; background: none; color: var(--nk-text-muted); font-family: var(--nk-font); font-size: 13px; cursor: pointer; transition: color var(--nk-transition); }
.nk-sidebar-reset:hover { color: var(--nk-danger); }

/* Share + Reset row */
.nk-sidebar-actions { display: flex; gap: 8px; margin-top: 10px; justify-content: center; }

/* Free shipping bar */
.nk-shipping-bar { margin-top: 12px; padding: 10px 14px; background: var(--nk-bg-body); border-radius: var(--nk-radius); text-align: center; font-size: 13px; color: var(--nk-text-secondary); }
.nk-shipping-icon { font-size: 15px; }
.nk-shipping-achieved { color: var(--nk-green); font-weight: 600; font-size: 14px; }
.nk-shipping-amount { color: var(--nk-accent); }
.nk-shipping-progress { height: 4px; background: var(--nk-border); border-radius: 2px; margin-top: 6px; overflow: hidden; }
.nk-shipping-progress-fill { height: 100%; background: var(--nk-green); border-radius: 2px; transition: width 0.4s ease; width: 0; }

/* Free shipping badge */
.nk-shipping-free {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 0;
    margin: 8px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--nk-green);
}
.nk-sidebar-share { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border: none; background: none; color: var(--nk-blue); font-family: var(--nk-font); font-size: 13px; font-weight: 500; cursor: pointer; transition: color var(--nk-transition); }
.nk-sidebar-share:hover { color: var(--nk-blue-hover); }

/* Share result */


/* Hide default WC availability/stock/expedition above configurator */
.nk-configurator-page .availability,
.nk-configurator-page p.stock,
.nk-configurator-page .stock:not(.nk-stock-badge),
.nk-configurator-page .woocommerce-product-details__short-description + .stock,
.nk-configurator-page .summary .stock,
.nk-configurator-page .summary .availability,
.nk-configurator-page .toret-stock-delivery,
.nk-configurator-page .delivery-info,
.nk-configurator-page .product_meta + .stock,
body.nk-configurator-page .product .summary > p.stock,
body.nk-configurator-page .product .summary > .stock,
body.nk-configurator-page .product .summary > .availability { display: none !important; }

/* ═══ PANELS ═══ */
.nk-panels { min-height: 300px; }
.nk-panel { display: none; }
.nk-panel.active { display: block; }
.nk-step-header-info { margin-bottom: 20px; }
.nk-step-description { color: var(--nk-text-secondary); margin: 0 0 10px; font-size: 14px; line-height: 1.5; }
.nk-step-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; width: 100%; position: relative; }
.nk-badge { display: inline-block; padding: 4px 14px; border-radius: var(--nk-radius-badge); font-size: 13px; font-weight: 600; }
.nk-badge-required { background: var(--nk-danger-light); color: var(--nk-danger); }
.nk-badge-optional { background: var(--nk-bg-body); color: var(--nk-text-secondary); }
.nk-badge-qty { background: var(--nk-green-light); color: var(--nk-green); }

/* ═══ PRODUCT GRID ═══ */
.nk-product-grid { display: grid; grid-template-columns: repeat(var(--nk-columns), 1fr); gap: 16px; }
.nk-configurator[data-columns="2"] .nk-product-grid { --nk-columns: 2; }
.nk-configurator[data-columns="3"] .nk-product-grid { --nk-columns: 3; }
.nk-configurator[data-columns="4"] .nk-product-grid { --nk-columns: 4; }
.nk-configurator[data-columns="5"] .nk-product-grid { --nk-columns: 5; }

/* ═══ PRODUCT CARD ═══ */
.nk-product-card { background: var(--nk-bg-card); border-radius: var(--nk-radius); border: 2px solid transparent; overflow: hidden; transition: border-color var(--nk-transition), box-shadow var(--nk-transition), transform var(--nk-transition); display: flex; flex-direction: column; text-align: center; max-width: 100%; }
.nk-product-card:hover { box-shadow: var(--nk-shadow-hover); transform: translateY(-2px); }
.nk-product-card.selected { border-color: var(--nk-green); box-shadow: 0 0 0 1px var(--nk-green-light), var(--nk-shadow-md); background: var(--nk-green-lighter); }
.nk-product-card.out-of-stock { opacity: 0.7; }
.nk-product-card.out-of-stock:hover { transform: none; }
.nk-product-card.out-of-stock .nk-card-image img { opacity: 0.4; }

/* Out-of-stock image overlay */
.nk-oos-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,.85);
    color: var(--nk-text);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid var(--nk-border);
    z-index: 2;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.nk-card-image { position: relative; padding: 16px 16px 8px; text-align: center; background: #fff; border-radius: var(--nk-radius) var(--nk-radius) 0 0; }
.nk-card-image img { width: 100%; height: auto; max-height: 170px; object-fit: contain; display: block; margin: 0 auto; transition: transform var(--nk-transition); }
.nk-product-card:hover .nk-card-image img { transform: scale(1.03); }
.nk-info-btn { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--nk-border); background: #fff; color: var(--nk-text-secondary); font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--nk-transition); line-height: 1; padding: 0; box-shadow: var(--nk-shadow); }
.nk-info-btn:hover { background: var(--nk-green); color: #fff; border-color: var(--nk-green); }
.nk-card-content { padding: 10px 14px 16px; display: flex; flex-direction: column; flex: 1; align-items: center; overflow: hidden; width: 100%; box-sizing: border-box; }
.nk-card-title { font-family: var(--nk-font-title); font-size: 15px; font-weight: 400; margin: 0 0 10px; line-height: 1.4; color: var(--nk-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 63px; }
.nk-card-price { margin-bottom: 12px; margin-top: auto; font-family: var(--nk-font-price); }
.nk-price-old del { color: var(--nk-text-muted); font-size: 14px; text-decoration: line-through; }
.nk-price-excl { font-size: 18px; font-weight: 700; color: var(--nk-text-price); line-height: 1.2; }
.nk-price-excl small { font-weight: 600; font-size: 14px; }
.nk-price-incl { font-size: 14px; font-weight: 400; color: var(--nk-text-secondary); margin-top: 2px; }
.nk-price-incl small { font-size: 13px; }
.nk-price-sale { color: #dc2626 !important; }
.nk-card-actions { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.nk-card-stock { margin-top: 10px; }
.nk-stock-badge { display: inline-block; font-family: "Titillium Web", var(--nk-font); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 4px; line-height: 1.3; border: none; }
.nk-stock-in { color: #16a34a; background: #dcfce7; }
.nk-stock-mid { color: #16a34a; background: #dcfce7; }
.nk-stock-high { color: #16a34a; background: #dcfce7; }
.nk-stock-low { color: rgb(180, 83, 9); background: rgb(254, 243, 199); }
.nk-stock-out { color: rgb(180, 83, 9); background: rgb(254, 243, 199); }
.nk-stock-backorder { color: rgb(180, 83, 9); background: rgb(254, 243, 199); }

/* Out-of-stock image overlay */
.nk-product-card.nk-card-outofstock .nk-card-image { position: relative; }
.nk-product-card.nk-card-outofstock .nk-card-image::after {
    content: 'Aktuálně nedostupné';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,.88);
    color: var(--nk-text);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid var(--nk-border);
    white-space: nowrap;
    z-index: 2;
    pointer-events: none;
}
.nk-product-card.nk-card-outofstock .nk-card-image img { opacity: 0.5; }

/* Product card attribute pills */
.nk-card-pills { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--nk-border); }
.nk-card-pill { font-size: 12px; font-weight: 500; color: var(--nk-text); background: #fff; padding: 3px 10px; border-radius: 20px; border: 1px solid var(--nk-border); line-height: 1.3; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; cursor: default; }

/* Recording days calculator pills */
.nk-recording-pills {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--nk-border);
    width: 100%;
    text-align: center;
}
.nk-rec-header {
    font-size: 11px;
    font-weight: 600;
    color: var(--nk-text, #2d3748);
    margin-bottom: 6px;
    line-height: 1.3;
}
.nk-rec-row {
    font-size: 12px;
    line-height: 1.6;
    color: var(--nk-text-secondary);
}
.nk-rec-label {
    font-weight: 600;
    color: var(--nk-text);
    font-size: 11px;
}
.nk-rec-value {
    font-weight: 700;
    color: var(--nk-green);
}
.nk-rec-mode {
    font-size: 10px;
    color: var(--nk-text-muted);
    font-style: italic;
}

/* UPS backup calculator pills */
.nk-ups-pills {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--nk-border);
    width: 100%;
    text-align: center;
}
.nk-ups-header {
    font-size: 11px;
    font-weight: 600;
    color: var(--nk-accent, #f4a51c);
    margin-bottom: 4px;
    line-height: 1.3;
}
.nk-ups-row {
    font-size: 12px;
    line-height: 1.6;
    color: var(--nk-text-secondary);
}
.nk-ups-label {
    font-weight: 600;
    color: var(--nk-text);
    font-size: 11px;
}
.nk-ups-value {
    font-weight: 700;
    color: var(--nk-blue);
}
.nk-ups-devices {
    font-size: 10px;
    color: var(--nk-text-muted);
    font-style: italic;
    margin-top: 2px;
}
.nk-product-card.nk-recommended { border-color: #8B5CF6; position: relative; }
.nk-product-card.nk-recommended:not(.selected) { box-shadow: 0 0 0 1px #ede9fe, var(--nk-shadow); }
.nk-recommended-badge { position: absolute; top: 10px; left: 10px; background: #8B5CF6; color: #fff; font-family: var(--nk-font); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: var(--nk-radius-badge); z-index: 2; }
.nk-product-card.nk-dimmed { opacity: 0.55; }
.nk-product-card.nk-dimmed:hover { opacity: 0.8; }
.nk-product-card.nk-dimmed.selected { opacity: 1; }

/* ═══ DECISION CARDS ═══ */
.nk-decision-grid { display: flex; gap: 16px; width: 100%; grid-column: 1 / -1; }
.nk-decision-card { flex: 1 1 0%; min-width: 0; background: var(--nk-bg-card); border: 2px solid transparent; border-radius: var(--nk-radius); overflow: hidden; text-align: center; padding: 28px 24px; cursor: pointer; transition: all var(--nk-transition); display: flex; flex-direction: column; align-items: center; }
.nk-decision-card:hover { border-color: var(--nk-green); box-shadow: var(--nk-shadow-hover); transform: translateY(-2px); }
.nk-decision-card.active { border-color: var(--nk-green); background: var(--nk-green-lighter); box-shadow: 0 0 0 1px var(--nk-green-light), var(--nk-shadow-md); }

/* Decision compact bar (after choice is made) */
.nk-decision-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--nk-green-lighter);
    border: 2px solid var(--nk-green);
    border-radius: var(--nk-radius);
    width: 100%;
    box-sizing: border-box;
}
.nk-decision-bar-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--nk-green);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}
.nk-decision-bar-title {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: var(--nk-text);
}
.nk-decision-change {
    background: var(--nk-blue) !important;
    color: #fff !important;
    border-color: var(--nk-blue) !important;
    padding: 8px 20px !important;
    font-size: 14px !important;
    border-radius: var(--nk-radius-btn) !important;
    cursor: pointer;
    white-space: nowrap;
}

/* Decision edit icon in sub-step tab */
.nk-tab-decision-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    margin-left: 2px;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.nk-tab-decision-edit:hover { opacity: 1; }
.nk-decision-image { margin-bottom: 16px; }
.nk-decision-image img { max-width: 100%; max-height: 140px; object-fit: contain; }
.nk-decision-content { flex: 1; display: flex; flex-direction: column; align-items: center; }
.nk-decision-title { font-family: var(--nk-font-title); font-size: 17px; font-weight: 700; color: var(--nk-text); margin: 0 0 8px; }
.nk-decision-desc { font-size: 14px; color: var(--nk-text-secondary); margin: 0 0 16px; line-height: 1.5; }
.nk-btn-selected { background: var(--nk-green-light); color: var(--nk-green); border-color: var(--nk-green); cursor: default; }

/* ═══ BUTTONS ═══ */
.nk-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 2px solid var(--nk-border); border-radius: var(--nk-radius-btn); background: var(--nk-bg); color: var(--nk-text); font-family: var(--nk-font); font-size: 15px; font-weight: 600; cursor: pointer; transition: all var(--nk-transition); text-decoration: none; line-height: 1.2; gap: 6px; }
.nk-btn:hover { border-color: var(--nk-green); color: var(--nk-green); }
.nk-btn-primary { background: var(--nk-green); color: #fff; border-color: var(--nk-green); }
.nk-btn-primary:hover { background: var(--nk-green-hover); border-color: var(--nk-green-hover); color: #fff; }
.nk-btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }
.nk-btn-add { width: 100%; height: 44px; background: transparent; color: var(--nk-blue); border: 2px solid var(--nk-blue); border-radius: 8px; padding: 0; }
.nk-btn-add:hover { background: var(--nk-blue); color: #fff; }
.nk-btn-prev { background: var(--nk-bg); color: var(--nk-text-secondary); border-color: var(--nk-border); }
.nk-btn-prev:hover { border-color: var(--nk-text-secondary); color: var(--nk-text); }
.nk-btn-prev:disabled { opacity: 0.3; cursor: not-allowed; }
.nk-btn-disabled { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; background: var(--nk-bg-body); color: var(--nk-text-muted); border: 2px solid var(--nk-bg-body); border-radius: var(--nk-radius-btn); font-family: var(--nk-font); font-size: 14px; font-weight: 600; width: 100%; cursor: not-allowed; }
.nk-btn-add-to-cart { background: var(--nk-accent); color: #fff; border-color: var(--nk-accent); font-size: 16px; padding: 14px 28px; }
.nk-btn-add-to-cart:hover { background: var(--nk-accent-hover); border-color: var(--nk-accent-hover); color: #fff; }
.nk-btn-add-to-cart.nk-btn-disabled-soft { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* ═══ QTY CONTROL — must override BeTheme global input/button styles ═══ */
.nk-qty-control { display: flex !important; align-items: center !important; border: 1px solid #EDF0F2 !important; border-radius: 8px !important; overflow: hidden !important; background: #fff !important; width: 100% !important; height: 44px !important; margin: 0 !important; padding: 0 !important; }
.nk-configurator .nk-product-card .nk-qty-btn,
.nk-qty-btn { display: flex !important; width: 44px !important; min-width: 44px !important; height: 44px !important; border: none !important; border-width: 0 !important; background: #EDF0F2 !important; color: #667085 !important; font-size: 16px !important; font-weight: 700 !important; cursor: pointer !important; align-items: center !important; justify-content: center !important; transition: background 0.2s ease, color 0.2s ease !important; padding: 0 !important; margin: 0 !important; line-height: 1 !important; border-radius: 0 !important; flex-shrink: 0 !important; -webkit-appearance: none !important; appearance: none !important; box-shadow: none !important; outline: none !important; text-indent: 0 !important; }
.nk-qty-btn:hover { background: #d4d8dc !important; color: #30374f !important; }
.nk-configurator .nk-product-card .nk-qty-input,
.nk-qty-input { flex: 1 !important; height: 44px !important; border: none !important; border-width: 0 !important; border-radius: 0 !important; text-align: center !important; font-size: 16px !important; font-weight: 700 !important; color: #667085 !important; -moz-appearance: textfield !important; -webkit-appearance: none !important; appearance: none !important; padding: 0 !important; margin: 0 !important; background: transparent !important; box-shadow: none !important; width: auto !important; max-width: none !important; min-width: 0 !important; display: block !important; margin-bottom: 0 !important; border-style: none !important; outline: none !important; }
.nk-qty-input::-webkit-inner-spin-button, .nk-qty-input::-webkit-outer-spin-button { -webkit-appearance: none !important; margin: 0 !important; display: none !important; }

/* ═══ LOADING ═══ */
.nk-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 60px; color: var(--nk-text-secondary); font-size: 14px; grid-column: 1 / -1; }
.nk-spinner { display: inline-block; width: 24px; height: 24px; border: 3px solid var(--nk-border); border-top-color: var(--nk-green); border-radius: 50%; animation: nk-spin 0.6s linear infinite; }
@keyframes nk-spin { to { transform: rotate(360deg); } }
.nk-no-products { grid-column: 1 / -1; text-align: center; padding: 60px; color: var(--nk-text-secondary); }

/* ═══ MODAL ═══ */
.nk-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.45); z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.nk-modal { background: var(--nk-bg); border-radius: var(--nk-radius); max-width: 700px; width: 100%; max-height: 85vh; overflow-y: auto; position: relative; box-shadow: var(--nk-shadow-md); }
.nk-modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: none; background: var(--nk-bg-body); border-radius: 50%; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 1; color: var(--nk-text-secondary); transition: all var(--nk-transition); padding: 0; line-height: 1; }
.nk-modal-close:hover { background: var(--nk-danger-light); color: var(--nk-danger); }
.nk-modal-body { padding: 28px; }
.nk-modal-image { text-align: center; margin-bottom: 20px; }
.nk-modal-image img { max-width: 100%; max-height: 300px; object-fit: contain; }
.nk-modal-info h2 { font-size: 18px; margin: 0 0 14px; color: var(--nk-text); }
.nk-modal-desc { font-size: 14px; color: var(--nk-text-secondary); margin-bottom: 18px; line-height: 1.6; }
.nk-modal-attrs { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: 13px; }
.nk-modal-attrs th, .nk-modal-attrs td { padding: 8px 12px; border-bottom: 1px solid var(--nk-border); text-align: left; }
.nk-modal-attrs th { width: 40%; color: var(--nk-text-secondary); font-weight: 500; }

/* ═══ MOBILE ═══ */
.nk-mobile-footer { display: none; }
.nk-cart-parent td { font-weight: 700; background: var(--nk-bg-body); }
.nk-cart-child td { padding-left: 32px !important; font-size: 13px; }
.nk-cart-child-label { color: var(--nk-text-secondary); font-size: 11px; display: block; }
.nk-child-qty { font-weight: 600; font-size: 14px; }
.nk-order-child td { padding-left: 32px !important; }
.nk-order-step-label { color: var(--nk-text-secondary); font-size: 11px; display: block; }
.nk-price-range .nk-price-from { font-size: 0.85em; font-weight: 400; color: var(--nk-text-secondary); line-height: 1.2; }

/* ═══ SELECTED TOGGLE (single-select) ═══ */
.nk-btn-selected-toggle {
    width: 100% !important;
    height: 44px !important;
    background: var(--nk-green) !important;
    color: #fff !important;
    border: 2px solid var(--nk-green) !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}
.nk-btn-selected-toggle .nk-selected-label { display: inline; }
.nk-btn-selected-toggle .nk-remove-label { display: none; }
.nk-btn-selected-toggle:hover {
    background: var(--nk-danger) !important;
    border-color: var(--nk-danger) !important;
    color: #fff !important;
}
.nk-btn-selected-toggle:hover .nk-selected-label { display: none; }
.nk-btn-selected-toggle:hover .nk-remove-label { display: inline; }

/* ═══ HIDE STOCK-EXPEDITION CARD on configurator page ═══ */
.nk-configurator-page .stock-expedition-card,
.nk-configurator-page .woocommerce-stock-expedition,
.nk-configurator-page .product .summary .stock-expedition,
body.nk-configurator-page .stock-expedition-card,
body.nk-configurator-page .entry-summary .stock-expedition-card,
body.nk-configurator-page div[class*="stock-expedition"],
body.nk-configurator-page div[class*="expedition-card"] { display: none !important; }

/* ═══ COOKIE REOPEN OVERLAP FIX ═══ */
.nk-configurator-page .mfn-cookies-reopen,
body.nk-configurator-page .mfn-cookies-reopen,
body.nk-configurator-page [class*="cookies-reopen"],
body.nk-configurator-page [class*="cookie-reopen"],
body.nk-configurator-page .fixed-nav-prevnext {
    z-index: 5 !important;
    position: relative !important;
}

/* ═══ Z-INDEX HIERARCHY (based on console audit) ═══
 * Header (.mfn-header-tmpl)  : fixed,    z-index: 3  (BeTheme default — DO NOT TOUCH)
 * #Content                   : relative, z-index: 0  → raise to 2 (above footer, below header)
 * footer                     : relative, z-index: 1  (BeTheme default — keep)
 *
 * Inside #Content the sidebar (sticky, z-index:50) now participates
 * in #Content's stacking context which is above footer → sidebar stays visible.
 * Header z-index:3 > #Content z-index:2 → mega menu stays on top.
 * ════════════════════════════════════════════════════ */
body.nk-configurator-page #Content {
    z-index: 2 !important;
}
/* Fix html overflow:hidden breaking sticky in some browsers */
html.js body.nk-configurator-page {
    overflow-x: clip !important;
}

/* ═══ STEP TRANSITION ANIMATIONS ═══ */
.nk-panel { display: none; opacity: 0; transform: translateX(12px); }
.nk-panel.active { display: block; animation: nk-fadeSlideIn 0.3s ease forwards; }
@keyframes nk-fadeSlideIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }

/* ═══ VALIDATION MESSAGES (inline with badges) ═══ */
.nk-step-validation { font-size: 14px; display: inline-flex; align-items: center; }
.nk-step-validation:empty { display: none; }
.nk-step-validation .nk-validation-msg { padding: 4px 10px; border-radius: 6px; display: inline-flex; align-items: center; gap: 4px; font-weight: 500; }
.nk-validation-msg.nk-val-error { background: var(--nk-danger-light); color: var(--nk-danger); }
.nk-validation-msg.nk-val-success { background: var(--nk-green-light); color: var(--nk-green); }
.nk-validation-msg.nk-val-info { background: var(--nk-blue-light); color: var(--nk-blue); }

/* Help icon — pushed to far right, bigger */
.nk-step-help-spacer { flex: 1; }
.nk-step-help { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--nk-blue); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; position: relative; flex-shrink: 0; }
.nk-step-help:hover { background: var(--nk-blue-hover); }

/* ═══ HELP MODAL — desktop: centered, mobile: bottom drawer ═══ */
.nk-step-help-popover { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,.45); z-index: 999999; align-items: center; justify-content: center; padding: 24px; box-sizing: border-box; }
.nk-step-help-popover.open { display: flex; }
.nk-help-popover-content { background: #fff; border-radius: 14px; max-width: min(90vw, 800px); width: 100%; max-height: 85vh; display: flex; flex-direction: column; position: relative; box-shadow: 0 16px 48px rgba(0,0,0,.18); overflow: hidden; }
.nk-help-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--nk-border); flex-shrink: 0; }
.nk-help-title { font-size: 17px; font-weight: 700; color: var(--nk-text); }
.nk-help-close { font-size: 18px; color: var(--nk-text-muted); cursor: pointer; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: none; background: var(--nk-bg-body); transition: all 0.2s; padding: 0; line-height: 1; flex-shrink: 0; }
.nk-help-close:hover { background: var(--nk-border); color: var(--nk-text); }
.nk-help-body { padding: 20px 24px 24px; overflow-y: auto; font-size: 15px; line-height: 1.7; color: var(--nk-text); flex: 1; min-height: 0; }
.nk-help-body strong { font-weight: 700; }
.nk-help-body a { color: var(--nk-blue); text-decoration: underline; }
.nk-help-body ul, .nk-help-body ol { margin: 12px 0; padding-left: 24px; }
.nk-help-body li { margin: 6px 0; }
.nk-help-body h1, .nk-help-body h2, .nk-help-body h3 { margin: 18px 0 8px; color: var(--nk-text); }
.nk-help-body h1 { font-size: 22px; }
.nk-help-body h2 { font-size: 18px; }
.nk-help-body h3 { font-size: 16px; }
.nk-help-body p { margin: 8px 0; }
.nk-help-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 12px 0; }
.nk-help-body table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.nk-help-body th, .nk-help-body td { padding: 8px 12px; border: 1px solid var(--nk-border); text-align: left; }
.nk-help-body th { background: var(--nk-bg-body); font-weight: 600; }

/* Responsive video wrapper */
.nk-help-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin: 16px 0; border-radius: 8px; }
.nk-help-video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; border-radius: 8px; }
.nk-help-body video { max-width: 100%; height: auto; border-radius: 8px; margin: 12px 0; }

/* ═══ SIDEBAR QTY BADGE ═══ */
.nk-sidebar-qty-badge { display: inline-flex; align-items: center; justify-content: center; background: var(--nk-green); color: #fff; font-size: 11px; font-weight: 700; min-width: 22px; height: 18px; border-radius: 9px; padding: 0 5px; margin-right: 4px; flex-shrink: 0; vertical-align: middle; }

/* ═══ MOBILE EXPANDABLE SUMMARY ═══ */
.nk-mobile-summary-panel { display: none; }
.nk-mobile-expand-hint { display: none; }
.nk-mobile-price-toggle { cursor: pointer; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1200px) { .nk-sidebar { width: 280px; } .nk-sidebar-inner { padding: 20px; } }
@media (max-width: 1024px) { .nk-product-grid { --nk-columns: 3 !important; } .nk-sidebar { width: 260px; } .nk-layout { gap: 20px; } }

@media (max-width: 768px) {
    .nk-product-grid { --nk-columns: 2 !important; gap: 10px; }
    .nk-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 0; padding: 12px 0 4px; }
    .nk-tabs::-webkit-scrollbar { display: none; }
    .nk-tabs-wrapper { margin-bottom: 16px; padding: 4px; border-radius: var(--nk-radius-sm); }
    .nk-tabs-arrow { display: flex; align-items: center; justify-content: center; width: 28px; flex-shrink: 0; border: none; background: transparent; color: var(--nk-text-secondary); font-size: 20px; font-weight: 300; cursor: pointer; padding: 0; }
    .nk-tabs-arrow:hover { color: var(--nk-text); }
    .nk-tabs-arrow.nk-arrow-hidden { opacity: 0.2; cursor: default; }
    .nk-tab { padding: 8px 12px 6px; min-width: 64px; }
    .nk-tab-icon { width: 28px; height: 28px; }
    .nk-tab-icon svg { width: 22px; height: 22px; }
    .nk-tab-icon .nk-tab-number { width: 24px; height: 24px; font-size: 11px; }
    .nk-tab-title { font-size: 11px; }
    .nk-tab-status { font-size: 10px; }
    .nk-sidebar { display: none; }
    .nk-nav-bar { display: none; }
    .nk-layout { flex-direction: column; }
    .nk-mobile-footer { display: block; position: fixed; bottom: 0; left: 0; right: 0; background: var(--nk-bg); border-top: 1px solid var(--nk-border); box-shadow: 0 -4px 16px rgba(0,0,0,.08); z-index: 9999; }
    .nk-mobile-progress { height: 3px; background: var(--nk-border); }
    .nk-mobile-progress-bar { height: 100%; background: var(--nk-green); transition: width 0.3s ease; width: 0; }
    .nk-mobile-footer-content { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; padding-bottom: max(10px, env(safe-area-inset-bottom)); gap: 12px; }
    /* Mobile price block */
    .nk-mobile-price-block { flex: 1; min-width: 0; text-align: left; }
    .nk-mobile-price-original { font-size: 12px; color: var(--nk-text-muted); }
    .nk-mobile-price-original del { text-decoration: line-through; }
    .nk-mobile-price-excl { font-size: 16px; font-weight: 700; color: var(--nk-text-price); }
    .nk-mobile-price-excl small { font-size: 12px; font-weight: 400; color: var(--nk-text-secondary); }
    .nk-mobile-price-excl.nk-mobile-has-discount .nk-price-value { color: #dc2626; }
    .nk-mobile-price-incl { font-size: 13px; color: var(--nk-text-secondary); }
    .nk-mobile-price-incl small { font-size: 12px; }
    /* Mobile actions */
    .nk-mobile-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
    .nk-mobile-next { font-size: 13px; padding: 10px 16px; white-space: nowrap; }
    .nk-mobile-next[data-action="add-to-cart"] { background: var(--nk-accent); border-color: var(--nk-accent); }
    .nk-mobile-next[data-action="add-to-cart"]:hover { background: var(--nk-accent-hover); border-color: var(--nk-accent-hover); }
    .nk-mobile-sub-actions { display: flex; flex-direction: column; gap: 2px; }
    .nk-mobile-sub-actions button { font-size: 14px; padding: 2px 6px; min-width: 28px; min-height: 20px; background: none; border: none; cursor: pointer; color: var(--nk-text-muted); line-height: 1; }
    /* Mini ATC — compact cart button shown when required steps are met */
    .nk-mobile-atc-mini { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; min-width: 42px; padding: 0; border-radius: var(--nk-radius); background: var(--nk-accent); border: 1px solid var(--nk-accent); color: #fff; cursor: pointer; transition: all var(--nk-transition); flex-shrink: 0; }
    .nk-mobile-atc-mini:hover { background: var(--nk-accent-hover); border-color: var(--nk-accent-hover); }
    .nk-mobile-atc-mini:disabled { opacity: 0.4; pointer-events: none; }
    .nk-mobile-atc-mini svg { display: block; }
    .nk-configurator { margin-bottom: 100px; }
    .nk-card-image { padding: 10px 10px 4px; }
    .nk-card-image img { max-height: 120px; }
    .nk-card-content { padding: 8px 10px 12px; }
    .nk-card-title { font-size: 14px; min-height: 40px; -webkit-line-clamp: 2; }
    .nk-card-pills { gap: 3px; margin-top: 6px; }
    .nk-card-pill { font-size: 11px; padding: 2px 8px; }
    .nk-price-excl { font-size: 16px; }
    .nk-price-incl { font-size: 12px; }
    .nk-btn { padding: 10px 14px; font-size: 13px; }
    .nk-qty-control { height: 40px !important; }
    .nk-qty-btn { width: 40px !important; min-width: 40px !important; height: 40px !important; font-size: 15px !important; }
    .nk-qty-input { height: 40px !important; font-size: 15px !important; }
    .nk-btn-add { height: 40px; }
    .nk-modal-overlay { padding: 10px; }
    .nk-modal { max-height: 90vh; border-radius: var(--nk-radius-sm); }
    .nk-decision-grid { gap: 10px; }
    /* Mobile expand hint */
    .nk-mobile-expand-hint { display: inline-block; font-size: 10px; color: var(--nk-text-muted); margin-top: 2px; }
    /* Mobile expandable summary panel */
    .nk-mobile-summary-panel { background: var(--nk-bg); border-top: 1px solid var(--nk-border); max-height: 50vh; overflow-y: auto; padding: 16px; }
    .nk-mobile-summary-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 15px; }
    .nk-mobile-summary-close { border: none; background: none; font-size: 18px; color: var(--nk-text-muted); cursor: pointer; padding: 4px; }
    .nk-mobile-summary-content { font-size: 13px; }
    .nk-mobile-summary-content .nk-sidebar-step { margin-bottom: 10px; }
    .nk-mobile-summary-content .nk-sidebar-step-title { font-size: 12px; font-weight: 600; color: var(--nk-text-secondary); text-transform: uppercase; margin-bottom: 4px; }
    .nk-mobile-summary-content .nk-sidebar-item { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; }
    .nk-mobile-summary-content .nk-sidebar-item-price { font-weight: 600; white-space: nowrap; }

    /* Help modal → bottom drawer on mobile */
    .nk-step-help-popover { align-items: flex-end; padding: 0; }
    .nk-help-popover-content { max-width: 100%; max-height: 85vh; border-radius: 16px 16px 0 0; }
    .nk-help-header { padding: 14px 16px; }
    .nk-help-title { font-size: 15px; }
    .nk-help-body { padding: 14px 16px 20px; font-size: 14px; line-height: 1.6; }
    .nk-help-body h1 { font-size: 19px; }
    .nk-help-body h2 { font-size: 16px; }
    .nk-help-body h3 { font-size: 15px; }
    .nk-help-body table { font-size: 12px; }
    .nk-help-body th, .nk-help-body td { padding: 6px 8px; }

    /* Decision compact bar — mobile */
    .nk-decision-bar { padding: 10px 14px; gap: 10px; }
    .nk-decision-bar-check { width: 26px; height: 26px; font-size: 13px; }
    .nk-decision-bar-title { font-size: 14px; }
    .nk-decision-change { padding: 6px 14px !important; font-size: 13px !important; }

    /* Recording pills — mobile */
    .nk-recording-pills { margin-top: 8px; padding-top: 8px; }
    .nk-rec-header { font-size: 10px; }
    .nk-rec-row { font-size: 11px; }
    .nk-rec-label { font-size: 10px; }

    /* UPS pills — mobile */
    .nk-ups-pills { margin-top: 8px; padding-top: 8px; }
    .nk-ups-header { font-size: 10px; }
    .nk-ups-row { font-size: 11px; }
    .nk-ups-label { font-size: 10px; }
    .nk-ups-devices { font-size: 9px; }

    /* Step meta & title — mobile */
    .nk-step-title { font-size: 18px; }
    .nk-step-help { width: 24px; height: 24px; font-size: 12px; }

    /* Decision card — mobile stacked */
    .nk-decision-grid { flex-direction: column; }
    .nk-decision-card { padding: 20px 16px; }
    .nk-decision-title { font-size: 16px; }
    .nk-decision-desc { font-size: 13px; }
    .nk-decision-image img { max-height: 140px; }
}

@media (max-width: 480px) {
    .nk-product-grid { --nk-columns: 2 !important; }
    .nk-tab-icon .nk-tab-number { width: 22px; height: 22px; font-size: 10px; }
    .nk-tab { min-width: 56px; padding: 6px 8px 4px; }
    .nk-step-title { font-size: 16px; }
    .nk-card-title { font-size: 13px; min-height: 36px; }
    .nk-price-excl { font-size: 15px; }
    .nk-rec-row { font-size: 10px; line-height: 1.5; }
    .nk-rec-header { font-size: 9px; }
    .nk-decision-bar-title { font-size: 13px; }
    .nk-help-body { font-size: 13px; }
}
/* ═══ ONBOARDING MODAL ═══ */
.nk-onboarding-overlay { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,.5); z-index: 999999; align-items: center; justify-content: center; padding: 24px; box-sizing: border-box; }
.nk-onboarding-overlay.open { display: flex; }
.nk-onboarding-modal { background: #fff; border-radius: 16px; max-width: min(90vw, 800px); width: 100%; max-height: 85vh; display: flex; flex-direction: column; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.2); overflow: hidden; }
.nk-onboarding-close { position: absolute; top: 14px; right: 14px; font-size: 18px; color: var(--nk-text-muted); cursor: pointer; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: none; background: var(--nk-bg-body); transition: all 0.2s; padding: 0; z-index: 2; }
.nk-onboarding-close:hover { background: var(--nk-border); color: var(--nk-text); }

/* Slides */
.nk-onboarding-slides { flex: 1; min-height: 0; overflow: hidden; }
.nk-onboarding-slide { display: none; padding: 32px 36px 16px; overflow-y: auto; max-height: calc(85vh - 140px); }
.nk-onboarding-slide.active { display: block; }
.nk-onboarding-title { font-size: 22px; font-weight: 700; color: var(--nk-text); margin: 0 0 16px; line-height: 1.3; }
.nk-onboarding-body { font-size: 15px; line-height: 1.7; color: var(--nk-text); }
.nk-onboarding-body strong { font-weight: 700; }
.nk-onboarding-body a { color: var(--nk-blue); text-decoration: underline; }
.nk-onboarding-body ul, .nk-onboarding-body ol { margin: 12px 0; padding-left: 24px; }
.nk-onboarding-body li { margin: 6px 0; }
.nk-onboarding-body p { margin: 10px 0; }
.nk-onboarding-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 12px 0; }
.nk-onboarding-body .nk-help-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin: 16px 0; border-radius: 8px; }
.nk-onboarding-body .nk-help-video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; border-radius: 8px; }
.nk-onboarding-body h1, .nk-onboarding-body h2, .nk-onboarding-body h3 { margin: 16px 0 8px; }
.nk-onboarding-body h1 { font-size: 20px; }
.nk-onboarding-body h2 { font-size: 17px; }
.nk-onboarding-body h3 { font-size: 15px; }

/* Dots */
.nk-onboarding-dots { display: flex; justify-content: center; gap: 8px; padding: 8px 0; }
.nk-onboarding-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--nk-border); cursor: pointer; transition: all 0.2s; }
.nk-onboarding-dot.active { background: var(--nk-blue); transform: scale(1.2); }
.nk-onboarding-dot:hover { background: var(--nk-blue-hover); }

/* Footer */
.nk-onboarding-footer { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px 20px; border-top: 1px solid var(--nk-border); flex-shrink: 0; gap: 16px; }
.nk-onboarding-dismiss-label { font-size: 13px; color: var(--nk-text-muted); cursor: pointer; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.nk-onboarding-dismiss-cb { width: 16px; height: 16px; cursor: pointer; }
.nk-onboarding-actions { display: flex; gap: 8px; flex-shrink: 0; }
.nk-onboarding-prev { background: var(--nk-bg-body) !important; color: var(--nk-text) !important; border: 1px solid var(--nk-border) !important; }
.nk-onboarding-start, .nk-onboarding-next { background: var(--nk-green) !important; color: #fff !important; border-color: var(--nk-green) !important; }
.nk-onboarding-start:hover, .nk-onboarding-next:hover { background: var(--nk-green-hover) !important; }

/* Sidebar help button */
.nk-sidebar-onboarding { font-size: 13px; color: var(--nk-blue); cursor: pointer; background: none; border: none; padding: 4px 8px; }
.nk-sidebar-onboarding:hover { text-decoration: underline; }

/* Mobile onboarding */
@media (max-width: 768px) {
    .nk-onboarding-overlay { align-items: center; padding: 16px; }
    .nk-onboarding-modal { max-width: 100%; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); border-radius: 16px; }
    .nk-onboarding-slide { padding: 24px 20px 12px; max-height: calc(100dvh - 200px); }
    .nk-onboarding-title { font-size: 19px; }
    .nk-onboarding-body { font-size: 14px; }
    .nk-onboarding-footer { padding: 12px 16px; padding-bottom: max(16px, env(safe-area-inset-bottom)); flex-wrap: wrap; }
    .nk-onboarding-dismiss-label { font-size: 12px; }
}

/* ═══ TOAST NOTIFICATIONS ═══ */
.nk-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: #1a1a1a; color: #fff; padding: 12px 24px; border-radius: 10px; font-family: var(--nk-font); font-size: 14px; font-weight: 500; z-index: 999999; opacity: 0; transition: opacity 0.3s, transform 0.3s; pointer-events: none; max-width: 90vw; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.nk-toast-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.nk-toast-error { background: #dc2626; }
.nk-toast-info { background: #2563eb; }
@media (max-width: 768px) {
    .nk-toast { bottom: 80px; font-size: 13px; padding: 10px 20px; }
}

@media print { .nk-mobile-footer, .nk-modal-overlay, .nk-btn-add, .nk-qty-control, .nk-info-btn, .nk-sidebar .nk-btn-add-to-cart, .nk-sidebar-reset, .nk-onboarding-overlay { display: none !important; } }
