/* ==========================================================================
   NEXTZHOP MASTER DRAWER ENGINE (CAPA 5 - CHASIS VISUAL)
   Matriz Reactiva Canónica: theme-light | theme-dark | theme-midnight
   Arquitectura: Zero-Air Templates / Asset Inmutable Centralizado
   ========================================================================== */

/* 1. OVERLAY BACKDROP & CONTENEDOR MAESTRO */
.nz-drawer-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999990;
    display: flex;
    justify-content: flex-end;
    opacity: 1;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nz-drawer-overlay.nz-hidden,
.nz-drawer-back-btn.nz-hidden {
    display: none !important;
}

.nz-drawer {
    width: 100%;
    max-width: 440px;
    height: 100vh;
    height: 100dvh;
    background-color: var(--hub-bg-app, #111111) !important;
    color: var(--hub-text-main, #ffffff) !important;
    border-left: 1px solid var(--hub-border, rgba(255, 255, 255, 0.1)) !important;
    border-top: 2px solid var(--hub-accent, #1DB954) !important;
    display: flex;
    flex-direction: column;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.45);
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}
.nz-drawer[data-size="small"]  { max-width: 360px; }
.nz-drawer[data-size="medium"] { max-width: 460px; }
.nz-drawer[data-size="large"]  { max-width: 680px; }

@media (max-width: 640px) {
    .nz-drawer,
    .nz-drawer[data-size="small"],
    .nz-drawer[data-size="medium"],
    .nz-drawer[data-size="large"] {
        max-width: 100% !important;
    }
}

/* 2. HEADER TRANSLÚCIDO Y CONTROLES */
.nz-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: calc(16px + env(safe-area-inset-top)) !important;
    padding-right: 20px;
    padding-bottom: 16px;
    padding-left: 20px;
    border-bottom: 1px solid var(--hub-border, rgba(255, 255, 255, 0.08)) !important;
    background: var(--hub-bg-app, #111111) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-shrink: 0;
    min-height: calc(58px + env(safe-area-inset-top)) !important;
    box-sizing: border-box;
}
.nz-drawer-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}
.nz-drawer-accent-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--hub-accent, #1DB954);
    box-shadow: 0 0 10px var(--hub-accent, rgba(29, 185, 84, 0.4));
    flex-shrink: 0;
    display: inline-block;
    animation: nzIndicatorPulse 2.4s infinite ease-in-out;
}
@keyframes nzIndicatorPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.45; transform: scale(0.85); }
}
.nz-drawer-title {
    font-family: var(--hub-font, system-ui, sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--hub-text-main, #ffffff) !important;
}
.nz-drawer-back-btn,
.nz-drawer-close-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--hub-text-muted, #808080);
    font-family: var(--hub-font-mono, monospace);
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: var(--hub-radius-btn, 2px);
    transition: all 0.2s ease;
}
.nz-drawer-back-btn {
    background: var(--hub-bg-card, #1a1a1a);
    border-color: var(--hub-border, #262626);
}
.nz-drawer-close-btn {
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.nz-drawer-back-btn:hover,
.nz-drawer-close-btn:hover {
    color: var(--hub-text-main, #ffffff);
    border-color: var(--hub-border-hover, #ffffff);
}

/* 3. CUERPO E INDICADORES DE CARGA */
.nz-drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    position: relative;
    background-color: var(--hub-bg-app, #111111);
}
.nz-drawer-skeleton {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 200px;
    gap: 12px;
}
.nz-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid var(--hub-border, rgba(255, 255, 255, 0.1));
    border-top-color: var(--hub-accent, #1DB954);
    border-radius: 50%;
    animation: nz-spin 0.8s linear infinite;
}
@keyframes nz-spin {
    to { transform: rotate(360deg); }
}

/* 4. BOTONES PRIMARIOS Y CONTROLES DE MUTACIÓN */
.nz-pos-btn-submit,
.nz-order-btn-action,
.nz-pform-submit {
    background: var(--hub-accent, #1DB954) !important;
    color: var(--hub-text-inverse, #000000) !important;
}
.nz-drawer button:disabled,
.nz-pos-btn-submit:disabled,
.nz-order-btn-action:disabled,
.nz-pform-submit:disabled {
    background: var(--hub-border, #262626) !important;
    color: var(--hub-text-muted, #808080) !important;
    border-color: var(--hub-border, #262626) !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}

/* 5. VISTA: POS CHECKOUT */
.nz-pos-view-canvas {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: transparent;
    overflow: hidden;
}
.nz-pos-search-wrapper {
    padding: 16px 20px 12px 20px;
    background: var(--hub-bg-card, #1a1a1a);
    border-bottom: 1px solid var(--hub-border, #262626);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.nz-pos-section-label {
    font-family: var(--hub-font);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hub-text-muted, #808080);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nz-pos-section-label .nz-idx-mono {
    font-family: var(--hub-font-mono, monospace);
    font-size: 9px;
    opacity: 0.6;
}
.nz-pos-search-input {
    width: 100%;
    box-sizing: border-box;
    background: var(--hub-bg-app, #111111);
    border: 1px solid var(--hub-border, #262626);
    border-radius: var(--hub-radius-card, 2px);
    color: var(--hub-text-main, #ffffff);
    padding: 10px 14px;
    font-family: var(--hub-font-mono, monospace);
    font-size: 11px;
    outline: none;
    transition: border-color 0.2s ease;
}
.nz-pos-search-input:focus {
    border-color: var(--hub-accent, #1DB954);
    box-shadow: 0 0 0 1px var(--hub-accent-soft, rgba(29, 185, 84, 0.2));
}
.nz-pos-catalog-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 12px 20px 0 20px;
}
.nz-pos-product-stream {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 12px;
}
#nz-pos-product-list > div {
    padding: 10px 12px !important;
    border-radius: var(--hub-radius-card, 2px) !important;
    border-bottom: 1px solid var(--hub-border, #262626) !important;
    background: var(--hub-bg-card, #1a1a1a) !important;
    color: var(--hub-text-main, #ffffff);
}
#nz-pos-product-list button {
    border-radius: var(--hub-radius-btn, 2px) !important;
    letter-spacing: 0.04em !important;
    cursor: pointer;
}
.nz-pos-checkout-panel {
    background: var(--hub-bg-card, #1a1a1a);
    border-top: 1px solid var(--hub-border, #262626);
    padding: 16px 20px 20px 20px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.nz-pos-cart-stream {
    max-height: 130px;
    overflow-y: auto;
    background: var(--hub-bg-app, #111111);
    border: 1px solid var(--hub-border, #262626);
    border-radius: var(--hub-radius-card, 2px);
    padding: 10px 12px;
    font-family: var(--hub-font-mono, monospace);
    font-size: 11px;
    color: var(--hub-text-main, #ffffff);
}
#nz-pos-cart-summary > div:last-child {
    background: var(--hub-bg-card, #1a1a1a) !important;
    border: 1px solid var(--hub-accent, #1DB954) !important;
    border-radius: var(--hub-radius-card, 2px) !important;
    padding: 10px 12px !important;
    margin-top: 12px !important;
    box-sizing: border-box !important;
    color: var(--hub-text-main, #ffffff);
}
.nz-pos-shipping-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 4px;
}
.nz-pos-shipping-label {
    font-family: var(--hub-font);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hub-text-muted, #808080);
}
.nz-pos-shipping-input {
    background: var(--hub-bg-app, #111111);
    border: 1px solid var(--hub-border, #262626);
    color: var(--hub-text-main, #ffffff);
    padding: 7px 12px;
    font-family: var(--hub-font-mono, monospace);
    font-weight: 700;
    font-size: 12px;
    width: 110px;
    outline: none;
    text-align: right;
    border-radius: var(--hub-radius-card, 2px);
}
.nz-pos-shipping-input:focus {
    border-color: var(--hub-accent, #1DB954);
}
.nz-pos-btn-submit {
    width: 100%;
    border: none;
    padding: 13px 20px;
    border-radius: var(--hub-radius-btn, 2px);
    font-family: var(--hub-font-mono, monospace);
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.nz-pos-btn-submit:hover:not(:disabled) {
    opacity: 0.92;
}

/* 6. VISTA: ORDER DETAIL */
.nz-order-detail-canvas {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    color: var(--hub-text-main, #ffffff);
}
.nz-order-card {
    background: var(--hub-bg-card, #1a1a1a);
    border: 1px solid var(--hub-border, #262626);
    border-radius: var(--hub-radius-card, 2px);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.nz-order-section-title {
    font-family: var(--hub-font);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hub-text-muted, #808080);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}
.nz-order-section-title .nz-tag-mono {
    font-family: var(--hub-font-mono, monospace);
    font-size: 9px;
    letter-spacing: 0.04em;
    padding: 2px 7px;
    border-radius: var(--hub-radius-card, 2px);
    background: var(--hub-bg-app, #111111);
    border: 1px solid var(--hub-border, #262626);
    color: var(--hub-text-muted, #808080);
}
.nz-order-section-title .nz-tag-mono.nz-tag-accent {
    color: var(--hub-accent, #1DB954) !important;
    border-color: var(--hub-accent, #1DB954) !important;
    background: var(--hub-accent-soft, rgba(29, 185, 84, 0.08)) !important;
}
.nz-order-header-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}
.nz-order-id-display {
    font-family: var(--hub-font-mono, monospace);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--hub-text-main, #ffffff) !important;
    margin: 2px 0;
    line-height: 1.1;
}
.nz-order-date-display {
    font-family: var(--hub-font-mono, monospace);
    font-size: 10px;
    color: var(--hub-text-muted, #808080);
}
.nz-order-total-display {
    font-family: var(--hub-font-mono, monospace);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--hub-text-main, #ffffff) !important;
    line-height: 1.1;
}
.nz-order-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--hub-radius-card, 2px);
    font-family: var(--hub-font-mono, monospace);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.nz-order-status-pill .nz-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
    display: inline-block;
}
.nz-client-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--hub-text-main, #ffffff) !important;
    letter-spacing: -0.01em;
}
.nz-client-meta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    font-size: 11px;
    font-family: var(--hub-font-mono, monospace);
    color: var(--hub-text-muted, #808080);
}
.nz-client-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nz-client-meta-label {
    color: var(--hub-text-muted, #808080);
    font-size: 10px;
    min-width: 48px;
}
.nz-wa-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #10b981;
    text-decoration: none;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: var(--hub-radius-card, 2px);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    margin-left: 6px;
}
.nz-order-items-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.nz-order-item-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    background: var(--hub-bg-app, #111111);
    border: 1px solid var(--hub-border, #262626);
    border-radius: var(--hub-radius-card, 2px);
    color: var(--hub-text-main, #ffffff);
}
.nz-order-item-thumb {
    width: 42px;
    height: 42px;
    border-radius: var(--hub-radius-card, 2px);
    object-fit: cover;
    border: 1px solid var(--hub-border, #262626);
    background: var(--hub-bg-card, #1a1a1a);
    flex-shrink: 0;
}
.nz-order-item-placeholder {
    width: 42px;
    height: 42px;
    border-radius: var(--hub-radius-card, 2px);
    background: var(--hub-bg-card, #1a1a1a);
    border: 1px solid var(--hub-border, #262626);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--hub-font-mono, monospace);
    font-size: 9px;
    color: var(--hub-text-muted, #808080);
    flex-shrink: 0;
}
.nz-order-input {
    width: 100%;
    box-sizing: border-box;
    background: var(--hub-bg-app, #111111);
    border: 1px solid var(--hub-border, #262626);
    border-radius: var(--hub-radius-card, 2px);
    color: var(--hub-text-main, #ffffff);
    padding: 9px 12px;
    font-family: var(--hub-font-mono, monospace);
    font-size: 11px;
    outline: none;
    transition: border-color 0.2s ease;
}
.nz-order-input:focus {
    border-color: var(--hub-border-hover, #ffffff);
}
.nz-order-select {
    width: 100%;
    background: var(--hub-bg-app, #111111);
    border: 1px solid var(--hub-border, #262626);
    color: var(--hub-text-main, #ffffff);
    padding: 9px 12px;
    font-size: 11px;
    font-family: var(--hub-font-mono, monospace);
    border-radius: var(--hub-radius-card, 2px);
    outline: none;
}
.nz-order-btn-solid {
    background: var(--hub-text-main, #ffffff);
    color: var(--hub-text-inverse, #111111);
    border: none;
    padding: 9px 16px;
    font-family: var(--hub-font-mono, monospace);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 0.06em;
    cursor: pointer;
    border-radius: var(--hub-radius-btn, 2px);
    white-space: nowrap;
    transition: opacity 0.2s;
}
.nz-order-btn-solid:hover {
    opacity: 0.9;
}
.nz-order-btn-action {
    border: none;
    padding: 11px 16px;
    font-family: var(--hub-font-mono, monospace);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: var(--hub-radius-btn, 2px);
    width: 100%;
    margin-top: 4px;
    transition: opacity 0.2s;
}
.nz-order-btn-action:hover:not(:disabled) {
    opacity: 0.92;
}
.nz-order-btn-danger {
    background: transparent;
    color: #ef4444;
    border: 1px dashed rgba(239, 68, 68, 0.4);
    padding: 8px 16px;
    font-family: var(--hub-font-mono, monospace);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    border-radius: var(--hub-radius-btn, 2px);
    transition: all 0.2s ease;
}
.nz-order-btn-danger:hover {
    background: rgba(239, 68, 68, 0.08);
    border-color: #ef4444;
}

/* 7. VISTA: PRODUCT FORM */
.nz-pform-canvas {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--hub-text-main, #ffffff);
    font-family: var(--hub-font, system-ui, sans-serif);
    background: var(--hub-bg-app, #111111);
}
.nz-pform-nav {
    display: flex;
    gap: 6px;
    padding: 6px;
    margin: 16px 20px 0 20px;
    background: var(--hub-bg-card, #1a1a1a);
    border: 1px solid var(--hub-border, #262626);
    border-radius: var(--hub-radius-card, 2px);
    flex-shrink: 0;
}
.nz-pform-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    background: transparent;
    border: none;
    border-radius: var(--hub-radius-btn, 2px);
    color: var(--hub-text-muted, #808080);
    font-family: var(--hub-font-mono, monospace);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.2s ease;
}
.nz-pform-tab-btn:hover {
    color: var(--hub-text-main, #ffffff);
    background: var(--hub-bg-app, #111111);
}
.nz-pform-tab-btn.is-active {
    background: var(--hub-bg-app, #111111);
    color: var(--hub-text-main, #ffffff);
    border: 1px solid var(--hub-border, #262626);
}
.nz-pform-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}
.nz-pform-panel {
    display: none;
}
.nz-pform-panel.is-active {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.nz-pform-card {
    background: var(--hub-bg-card, #1a1a1a);
    border: 1px solid var(--hub-border, #262626);
    border-radius: var(--hub-radius-card, 2px);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.nz-pform-card-title {
    font-family: var(--hub-font);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hub-text-muted, #808080);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}
.nz-pform-card-title span.nz-idx {
    font-family: var(--hub-font-mono, monospace);
    font-size: 9px;
    opacity: 0.6;
}
.nz-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.nz-field-group:last-child {
    margin-bottom: 0;
}
.nz-field-label {
    font-family: var(--hub-font);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--hub-text-muted, #808080);
}
.nz-pform-input,
.nz-pform-textarea,
.nz-pform-select {
    background: var(--hub-bg-app, #111111);
    border: 1px solid var(--hub-border, #262626);
    border-radius: var(--hub-radius-card, 2px);
    padding: 10px 12px;
    color: var(--hub-text-main, #ffffff);
    font-family: var(--hub-font-mono, monospace);
    font-size: 11px;
    outline: none;
    transition: border-color 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}
.nz-pform-input:focus,
.nz-pform-textarea:focus,
.nz-pform-select:focus {
    border-color: var(--hub-accent, #1DB954);
}
.nz-pform-input::placeholder {
    color: var(--hub-text-muted, #808080);
    opacity: 0.6;
}

/* ==========================================================================
   ACTIVOS VISUALES (LAYOUT ASIMÉTRICO BLINDADO 140PX / 1FR)
   ========================================================================== */
.nz-media-grid-zones {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px;
    align-items: start;
    margin-top: 6px;
}
.nz-media-preview-box {
    border-radius: var(--hub-radius-card, 2px);
    background-color: var(--hub-bg-app, #111111) !important;
    border: 1px dashed var(--hub-border, #262626) !important;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}
.nz-media-preview-box:hover {
    border-color: var(--hub-accent, #1DB954) !important;
}

/* Slot Portada Principal */
#product-img-view {
    height: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
}

/* Slot Galería Secundaria y Contención de Thumbnails */
#product-gallery-view {
    height: 120px;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px;
    align-content: flex-start;
}
#product-gallery-view img,
.nz-media-preview-box img {
    width: 44px;
    height: 44px;
    border-radius: var(--hub-radius-card, 2px);
    object-fit: cover;
    border: 1px solid var(--hub-border, #262626);
    flex-shrink: 0;
}

/* Tabla de Variaciones */
.nz-matrix-head {
    display: flex;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--hub-border, #262626);
    font-family: var(--hub-font-mono, monospace);
    font-size: 9px;
    text-transform: uppercase;
    color: var(--hub-text-muted, #808080);
}
.nz-matrix-empty {
    padding: 24px;
    text-align: center;
    font-family: var(--hub-font-mono, monospace);
    font-size: 10px;
    color: var(--hub-text-muted, #808080);
    border: 1px dashed var(--hub-border, #262626);
    border-radius: var(--hub-radius-card, 2px);
    background: var(--hub-bg-app, #111111);
}
#matrix-header-row {
    display: flex;
}
@media (min-width: 768px) {
    #matrix-header-row {
        display: flex !important;
    }
}
.nz-pform-footer {
    padding: 16px 20px;
    background: var(--hub-bg-card, #1a1a1a);
    border-top: 1px solid var(--hub-border, #262626);
    flex-shrink: 0;
}
.nz-pform-submit {
    width: 100%;
    border: none;
    padding: 12px 20px;
    border-radius: var(--hub-radius-btn, 2px);
    font-family: var(--hub-font-mono, monospace);
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.nz-pform-submit:hover:not(:disabled) {
    opacity: 0.92;
}

/* BOTÓN GENERADOR DE MATRIZ DE VARIANTES (REACTIVO AL TEMA / ACENTO) */
#generate-matrix-btn,
.nz-btn-matrix {
    background: var(--hub-accent-soft, rgba(29, 185, 84, 0.08)) !important;
    color: var(--hub-accent, #1DB954) !important;
    border: 1px solid var(--hub-accent, rgba(29, 185, 84, 0.35)) !important;
    padding: 8px 14px;
    border-radius: var(--hub-radius-btn, 2px);
    font-family: var(--hub-font-mono, monospace);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}
#generate-matrix-btn:hover,
.nz-btn-matrix:hover {
    background: var(--hub-accent, #1DB954) !important;
    color: var(--hub-text-inverse, #000000) !important;
    border-color: var(--hub-accent, #1DB954) !important;
}
