/* nbcurtains v17 — product navigation + definitive admin ivory/gold palette */
:root{--nb17-gold:#c99625;--nb17-gold-dark:#79520b;--nb17-ink:#30271a;--nb17-muted:#6f6554;--nb17-ivory:#fffdf8;--nb17-ivory-2:#fff8e8;--nb17-line:#e2c57d}

/* Public navigation: Product is a real link and dropdown parent. */
html body:not(.admin-body) .nb-nav-dropdown>.nb-nav-drop-trigger{
  display:inline-flex!important;align-items:center!important;gap:5px!important;text-decoration:none!important;
  background:transparent!important;border:0!important;color:#3b2e1b!important;font-weight:500!important;
}
html body:not(.admin-body) .nb-nav-dropdown>.nb-nav-drop-trigger:hover,
html body:not(.admin-body) .nb-nav-dropdown>.nb-nav-drop-trigger.active{background:transparent!important;color:#8b6212!important}
html body:not(.admin-body) .nb-nav-dropdown>.nb-nav-drop-trigger::after{content:"";position:absolute;left:10px;right:10px;bottom:-7px;height:2px;background:linear-gradient(90deg,#c99625,#e6c765);transform:scaleX(0);transform-origin:center;transition:transform .2s ease}
html body:not(.admin-body) .nb-nav-dropdown:hover>.nb-nav-drop-trigger::after,
html body:not(.admin-body) .nb-nav-dropdown>.nb-nav-drop-trigger.active::after{transform:scaleX(1)}
html body:not(.admin-body) .nb-nav-drop-trigger{position:relative}
html body:not(.admin-body) .nb-nav-chevron svg{width:15px!important;height:15px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
html body:not(.admin-body) .nb-nav-dropdown:hover .nb-nav-chevron{transform:rotate(180deg)}

/* ADMIN: final high-specificity reset. No navy/blue panels in content. */
html body.admin-body{background:#f6f0e4!important;color:var(--nb17-ink)!important}
html body.admin-body .admin-shell,
html body.admin-body main.admin-content,
html body.admin-body .admin-content{background:#f6f0e4!important;background-color:#f6f0e4!important;color:var(--nb17-ink)!important}
html body.admin-body .admin-content .section,
html body.admin-body .admin-content .admin-page{background:transparent!important;color:var(--nb17-ink)!important}

html body.admin-body .admin-content .card-lite,
html body.admin-body .admin-content .admin-surface,
html body.admin-body .admin-content .admin-form-main,
html body.admin-body .admin-content .admin-form-side,
html body.admin-body .admin-content .admin-list-card,
html body.admin-body .admin-content .admin-settings-card,
html body.admin-body .admin-content .admin-guide-card,
html body.admin-body .admin-content .professional-report-card,
html body.admin-body .admin-content .report-table-card,
html body.admin-body .admin-content .sales-chart-card,
html body.admin-body .admin-content .best-selling-card,
html body.admin-body .admin-content .activity-card,
html body.admin-body .admin-content .faq-manager-card,
html body.admin-body .admin-content .faq-list-card,
html body.admin-body .admin-content .promotions-list-card,
html body.admin-body .admin-content .nb-custom-admin-card,
html body.admin-body .admin-content .customer-entry-card,
html body.admin-body .admin-content .order-entry-card,
html body.admin-body .admin-content .checkout-summary-card,
html body.admin-body .admin-content .stock-entry-card,
html body.admin-body .admin-content .stock-history-card,
html body.admin-body .admin-content .low-stock-panel,
html body.admin-body .admin-content .gmail-inbox-shell,
html body.admin-body .admin-content .category-list-card{
  background:var(--nb17-ivory)!important;background-color:var(--nb17-ivory)!important;
  color:var(--nb17-ink)!important;border-color:var(--nb17-line)!important;
  box-shadow:0 10px 28px rgba(81,55,12,.08)!important;
}

/* Every repeated row/table component that had historical navy rules. */
html body.admin-body .admin-content .trow,
html body.admin-body .admin-content .product-row,
html body.admin-body .admin-content .category-compact-row,
html body.admin-body .admin-content .category-simple-row,
html body.admin-body .admin-content .admin-list-row,
html body.admin-body .admin-content .order-one-line-row,
html body.admin-body .admin-content .promotion-admin-row,
html body.admin-body .admin-content .faq-admin-item,
html body.admin-body .admin-content .faq-admin-row,
html body.admin-body .admin-content .low-stock-item,
html body.admin-body .admin-content .best-selling-item,
html body.admin-body .admin-content .activity-log-row,
html body.admin-body .admin-content .gmail-message-row,
html body.admin-body .admin-content .payment-toggle-row,
html body.admin-body .admin-content .admin-slide-row{
  background:#fffdf8!important;background-color:#fffdf8!important;color:var(--nb17-ink)!important;
  border-color:#ead8ac!important;box-shadow:none!important;
}
html body.admin-body .admin-content .product-row:hover,
html body.admin-body .admin-content .category-compact-row:hover,
html body.admin-body .admin-content .category-simple-row:hover,
html body.admin-body .admin-content .admin-list-row:hover,
html body.admin-body .admin-content .order-one-line-row:hover,
html body.admin-body .admin-content .gmail-message-row:hover{background:#fff5d8!important;background-color:#fff5d8!important}

html body.admin-body .admin-content .product-list-head,
html body.admin-body .admin-content .category-compact-head,
html body.admin-body .admin-content .admin-list-head,
html body.admin-body .admin-content .order-one-line-head,
html body.admin-body .admin-content .trow.thead{
  background:#f7e6b7!important;background-color:#f7e6b7!important;color:#503a12!important;border-color:#d9b75f!important
}
html body.admin-body .admin-content .product-list-head *,
html body.admin-body .admin-content .category-compact-head *,
html body.admin-body .admin-content .admin-list-head *,
html body.admin-body .admin-content .order-one-line-head *{color:#503a12!important}

html body.admin-body .admin-content table,
html body.admin-body .admin-content .report-product-table,
html body.admin-body .admin-content .order-edit-table,
html body.admin-body .admin-content .stock-table,
html body.admin-body .admin-content .invoice-table{background:#fffdf8!important;background-color:#fffdf8!important;color:var(--nb17-ink)!important}
html body.admin-body .admin-content table thead,
html body.admin-body .admin-content table thead tr,
html body.admin-body .admin-content table thead th{background:#f7e6b7!important;background-color:#f7e6b7!important;color:#503a12!important;border-color:#d9b75f!important}
html body.admin-body .admin-content table tbody,
html body.admin-body .admin-content table tbody tr,
html body.admin-body .admin-content table tbody td{background:#fffdf8!important;background-color:#fffdf8!important;color:var(--nb17-ink)!important;border-color:#eee0bf!important}
html body.admin-body .admin-content table tbody tr:hover td{background:#fff7e2!important;background-color:#fff7e2!important}

/* Dashboard KPI and notices: explicitly beat old theme selectors. */
html body.admin-body .admin-content .premium-kpi-card,
html body.admin-body .admin-content .kpi-card,
html body.admin-body .admin-content .mini-stat-card,
html body.admin-body .admin-content .stock-summary-card{
  background:linear-gradient(145deg,#fffdf8,#f7e8be)!important;background-color:#fffdf8!important;
  color:var(--nb17-ink)!important;border:1px solid #e0c273!important;box-shadow:0 8px 20px rgba(86,59,12,.07)!important
}
html body.admin-body .admin-content .premium-kpi-card strong,
html body.admin-body .admin-content .kpi-card strong,
html body.admin-body .admin-content .mini-stat-card strong,
html body.admin-body .admin-content .stock-summary-card strong{color:#79520b!important;opacity:1!important;text-shadow:none!important}
html body.admin-body .admin-content .premium-kpi-card span,
html body.admin-body .admin-content .premium-kpi-card small,
html body.admin-body .admin-content .kpi-card span,
html body.admin-body .admin-content .kpi-card small,
html body.admin-body .admin-content .mini-stat-card span,
html body.admin-body .admin-content .mini-stat-card small,
html body.admin-body .admin-content .stock-summary-card span,
html body.admin-body .admin-content .stock-summary-card small{color:#71654f!important;opacity:1!important;text-shadow:none!important}
html body.admin-body .admin-content .empty-state,
html body.admin-body .admin-content .modern-note,
html body.admin-body .admin-content .note,
html body.admin-body .admin-content .nb-admin-info,
html body.admin-body .admin-content .return-refund-box,
html body.admin-body .admin-content .manual-order-total,
html body.admin-body .admin-content .order-stock,
html body.admin-body .admin-content .stock-suggestion-stock{
  background:#fff4d8!important;background-color:#fff4d8!important;color:var(--nb17-ink)!important;border-color:#e1c16f!important
}
html body.admin-body .admin-content .empty-state *,
html body.admin-body .admin-content .modern-note *,
html body.admin-body .admin-content .note *,
html body.admin-body .admin-content .nb-admin-info *{color:var(--nb17-ink)!important;opacity:1!important}

/* Typography/readability on every admin page. */
html body.admin-body .admin-content h1,
html body.admin-body .admin-content h2,
html body.admin-body .admin-content h3,
html body.admin-body .admin-content h4,
html body.admin-body .admin-content h5,
html body.admin-body .admin-content h6,
html body.admin-body .admin-content strong,
html body.admin-body .admin-content .strong,
html body.admin-body .admin-content label{color:#30271a!important;opacity:1!important;text-shadow:none!important}
html body.admin-body .admin-content p,
html body.admin-body .admin-content small,
html body.admin-body .admin-content .small,
html body.admin-body .admin-content .muted,
html body.admin-body .admin-content .order-meta,
html body.admin-body .admin-content .admin-field-help{color:#706653!important;opacity:1!important;text-shadow:none!important}
html body.admin-body .admin-content a:not(.btn){color:#79520b!important}

html body.admin-body .admin-content input:not([type=checkbox]):not([type=radio]):not([type=color]),
html body.admin-body .admin-content select,
html body.admin-body .admin-content textarea{
  background:#fff!important;background-color:#fff!important;color:#30271a!important;border-color:#d7b96e!important;box-shadow:none!important
}
html body.admin-body .admin-content input::placeholder,
html body.admin-body .admin-content textarea::placeholder{color:#8c806b!important;opacity:1!important}
html body.admin-body .admin-content select option{background:#fff!important;color:#30271a!important}

html body.admin-body .admin-content .btn{background:#fffaf0!important;color:#4b3713!important;border-color:#d6b76d!important;box-shadow:none!important}
html body.admin-body .admin-content .btn:hover{background:#fff0c8!important;color:#392807!important;border-color:#c99625!important}
html body.admin-body .admin-content .btn.primary{background:linear-gradient(135deg,#deb244,#bd8614)!important;color:#fff!important;border-color:#b67f11!important}
html body.admin-body .admin-content .btn.danger{background:#fff7f4!important;color:#923b35!important;border-color:#e0aaa4!important}
html body.admin-body .admin-content .pill,
html body.admin-body .admin-content .status-badge,
html body.admin-body .admin-content .promotion-type-badge,
html body.admin-body .admin-content .low-stock-count,
html body.admin-body .admin-content .report-preset-chip{background:#fff0c5!important;color:#704c08!important;border-color:#d9b75f!important}

/* Sidebar never turns navy either. */
html body.admin-body aside.admin-sidebar{background:#fffdf8!important;background-color:#fffdf8!important;color:#30271a!important;border-color:#e2c57d!important;box-shadow:10px 0 26px rgba(82,55,10,.07)!important}
html body.admin-body aside.admin-sidebar .admin-menu-link,
html body.admin-body aside.admin-sidebar .admin-menu-parent{background:transparent!important;color:#4c391b!important;border-color:transparent!important}
html body.admin-body aside.admin-sidebar .admin-menu-link:hover,
html body.admin-body aside.admin-sidebar .admin-menu-link.active,
html body.admin-body aside.admin-sidebar .admin-menu-group.active>.admin-menu-parent{background:#fff0c4!important;color:#704b07!important;border-color:#ddb95e!important}
html body.admin-body aside.admin-sidebar .admin-sidebar-foot{background:linear-gradient(180deg,rgba(255,253,248,0),#fffdf8 30%,#fffdf8)!important}
html body.admin-body aside.admin-sidebar .admin-sidebar-close,
html body.admin-body .admin-mobile-toggle{background:#fffaf0!important;color:#5c4213!important;border-color:#d5b66b!important}

/* Remove recognizable legacy navy/blue inline utility backgrounds where present. */
html body.admin-body .admin-content [style*="#123a32"],
html body.admin-body .admin-content [style*="#173f36"],
html body.admin-body .admin-content [style*="#132e45"],
html body.admin-body .admin-content [style*="#1b3a54"],
html body.admin-body .admin-content [style*="#071827"],
html body.admin-body .admin-content [style*="#0b2822"],
html body.admin-body .admin-content [style*="#071b18"]{background:#fffdf8!important;background-color:#fffdf8!important;color:#30271a!important}
