/* ===== EXACT 1:1 PIXEL-PERFECT CATALOG SPECIFICATION ===== */
.cat-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Top Header Bar */
.cat-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 4px 0;
}

.cat-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.cat-breadcrumb .crumb-back {
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.cat-breadcrumb .crumb-sep {
  color: #94a3b8;
  font-size: 13px;
}

.cat-client-info {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: right;
}

.cat-client-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.cat-client-name {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.cat-client-num {
  font-size: 11.5px;
  color: #64748b;
}

.cat-client-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Top Search & Actions Row */
.cat-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
  margin-bottom: 4px;
}

.cat-search-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 560px;
}

.cat-search-input {
  flex: 1;
  height: 36px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s ease;
}

.cat-search-input:focus {
  border-color: #2563eb;
}

.cat-btn-search {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  height: 36px;
  padding: 0 16px;
  background: #2563eb;
  color: #ffffff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease;
  user-select: none;
}

.cat-btn-search:hover {
  background: #1d4ed8;
}

.cat-btn-advanced {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  height: 36px;
  padding: 0 14px;
  background: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
  user-select: none;
}

.cat-btn-advanced:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.cat-btn-export {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  height: 36px;
  padding: 0 18px;
  background: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s ease;
  user-select: none;
}

.cat-btn-export:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

/* Results Count & Top Pagination Pills */
.cat-meta-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
  margin-bottom: 6px;
}

.cat-results-count {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.cat-pills-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cat-page-pill {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #2563eb;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #ffffff;
  transition: all 0.12s ease;
  user-select: none;
}

.cat-page-pill:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.cat-page-pill.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

/* Main Table Container */
.cat-table-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow-x: hidden !important;
  box-shadow: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.cat-table {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
  text-align: left !important;
}

.cat-table th {
  background: #ffffff !important;
  color: #1e293b !important;
  font-weight: 700 !important;
  font-size: 11.5px !important;
  padding: 10px 8px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  letter-spacing: -0.1px !important;
  box-sizing: border-box !important;
  position: static !important;
}

.cat-table td {
  padding: 8px 8px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  vertical-align: middle !important;
  color: #334155 !important;
  font-size: 12px !important;
  box-sizing: border-box !important;
}

.cat-row {
  transition: background 0.12s ease;
  background: #ffffff;
}

.cat-row:hover {
  background: #f8fafc;
}

.cat-row-pending {
  background: #fffdf5 !important;
}

.cat-row-pending:hover {
  background: #fefce8 !important;
}

.cat-row:last-child td {
  border-bottom: none !important;
}

/* 10-column percentage distribution for stable, slider-free fit (total = 100%) */
.col-type { width: 3.5% !important; min-width: 0 !important; max-width: 3.5% !important; text-align: center !important; }
.col-status { width: 3.5% !important; min-width: 0 !important; max-width: 3.5% !important; text-align: center !important; }
.col-title { width: 26% !important; min-width: 0 !important; max-width: 26% !important; }
.col-label { width: 12% !important; min-width: 0 !important; max-width: 12% !important; }
.col-date { width: 10% !important; min-width: 0 !important; max-width: 10% !important; }
.col-tracks { width: 6% !important; min-width: 0 !important; max-width: 6% !important; text-align: center !important; }
.col-upc { width: 14% !important; min-width: 0 !important; max-width: 14% !important; }
.col-promo { width: 7% !important; min-width: 0 !important; max-width: 7% !important; text-align: center !important; }
.col-delivery { width: 14% !important; min-width: 0 !important; max-width: 14% !important; }
.col-actions { width: 4% !important; min-width: 0 !important; max-width: 4% !important; text-align: center !important; }

/* Allow release title and artist names to wrap cleanly with accessible ellipsis */
.cell-title-link {
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  line-height: 1.35 !important;
  max-height: 2.7em !important;
}

.cell-artist-name {
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  line-height: 1.3 !important;
  max-height: 1.3em !important;
}

.cell-label {
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  line-height: 1.3 !important;
}

.cell-date {
  white-space: normal !important;
  word-break: break-word !important;
  display: block !important;
  line-height: 1.35 !important;
  font-size: 11.5px !important;
}

.cell-delivery-stack {
  width: 100% !important;
  max-width: 100% !important;
}

.delivery-pill-btn {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 4px !important;
  font-size: 11px !important;
  gap: 4px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Mobile compact layout (<= 768px): clean touch scroll */
@media (max-width: 768px) {
  .cat-table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .cat-table {
    min-width: 720px !important;
  }
}

/* Cell Elements */
.cell-type-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px !important;
  height: 26px !important;
  margin: 0 auto !important;
}

.cell-status-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  margin: 0 auto !important;
}

