.biz-products-container {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.biz-products-main {
    flex: 4;
}

.biz-products-sidebar {
    flex: 1;
    min-width: 320px;
}

.biz-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.biz-tabs {
    display: flex;
    background: #f8fafc;
    border-radius: 12px;
    padding: 6px;
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
    gap: 6px;
    flex-wrap: wrap;
}

.biz-tab {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    color: #64748b;
    transition: all 0.25s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none !important;
    background: transparent !important;
    width: auto !important; /* Overrides global 100% style */
}

.biz-tab:hover {
    color: #4f46e5;
    background: #f1f5f9;
}

.biz-tab.active {
    color: #4f46e5 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.08) !important;
}

.biz-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.biz-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.biz-form-group {
    margin-bottom: 24px;
}

.biz-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.biz-form-group label.required:after {
    content: ' *';
    color: #ef4444;
}

.biz-input,
.biz-select,
.biz-textarea,
.biz-multiselect {
    width: 100%;
    padding: 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    transition: all 0.3s;
    background: white;
}

/* Ensure number inputs remain editable (not just spinner arrows) */
.biz-input[type="number"] {
    pointer-events: auto;
    user-select: text;
    -webkit-user-select: text;
    cursor: text;
}

.biz-multiselect {
    min-height: 100px;
    padding: 10px;
}

.biz-multiselect option {
    padding: 8px;
    margin: 2px 0;
    border-radius: 4px;
}

.biz-multiselect option:hover {
    background: #f3f4f6;
}

.biz-input:focus,
.biz-select:focus,
.biz-textarea:focus,
.biz-multiselect:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.biz-textarea {
    min-height: 100px;
    resize: vertical;
}

.biz-textarea-small {
    min-height: 80px;
}

.biz-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    vertical-align: middle;
    margin-right: 8px;
}

.biz-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.biz-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.biz-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.biz-slider {
    background-color: #10b981;
}

input:checked+.biz-slider:before {
    transform: translateX(20px);
}

.biz-btn {
    background-color: #4f46e5;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.biz-btn:hover {
    background-color: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.biz-btn-success {
    background-color: #10b981;
}

.biz-btn-success:hover {
    background-color: #059669;
}

.biz-btn-secondary {
    background-color: #fff;
    color: #374151;
    border: 1px solid #d1d5db;
}

.biz-btn-secondary:hover {
    background-color: #f9fafb;
    color: #111827;
    border-color: #9ca3af;
}

.biz-variation-row {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    position: relative;
}

.biz-variation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.biz-variation-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
}

.biz-remove-variation {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 20px;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.biz-remove-variation:hover {
    background: #fee2e2;
}

.biz-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.biz-form-grid-2 {
    grid-template-columns: 1fr 1fr;
}

.biz-form-grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.biz-form-grid-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.biz-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.biz-stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100px;
}

