/**
 * NDPE Shop Master – Premium shop/archive page.
 * @package NDPE
 */

/* ═══ Root ═══ */
.ndpe-shop-master {
  font-family: var(--ndpe-font);
  color: var(--ndpe-text, #0f0f0f);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ═══ CSS Variable Overrides ═══
 * Note: We've removed manual font-family/color overrides here to allow
 * Elementor's native widget selectors (which we've fixed to .ndpe-card-price)
 * to work correctly in the live preview and across AJAX loads.
 * ═══════════════════════════════════════════════════════════════════════════ */

/* Default accent color for sale prices if not overridden by Elementor */
#ndpe-product-grid .ndpe-card-price ins .woocommerce-Price-amount,
.ndpe-grid-wrap .ndpe-card-price ins .woocommerce-Price-amount {
  color: var(--ndpe-accent, #e85d04);
}

/* ═══ Layout Modes ═══ */
.ndpe-shop-master[data-layout="left"] {
  display: grid;
  grid-template-columns: var(--ndpe-sidebar-width, 260px) 1fr;
  gap: 32px;
  align-items: start;
}
.ndpe-shop-master[data-layout="right"] {
  display: grid;
  grid-template-columns: 1fr var(--ndpe-sidebar-width, 260px);
  gap: 32px;
  align-items: start;
}
.ndpe-shop-master[data-layout="top"] { display: block; }

@media (max-width: 768px) {
  .ndpe-shop-master[data-layout="left"],
  .ndpe-shop-master[data-layout="right"] { display: block; }
}

/* ═══ Sidebar ═══ */
.ndpe-sidebar {
  background: var(--ndpe-sidebar-bg, #f8f8f6);
  border-radius: var(--ndpe-sidebar-radius, 12px);
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.ndpe-sidebar.ndpe-sticky { position: sticky; top: 90px; }
@media (max-width: 768px) {
  .ndpe-sidebar {
    margin-bottom: 24px;
    position: static !important;
  }
}

/* Filter Sections */
.ndpe-filter-section {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.ndpe-filter-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.ndpe-filter-label {
  font-family: var(--ndpe-font);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ═══ Top Filter Bar ═══ */
.ndpe-top-filters {
  margin-bottom: 24px;
  padding: 16px 20px;
  background: var(--ndpe-surface, #f8f8f6);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.ndpe-top-filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
@media (max-width: 768px) {
  .ndpe-top-filters-row { flex-direction: column; align-items: stretch; }
}

/* ═══ Form Controls ═══ */
.ndpe-search-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-family: var(--ndpe-font);
  font-size: 0.875rem;
  background: #fff;
  color: var(--ndpe-text, #0f0f0f);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.ndpe-search-input:focus {
  border-color: var(--ndpe-accent, #e85d04);
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.08);
}
.ndpe-top-filters .ndpe-search-input { flex: 1 1 180px; width: auto; }

.ndpe-select {
  width: 100%;
  padding: 10px 36px 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-family: var(--ndpe-font);
  font-size: 0.875rem;
  background: #fff;
  color: var(--ndpe-text, #0f0f0f);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  outline: none;
  transition: border-color 180ms ease;
}
.ndpe-select:focus { border-color: var(--ndpe-accent, #e85d04); }
.ndpe-top-filters .ndpe-select { flex: 0 0 auto; width: auto; min-width: 140px; }

/* ═══ Price Slider ═══ */
.ndpe-price-slider { width: 100%; }
.ndpe-top-filters .ndpe-price-slider { flex: 1 1 200px; }
.ndpe-slider-track {
  position: relative;
  height: 5px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 3px;
  margin: 12px 0 8px;
}
.ndpe-slider-fill {
  position: absolute;
  height: 100%;
  background: var(--ndpe-accent, #e85d04);
  border-radius: 3px;
  pointer-events: none;
}
.ndpe-range-min, .ndpe-range-max {
  position: absolute;
  top: -7px;
  width: 100%;
  height: 20px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  pointer-events: none;
  margin: 0;
  padding: 0;
}
.ndpe-range-min::-webkit-slider-thumb,
.ndpe-range-max::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ndpe-accent, #e85d04);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 2;
  transition: box-shadow 180ms ease, transform 180ms ease;
}
.ndpe-range-min::-webkit-slider-thumb:hover,
.ndpe-range-max::-webkit-slider-thumb:hover {
  box-shadow: 0 2px 8px rgba(232, 93, 4, 0.3);
  transform: scale(1.15);
}
.ndpe-range-min::-moz-range-thumb,
.ndpe-range-max::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ndpe-accent, #e85d04);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  pointer-events: auto;
}
.ndpe-price-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 600;
  font-family: var(--ndpe-font);
}

/* ═══ Tag Toggles ═══ */
.ndpe-tag-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.ndpe-tag-toggle {
  padding: 5px 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 100px;
  font-family: var(--ndpe-font);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: #6b7280;
  transition: all 180ms ease;
}
.ndpe-tag-toggle:hover { border-color: var(--ndpe-accent, #e85d04); color: var(--ndpe-accent, #e85d04); }
.ndpe-tag-toggle.active {
  background: var(--ndpe-accent, #e85d04);
  border-color: var(--ndpe-accent, #e85d04);
  color: #fff;
}

/* ═══ Active Filter Chips ═══ */
.ndpe-active-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0;
  margin-bottom: 8px;
}
.ndpe-active-filters[hidden] { display: none; }
.ndpe-filters-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 4px;
}
.ndpe-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(232, 93, 4, 0.06);
  border: 1px solid rgba(232, 93, 4, 0.15);
  border-radius: 100px;
  font-family: var(--ndpe-font);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ndpe-accent, #e85d04);
}
.ndpe-chip-x {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: var(--ndpe-accent, #e85d04);
  padding: 0;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 150ms ease;
}
.ndpe-chip-x:hover { opacity: 1; }
.ndpe-clear-all {
  background: none;
  border: none;
  font-family: var(--ndpe-font);
  font-size: 0.75rem;
  font-weight: 700;
  color: #dc2626;
  cursor: pointer;
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 150ms ease;
}
.ndpe-clear-all:hover { background: rgba(220, 38, 38, 0.06); }

/* ═══ Shop Header ═══ */
.ndpe-shop-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.ndpe-result-count {
  margin: 0;
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}
.ndpe-shop-header-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* View Toggle */
.ndpe-view-toggle {
  display: flex;
  background: var(--ndpe-surface, #f5f5f3);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.ndpe-view-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 180ms ease;
}
.ndpe-view-btn:hover { color: #374151; }
.ndpe-view-btn.ndpe-view-active {
  background: #fff;
  color: var(--ndpe-accent, #e85d04);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ═══ Grid & List View ═══ */
.ndpe-shop-grid.ndpe-grid-view {
  display: grid;
  grid-template-columns: repeat(var(--ndpe-grid-cols, 3), 1fr);
  gap: var(--ndpe-card-gap, 24px);
}
@media (max-width: 1024px) {
  .ndpe-shop-grid.ndpe-grid-view { grid-template-columns: repeat(var(--ndpe-grid-cols-tablet, 2), 1fr); }
}
@media (max-width: 640px) {
  .ndpe-shop-grid.ndpe-grid-view { grid-template-columns: repeat(var(--ndpe-grid-cols-mobile, 1), 1fr); }
}

.ndpe-shop-grid.ndpe-list-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ndpe-list-view .ndpe-card {
  display: grid !important;
  grid-template-columns: 200px 1fr auto;
  grid-template-rows: 1fr;
  align-items: stretch;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  box-shadow: none;
  min-height: 0;
  max-height: 160px !important;
  height: 160px !important;
}
.ndpe-list-view .ndpe-card:hover {
  border-color: rgba(232, 93, 4, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: none;
}
/* Force fixed height on thumb — overrides base .ndpe-card-thumb { height: var(--ndpe-img-height) } */
.ndpe-list-view .ndpe-card .ndpe-card-thumb {
  width: 200px !important;
  height: 160px !important;
  min-height: 0 !important;
  max-height: 160px !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  flex-shrink: 0 !important;
  position: relative !important;
}
/* Scroll-on-hover effect: inherited from .ndpe-card-thumb[data-scroll] in ndpe-cards.css */
.ndpe-list-view .ndpe-card .ndpe-card-thumb img {
  width: 100% !important;
  height: auto !important;
  min-height: 100% !important;
  transform: none;
}
.ndpe-list-view .ndpe-card-body {
  padding: 16px 20px;
  justify-content: center;
  overflow: hidden;
}
.ndpe-list-view .ndpe-card-footer {
  border-top: none;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  padding: 20px;
  flex-direction: column;
  justify-content: center;
  min-width: 160px;
  align-items: stretch;
}
@media (max-width: 640px) {
  .ndpe-list-view .ndpe-card {
    grid-template-columns: 1fr !important;
    max-height: none !important;
    height: auto !important;
  }
  .ndpe-list-view .ndpe-card .ndpe-card-thumb {
    width: 100% !important;
    height: 180px !important;
    min-height: 0 !important;
    max-height: 180px !important;
  }
  .ndpe-list-view .ndpe-card-footer { border-left: none; border-top: 1px solid rgba(0, 0, 0, 0.06); }
}

/* ═══ Loading Overlay ═══ */
.ndpe-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 12px;
}
.ndpe-loading-overlay[hidden] { display: none; }
.ndpe-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(0, 0, 0, 0.06);
  border-top-color: var(--ndpe-accent, #e85d04);
  border-radius: 50%;
  animation: ndpe-spin 0.7s linear infinite;
}
@keyframes ndpe-spin { to { transform: rotate(360deg); } }

/* ═══ Empty State ═══ */
.ndpe-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 80px 20px;
  text-align: center;
  color: #9ca3af;
  font-family: var(--ndpe-font);
  grid-column: 1 / -1;
}
.ndpe-empty-state svg { opacity: 0.3; }
.ndpe-empty-state h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ndpe-text, #0f0f0f);
  margin: 0;
}
.ndpe-empty-state p { margin: 0; font-size: 0.9375rem; }

/* ═══ Pagination ═══ */
.ndpe-shop-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
  padding-top: 24px;
}
.ndpe-page-ellipsis { color: #9ca3af; padding: 0 4px; font-size: 0.875rem; }

/* ═══ Shop Content ═══ */
.ndpe-shop-content { position: relative; min-height: 200px; }

/* Card entrance */
.ndpe-shop-grid .ndpe-card {
  animation: ndpe-shop-card-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes ndpe-shop-card-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ndpe-shop-grid .ndpe-card:nth-child(1)  { animation-delay: 0ms; }
.ndpe-shop-grid .ndpe-card:nth-child(2)  { animation-delay: 35ms; }
.ndpe-shop-grid .ndpe-card:nth-child(3)  { animation-delay: 70ms; }
.ndpe-shop-grid .ndpe-card:nth-child(4)  { animation-delay: 105ms; }
.ndpe-shop-grid .ndpe-card:nth-child(5)  { animation-delay: 140ms; }
.ndpe-shop-grid .ndpe-card:nth-child(6)  { animation-delay: 175ms; }
.ndpe-shop-grid .ndpe-card:nth-child(7)  { animation-delay: 210ms; }
.ndpe-shop-grid .ndpe-card:nth-child(8)  { animation-delay: 245ms; }
.ndpe-shop-grid .ndpe-card:nth-child(9)  { animation-delay: 280ms; }
.ndpe-shop-grid .ndpe-card:nth-child(10) { animation-delay: 315ms; }
.ndpe-shop-grid .ndpe-card:nth-child(11) { animation-delay: 350ms; }
.ndpe-shop-grid .ndpe-card:nth-child(12) { animation-delay: 385ms; }

/* ═══ Dark Mode ═══ */
@media (prefers-color-scheme: dark) {
  .ndpe-shop-master { color: #f0f0f0; }
  .ndpe-sidebar {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.07);
  }
  .ndpe-filter-label { color: #9ca3af; }
  .ndpe-filter-section { border-color: rgba(255, 255, 255, 0.06); }
  .ndpe-search-input, .ndpe-select {
    background: #222;
    border-color: rgba(255, 255, 255, 0.1);
    color: #f0f0f0;
  }
  .ndpe-search-input:focus { border-color: #e85d04; box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.15); }
  .ndpe-select:focus { border-color: #e85d04; }
  .ndpe-tag-toggle { border-color: rgba(255, 255, 255, 0.1); color: #9ca3af; }
  .ndpe-tag-toggle:hover { border-color: #e85d04; color: #e85d04; }
  .ndpe-tag-toggle.active { background: #e85d04; border-color: #e85d04; color: #fff; }
  .ndpe-slider-track { background: rgba(255, 255, 255, 0.08); }
  .ndpe-range-min::-webkit-slider-thumb,
  .ndpe-range-max::-webkit-slider-thumb { background: #1a1a1a; }
  .ndpe-price-display { color: #9ca3af; }
  .ndpe-top-filters { background: #1a1a1a; border-color: rgba(255, 255, 255, 0.06); }
  .ndpe-shop-header { border-color: rgba(255, 255, 255, 0.06); }
  .ndpe-result-count { color: #9ca3af; }
  .ndpe-view-toggle { background: #222; border-color: rgba(255, 255, 255, 0.06); }
  .ndpe-view-btn { color: #6b7280; }
  .ndpe-view-btn.ndpe-view-active { background: #1a1a1a; color: #e85d04; }
  .ndpe-loading-overlay { background: rgba(17, 17, 17, 0.6); }
  .ndpe-spinner { border-color: rgba(255, 255, 255, 0.08); border-top-color: #e85d04; }
  .ndpe-empty-state h3 { color: #f0f0f0; }
  .ndpe-list-view .ndpe-card { border-color: rgba(255, 255, 255, 0.07); }
  .ndpe-list-view .ndpe-card:hover { border-color: rgba(232, 93, 4, 0.2); }
  .ndpe-list-view .ndpe-card-footer { border-color: rgba(255, 255, 255, 0.06); }
}

/* ════ FIX: Pagination — Full Theme Override ════ */

/* ── NDPE custom pagination (button-based) ── */
.ndpe-shop-pagination,
.ndpe-pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 32px 16px !important;
  margin: 0 !important;
  flex-wrap: wrap !important;
}

.ndpe-page-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 9px !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  font-family: var(--ndpe-font, inherit) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  color: #374151 !important;
  background: #f3f4f6 !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  outline: none !important;
  line-height: 1 !important;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease, box-shadow 150ms ease !important;
}
.ndpe-page-btn:hover {
  background: #e85d04 !important;
  color: #ffffff !important;
  border-color: #e85d04 !important;
  box-shadow: 0 2px 10px rgba(232,93,4,0.3) !important;
}
.ndpe-page-btn.ndpe-page-active {
  background: #e85d04 !important;
  color: #ffffff !important;
  border-color: #e85d04 !important;
  box-shadow: 0 2px 10px rgba(232,93,4,0.25) !important;
  font-weight: 700 !important;
  cursor: default !important;
}

/* Prev / Next arrows */
.ndpe-page-btn.ndpe-page-prev,
.ndpe-page-btn.ndpe-page-next {
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.1) !important;
  color: #374151 !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}
.ndpe-page-btn.ndpe-page-prev:hover,
.ndpe-page-btn.ndpe-page-next:hover {
  background: #e85d04 !important;
  border-color: #e85d04 !important;
  color: #ffffff !important;
}

/* Ellipsis */
.ndpe-page-ellipsis {
  color: #9ca3af !important;
  padding: 0 4px !important;
  font-size: 0.875rem !important;
  cursor: default !important;
}

/* ── WooCommerce native pagination (fallback) ── */
.ndpe-shop-master .woocommerce-pagination,
.ndpe-shop-master nav.woocommerce-pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 32px 16px !important;
  margin: 0 !important;
}
.ndpe-shop-master .woocommerce-pagination ul {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
}
.ndpe-shop-master .woocommerce-pagination ul li {
  display: inline-flex !important;
  margin: 0 !important;
  padding: 0 !important;
}
.ndpe-shop-master .woocommerce-pagination ul li a,
.ndpe-shop-master .woocommerce-pagination ul li span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 9px !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  color: #374151 !important;
  background: #f3f4f6 !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  outline: none !important;
  line-height: 1 !important;
  transition: background 150ms ease, color 150ms ease !important;
}
.ndpe-shop-master .woocommerce-pagination ul li a:hover {
  background: #e85d04 !important;
  color: #ffffff !important;
  border-color: #e85d04 !important;
  box-shadow: 0 2px 10px rgba(232,93,4,0.3) !important;
}
.ndpe-shop-master .woocommerce-pagination ul li span.current {
  background: #e85d04 !important;
  color: #ffffff !important;
  border-color: #e85d04 !important;
  box-shadow: 0 2px 10px rgba(232,93,4,0.25) !important;
  font-weight: 700 !important;
}
.ndpe-shop-master .woocommerce-pagination ul li span.dots {
  background: transparent !important;
  border-color: transparent !important;
  color: #9ca3af !important;
  cursor: default !important;
  box-shadow: none !important;
}
.ndpe-shop-master .woocommerce-pagination ul li a.prev,
.ndpe-shop-master .woocommerce-pagination ul li a.next {
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.1) !important;
  color: #374151 !important;
  font-weight: 700 !important;
}
.ndpe-shop-master .woocommerce-pagination ul li a.prev:hover,
.ndpe-shop-master .woocommerce-pagination ul li a.next:hover {
  background: #e85d04 !important;
  border-color: #e85d04 !important;
  color: #ffffff !important;
}

/* ── Dark mode pagination ── */
@media (prefers-color-scheme: dark) {
  .ndpe-page-btn {
    background: #1f1f1f !important;
    color: #d1d5db !important;
  }
  .ndpe-page-btn:hover {
    background: #e85d04 !important;
    color: #fff !important;
  }
  .ndpe-page-btn.ndpe-page-active {
    background: #e85d04 !important;
    color: #fff !important;
  }
  .ndpe-page-btn.ndpe-page-prev,
  .ndpe-page-btn.ndpe-page-next {
    background: #1a1a1a !important;
    border-color: rgba(255,255,255,0.1) !important;
    color: #d1d5db !important;
  }
  .ndpe-page-btn.ndpe-page-prev:hover,
  .ndpe-page-btn.ndpe-page-next:hover {
    background: #e85d04 !important;
    border-color: #e85d04 !important;
    color: #fff !important;
  }
  .ndpe-page-ellipsis { color: #6b7280 !important; }
}