/* Title & Artist Cell */
.cell-title-artist {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.cell-cover-img {
  width: 40px !important;
  height: 40px !important;
  border-radius: 6px !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.cell-cover-placeholder {
  width: 40px !important;
  height: 40px !important;
  border-radius: 6px !important;
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.cell-info-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
  flex: 1 !important;
  overflow: hidden !important;
}

.cell-title-link {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #2563eb !important;
  text-decoration: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: block !important;
  line-height: 1.3 !important;
}

.cell-title-link:hover {
  color: #1d4ed8 !important;
  text-decoration: underline !important;
}

.cell-artist-name {
  font-size: 11.5px !important;
  color: #64748b !important;
  font-weight: 400 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: block !important;
}

.italic-empty {
  font-style: italic !important;
  color: #64748b !important;
}

.italic-no-info {
  font-style: italic !important;
  color: #64748b !important;
}

/* Label Cell */
.cell-label {
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: block !important;
}

/* Date Cell */
.cell-date {
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  white-space: nowrap !important;
}

/* Promotion Cell */
.cell-promote-link {
  color: #2563eb !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: color 0.15s ease !important;
}

.cell-promote-link:hover {
  color: #1d4ed8 !important;
  text-decoration: underline !important;
}

/* Delivered Territories & Stores (2 Separate Clickable Buttons) */
.cell-delivery-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.delivery-pill-btn {
  all: unset !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 24px !important;
  padding: 0 6px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  width: 100% !important;
  max-width: 100% !important;
}

.delivery-pill-btn:hover {
  background: #eff6ff !important;
  border-color: #93c5fd !important;
  color: #1d4ed8 !important;
}

.delivery-pill-btn svg {
  color: #0f172a !important;
  flex-shrink: 0 !important;
  width: 13px !important;
  height: 13px !important;
}

/* Actions Menu & Dropdown */
.action-dropdown-wrap {
  position: relative;
  display: inline-block;
}

.cell-action-btn {
  all: unset !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #64748b !important;
  margin: 0 auto !important;
  transition: all 0.15s ease !important;
}

.cell-action-btn:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

.action-menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 9999;
  min-width: 160px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.action-menu-item {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: #334155;
  transition: all 0.12s ease;
}

.action-menu-item:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.action-menu-item.danger {
  color: #ef4444;
}

.action-menu-item.danger:hover {
  background: #fef2f2;
  color: #dc2626;
}

/* =========================================================================
   STORES & TERRITORIES MODAL (Matching Exact 2nd Screenshot)
   ========================================================================= */
.dsp-modal-card {
  background: #ffffff;
  border-radius: 12px;
  width: 90%;
  max-width: 820px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: modalScaleIn 0.2s ease-out;
}

@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.dsp-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #f1f5f9;
}

.dsp-modal-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dsp-modal-subtitle {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

.dsp-modal-close {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 20px;
  transition: all 0.15s ease;
}

.dsp-modal-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.dsp-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

/* Stores 2-Column Table Grid */
.dsp-stores-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}

.dsp-store-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.dsp-store-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dsp-store-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dsp-store-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
}

.dsp-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.dsp-status-badge.delivered {
  background: #ecfdf5;
  color: #10b981;
  border: 1px solid #a7f3d0;
}