.biz-stat-card.success {
    background: linear-gradient(135deg, #48bb78 0%, #38b2ac 100%);
}

.biz-stat-card.warning {
    background: linear-gradient(135deg, #ed8936 0%, #ecc94b 100%);
}

.biz-stat-card.info {
    background: linear-gradient(135deg, #4299e1 0%, #667eea 100%);
}

.biz-stat-value {
    font-size: 24px;
    font-weight: bold;
    margin: 4px 0;
}

.biz-stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.biz-alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.biz-alert-success {
    background-color: #d1fae5;
    border-left-color: #10b981;
    color: #065f46;
}

.biz-alert-info {
    background-color: #dbeafe;
    border-left-color: #3b82f6;
    color: #1e40af;
}

.biz-alert-warning {
    background-color: #fef3c7;
    border-left-color: #f59e0b;
    color: #92400e;
}

.biz-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
}

.biz-section-title {
    margin: 0 0 20px 0;
    color: #374151;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.biz-image-preview {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #e5e7eb;
    margin-top: 10px;
    display: none;
}

.biz-image-preview.show {
    display: block;
}

.biz-image-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.biz-image-upload-area:hover {
    border-color: #4f46e5;
    background: #f9fafb;
}

.biz-gallery-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.biz-gallery-image {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    object-fit: cover;
    position: relative;
}

.biz-remove-image {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 12px;
}

.biz-attributes-section {
    margin-top: 30px;
}

.biz-attribute-row {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
}

.biz-toggle-section {
    cursor: pointer;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.biz-toggle-section:hover {
    background: #f1f5f9;
}

.biz-collapsible-content {
    display: none;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-top: 10px;
}

.biz-collapsible-content.show {
    display: block;
}

.biz-recent-products {
    margin-top: 0px;
}

.biz-product-item {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border: 0.5px solid var(--biz-border);
    border-radius: 6px;
    margin-bottom: 0px;
    background: var(--biz-bg-input);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.biz-product-item:hover {
    border-color: var(--biz-accent);
    background: var(--biz-card-bg);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.biz-product-icon {
    width: 34px;
    height: 34px;
    background: #ffffff;
    border: 0.5px solid var(--biz-border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 13px;
    flex-shrink: 0;
}

.biz-product-info {
    flex: 1;
    min-width: 0;
}

.biz-product-name {
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 2px 0;
    font-size: 12px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.biz-product-sku {
    font-size: 10px;
    color: var(--biz-text-muted);
    margin: 0;
}

.biz-product-price {
    font-weight: 600;
    color: var(--biz-green);
    font-size: 11px;
    text-align: right;
    margin-left: 8px;
    flex-shrink: 0;
}

.biz-radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.biz-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.biz-advanced-settings {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.biz-tag-input {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    min-height: 44px;
    align-items: center;
}

.biz-tag {
    background: #e0e7ff;
    color: #4f46e5;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.biz-tag-remove {
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.biz-tag-input input {
    border: none;
    outline: none;
    flex: 1;
    min-width: 100px;
    padding: 8px;
}

.biz-color-picker {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
}

.biz-date-picker {
    cursor: pointer;
}

.biz-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #4f46e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.biz-category-creator {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.biz-category-creator input {
    flex: 1;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
}

.biz-category-creator button {
    padding: 10px 20px;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.biz-shipping-section {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    display: none;
}

.biz-shipping-section.show {
    display: block;
}

.biz-file-list {
    margin-top: 15px;
}

.biz-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: #f9fafb;
    border-radius: 6px;
    margin-bottom: 8px;
}

.biz-file-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* SaaS 70/30 Layout */
.biz-workspace-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    width: 100%;
}

.biz-workspace-main {
    flex: 7;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.biz-workspace-sidebar {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 300px;
}

/* Premium Card-based Barcodes Grid */
.biz-barcodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.biz-barcode-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.biz-barcode-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.biz-barcode-card.primary {
    border-color: #4f46e5;
    background: #f5f3ff;
}

/* Premium Section Cards */
.biz-section {
    background: #fff !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.04) !important;
    border: 1px solid #eef2f7 !important;
    margin-bottom: 0px !important;
}

/* Sticky Action/Save Bar */
.biz-sticky-save-bar {
    position: sticky;
    bottom: 20px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
    animation: slideUp 0.3s ease;
}

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

/* Badge style for Primary Barcode */
.biz-primary-badge {
    font-size: 11px;
    font-weight: 700;
    color: #4f46e5;
    background: #e0e7ff;
    padding: 2px 8px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Restyled Create Product Admin Page - Senior UI Custom Overrides */
:root {
    --biz-accent: #4f46e5;
    --biz-accent-ring: rgba(79, 70, 229, 0.2);
    --biz-border: #e2e8f0;
    --biz-bg-input: #f8fafc;
    --biz-text-muted: #64748b;
    --biz-card-bg: #ffffff;
    --biz-green: #10b981;
    --biz-green-hover: #059669;
}

/* Base typography & elements */
.biz-form-group label {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--biz-text-muted) !important;
    text-transform: none !important; /* sentence case */
    margin-bottom: 6px !important;
}

.biz-input,
.biz-select {
    height: 34px !important;
    padding: 0 10px !important;
    border: 0.5px solid var(--biz-border) !important;
    background-color: var(--biz-bg-input) !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.biz-textarea {
    border: 0.5px solid var(--biz-border) !important;
    background-color: var(--biz-bg-input) !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    padding: 8px 10px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.biz-input:focus,
.biz-select:focus,
.biz-textarea:focus,
.biz-multiselect:focus {
    border-color: var(--biz-accent) !important;
    box-shadow: 0 0 0 2px var(--biz-accent-ring) !important;
    outline: none !important;
}

/* Pricing prefix wrapper */
.biz-input-prefix-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.biz-input-prefix-wrapper .biz-input-prefix {
    position: absolute;
    left: 10px;
    color: var(--biz-text-muted);
    font-size: 13px;
    pointer-events: none;
}
.biz-input-prefix-wrapper .biz-input {
    padding-left: 22px !important;
}

/* Section Title */
.biz-section-title {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    border-bottom: 0.5px solid var(--biz-border);
    padding-bottom: 8px;
    margin: 0 0 14px 0 !important;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: none !important;
}

/* Section Card */
.biz-section {
    background: var(--biz-card-bg) !important;
    border: 0.5px solid var(--biz-border) !important;
    border-radius: 10px !important;
    padding: 16px 20px !important;
    box-shadow: none !important;
    margin-bottom: 16px !important;
}

/* Gaps and grid adjustments */
.biz-workspace-main {
    gap: 16px !important;
}

.biz-form-row-name-sku {
    display: flex;
    gap: 12px;
    width: 100%;
}
.biz-form-row-name-sku > .biz-form-group:first-child {
    flex: 2;
}
.biz-form-row-name-sku > .biz-form-group:last-child {
    flex: 1;
}

.biz-form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
}

.biz-form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
}

.biz-form-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
}

/* Descriptions height */
#biz-simple-short-description,
#biz-simple-description,
#biz-variable-short-description,
#biz-variable-description,
#biz-grouped-description,
#biz-external-description,
#biz-digital-description {
    height: 80px !important;
    min-height: 80px !important;
}

/* Sticky Action Bar Buttons */
.biz-sticky-save-bar {
    padding: 12px 20px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 0.5px solid var(--biz-border) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    margin-top: 16px !important;
}
.biz-sticky-save-bar .biz-btn {
    padding: 8px 16px !important;
    font-size: 13px !important;
    height: 34px !important;
    box-shadow: none !important;
    border-radius: 6px !important;
}
.biz-sticky-save-bar .biz-btn-secondary {
    background: transparent !important;
    border: 0.5px solid var(--biz-border) !important;
    color: var(--biz-text-muted) !important;
}
.biz-sticky-save-bar .biz-btn-secondary:hover {
    background: #f8fafc !important;
}
.biz-sticky-save-bar .biz-btn-secondary[onclick*="resetForm"] {
    border: none !important; /* ghost style */
    color: var(--biz-text-muted) !important;
    background: transparent !important;
}
.biz-sticky-save-bar .biz-btn-secondary[onclick*="resetForm"]:hover {
    background: rgba(0, 0, 0, 0.02) !important;
}
.biz-sticky-save-bar .biz-btn-success {
    background: var(--biz-green) !important;
    color: #ffffff !important;
}
.biz-sticky-save-bar .biz-btn-success:hover {
    background: var(--biz-green-hover) !important;
}

/* Top Stat Cards */
.biz-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
}


/* Sidebar Tightening */
.biz-workspace-sidebar {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}
.biz-workspace-sidebar .biz-section {
    padding: 12px 16px !important;
    margin-bottom: 0 !important;
    border-radius: 8px !important;
}
.biz-workspace-sidebar .biz-image-upload-area {
    min-height: 100px !important;
    padding: 16px !important;
}
.biz-workspace-sidebar .biz-image-upload-area div {
    font-size: 28px !important;
}
.biz-workspace-sidebar .biz-image-upload-area p {
    font-size: 11px !important;
    margin: 4px 0 0 0 !important;
}

/* Compact Variable Product Styles */
.biz-textarea-variable-desc {
    height: 72px !important;
    min-height: 72px !important;
}

.biz-multiselect-compact {
    height: 80px !important;
    min-height: 80px !important;
    padding: 6px !important;
}

.biz-category-creator-inline {
    display: flex !important;
    gap: 8px !important;
    margin-top: 8px !important;
}
.biz-category-creator-inline input {
    flex: 1 !important;
    height: 34px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
    border: 0.5px solid var(--biz-border) !important;
    border-radius: 6px !important;
    background: var(--biz-bg-input) !important;
}
.biz-category-creator-inline button {
    height: 34px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    background: var(--biz-accent) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
}

.biz-image-upload-area-compact {
    min-height: 80px !important;
    height: 80px !important;
    padding: 10px !important;
    border: 1px dashed var(--biz-border) !important;
    border-radius: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    background: var(--biz-bg-input) !important;
    transition: all 0.2s ease !important;
}
.biz-image-upload-area-compact:hover {
    border-color: var(--biz-accent) !important;
    background: var(--biz-card-bg) !important;
}
.biz-image-upload-area-compact .biz-upload-icon {
    font-size: 24px !important;
    color: var(--biz-text-muted) !important;
}
.biz-image-upload-area-compact .biz-upload-label {
    margin: 4px 0 0 0 !important;
    font-size: 11px !important;
    color: var(--biz-text-muted) !important;
}

/* Sidebar & General Visual Restyling */
.biz-workspace-sidebar .biz-card {
    gap: 10px !important;
    border-bottom: 0.5px solid var(--biz-border) !important;
}
.biz-workspace-sidebar .biz-card ul li {
    font-size: 12px !important;
}
.biz-btn-ghost {
    background: transparent !important;
    border: 0.5px solid var(--biz-border) !important;
    color: var(--biz-text-muted) !important;
}
.biz-btn-ghost:hover {
    background: #f8fafc !important;
}

/* Attributes Alignment */
.biz-attr-inline-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 12px !important;
}
.biz-attr-inline-left {
    display: flex !important;
    gap: 16px !important;
    align-items: center !important;
}
.biz-attr-inline-right {
    display: flex !important;
    justify-content: flex-end !important;
}
.biz-attr-add-btn {
    height: 32px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    background: var(--biz-accent) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
}}

/* Zero Waste Layout Styles */
.biz-zw-section {
    padding: 12px 16px !important;
    margin-bottom: 10px !important;
    border: 0.5px solid var(--biz-border) !important;
    border-radius: 10px !important;
    background: var(--biz-card-bg) !important;
}

.biz-zw-section .biz-section-title {
    font-size: 13px !important;
    font-weight: 500 !important;
    margin: 0 0 10px 0 !important;
}

.biz-zw-section label {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: var(--biz-text-muted) !important;
    margin-bottom: 4px !important;
    text-transform: none !important;
    display: inline-block !important;
}

.biz-zw-input {
    height: 32px !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    box-sizing: border-box !important;
}

.biz-zw-input-prefix-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.biz-zw-input-prefix-wrapper .biz-input-prefix {
    position: absolute;
    left: 8px;
    color: var(--biz-text-muted);
    font-size: 12px;
    pointer-events: none;
}
.biz-zw-input-prefix-wrapper .biz-zw-input {
    padding-left: 18px !important;
}

.biz-zw-textarea {
    height: 64px !important;
    min-height: 64px !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    box-sizing: border-box !important;
}

.biz-zw-multiselect {
    height: 64px !important;
    min-height: 64px !important;
    font-size: 13px !important;
    box-sizing: border-box !important;
    padding: 6px 10px !important;
    border: 1px solid var(--biz-border) !important;
    border-radius: 6px !important;
    background: var(--biz-bg-input) !important;
    outline: none !important;
    color: var(--biz-text) !important;
}
.biz-zw-multiselect option {
    padding: 4px 6px !important;
    border-radius: 4px !important;
    margin-bottom: 2px !important;
    font-size: 12px !important;
}
.biz-zw-multiselect option:checked {
    background: var(--biz-accent) linear-gradient(0deg, var(--biz-accent) 0%, var(--biz-accent) 100%) !important;
    color: #fff !important;
}
.biz-zw-multiselect::-webkit-scrollbar {
    width: 6px !important;
}
.biz-zw-multiselect::-webkit-scrollbar-track {
    background: transparent !important;
}
.biz-zw-multiselect::-webkit-scrollbar-thumb {
    background-color: var(--biz-border) !important;
    border-radius: 3px !important;
}

.biz-zw-upload-area {
    height: 64px !important;
    min-height: 64px !important;
    border: 1px dashed var(--biz-border) !important;
    border-radius: 6px !important;
    background: var(--biz-bg-input) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 4px !important;
}
.biz-zw-upload-area:hover {
    border-color: var(--biz-accent) !important;
    background: var(--biz-card-bg) !important;
}
.biz-zw-upload-area .biz-upload-icon {
    font-size: 16px !important;
    color: var(--biz-text-muted) !important;
}
.biz-zw-upload-area .biz-upload-label {
    margin: 2px 0 0 0 !important;
    font-size: 11px !important;
    color: var(--biz-text-muted) !important;
}

.biz-zw-grid-2-2 {
    display: flex !important;
    gap: 10px !important;
    width: 100% !important;
}
.biz-zw-grid-2-2 > .biz-form-group {
    margin-bottom: 0 !important;
}
.biz-zw-grid-2-2 > .biz-form-group:first-child {
    flex: 2 !important;
}
.biz-zw-grid-2-2 > .biz-form-group:last-child {
    flex: 1 !important;
}

.biz-zw-grid-2 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
}

.biz-zw-grid-3 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
}


/* --- Extracted from products-list.php (Style 1) --- */

/* --- PREMIUM "GHOST" UI STYLES --- */

/* Table Reset & Layout */
.biz-table-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    overflow: visible !important; /* Force visible */
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    position: relative;
    z-index: 1;
}