.dsp-status-badge.pending {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.dsp-status-badge.queued {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

/* Territories Grid & Search */
.terr-search-input {
  width: 100%;
  height: 38px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  outline: none;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.terr-search-input:focus {
  border-color: #2563eb;
}

.terr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
  max-height: 480px;
  overflow-y: auto;
}

.terr-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border: 1px solid #f1f5f9;
  border-radius: 6px;
  background: #ffffff;
  transition: all 0.12s ease;
}

.terr-item-card:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.terr-card-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.terr-flag-img {
  width: 20px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.terr-country-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =========================================================================
   ALLOWED TERRITORIES & DELIVERED STORES MODALS (100% SPEC MATCH)
   ========================================================================= */
.st-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 9999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  box-sizing: border-box !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.modal-card-exact {
  background: #ffffff !important;
  border-radius: 12px !important;
  width: 100% !important;
  max-width: 980px !important;
  max-height: 90vh !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
  animation: modalScaleIn 0.18s ease-out !important;
  overflow: hidden !important;
}

.modal-header-exact {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 24px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.modal-header-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 !important;
}

.modal-close-btn-exact {
  all: unset !important;
  cursor: pointer !important;
  color: #94a3b8 !important;
  font-size: 20px !important;
  width: 28px !important;
  height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
  transition: all 0.12s ease !important;
}

.modal-close-btn-exact:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

.modal-body-exact {
  padding: 24px !important;
  overflow-y: auto !important;
  flex: 1 !important;
}

/* Continent Multi-Column Grid */
.continents-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 28px 24px !important;
}

@media (max-width: 860px) {
  .continents-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.continent-column {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.continent-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin: 0 0 10px 0 !important;
}

.territory-row-item {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  font-size: 12.5px !important;
  color: #334155 !important;
  line-height: 1.4 !important;
}

.territory-flag {
  font-size: 16px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.territory-flag-img {
  width: 20px !important;
  height: 15px !important;
  border-radius: 2.5px !important;
  object-fit: cover !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}

/* Store Links Table */
.store-links-table-exact {
  width: 100% !important;
  border-collapse: collapse !important;
  text-align: left !important;
}

.store-links-table-exact th {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  padding: 10px 12px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.store-links-table-exact td {
  padding: 12px !important;
  border-bottom: 1px solid #f8fafc !important;
  vertical-align: middle !important;
}

.store-links-table-exact tr:hover td {
  background: #fbfcfe !important;
}

.store-platform-col {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.store-platform-logo {
  width: 24px !important;
  height: 24px !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.store-platform-name {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
}

.store-link-status-badge {
  display: inline-block !important;
  padding: 3px 10px !important;
  border-radius: 4px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

.store-link-status-badge.available {
  background: #dcfce7 !important;
  color: #15803d !important;
}

.store-link-status-badge.delivered {
  background: #f3e8ff !important;
  color: #7e22ce !important;
}

.store-url-box {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

.store-url-anchor {
  color: #2563eb !important;
  text-decoration: underline !important;
  font-size: 12.5px !important;
  word-break: break-all !important;
  max-width: 480px !important;
}

.store-copy-icon-btn {
  all: unset !important;
  cursor: pointer !important;
  padding: 4px 6px !important;
  color: #64748b !important;
  border-radius: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.12s ease !important;
}

.store-copy-icon-btn:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

/* =========================================================================
   MINIMAL ADVANCED SEARCH SIDE PANEL
   ========================================================================= */
.cat-advanced-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 99998;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cat-advanced-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 92vw;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  box-shadow: -10px 0 30px rgba(15, 23, 42, 0.15);
  z-index: 99999;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.adv-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.adv-input, .adv-select {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  color: #0f172a;
  background-color: #ffffff;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.adv-input:focus, .adv-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.adv-select {
  padding-right: 32px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%2364748b" stroke-width="2"><path d="m6 9 6 6 6-6"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  appearance: none;
  cursor: pointer;
}