.biz-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.biz-table th {
    background: #f9fafb;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 16px 24px;
    border-bottom: 1px solid #f3f4f6;
    text-align: left;
}

.biz-table td {
    padding: 16px 24px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
    transition: background 0.2s;
    position: relative;
    overflow: visible;
}

.biz-table tr:hover td {
    background: #f9fafb;
}

.biz-table tr:last-child td {
    border-bottom: none;
}

/* 1. Ghost Inputs (Prices) */
.biz-ghost-input-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
    border: 1px solid transparent; /* Invisible border by default */
    cursor: text;
}

.biz-ghost-input-wrapper:hover,
.biz-ghost-input-wrapper.focus-within {
    background: #fff;
    border-color: #e5e7eb;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05); /* Subtle lift */
}

/* State colors for feedback (applied via JS) */
.biz-ghost-input-wrapper.is-saving { background: #fffbeb !important; border-color: #fcd34d !important; } /* Yellow */
.biz-ghost-input-wrapper.is-success { background: #ecfdf5 !important; border-color: #10b981 !important; } /* Green */
.biz-ghost-input-wrapper.is-error { background: #fef2f2 !important; border-color: #ef4444 !important; }   /* Red */

.biz-currency-symbol {
    color: #9ca3af;
    font-size: 13px;
    margin-right: 2px;
    font-weight: 500;
}

.biz-ghost-input {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    width: 60px;
    outline: none !important;
    font-family: inherit;
}

/* Hide Spinners */
.biz-ghost-input::-webkit-inner-spin-button, 
.biz-ghost-input::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

/* 2. Custom Status Badges (Dropdowns) */
.biz-status-dropdown {
    position: relative;
    display: inline-block;
    outline: none;
    z-index: auto;
}

.biz-status-dropdown:hover,
.biz-status-dropdown:focus-within,
.biz-status-dropdown.active {
    z-index: 1000;
}

.biz-table tr:hover {
    position: relative;
    z-index: 50;
}

.biz-table tr:focus-within {
    position: relative;
    z-index: 60;
}

.biz-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    border: 1px solid transparent;
}

.biz-badge:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
}

.biz-badge::after {
    content: "▼";
    font-size: 8px;
    opacity: 0.6;
}

/* Colors */
.biz-badge-success { background: #ecfdf5; color: #059669; border-color: #d1fae5; }
.biz-badge-danger  { background: #fef2f2; color: #dc2626; border-color: #fee2e2; }
.biz-badge-warning { background: #fffbeb; color: #d97706; border-color: #fef3c7; }
.biz-badge-gray    { background: #f3f4f6; color: #4b5563; border-color: #e5e7eb; }
.biz-badge-blue    { background: #eff6ff; color: #3b82f6; border-color: #dbeafe; }

/* Dropdown Menu */
.biz-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    min-width: 160px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* Heavy shadow for floating */
    border: 1px solid #f3f4f6;
    padding: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.biz-status-dropdown:focus-within .biz-dropdown-menu,
.biz-status-dropdown.active .biz-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.biz-dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 13px;
    color: #374151;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
}

.biz-dropdown-item:hover {
    background: #f3f4f6;
    color: #111827;
}

.biz-dropdown-item.selected {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 500;
}

.biz-product-image {
    width: 48px;
    height: 48px;
    border-radius: 10px; /* Modern rounding */
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.biz-product-name {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    display: block;
    margin-bottom: 2px;
}
.biz-product-name:hover {
    color: #4f46e5;
}


/* --- Extracted from products-list.php (Style 2) --- */

            .page-numbers {
                display: flex;
                gap: 8px;
                list-style: none;
                padding: 0;
                margin: 0;
            }
            .page-numbers li span.current,
            .page-numbers li a {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 36px;
                height: 36px;
                border-radius: 8px;
                background: white;
                border: 1px solid #e5e7eb;
                color: #374151;
                text-decoration: none;
                transition: all 0.2s;
                font-weight: 500;
                box-shadow: 0 1px 2px rgba(0,0,0,0.05);
            }
            .page-numbers li a:hover {
                border-color: #d1d5db;
                background: #f9fafb;
            }
            .page-numbers li span.current {
                background: #4f46e5;
                color: white;
                border-color: #4f46e5;
                box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
            }
        
/* --- Extracted from stock-alerts.php --- */
        .biz-panic-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
            margin-bottom: 40px;
        }
        .biz-panic-stat-card {
            background: white;
            padding: 24px;
            border-radius: 20px;
            border: 1px solid #f1f5f9;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            display: flex;
            align-items: center;
            gap: 20px;
            transition: all 0.2s ease-in-out;
        }
        .biz-panic-stat-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
            border-color: #e2e8f0;
        }
        .biz-panic-stat-icon {
            width: 56px;
            height: 56px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
        }
        .biz-panic-stat-info h3 {
            margin: 0;
            font-size: 14px;
            font-weight: 700;
            color: #94a3b8;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        .biz-panic-stat-info .value {
            font-size: 28px;
            font-weight: 800;
            color: #1e293b;
        }

        .biz-panic-section-title {
            font-size: 18px;
            font-weight: 800;
            color: #1e293b;
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .biz-panic-badge {
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
        }
        
        .biz-panic-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 20px;
            margin-bottom: 48px;
        }
        
        .biz-panic-card {
            background: white;
            border-radius: 20px;
            padding: 20px;
            border: 2px solid transparent;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .biz-panic-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.1);
        }
        
        .biz-panic-card.crisis {
            border-color: #fee2e2;
        }
        .biz-panic-card.crisis:hover {
            border-color: #ef4444;
        }
        
        @keyframes bizPulse {
            0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
            70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
            100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
        }
        .biz-pulse-indicator {
            width: 12px;
            height: 12px;
            background: #ef4444;
            border-radius: 50%;
            display: inline-block;
            animation: bizPulse 2s infinite;
            margin-right: 8px;
        }
        
        .biz-product-meta {
            margin-top: 12px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .biz-qty-tag {
            font-size: 14px;
            font-weight: 700;
            padding: 6px 12px;
            border-radius: 10px;
        }
        .biz-qty-tag.zero { background: #fee2e2; color: #b91c1c; }
        .biz-qty-tag.low { background: #fef3c7; color: #b45309; }
        
        .biz-panic-actions {
            margin-top: 20px;
            padding-top: 16px;
            border-top: 1px solid #f1f5f9;
            display: flex;
            gap: 10px;
        }
        .biz-panic-btn {
            flex: 1;
            padding: 10px;
            border-radius: 10px;
            text-align: center;
            font-weight: 700;
            font-size: 13px;
            text-decoration: none;
            transition: all 0.2s;
            cursor: pointer;
        }
        .btn-edit { background: #f8fafc; color: #475569; border: 1px solid #e2e8f0; }
        .btn-edit:hover { background: #f1f5f9; border-color: #cbd5e1; }
        .btn-restock { background: #1e293b; color: white; border: none; }
        .btn-restock:hover { background: #0f172a; transform: translateY(-1px); }
        
        .biz-no-data {
            padding: 80px;
            text-align: center;
            background: white;
            border-radius: 20px;
            border: 2px dashed #e2e8f0;
        }

        /* Unique Premium Pastel-Tinted Stats Card Style for Stock Alerts */
        .biz-alert-stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 16px;
            margin-bottom: 24px;
        }
        .biz-alert-stat-card {
            padding: 18px 22px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            gap: 16px;
            transition: all 0.2s ease-in-out;
            border: 2px solid transparent;
            cursor: pointer;
        }
        .biz-alert-stat-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.08);
        }
        .biz-alert-stat-card.active {
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04) !important;
            transform: translateY(-3px);
        }
        .biz-alert-stat-card.crisis {
            background: #fff5f5;
            border-color: #ffe3e3;
        }
        .biz-alert-stat-card.crisis:hover, .biz-alert-stat-card.crisis.active {
            border-color: #ef4444 !important;
        }
        .biz-alert-stat-card.warning {
            background: #fffbeb;
            border-color: #fef3c7;
        }
        .biz-alert-stat-card.warning:hover, .biz-alert-stat-card.warning.active {
            border-color: #f59e0b !important;
        }
        .biz-alert-stat-card.info {
            background: #f0f9ff;
            border-color: #e0f2fe;
        }
        .biz-alert-stat-card.info:hover, .biz-alert-stat-card.info.active {
            border-color: #3b82f6 !important;
        }
        .biz-alert-icon-wrapper {
            width: 46px;
            height: 46px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            flex-shrink: 0;
        }
        .biz-alert-stat-card.crisis .biz-alert-icon-wrapper { background: #ffe3e3; }
        .biz-alert-stat-card.warning .biz-alert-icon-wrapper { background: #fef3c7; }
        .biz-alert-stat-card.info .biz-alert-icon-wrapper { background: #e0f2fe; }

        .biz-alert-info-wrapper {
            display: flex;
            flex-direction: column;
        }
        .biz-alert-label {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: #4b5563;
            margin-bottom: 2px;
        }
        .biz-alert-value {
            font-size: 26px;
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 2px;
        }
        .biz-alert-stat-card.crisis .biz-alert-value { color: #dc2626; }
        .biz-alert-stat-card.warning .biz-alert-value { color: #d97706; }
        .biz-alert-stat-card.info .biz-alert-value { color: #0284c7; }

        .biz-alert-desc {
            font-size: 11px;
            color: #6b7280;
            font-weight: 500;
        }

        .biz-alert-product-link {
            transition: color 0.15s ease-in-out;
        }
        .biz-alert-product-link:hover {
            color: #4f46e5 !important;
            text-decoration: underline !important;
        }
