:root {
  /* Black Luxury Palette Variables matching Main Website */
  --wood-walnut-dark: #0c0c0d;
  --wood-walnut-light: #161618;
  --wood-wenge: #1a1a1c;
  --wood-wenge-espresso: #161618;
  --wood-teak-light: #e67e22;
  --wood-teak-dark: #b85d14;
  --wood-cherry-light: #a43a25;
  --wood-cherry-dark: #61180a;
  --wood-maple-inlay: #cbd5e1;
  --wood-glow: rgba(242, 156, 56, 0.35);

  --bg: #0c0c0d; /* Clean jet-black background from main site */
  --bg-elevated: #161618;
  --bg-card: #1a1a1c;
  --bg-input: #121214;
  --border: #2a2a2e;
  --border-hover: #3a3a3e;
  --gold: var(--wood-cherry-light); /* Rich amber orange-gold glow */
  --gold-soft: #ff7e40;
  --gold-dim: rgba(164, 58, 37, 0.12);
  --text: #cbd5e1; /* Luxury Silver */
  --text-secondary: #999999;
  --text-muted: #8a8a8f;
  --success: #2d8a4e;
  --danger: #c0392b;
  --warning: #b8860b;
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --safe-top: env(safe-area-inset-top);
  --safe-bottom: env(safe-area-inset-bottom);
  --safe-left: env(safe-area-inset-left);
  --safe-right: env(safe-area-inset-right);
}

/* Strikethrough for Old Price input fields ONLY when numbers are typed (not on English placeholder text) */
#editOrigPrice:not(:placeholder-shown),
.size-orig-price:not(:placeholder-shown) {
  text-decoration: line-through !important;
}
#editOrigPrice::placeholder,
.size-orig-price::placeholder {
  text-decoration: none !important;
}

/* High Craft Overrides for Black Luxury Theme */
.stat-card, .toolbar, .table-wrap, .grid-card, .modal-box, .order-card {
  border: 1px solid #2a2a2e !important;
  outline: none !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease !important;
}

.stat-card {
  background: #161618 !important;
}
.stat-card:hover {
  transform: none !important;
  background: #1f1f23 !important;
  border-color: #3a3a3e !important;
  outline: none !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7) !important;
}
.stat-card .stat-label {
  color: #a1a1aa !important;
  opacity: 0.85;
  transition: color 0.25s !important;
}
.stat-card:hover .stat-label {
  color: #cbd5e1 !important;
  opacity: 1;
}
.stat-card .stat-value {
  color: #ff7e40 !important;
  text-shadow: none !important;
  transition: color 0.25s !important;
}
.stat-card:hover .stat-value {
  color: #ff9f68 !important;
}

.toolbar {
  background: #161618 !important;
  border-color: #2a2a2e !important;
}

.table-wrap {
  background: #161618 !important;
  border: 1px solid #2a2a2e !important;
  outline: none !important;
}

.grid-card {
  background: #1a1a1c !important;
  border-color: #2a2a2e !important;
}
.grid-card:hover {
  transform: none !important;
  border-color: #3a3a3e !important;
  background: #1f1f23 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.75) !important;
}

.order-card {
  background: #161618 !important;
  border: 1px solid #2a2a2e !important;
}
.order-card:hover {
  transform: none !important;
  border-color: #3a3a3e !important;
  background: #1f1f23 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.75) !important;
}

.modal-box, .side-panel {
  background: #0c0c0d !important;
  border-color: #2a2a2e !important;
}

/* Buttons, inputs and form controls styling - all buttons and selects get the luxury card design */
.btn, .btn-primary, .btn-secondary, .btn-danger, .action-btn, .add-pricing-btn, .login-box button, .preview-delete, .order-card-actions select {
  background: linear-gradient(to bottom, var(--wood-cherry-light) 0%, var(--wood-cherry-dark) 100%) !important;
  border: 1.5px solid #360a04 !important;
  outline: 1.5px solid #360a04 !important;
  outline-offset: -3.5px !important;
  color: var(--wood-maple-inlay) !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.15) !important;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, outline-color 0.2s, color 0.2s, text-shadow 0.2s !important;
}
.btn:hover, .btn-primary:hover, .btn-secondary:hover, .btn-danger:hover, .action-btn:hover, .add-pricing-btn:hover, .login-box button:hover, .preview-delete:hover, .order-card-actions select:hover {
  transform: none !important;
  background: linear-gradient(135deg, #ff7e40 0%, #b83d1d 100%) !important;
  border-color: #360a04 !important;
  outline-color: #ff9f68 !important;
  box-shadow: 0 15px 40px rgba(255, 126, 64, 0.45), 0 8px 25px rgba(0,0,0,0.85) !important;
  color:  #cbd5e1 !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9) !important;
}

/* Color Swatch Buttons Override (Never inherit global cherry button gradient or borders) */
.color-swatch-btn, button.color-swatch-btn {
  background-image: none !important;
  outline: none !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.7) !important;
  border-radius: 4px !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: unset !important;
  height: 18px !important;
  width: 18px !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease !important;
}
.color-swatch-btn:hover, button.color-swatch-btn:hover {
  transform: scale(1.22) !important;
  outline: none !important;
  box-shadow: 0 0 8px rgba(255,255,255,0.7) !important;
}
.color-swatch-btn.active-swatch, button.color-swatch-btn.active-swatch {
  outline: 2px solid #38bdf8 !important;
  outline-offset: 1.5px !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.8) !important;
}

/* Top Navigation Header Tabs & Category Filter Cards Active Highlight Styling */
#orderCategoryTabs .btn.active,
#orderCategoryTabs .btn.active-cat-tab,
#orderCategoryTabs .btn-primary,
#tabProducts.active,
#tabOrders.active,
#tabAnnouncement.active,
#tabHighlightsBanner.active,
.nav-tab-btn.active,
.btn.active-tab {
  background: linear-gradient(135deg, #ff7e40 0%, #b83d1d 100%) !important;
  border: 1.5px solid #360a04 !important;
  outline: 1.5px solid #ff9f68 !important;
  outline-offset: -3.5px !important;
  box-shadow: 0 0 25px rgba(255, 126, 64, 0.65), 0 6px 20px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.3) !important;
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9) !important;
  transform: none !important;
}

.form-group input, .form-group select, .form-group textarea, .search-box input, .order-card-actions select {
  background: #121214 !important;
  border: 1.5px solid #2a2a2e !important;
  outline: none !important;
  color: #cbd5e1 !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.6) !important;
}

/* Main Category / Phone PTA Status Dropdown - Rich Red Card Styling matching Upload & Cancel buttons */
#editCategory,
select#editCategory,
.form-group select#editCategory {
  background: linear-gradient(to bottom, var(--wood-cherry-light) 0%, var(--wood-cherry-dark) 100%) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 18px center !important;
  background-size: auto, 14px 14px !important;
  border: 1.5px solid #360a04 !important;
  outline: 1.5px solid #360a04 !important;
  outline-offset: -3.5px !important;
  color: var(--wood-maple-inlay) !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.15) !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  padding: 13px 22px !important;
  padding-right: 46px !important;
  cursor: pointer !important;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, outline-color 0.2s, color 0.2s, text-shadow 0.2s !important;
}

#editCategory:hover,
select#editCategory:hover,
.form-group select#editCategory:hover {
  transform: none !important;
  background: linear-gradient(135deg, #ff7e40 0%, #b83d1d 100%) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 18px center !important;
  border-color: #360a04 !important;
  outline-color: #ff9f68 !important;
  box-shadow: 0 15px 40px rgba(255, 126, 64, 0.45), 0 8px 25px rgba(0,0,0,0.85) !important;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9) !important;
}

#editCategory:focus,
select#editCategory:focus,
.form-group select#editCategory:focus {
  background: linear-gradient(135deg, #ff7e40 0%, #b83d1d 100%) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 18px center !important;
  border-color: #360a04 !important;
  outline-color: #ff9f68 !important;
  box-shadow: 0 0 25px rgba(255, 126, 64, 0.65), 0 6px 20px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.3) !important;
  color: #ffffff !important;
}
.form-group input:hover, .form-group select:hover, .form-group textarea:hover, .search-box input:hover, .order-card-actions select:hover {
  border-color: #3a3a3e !important;
  background: #18181c !important;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus, .search-box input:focus, .order-card-actions select:focus {
  background: #161618 !important;
  border-color: #ff7e40 !important;
  outline: none !important;
  box-shadow: 0 0 12px rgba(255, 126, 64, 0.3), inset 0 2px 4px rgba(0,0,0,0.6) !important;
}

.form-group label, .pricing-section-title {
  color: var(--wood-maple-inlay) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8) !important;
}

/* Clean Header Brand & Login Brand - Transparent, matches main storefront branding */
.header-brand, .login-brand-wrap, .login-logo {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #ffffff !important;
  text-shadow: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
  cursor: pointer;
  user-select: none;
  padding: 0 !important;
}
.header-brand:hover, .login-brand-wrap:hover, .login-logo:hover {
  transform: none !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  opacity: 0.92 !important;
}

/* Notifications (toasts) inside admin.html */
.toast {
  background: linear-gradient(to bottom, var(--wood-cherry-light) 0%, var(--wood-cherry-dark) 100%) !important;
  border: 1.5px solid #360a04 !important;
  outline: 1.5px solid #360a04 !important;
  outline-offset: -3.5px !important;
  color: var(--wood-maple-inlay) !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9) !important;
  box-shadow: 0 10px 30px rgba(255, 126, 64, 0.35), 0 6px 15px rgba(0,0,0,0.65) !important;
  border-radius: 50px !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s, background 0.2s !important;
  padding: 12px 24px !important;
}
.toast:hover {
  transform: none !important;
  background: linear-gradient(135deg, #ff7e40 0%, #b83d1d 100%) !important;
  outline-color: #ff9f68 !important;
  box-shadow: 0 15px 35px rgba(255, 126, 64, 0.45), 0 8px 25px rgba(0,0,0,0.75) !important;
  color:  #cbd5e1 !important;
}
.toast div, .toast span {
  color: var(--wood-maple-inlay) !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.9) !important;
}
.toast:hover div, .toast:hover span {
  color:  #cbd5e1 !important;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.6; -webkit-font-smoothing: antialiased; min-height: 100vh; min-height: 100dvh; overflow-x: hidden; position: relative; padding-bottom: var(--safe-bottom); }

/* MINIMALISTIC ELEGANT LOGIN EXPERIENCE */
.login-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #0c0c0d;
  background-image: radial-gradient(circle at 50% 40%, rgba(192, 57, 43, 0.08) 0%, rgba(12, 12, 13, 1) 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  z-index: 9999;
  padding: max(20px, var(--safe-top)) 20px max(18px, var(--safe-bottom)) 20px;
  overflow: hidden;
}

/* Ambient Animated Glow Orbs in Background */
.login-bg-glow-1 {
  position: absolute;
  top: 5%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(192, 57, 43, 0.12) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: floatGlow1 12s ease-in-out infinite alternate;
  pointer-events: none;
}
.login-bg-glow-2 {
  position: absolute;
  bottom: 5%;
  right: 20%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(231, 76, 60, 0.08) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  filter: blur(90px);
  animation: floatGlow2 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes floatGlow1 { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(30px, 40px) scale(1.15); } }
@keyframes floatGlow2 { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-40px, -30px) scale(1.1); } }

/* Top Corner Minimalistic Back Button - Red Luxury Cherry Style */
.login-back-btn {
  position: absolute;
  top: max(20px, var(--safe-top));
  left: 24px;
  z-index: 10;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-title);
  letter-spacing: 0.5px;
  background: linear-gradient(to bottom, var(--wood-cherry-light, #a43a25) 0%, var(--wood-cherry-dark, #63190d) 100%) !important;
  border: 1.5px solid #360a04 !important;
  outline: 1.5px solid #360a04 !important;
  outline-offset: -3.5px !important;
  padding: 9px 20px;
  border-radius: 50px !important;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.15) !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9) !important;
}
.login-back-btn:hover {
  transform: none !important;
  background: linear-gradient(135deg, #ff7e40 0%, #b83d1d 100%) !important;
  border-color: #360a04 !important;
  outline-color: #ff9f68 !important;
  box-shadow: 0 10px 25px rgba(255, 126, 64, 0.45), 0 4px 10px rgba(0,0,0,0.5) !important;
  color: #ffffff !important;
}
.login-back-btn:active {
  transform: scale(0.97) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.6) !important;
}

/* BRAND LOGO 3D SHOPPING CART HOVER & TAP ANIMATIONS */
.header-brand, .login-brand-wrap {
  cursor: pointer;
  user-select: none;
}

.header-brand svg, .login-brand-wrap svg {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  will-change: transform, filter;
  transform-origin: center bottom;
}

.logo-cart-wheel {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.logo-cart-wheel-left {
  transform-origin: 38px 77px;
}

.logo-cart-wheel-right {
  transform-origin: 83px 77px;
}

/* Hover Effect on Admin Brand Logo */
.header-brand:not(.brand-tapped):hover svg,
.login-brand-wrap:not(.brand-tapped):hover svg {
  animation: cartLogoHoverFloat 2s ease-in-out infinite alternate;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55)) drop-shadow(0 2px 10px rgba(255, 255, 255, 0.2)) !important;
}

.header-brand:not(.brand-tapped):hover .logo-cart-wheel,
.login-brand-wrap:not(.brand-tapped):hover .logo-cart-wheel {
  animation: cartWheelSpinHover 0.7s linear infinite;
}

.header-brand:not(.brand-tapped):hover .logo-main,
.login-brand-wrap:not(.brand-tapped):hover .logo-main {
  filter: none !important;
  transition: none !important;
}

@keyframes cartLogoHoverFloat {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) scale(1.05) rotate(1.8deg);
  }
  100% {
    transform: translateY(-2px) scale(1.02) rotate(0.8deg);
  }
}

@keyframes cartWheelSpinHover {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes realCartRoll {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  15% {
    transform: translateX(-7px) translateY(1px) rotate(-3.5deg);
  }
  40% {
    transform: translateX(18px) translateY(-3px) rotate(5deg);
  }
  65% {
    transform: translateX(10px) translateY(1.5px) rotate(-2deg);
  }
  85% {
    transform: translateX(3px) translateY(-0.5px) rotate(1deg);
  }
  100% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
}

@keyframes brandTextGlow {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  30% {
    transform: scale(1.05) translateY(-1px);
    filter: brightness(1.35) drop-shadow(0 0 12px rgba(255, 255, 255, 0.7));
  }
  70% {
    transform: scale(1.02);
    filter: brightness(1.15) drop-shadow(0 0 6px rgba(16, 185, 129, 0.4));
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

.header-brand.brand-tapped svg,
.login-brand-wrap.brand-tapped svg {
  animation: realCartRoll 0.58s cubic-bezier(0.2, 0.9, 0.3, 1) forwards !important;
  will-change: transform;
}

.header-brand.brand-tapped .logo-main,
.login-brand-wrap.brand-tapped .logo-main {
  animation: brandTextGlow 0.58s cubic-bezier(0.2, 0.9, 0.3, 1) forwards !important;
  will-change: transform, filter;
}

.login-center-wrap {
  width: 100%;
  max-width: 420px;
  margin: auto;
  text-align: center;
  z-index: 2;
  padding: 0;
  animation: loginEntrance 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes loginEntrance {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-brand-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 26px;
}

.login-box {
  background: rgba(14, 8, 5, 0.92) !important;
  border: 1.5px solid rgba(255, 126, 64, 0.25) !important;
  outline: none !important;
  padding: 32px 26px !important;
  text-align: center;
  border-radius: 20px !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.9), 0 0 35px rgba(255, 126, 64, 0.08) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  width: 100%;
  box-sizing: border-box;
  transition: var(--transition) !important;
}
.login-box:hover {
  border-color: rgba(255, 126, 64, 0.45) !important;
  box-shadow: 0 25px 60px rgba(0,0,0,0.95), 0 0 40px rgba(255, 126, 64, 0.15) !important;
  transform: none !important;
  outline: none !important;
}
@media (max-width: 640px) {
  .login-center-wrap { max-width: 100%; }
  .login-box { padding: 26px 20px !important; border-radius: 18px !important; }
  .login-brand-wrap { gap: 12px; margin-bottom: 20px; }
  .login-brand-wrap .logo-main { font-size: 1.7rem !important; }
  .login-brand-wrap .login-logo-sub { font-size: 0.72rem !important; }
}
.login-box-shield {
  width: 48px;
  height: 48px;
  background: rgba(255, 126, 64, 0.12);
  border: 1px solid rgba(255, 126, 64, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px auto;
  color: #ff7e40;
  box-shadow: 0 4px 15px rgba(255, 126, 64, 0.15);
  transition: var(--transition);
}
.login-box:hover .login-box-shield {
  background: rgba(255, 126, 64, 0.2);
  border-color: rgba(255, 126, 64, 0.5);
  transform: scale(1.05);
  color: #ffffff;
}
.login-box h2 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.login-box p.login-sub-text {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 22px;
  line-height: 1.4;
  font-weight: 400;
}
.login-box label {
  display: block;
  text-align: left;
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e2e8f0;
  margin-bottom: 8px;
  font-weight: 700;
}
.login-input-wrap {
  position: relative;
  margin-bottom: 20px;
  text-align: left;
}
.login-input-wrap input {
  width: 100%;
  padding: 12px 18px 12px 44px;
  background: #080403 !important;
  border: 1.5px solid #28150c !important;
  color: #ffffff !important;
  font-size: 0.88rem;
  font-family: var(--font-body);
  border-radius: 12px !important;
  outline: none !important;
  transition: var(--transition);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.6) !important;
  box-sizing: border-box;
}
.login-input-wrap input::placeholder {
  color: #64748b;
  font-size: 0.84rem;
}
.login-input-wrap input:hover {
  border-color: #ff7e40 !important;
  background: #0e0704 !important;
}
.login-input-wrap input:focus {
  border-color: #ff7e40 !important;
  background: #0e0704 !important;
  box-shadow: 0 0 16px rgba(255, 126, 64, 0.25), inset 0 2px 4px rgba(0,0,0,0.6) !important;
}
.login-input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: var(--transition);
}
.login-input-wrap input:focus + .login-input-icon,
.login-input-wrap:focus-within .login-input-icon {
  color: #ff7e40;
}
.login-box button, .login-box a.btn-store {
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(to bottom, var(--wood-cherry-light, #a43a25) 0%, var(--wood-cherry-dark, #63190d) 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid #360a04 !important;
  outline: 1.5px solid #360a04 !important;
  outline-offset: -3.5px !important;
  font-family: var(--font-title);
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  border-radius: 12px !important;
  transition: var(--transition);
  min-height: 46px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9) !important;
}
.login-box button:hover, .login-box a.btn-store:hover {
  background: linear-gradient(135deg, #ff7e40 0%, #b83d1d 100%) !important;
  border-color: #360a04 !important;
  outline-color: #ff9f68 !important;
  box-shadow: 0 12px 30px rgba(255, 126, 64, 0.45) !important;
  transform: none !important;
  color: #ffffff !important;
}
.login-box button:active, .login-box a.btn-store:active {
  transform: scale(0.98) translateY(0) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6) !important;
}

.login-footer-info {
  z-index: 2;
  font-size: 0.78rem;
  color: #71717a;
  text-align: center;
  padding: 8px 0 0 0;
  letter-spacing: 0.5px;
}

.dashboard { display: none; max-width: 100% !important; margin: 0 auto; padding: 24px; padding-top: max(20px, var(--safe-top)); overflow-x: hidden; }

.header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 20px;
  margin-bottom: 24px;
  background: #161618 !important;
  border: 1px solid #2a2a2e !important;
  border-radius: 20px !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 14px;
}
.header-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  color: #ffffff !important;
  letter-spacing: 0.8px;
  font-weight: 800;
  text-shadow: none;
  padding: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.header-utility-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;
}
.header-nav-bar {
  display: flex;
  align-items: center;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}
.header-nav-bar::-webkit-scrollbar {
  display: none;
}
.header-nav-tabs {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  padding: 6px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-tab-btn {
  flex: 1;
  padding: 10px 18px;
  border-radius: 50px;
  font-family: var(--font-title);
  font-size: 0.76rem;
  letter-spacing: 0.8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  touch-action: manipulation;
  user-select: none;
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  outline: none !important;
  color: #94a3b8 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
.nav-tab-btn:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 126, 64, 0.3) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
}
.tab-badge {
  background: #ef4444;
  color: #ffffff;
  border-radius: 20px;
  padding: 2px 7px;
  font-size: 0.68rem;
  font-weight: 800;
  margin-left: 4px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.5);
}
.btn-cta {
  background: linear-gradient(135deg, #ff7e40 0%, #b83d1d 100%) !important;
  border: 1.5px solid #360a04 !important;
  outline: 1.5px solid #ff9f68 !important;
  outline-offset: -3.5px !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.78rem !important;
  letter-spacing: 1px !important;
  padding: 8px 20px !important;
  border-radius: 50px !important;
  box-shadow: 0 6px 20px rgba(255, 126, 64, 0.4), 0 3px 10px rgba(0, 0, 0, 0.6) !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9) !important;
}
.btn-cta:hover {
  background: linear-gradient(135deg, #ff9f68 0%, #d94a24 100%) !important;
  box-shadow: 0 10px 28px rgba(255, 126, 64, 0.6), 0 4px 14px rgba(0, 0, 0, 0.7) !important;
  color: #ffffff !important;
}
.btn-util {
  padding: 8px 16px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  min-height: 38px !important;
  border-radius: 50px !important;
}
.btn { padding: 10px 24px; border-radius: 50px; font-family: var(--font-title); font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: var(--transition); border: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; touch-action: manipulation; user-select: none; -webkit-user-select: none; box-shadow: 0 4px 15px rgba(192, 57, 43, 0.1); }
.btn-sm { padding: 7px 18px; font-size: 0.7rem; min-height: 36px; }
.btn-icon { width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; justify-content: center; border-radius: 50% !important; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .stats.stats-5 { grid-template-columns: repeat(5, 1fr); } }

.order-category-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 14px;
  width: 100%;
}
@media (min-width: 640px) {
  .order-category-tabs { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .order-category-tabs { grid-template-columns: repeat(5, 1fr); }
}
.order-category-tabs .btn,
#orderCategoryTabs .btn {
  width: 100%;
  margin: 0;
  padding: 10px 12px !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.6px !important;
  font-weight: 700 !important;
  justify-content: center !important;
  text-align: center !important;
  white-space: nowrap !important;
  min-height: 42px !important;
  box-sizing: border-box !important;
  border-radius: 50px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  outline: none !important;
  color: #94a3b8 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-transform: uppercase;
  cursor: pointer;
}
.order-category-tabs .btn:hover,
#orderCategoryTabs .btn:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 126, 64, 0.3) !important;
  outline: none !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
  text-shadow: none !important;
}
.order-category-tabs .btn.active,
.order-category-tabs .btn.active-cat-tab,
.order-category-tabs .btn-primary,
#orderCategoryTabs .btn.active,
#orderCategoryTabs .btn.active-cat-tab,
#orderCategoryTabs .btn-primary {
  background: linear-gradient(135deg, #ff7e40 0%, #b83d1d 100%) !important;
  border: 1.5px solid #360a04 !important;
  outline: 1.5px solid #ff9f68 !important;
  outline-offset: -3.5px !important;
  box-shadow: 0 0 25px rgba(255, 126, 64, 0.65), 0 6px 20px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.3) !important;
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9) !important;
  transform: none !important;
}

.stat-card {
  background: #161618 !important;
  border: 1px solid #2a2a2e !important;
  outline: none !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stat-card:hover {
  transform: none !important;
  background: #1f1f23 !important;
  border-color: #3a3a3e !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7) !important;
}
.stat-label { font-size: 0.68rem; color: #a1a1aa !important; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 4px; font-weight: 600; text-shadow: none !important; }
.stat-value { font-family: var(--font-title); font-size: 1.35rem; color: #ff7e40 !important; font-weight: 800; text-shadow: none !important; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; background: #161618 !important; padding: 14px 18px; border-radius: 24px; border: 1px solid #2a2a2e !important; outline: none !important; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important; }
.toolbar .btn {
  border: 1px solid rgba(255, 126, 64, 0.18) !important;
  outline: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}
.toolbar .btn:hover {
  border-color: rgba(255, 126, 64, 0.45) !important;
  outline: none !important;
  box-shadow: 0 0 10px rgba(255, 126, 64, 0.2) !important;
}
.toolbar-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; flex: 1; min-width: 0; }
.search-box { position: relative; min-width: 200px; flex: 1; max-width: 320px; }
.search-box input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  background: #121214 !important;
  border: 1px solid #2a2a2e !important;
  outline: none !important;
  color: var(--wood-maple-inlay) !important;
  text-shadow: none !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.6) !important;
  font-weight: 600 !important;
  font-size: 16px;
  border-radius: 50px;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
  font-weight: 500 !important;
}
.search-box input:hover, .search-box input:focus {
  background: #18181c !important;
  border-color: #3a3a3e !important;
  outline: none !important;
  box-shadow: 0 0 10px rgba(255, 126, 64, 0.2), inset 0 2px 5px rgba(0,0,0,0.8) !important;
  color: #ffffff !important;
}
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; color: rgba(255, 255, 255, 0.85) !important; pointer-events: none; }
.filter-select {
  padding: 10px 14px;
  background: #121214 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='%23ff7e40' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center !important;
  border: 1px solid #2a2a2e !important;
  outline: none !important;
  color: #cbd5e1 !important;
  text-shadow: none !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.6) !important;
  font-weight: 600 !important;
  font-size: 16px;
  border-radius: 50px;
  cursor: pointer;
  min-width: 130px;
  transition: var(--transition);
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  padding-right: 36px;
}
.filter-select option {
  background: #161618 !important;
  color: #ffffff !important;
}
.filter-select::-ms-expand {
  display: none !important;
}
.filter-select:hover, .filter-select:focus {
  background-color: #18181c !important;
  border-color: #3a3a3e !important;
  outline: none !important;
  box-shadow: 0 0 10px rgba(255, 126, 64, 0.2) !important;
  color: #ffffff !important;
}

.bulk-bar { display: none; align-items: center; gap: 12px; background: #161618 !important; border: 1.5px solid #2a2a2e !important; border-radius: 24px; padding: 12px 18px; margin-bottom: 18px; }
.bulk-bar.active { display: flex; }
.bulk-count { font-family: var(--font-title); font-size: 0.85rem; color: #ff7e40 !important; font-weight: 600; }
.bulk-divider { width: 1px; height: 22px; background: #2a2a2e !important; }

.table-wrap { background: #161618 !important; border: 1px solid #2a2a2e !important; outline: none !important; border-radius: 14px !important; overflow: hidden; overflow-x: auto; -webkit-overflow-scrolling: touch; box-shadow: 0 12px 36px rgba(0, 0, 0, 0.85) !important; }
.table-wrap:hover { border-color: #3a3a3e !important; }
table { width: 100%; min-width: 700px; border-collapse: separate !important; border-spacing: 0 !important; background: #161618 !important; font-family: 'Outfit', sans-serif !important; }
th { font-family: var(--font-title); font-size: 0.72rem !important; letter-spacing: 1.1px !important; text-transform: uppercase !important; color: #cbd5e1 !important; font-weight: 700 !important; padding: 12px 16px !important; text-align: left; border-bottom: 1px solid #2a2a2e !important; background: #121214 !important; white-space: nowrap !important; }
td { padding: 12px 16px !important; border-bottom: 1px solid #2a2a2e !important; font-size: 0.88rem !important; color: #cbd5e1 !important; vertical-align: middle !important; background: #161618 !important; }
tbody tr { cursor: pointer; transition: background 0.2s ease !important; background: #161618 !important; }
tbody tr:hover td { background: #1f1f23 !important; }
tbody tr.selected td { background: #26262c !important; border-bottom-color: #3a3a3e !important; }
tbody tr.selected { outline: 1px solid #3a3a3e !important; border-left: 3px solid #ff7e40 !important; }
.chk-col { width: 45px; text-align: center; }
.chk-col input { width: 18px; height: 18px; accent-color: #ff7e40 !important; cursor: pointer; }
.product-cell { display: flex; align-items: center; gap: 12px; }
.product-thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; border: 1px solid #2a2a2e; background: #121214; flex-shrink: 0; }
.product-thumb.na { display: flex; align-items: center; justify-content: center; font-size: 0.6rem; color: var(--text-muted); border-style: dashed; }
.product-name { font-weight: 700; color: #f8fafc; margin-bottom: 3px; font-size: 0.9rem; word-break: break-word; }
.product-slug { font-size: 0.75rem; color: #94a3b8; font-family: monospace; background: #121214; border: 1px solid #2a2a2e; padding: 2px 6px; border-radius: 6px; display: inline-block; word-break: break-all; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; text-transform: capitalize; white-space: nowrap; }
.badge-gaming-mobiles { background: rgba(242,156,56,0.12); color: #f59e0b; border: 1px solid rgba(242,156,56,0.3); }
.badge-pta-mobiles { background: rgba(52,211,153,0.12); color: #10b981; border: 1px solid rgba(52,211,153,0.3); }
.badge-gaming-brands { background: rgba(168,85,247,0.12); color: #a855f7; border: 1px solid rgba(168,85,247,0.3); }
.badge-budget-brands { background: rgba(96,165,250,0.12); color: #3b82f6; border: 1px solid rgba(96,165,250,0.3); }
.badge-more-brands { background: rgba(236,72,153,0.12); color: #ec4899; border: 1px solid rgba(236,72,153,0.3); }
.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.status-badge.active { background: rgba(45,138,78,0.1); color: var(--success); border: 1px solid rgba(45,138,78,0.3); }
.status-badge.inactive { background: rgba(192,57,43,0.1); color: var(--danger); border: 1px solid rgba(192,57,43,0.3); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.price-cell { font-family: var(--font-title); font-size: 0.95rem; color: #ff7e40 !important; font-weight: 700; white-space: nowrap; }
.order-cell { display: inline-flex; align-items: center; justify-content: center; font-family: monospace; font-size: 0.85rem; color: #cbd5e1 !important; background: #121214 !important; border: 1px solid #2a2a2e !important; padding: 4px 10px; border-radius: 50px; white-space: nowrap; font-weight: 700; }
.order-cell-btn {
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  outline: none !important;
  text-shadow: none !important;
  gap: 4px;
  user-select: none;
}
.order-cell-btn:hover {
  background: rgba(255, 126, 64, 0.15) !important;
  border-color: rgba(255, 126, 64, 0.5) !important;
  color: #ff9f68 !important;
  box-shadow: 0 0 10px rgba(255, 126, 64, 0.3) !important;
  transform: translateY(-1px);
}
.quick-pos-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
}
.quick-pos-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #0c0c0d !important;
  border: 1.5px solid rgba(255, 126, 64, 0.5) !important;
  border-radius: 50px !important;
  padding: 2px 4px 2px 8px !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.85), 0 0 12px rgba(255, 126, 64, 0.25) !important;
}
.quick-pos-input {
  width: 48px !important;
  height: 26px !important;
  padding: 0 4px !important;
  font-family: monospace !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  text-align: center !important;
  background: transparent !important;
  color: #ffffff !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
.quick-pos-btn {
  width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
  transition: transform 0.15s ease !important;
}
.quick-pos-btn:active {
  transform: scale(0.9) !important;
}
.quick-pos-save {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  border: 1px solid #34d399 !important;
  color: #ffffff !important;
}
.quick-pos-cancel {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #cbd5e1 !important;
}
.actions-cell { display: flex; gap: 6px; justify-content: flex-end; }
.action-btn { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, rgba(192, 57, 43, 0.25) 0%, rgba(127, 29, 29, 0.3) 100%) !important; border: 1px solid rgba(192, 57, 43, 0.35) !important; outline: none !important; color: #f87171 !important; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; text-shadow: 0 1px 3px rgba(0,0,0,0.9) !important; box-shadow: 0 2px 8px rgba(0,0,0,0.4) !important; transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease !important; touch-action: manipulation; }
.action-btn:hover { color: #ffffff !important; border-color: rgba(239, 68, 68, 0.6) !important; outline: none !important; background: linear-gradient(135deg, #ef4444 0%, #c0392b 100%) !important; transform: none !important; box-shadow: 0 8px 20px rgba(239, 68, 68, 0.35), 0 4px 15px rgba(0,0,0,0.8) !important; }
.action-btn:active { transform: scale(0.95); }

.grid-view { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .grid-view { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-view { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1400px) { .grid-view { grid-template-columns: repeat(4, 1fr); } }

.grid-card {
  background: #1a1a1c !important;
  border: 1px solid #2a2a2e !important;
  border-radius: 14px !important;
  padding: 14px !important;
  display: flex;
  flex-direction: column;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important;
}
.grid-card:hover {
  border-color: #3a3a3e !important;
  background: #1f1f23 !important;
  transform: none !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.75) !important;
}
.grid-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
  border: 1px solid #2a2a2e;
  background: #121214;
}
.grid-card h4 {
  font-family: var(--font-title);
  font-size: 0.92rem;
  color: #f8fafc;
  margin-bottom: 4px;
  font-weight: 700;
  line-height: 1.3;
  word-break: break-word;
}
.grid-card .price {
  color: #ff7e40 !important;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.grid-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 6px;
}
.grid-card .btns {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.order-card {
  background: #161618 !important;
  border: 1px solid #2a2a2e !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  margin-bottom: 12px !important;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
  cursor: pointer;
}
.order-card:hover {
  border-color: #3a3a3e !important;
  background: #1f1f23 !important;
  transform: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
}

.side-panel { position: fixed; top: 0; bottom: 0; left: 0; right: 0; width: 100vw !important; height: 100vh !important; background: #0c0c0d !important; border: none !important; outline: none !important; z-index: 2000; transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; overflow: hidden; border-radius: 0 !important; box-shadow: none !important; }
.side-panel.open { transform: translateX(0); right: 0; left: 0; }
.side-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 1999; display: none; touch-action: none; }
.side-overlay.active { display: block; }
.side-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 48px; border-bottom: 1px solid #2a2a2e; background: #161618; flex-shrink: 0; width: 100%; }
.side-body { flex: 1; overflow-y: auto; padding: 36px 48px; -webkit-overflow-scrolling: touch; width: 100%; max-width: 1400px; margin: 0 auto; box-sizing: border-box; background: #0c0c0d !important; }
.side-foot { display: flex; gap: 16px; padding: 18px 48px; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #2a2a2e; background: #161618 !important; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; width: 100%; box-sizing: border-box; }
.side-title { font-family: var(--font-title); font-size: 1.5rem; color: #f8fafc; font-weight: 800; letter-spacing: 0.5px; }
.side-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #94a3b8; cursor: pointer; transition: var(--transition); border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); }
.side-close:hover { color: #ffffff; background: rgba(239, 68, 68, 0.25) !important; border-color: #ef4444; }

/* Multi-Step Wizard Styles */
.wizard-stepper-wrap { background: #121214; border-bottom: 1px solid #2a2a2e; padding: 18px 36px 14px 36px; flex-shrink: 0; width: 100%; }
.wizard-stepper-inner { max-width: 1300px; margin: 0 auto; width: 100%; }
.wizard-progress-bar-bg { width: 100%; height: 6px; background: #1e1e24; border-radius: 10px; overflow: hidden; margin-bottom: 14px; }
.wizard-progress-bar-fill { height: 100%; background: linear-gradient(90deg, #a43a25 0%, #ff7e40 100%); transition: width 0.3s ease; border-radius: 10px; }
.wizard-steps-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.wizard-steps-nav::-webkit-scrollbar { display: none; }
.wizard-step-pill { background: #1a1a1c !important; border: 1px solid #2a2a2e !important; color: var(--text-muted) !important; padding: 8px 16px !important; border-radius: 50px !important; font-size: 0.75rem !important; font-weight: 600 !important; display: flex !important; align-items: center !important; gap: 8px !important; cursor: pointer !important; white-space: nowrap !important; transition: all 0.2s ease !important; }
.wizard-step-pill.active { background: linear-gradient(135deg, #a43a25 0%, #61180a 100%) !important; color: #cbd5e1 !important; border-color: #ff7e40 !important; box-shadow: 0 4px 15px rgba(255, 126, 64, 0.25) !important; }
.wizard-step-pill.completed { border-color: #10b981 !important; color: #10b981 !important; }
.wizard-step-pill .step-num { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 800; }

.wizard-step-pane { animation: fadeInStep 0.22s ease-out; }
@keyframes fadeInStep { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.wizard-step-heading { margin-bottom: 22px; }
.wizard-step-heading h3 { font-family: 'Outfit', sans-serif; font-size: 1.2rem; color: #cbd5e1; font-weight: 700; }
.wizard-step-heading p { font-size: 0.85rem; color: #8a8a8f; margin-top: 4px; }

.type-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.type-card { background: #161618; border: 1px solid #2a2a2e; border-radius: 14px; padding: 18px; cursor: pointer; position: relative; transition: all 0.22s ease; display: flex; gap: 14px; align-items: flex-start; outline: none !important; }
.type-card:hover { transform: none; border-color: #ff7e40 !important; background: #1f1f23 !important; box-shadow: 0 10px 30px rgba(255, 126, 64, 0.2) !important; outline: none !important; }
.type-card.selected { background: linear-gradient(135deg, #50170a 0%, #290b04 100%) !important; border-color: #ff7e40 !important; box-shadow: 0 10px 30px rgba(255, 126, 64, 0.35) !important; outline: none !important; }
.type-card-icon { font-size: 1.8rem; line-height: 1; flex-shrink: 0; }
.type-card-content h4 { color: #cbd5e1; font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.type-card-content p { color: #8a8a8f; font-size: 0.78rem; line-height: 1.4; }
.type-card-badge { position: absolute; top: 10px; right: 12px; background: var(--gold); color: #000; font-size: 0.6rem; font-weight: 800; padding: 2px 8px; border-radius: 50px; }

.pta-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 600px) { .pta-card-grid { grid-template-columns: 1fr; } }
.pta-card { background: #161618; border: 1.5px solid #2a2a2e; border-radius: 14px; padding: 16px; cursor: pointer; transition: all 0.2s ease; position: relative; }
.pta-card:hover { border-color: #ff7e40; background: #1f1f23; transform: none; }
.pta-card.selected { border-color: #ff7e40 !important; background: linear-gradient(135deg, #3d140b 0%, #1c0905 100%) !important; box-shadow: 0 8px 25px rgba(255, 126, 64, 0.25) !important; }
.pta-card h4 { color: #cbd5e1; font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.pta-card p { color: #8a8a8f; font-size: 0.75rem; }
.pta-card-badge { font-size: 0.65rem; font-weight: 700; padding: 2px 8px; border-radius: 50px; display: inline-block; margin-bottom: 6px; }
.status-approved { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.status-nonpta { background: rgba(245, 158, 11, 0.15); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.3); }
.status-simlock { background: rgba(59, 130, 246, 0.15); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.3); }
.status-jv { background: rgba(168, 85, 247, 0.15); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.3); }

.brand-pills-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-pill-btn {
  padding: 8px 16px !important;
  background: #161618 !important;
  border: 1px solid #2a2a2e !important;
  color: #cbd5e1 !important;
  border-radius: 50px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  user-select: none !important;
  opacity: 1 !important;
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}
.brand-pill-btn:hover {
  border-color: #ff7e40 !important;
  color: #ff7e40 !important;
  background: #1f1f23 !important;
  opacity: 1 !important;
  transform: none !important;
}
.brand-pill-btn.selected {
  background: linear-gradient(135deg, #a43a25 0%, #61180a 100%) !important;
  border: 1px solid #ff7e40 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(255, 126, 64, 0.35) !important;
  opacity: 1 !important;
}

.file-upload-dropzone { border: 2px dashed #2a2a2e; background: #121214; border-radius: 16px; padding: 28px; text-align: center; cursor: pointer; transition: all 0.2s ease; outline: none !important; }
.file-upload-dropzone:hover { border-color: #ff7e40; background: rgba(255, 126, 64, 0.05); }

.summary-preview-card { background: #161618; border: 1px solid #2a2a2e; border-radius: 16px; padding: 24px; box-shadow: 0 12px 35px rgba(0,0,0,0.85); outline: none !important; outline-offset: 0 !important; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-family: var(--font-title); font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; font-weight: 600; }
.form-group input { width: 100%; padding: 12px 20px; background: var(--bg-input); border: 1px solid var(--border); color: var(--text); font-size: 16px; border-radius: 50px; outline: none; transition: var(--transition); }
.form-group select { width: 100%; padding: 12px 20px; padding-right: 40px !important; background: var(--bg-input) 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='%23ffffff' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center !important; border: 1px solid var(--border); color: var(--text); font-size: 16px; border-radius: 50px; outline: none; transition: var(--transition); -webkit-appearance: none !important; -moz-appearance: none !important; appearance: none !important; cursor: pointer; }

/* Dropdown options dark luxury styling */
select option,
select optgroup,
.form-group select option,
.filter-select option,
.order-card-actions select option {
  background-color: #161618 !important;
  color:  #cbd5e1 !important;
  padding: 10px 14px;
  font-size: 15px;
}
select optgroup,
.form-group select optgroup {
  background-color: #121214 !important;
  color: var(--wood-cherry-light) !important;
  font-weight: 700;
  letter-spacing: 1px;
}
select option:checked,
select option:hover,
select option:focus {
  background-color: #26262c !important;
  color:  #cbd5e1 !important;
}
.form-group textarea { width: 100%; padding: 14px 18px; background: var(--bg-input); border: 1px solid var(--border); color: var(--text); font-size: 16px; border-radius: 16px; outline: none; transition: var(--transition); resize: vertical; min-height: 80px; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); }
.form-group input[type="file"] { padding: 10px 18px; border-radius: 50px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.pricing-section { background: #161618 !important; border: 1px solid #2a2a2e !important; border-radius: 20px; padding: 18px; margin-bottom: 18px; }
.pricing-section-title { font-family: var(--font-title); font-size: 0.85rem; color: var(--gold); letter-spacing: 1px; margin-bottom: 14px; font-weight: 600; }
.pricing-row { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.pricing-row input { flex: 1; padding: 10px 16px; background: var(--bg-input); border: 1px solid var(--border); color: var(--text); border-radius: 50px; font-size: 16px; outline: none; min-width: 0; }
.pricing-row input:focus { border-color: var(--gold); }
.pricing-row input.price-input { flex: 0.5; min-width: 80px; }
.pricing-row .remove-btn { width: 36px; height: 36px; min-width: 36px; color: var(--danger); cursor: pointer; font-size: 1.1rem; padding: 4px; transition: var(--transition); background: none; border: none; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.pricing-row .remove-btn:hover { background: rgba(192,57,43,0.1); transform: scale(1.1); }
.add-pricing-btn { background: var(--bg-card); border: 1px solid var(--border); color: var(--gold); padding: 8px 16px; font-size: 0.8rem; cursor: pointer; border-radius: 50px; transition: var(--transition); font-family: var(--font-title); letter-spacing: 1px; min-height: 44px; width: 100%; }
.add-pricing-btn:hover { border-color: var(--gold); }
.pricing-hint { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 10px; }

/* MODERN PRICING & PRESET CHIPS STYLING */
.preset-chip {
  background: rgba(255, 126, 64, 0.12);
  border: 1px solid rgba(255, 126, 64, 0.35);
  color: #ff9f68;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.preset-chip:hover {
  background: rgba(255, 126, 64, 0.28);
  border-color: #ff7e40;
  color: #ffffff;
  transform: none;
  box-shadow: 0 4px 12px rgba(255, 126, 64, 0.25);
}
.preset-chip:active {
  transform: translateY(0);
}

.pricing-row-modern {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #121214;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #2a2a2e;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  flex-wrap: wrap;
}
.pricing-row-modern:focus-within {
  border-color: #ff7e40;
  box-shadow: 0 0 12px rgba(255, 126, 64, 0.25);
}
.pricing-row-modern input {
  background: #161618 !important;
  border: 1px solid #2a2a2e !important;
  color: #f8fafc !important;
  font-size: 0.88rem !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}
.pricing-row-modern input:focus {
  border-color: #ff7e40 !important;
  box-shadow: 0 0 8px rgba(255, 126, 64, 0.3) !important;
}

.preview-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 8px; margin-top: 12px; }
.preview-item { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 1; }
.preview-item img { width: 100%; height: 100%; object-fit: cover; }
.preview-badge { position: absolute; top: 3px; right: 3px; background: var(--gold); color: var(--bg); font-size: 0.55rem; font-weight: 700; padding: 1px 4px; border-radius: 6px; z-index: 4; }
.preview-delete {
  position: absolute;
  top: 3px;
  left: 3px;
  background: rgba(192, 57, 43, 0.85);
  color:  #cbd5e1;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  z-index: 5;
  padding: 0;
  line-height: 1;
}
.preview-delete:hover {
  background: var(--danger);
  transform: none;
}

.modal-overlay { position: fixed; inset: 0; background: rgba(12,12,13,0.75); display: none; align-items: center; justify-content: center; z-index: 3000; padding: 20px; padding-top: max(20px, var(--safe-top)); padding-bottom: max(20px, var(--safe-bottom)); }
.modal-overlay.active { display: flex; }
.modal-box { background: var(--bg-card); border: 1px solid var(--border); max-width: 500px; width: 100%; border-radius: 24px; padding: 28px; max-height: 90vh; max-height: 90dvh; overflow-y: auto; box-shadow: 0 10px 40px rgba(192, 57, 43, 0.05), 0 5px 25px rgba(0,0,0,0.6); }
.modal-box h3 { font-family: var(--font-title); color: var(--gold); margin-bottom: 14px; font-size: 1.2rem; }
.modal-box p { color: var(--text-secondary); margin-bottom: 24px; font-size: 0.9rem; word-break: break-word; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }

.loading { position: fixed; inset: 0; background: rgba(12,12,13,0.85); display: none; align-items: center; justify-content: center; z-index: 9999; flex-direction: column; gap: 14px; padding-bottom: var(--safe-bottom); }
.loading.active { display: flex; }
.spinner { width: 36px; height: 36px; border: 2px solid var(--border); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-family: var(--font-title); color: var(--gold); letter-spacing: 2px; font-size: 0.85rem; text-transform: uppercase; }

.toast-container { position: fixed; bottom: 20px; right: 20px; left: auto; z-index: 10000; display: flex; flex-direction: column; gap: 8px; max-width: 340px; width: calc(100% - 40px); margin-left: auto; margin-right: 20px; padding-bottom: var(--safe-bottom); }
.toast { background: var(--bg-card); border-left: 3px solid var(--gold); padding: 12px 24px; border-radius: 50px; color: var(--text); display: flex; align-items: center; gap: 10px; transform: translateX(120%); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 8px 24px rgba(0,0,0,0.4); word-break: break-word; }
.toast.show { transform: translateX(0); }
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 24px auto; padding: 10px 16px; background: #161618 !important; border-radius: 50px; border: 1px solid #2a2a2e !important; width: fit-content; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6) !important; }
.page-btn {
  min-width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  outline: none !important;
  color: #94a3b8 !important;
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  box-shadow: none !important;
  text-shadow: none !important;
}
.page-btn:hover:not(:disabled) {
  border-color: rgba(255, 126, 64, 0.4) !important;
  outline: none !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.09) !important;
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}
.page-btn.active {
  background: linear-gradient(135deg, #ff7e40 0%, #b83d1d 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid #360a04 !important;
  outline: 1.5px solid #ff9f68 !important;
  outline-offset: -3.5px !important;
  box-shadow: 0 0 20px rgba(255, 126, 64, 0.6), 0 4px 10px rgba(0, 0, 0, 0.6) !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9) !important;
}
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.page-info { font-size: 0.75rem; color: #cbd5e1; margin: 0 8px; white-space: nowrap; }

.toggle-wrap {
  display: inline-flex;
  align-items: center;
  background: #0c0c0d !important;
  border: 1px solid #2a2a2e !important;
  outline: none !important;
  border-radius: 50px !important;
  padding: 4px !important;
  gap: 4px;
  overflow: hidden;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.8) !important;
}
.toggle-wrap button {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  outline: none !important;
  color: #94a3b8 !important;
  padding: 7px 18px !important;
  cursor: pointer;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  min-height: 36px;
  touch-action: manipulation;
  border-radius: 50px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  text-transform: uppercase;
}
.toggle-wrap button:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 126, 64, 0.3) !important;
  outline: none !important;
  color: #ffffff !important;
  transform: none !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
}
.toggle-wrap button.active {
  background: linear-gradient(135deg, #ff7e40 0%, #b83d1d 100%) !important;
  border: 1.5px solid #360a04 !important;
  outline: 1.5px solid #ff9f68 !important;
  outline-offset: -3.5px !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(255, 126, 64, 0.6), 0 4px 12px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9) !important;
}

.orders-desktop { display: block; }
.orders-mobile { display: none; }

/* Luxury Dark Orders Table Redesign */
#ordersSection {
  max-width: 100%;
}

#ordersSection .table-wrap {
  background: #161618 !important;
  border: 1px solid #2a2a2e !important;
  outline: none !important;
  box-shadow: 0 12px 36px rgba(0,0,0,0.85) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  overflow-x: auto !important;
}

#ordersSection table {
  width: 100% !important;
  min-width: 1220px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  font-family: 'Outfit', sans-serif !important;
  background: #161618 !important;
}

#ordersSection th {
  background: #121214 !important;
  color: #cbd5e1 !important;
  font-size: 0.70rem !important;
  letter-spacing: 0.9px !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  padding: 9px 10px !important;
  border-bottom: 1px solid #2a2a2e !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
}

#ordersSection td {
  padding: 8px 10px !important;
  border-bottom: 1px solid #232327 !important;
  vertical-align: middle !important;
  background: #161618 !important;
  color: #cbd5e1 !important;
  font-size: 0.83rem !important;
  line-height: 1.35 !important;
}

#ordersSection tbody tr {
  transition: background 0.15s ease !important;
  background: #161618 !important;
}

#ordersSection tbody tr:hover td {
  background: #1c1c20 !important;
}

/* Order Badges & Controls */
.order-id-cell {
  font-family: monospace !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #f87171 !important;
  white-space: nowrap !important;
  letter-spacing: 0.3px !important;
}

.customer-name-cell {
  font-weight: 600 !important;
  color: #f1f5f9 !important;
  font-size: 0.84rem !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 135px !important;
  display: block !important;
}

.contact-phone-text {
  font-weight: 700 !important;
  color: #f87171 !important;
  font-size: 0.82rem !important;
  white-space: nowrap !important;
}

.contact-email-text {
  color: #94a3b8 !important;
  font-size: 0.72rem !important;
  margin-top: 1px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 160px !important;
  display: block !important;
}

.wa-chat-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  padding: 2px 6px !important;
  background: rgba(37, 211, 102, 0.15) !important;
  color: #25d366 !important;
  border: 1px solid rgba(37, 211, 102, 0.4) !important;
  outline: none !important;
  border-radius: 4px !important;
  font-size: 0.69rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
  line-height: 1.2 !important;
}

.wa-chat-btn:hover {
  background: #25d366 !important;
  color: #0f172a !important;
  border-color: #25d366 !important;
}

.item-title-text {
  font-size: 0.83rem !important;
  font-weight: 600 !important;
  color: #f87171 !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 320px !important;
  display: block !important;
}

.order-address-subtext {
  font-size: 0.73rem !important;
  color: #94a3b8 !important;
  margin-top: 2px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 320px !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.details-box-card {
  font-size: 0.78rem !important;
  line-height: 1.4 !important;
  color: #cbd5e1 !important;
  background: rgba(0, 0, 0, 0.35) !important;
  padding: 5px 8px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(239, 68, 68, 0.2) !important;
  max-width: 360px !important;
  word-break: break-word !important;
}

.order-type-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  font-size: 0.69rem !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  outline: none !important;
  border-style: solid !important;
  border-width: 1px !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}

.order-status-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  padding: 2px 7px !important;
  border-radius: 4px !important;
  font-size: 0.71rem !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  outline: none !important;
  border-style: solid !important;
  border-width: 1px !important;
  line-height: 1.2 !important;
  text-transform: capitalize !important;
}

.order-status-select {
  background: #20171b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  color: #ef4444 !important;
  padding: 3px 22px 3px 8px !important;
  border-radius: 6px !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  outline: none !important;
  height: 28px !important;
  min-height: 28px !important;
  min-width: 185px !important;
  max-width: 215px !important;
  width: auto !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

.order-status-select:hover, .order-status-select:focus {
  border-color: #ef4444 !important;
  background: #2d1e24 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 7px center !important;
  color: #cbd5e1 !important;
}

.order-delete-btn {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  border-radius: 6px !important;
  background: rgba(239, 68, 68, 0.15) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  color: #f87171 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.8rem !important;
  transition: all 0.2s ease !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.order-delete-btn:hover {
  background: #ef4444 !important;
  color: #cbd5e1 !important;
  border-color: #ef4444 !important;
}

.btn-view-details {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  padding: 3px 8px !important;
  height: 28px !important;
  min-height: 28px !important;
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  border-radius: 6px !important;
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  line-height: 1.2 !important;
  outline: none !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

.btn-view-details:hover {
  background: #38bdf8 !important;
  color: #0f172a !important;
  transform: none !important;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.35) !important;
}

.copy-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-pill-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.detail-card-block {
  background: rgba(22, 14, 18, 0.75);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.detail-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold, #f59e0b);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 767px) {
  .orders-desktop { display: none; }
  .orders-mobile { display: block; }
}

@media (max-width: 600px) {
  .dashboard { padding: 12px; padding-top: max(12px, var(--safe-top)); }
  .header { padding: 12px 14px; gap: 12px; }
  .header-top { gap: 10px; padding-bottom: 10px; }
  .header-brand { gap: 10px; }
  .header-brand .logo-main { font-size: 1.25rem !important; }
  .header-brand svg { width: 44px !important; height: 36px !important; }
  .header-utility-group { width: 100%; justify-content: space-between; gap: 6px; }
  .header-utility-group .btn { padding: 7px 10px !important; font-size: 0.66rem !important; flex: 1; min-height: 36px !important; }
  .header-nav-tabs { width: max-content; min-width: 100%; }
  .nav-tab-btn { flex: 0 0 auto; padding: 8px 14px; font-size: 0.72rem; }
  .stats { gap: 10px; }
  .stat-card { padding: 16px; }
  .stat-value { font-size: 1.3rem; }
  .toolbar { padding: 12px 14px; gap: 10px; }
  .toolbar-left { width: 100%; gap: 8px; }
  .search-box { max-width: 100%; min-width: 0; width: 100%; flex: 1 1 100%; }
  .filter-select { min-width: 0; flex: 1; width: 100%; }
  .side-panel { width: 100vw !important; border-radius: 0 !important; top: 0 !important; bottom: 0 !important; height: auto !important; }
  .side-body, .side-head { padding: 16px 14px; }
  .side-foot { padding: 16px 14px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .side-title { font-size: 1rem; }
  .form-group { margin-bottom: 14px; }
  .pricing-row { flex-wrap: wrap; gap: 6px; }
  .pricing-row input.price-input { flex: 1 1 30%; min-width: 70px; }
  .pricing-row .remove-btn { width: 40px; height: 40px; }
  .add-pricing-btn { width: 100%; }
  .bulk-bar { flex-wrap: wrap; gap: 8px; }
  .pagination { flex-wrap: wrap; gap: 4px; padding: 8px 10px; }
  .page-btn { min-width: 40px; height: 40px; font-size: 0.75rem; }
  .modal-box { padding: 20px 16px; }
  .modal-actions { flex-direction: column-reverse; gap: 8px; }
  .modal-actions .btn { width: 100%; justify-content: center; }
  .toast-container { left: 12px; right: 12px; max-width: none; margin-left: 0; margin-right: 0; width: auto; }
  .toast { font-size: 0.85rem; padding: 10px 14px; }
  table { min-width: 560px; }
  .grid-card img { height: 160px; }
  .toggle-wrap { width: 100%; }
  .toggle-wrap button { flex: 1; text-align: center; }
}

/* Clean & Minimalistic Modal Form Sections */
.clean-form-section {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 24px 0 !important;
  margin-bottom: 24px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.clean-form-section:last-of-type {
  border-bottom: none !important;
}
.clean-form-section.highlight-border {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.clean-section-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ff9f68;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.3px;
}

/* Product Status, Stock & Badge Control Center */
.btn-status-toggle {
  flex: 1;
  padding: 10px 14px;
  background: rgba(12, 8, 10, 0.65);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  color: #64748b;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0.45;
}
.btn-status-toggle:hover {
  border-color: rgba(248, 113, 113, 0.6);
  color: #ffffff;
  opacity: 0.85;
  transform: none;
}
.btn-status-toggle.active-toggle,
.btn-status-toggle.active-draft,
.btn-status-toggle.active-stock,
.btn-status-toggle.active-outstock {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.4) 0%, rgba(185, 28, 28, 0.65) 100%) !important;
  border: 2px solid #ef4444 !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.45) !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}

.badge-pill-btn {
  padding: 8px 16px !important;
  background: #161618 !important;
  border: 1px solid #2a2a2e !important;
  color: #cbd5e1 !important;
  border-radius: 50px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  user-select: none !important;
  opacity: 1 !important;
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}
.badge-pill-btn:hover {
  border-color: #ff7e40 !important;
  color: #ff7e40 !important;
  background: #1f1f23 !important;
  opacity: 1 !important;
  transform: none !important;
}
.badge-pill-btn.selected {
  background: linear-gradient(135deg, #a43a25 0%, #61180a 100%) !important;
  border: 1px solid #ff7e40 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(255, 126, 64, 0.35) !important;
  opacity: 1 !important;
}

.status-selected-indicator {
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 6px;
  padding: 5px 12px;
  background: rgba(30, 10, 15, 0.7);
  border-radius: 6px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Status Pills in Table */
.status-pill-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
.quick-status-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  line-height: 1.2;
}
.quick-status-btn:hover {
  transform: none;
  filter: brightness(1.2);
}
.quick-live { background: rgba(16, 185, 129, 0.15); border-color: rgba(16, 185, 129, 0.4); color: #34d399; }
.quick-draft { background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.4); color: #f87171; }
.quick-instock { background: rgba(59, 130, 246, 0.15); border-color: rgba(59, 130, 246, 0.4); color: #60a5fa; }
.quick-outstock { background: rgba(245, 158, 11, 0.2); border-color: rgba(245, 158, 11, 0.5); color: #fbbf24; }
.quick-featured { background: rgba(245, 158, 11, 0.25); border-color: rgba(251, 191, 36, 0.7); color: #fbbf24; font-weight: 800; }
.quick-not-featured { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.18); color: #94a3b8; }
.quick-not-featured:hover { background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.45); color: #fde047; }
.top-showcase-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.top-showcase-box:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.16);
}
.top-showcase-box.active-featured {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(217, 119, 6, 0.03) 100%);
  border-color: rgba(245, 158, 11, 0.35);
}
.showcase-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
}
.modern-switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  cursor: pointer;
  outline: none;
  padding: 0;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}
.modern-switch:hover {
  background: rgba(255, 255, 255, 0.18);
}
.modern-switch.active {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-color: #fbbf24;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}
.modern-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.modern-switch.active .modern-switch-thumb {
  transform: translateX(20px);
}
.quick-badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(167, 139, 250, 0.4);
  color: #c084fc;
}

@media (min-width: 601px) and (max-width: 900px) {
  .filter-select { min-width: 110px; }
  .search-box { min-width: 160px; }
  .header-actions .btn { padding: 8px 14px; font-size: 0.7rem; }
}

/* Banner Text & Button Overlay Styles for Admin Preview & Cards */
.brand-banner-overlay-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  pointer-events: none;
  z-index: 6;
  padding: 18px 24px;
  box-sizing: border-box;
}
.brand-banner-overlay-wrapper.pos-top-left { align-items: flex-start; justify-content: flex-start; }
.brand-banner-overlay-wrapper.pos-top-center { align-items: flex-start; justify-content: center; }
.brand-banner-overlay-wrapper.pos-top-right { align-items: flex-start; justify-content: flex-end; }
.brand-banner-overlay-wrapper.pos-middle-left { align-items: center; justify-content: flex-start; }
.brand-banner-overlay-wrapper.pos-middle-center,
.brand-banner-overlay-wrapper.pos-center { align-items: center; justify-content: center; }
.brand-banner-overlay-wrapper.pos-middle-right { align-items: center; justify-content: flex-end; }
.brand-banner-overlay-wrapper.pos-bottom-left {
  align-items: flex-end;
  justify-content: flex-start;
  padding-bottom: 16px !important;
}
.brand-banner-overlay-wrapper.pos-bottom-center {
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16px !important;
}
.brand-banner-overlay-wrapper.pos-bottom-right {
  align-items: flex-end;
  justify-content: flex-end;
  padding-bottom: 16px !important;
}

.brand-banner-overlay-content {
  width: fit-content;
  max-width: min(92%, 420px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: auto;
  box-sizing: border-box;
}
.brand-banner-overlay-wrapper.align-left .brand-banner-overlay-content { align-items: flex-start; text-align: left; }
.brand-banner-overlay-wrapper.align-center .brand-banner-overlay-content { align-items: center; text-align: center; margin: 0 auto; }
.brand-banner-overlay-wrapper.align-right .brand-banner-overlay-content { align-items: flex-end; text-align: right; margin-left: auto; }

.brand-banner-overlay-wrapper.align-left .brand-banner-overlay-btn { align-self: flex-start; }
.brand-banner-overlay-wrapper.align-center .brand-banner-overlay-btn { align-self: center; }
.brand-banner-overlay-wrapper.align-right .brand-banner-overlay-btn { align-self: flex-end; }

.brand-banner-overlay-wrapper.align-center .brand-banner-overlay-list {
  text-align: left;
  display: inline-block;
}
.brand-banner-overlay-wrapper.align-right .brand-banner-overlay-list {
  text-align: right;
  list-style-position: inside;
  padding-left: 0;
}

/* Scrim & Backdrop Contrast Styles */
.brand-banner-overlay-content.scrim-card,
.brand-banner-overlay-content.scrim-scrim-card {
  background: rgba(12, 12, 16, 0.82) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.12) !important;
}
.brand-banner-overlay-content.scrim-blur,
.brand-banner-overlay-content.scrim-scrim-blur,
.brand-banner-overlay-content.scrim-glass,
.brand-banner-overlay-content.scrim-frosted-glass {
  background: rgba(15, 15, 20, 0.70) !important;
  backdrop-filter: blur(20px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(190%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
}
.brand-banner-overlay-content.scrim-solid,
.brand-banner-overlay-content.scrim-scrim-solid {
  background: rgba(8, 8, 10, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75) !important;
}
.brand-banner-overlay-content.scrim-subtle,
.brand-banner-overlay-content.scrim-scrim-subtle {
  background: rgba(0, 0, 0, 0.62) !important;
  backdrop-filter: blur(10px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(150%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 10px !important;
  padding: 8px 13px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5) !important;
}
.brand-banner-overlay-content.scrim-ambient,
.brand-banner-overlay-content.scrim-scrim-ambient,
.brand-banner-overlay-content.scrim-glow,
.brand-banner-overlay-content.scrim-scrim-glow {
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.6) 65%, transparent 100%) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
}
/* Website Theme-Inspired Scrims (Directly matched to Storefront #1a0a08 background & #8B2622 Brand Red) */
.brand-banner-overlay-content.scrim-brand-dark,
.brand-banner-overlay-content.scrim-scrim-brand-dark,
.brand-banner-overlay-content.scrim-dmarket-dark,
.brand-banner-overlay-content.scrim-scrim-dmarket-dark,
.brand-banner-overlay-content.scrim-store-dark,
.brand-banner-overlay-content.scrim-scrim-store-dark {
  background: linear-gradient(135deg, rgba(32, 12, 10, 0.90) 0%, rgba(18, 7, 6, 0.94) 100%) !important;
  backdrop-filter: blur(18px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(190%) !important;
  border: 1.5px solid rgba(255, 180, 170, 0.20) !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85), 0 0 20px rgba(26, 10, 8, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
}
.brand-banner-overlay-content.scrim-brand-red,
.brand-banner-overlay-content.scrim-scrim-brand-red,
.brand-banner-overlay-content.scrim-crimson-glass,
.brand-banner-overlay-content.scrim-scrim-crimson-glass,
.brand-banner-overlay-content.scrim-dmarket-red,
.brand-banner-overlay-content.scrim-scrim-dmarket-red {
  background: linear-gradient(135deg, rgba(139, 38, 34, 0.50) 0%, rgba(26, 10, 8, 0.92) 100%) !important;
  backdrop-filter: blur(20px) saturate(210%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(210%) !important;
  border: 1.5px solid rgba(220, 60, 50, 0.48) !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(139, 38, 34, 0.38), inset 0 1px 1px rgba(255, 200, 190, 0.25) !important;
}
.brand-banner-overlay-content.scrim-brand-gold,
.brand-banner-overlay-content.scrim-scrim-brand-gold,
.brand-banner-overlay-content.scrim-luxury-gold,
.brand-banner-overlay-content.scrim-scrim-luxury-gold,
.brand-banner-overlay-content.scrim-dmarket-gold,
.brand-banner-overlay-content.scrim-scrim-dmarket-gold {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.28) 0%, rgba(26, 12, 8, 0.90) 100%) !important;
  backdrop-filter: blur(20px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(190%) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.42) !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75), 0 0 18px rgba(245, 158, 11, 0.25), inset 0 1px 1px rgba(254, 240, 138, 0.25) !important;
}

/* Adaptive Directional Banner Gradients & Full Shade */
.brand-banner-overlay-wrapper.scrim-adaptive-gradient.pos-top-left,
.brand-banner-overlay-wrapper.scrim-scrim-adaptive-gradient.pos-top-left,
.brand-banner-overlay-wrapper.scrim-adaptive-gradient.pos-middle-left,
.brand-banner-overlay-wrapper.scrim-scrim-adaptive-gradient.pos-middle-left,
.brand-banner-overlay-wrapper.scrim-adaptive-gradient.pos-bottom-left,
.brand-banner-overlay-wrapper.scrim-scrim-adaptive-gradient.pos-bottom-left,
.brand-banner-overlay-wrapper.scrim-gradient-left,
.brand-banner-overlay-wrapper.scrim-scrim-gradient-left,
.brand-banner-overlay-wrapper.scrim-gradient.pos-top-left,
.brand-banner-overlay-wrapper.scrim-scrim-gradient.pos-top-left,
.brand-banner-overlay-wrapper.scrim-gradient.pos-middle-left,
.brand-banner-overlay-wrapper.scrim-scrim-gradient.pos-middle-left,
.brand-banner-overlay-wrapper.scrim-gradient.pos-bottom-left,
.brand-banner-overlay-wrapper.scrim-scrim-gradient.pos-bottom-left {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 38%, rgba(0, 0, 0, 0.3) 65%, rgba(0, 0, 0, 0) 100%) !important;
}
.brand-banner-overlay-wrapper.scrim-adaptive-gradient.pos-top-right,
.brand-banner-overlay-wrapper.scrim-scrim-adaptive-gradient.pos-top-right,
.brand-banner-overlay-wrapper.scrim-adaptive-gradient.pos-middle-right,
.brand-banner-overlay-wrapper.scrim-scrim-adaptive-gradient.pos-middle-right,
.brand-banner-overlay-wrapper.scrim-adaptive-gradient.pos-bottom-right,
.brand-banner-overlay-wrapper.scrim-scrim-adaptive-gradient.pos-bottom-right,
.brand-banner-overlay-wrapper.scrim-gradient.pos-top-right,
.brand-banner-overlay-wrapper.scrim-scrim-gradient.pos-top-right,
.brand-banner-overlay-wrapper.scrim-gradient.pos-middle-right,
.brand-banner-overlay-wrapper.scrim-scrim-gradient.pos-middle-right,
.brand-banner-overlay-wrapper.scrim-gradient.pos-bottom-right,
.brand-banner-overlay-wrapper.scrim-scrim-gradient.pos-bottom-right {
  background: linear-gradient(to left, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 38%, rgba(0, 0, 0, 0.3) 65%, rgba(0, 0, 0, 0) 100%) !important;
}
.brand-banner-overlay-wrapper.scrim-adaptive-gradient.pos-top-center,
.brand-banner-overlay-wrapper.scrim-scrim-adaptive-gradient.pos-top-center,
.brand-banner-overlay-wrapper.scrim-gradient.pos-top-center,
.brand-banner-overlay-wrapper.scrim-scrim-gradient.pos-top-center {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.65) 40%, rgba(0, 0, 0, 0) 100%) !important;
}
.brand-banner-overlay-wrapper.scrim-adaptive-gradient.pos-bottom-center,
.brand-banner-overlay-wrapper.scrim-scrim-adaptive-gradient.pos-bottom-center,
.brand-banner-overlay-wrapper.scrim-gradient.pos-bottom-center,
.brand-banner-overlay-wrapper.scrim-scrim-gradient.pos-bottom-center {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.65) 40%, rgba(0, 0, 0, 0) 100%) !important;
}
.brand-banner-overlay-wrapper.scrim-adaptive-gradient.pos-middle-center,
.brand-banner-overlay-wrapper.scrim-scrim-adaptive-gradient.pos-middle-center,
.brand-banner-overlay-wrapper.scrim-adaptive-gradient.pos-center,
.brand-banner-overlay-wrapper.scrim-scrim-adaptive-gradient.pos-center,
.brand-banner-overlay-wrapper.scrim-gradient.pos-middle-center,
.brand-banner-overlay-wrapper.scrim-scrim-gradient.pos-middle-center,
.brand-banner-overlay-wrapper.scrim-gradient.pos-center,
.brand-banner-overlay-wrapper.scrim-scrim-gradient.pos-center {
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0) 90%) !important;
}
.brand-banner-overlay-wrapper.scrim-full-shade,
.brand-banner-overlay-wrapper.scrim-scrim-full-shade,
.brand-banner-overlay-wrapper.scrim-full,
.brand-banner-overlay-wrapper.scrim-scrim-full {
  background: rgba(0, 0, 0, 0.52) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}

.brand-banner-overlay-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.22;
  color: #ffffff;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.95);
  margin: 0;
}
.brand-banner-overlay-subtitle {
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.35;
  color: #e2e8f0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
  margin: 0;
}
.brand-banner-overlay-list {
  margin: 0;
  padding-left: 16px;
  list-style-type: disc;
  color: #e2e8f0;
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.35;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}
.brand-banner-overlay-list li {
  margin-bottom: 2px;
}

.brand-banner-overlay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  margin-top: 2px;
  width: fit-content;
}
.brand-banner-overlay-btn.btn-light {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.9);
}
.brand-banner-overlay-btn.btn-primary {
  background: linear-gradient(135deg, #ff7e40 0%, #b83d1d 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 126, 64, 0.5);
}
.brand-banner-overlay-btn.btn-amber {
  background: #fcd34d !important;
  color: #78350f !important;
  border: 1px solid #fde68a;
}
.brand-banner-overlay-btn.btn-dark {
  background: rgba(18, 18, 20, 0.85) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.brand-banner-overlay-btn.btn-outline {
  background: transparent !important;
  color: #ffffff !important;
  border: 1.5px solid #ffffff;
}

.admin-preview-nav-btn {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.2s ease, color 0.2s ease;
}
.admin-preview-container:hover .admin-preview-nav-btn {
  opacity: 0.85;
  pointer-events: auto;
}
.admin-preview-nav-btn:hover {
  opacity: 1 !important;
  color: #ff9f68 !important;
  transform: translateY(-50%) scale(1.22) !important;
}

/* Modern 3-Position Banner Segmented Switcher */
.banner-location-segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: #0c0c0d;
  border: 1px solid #2a2a2e;
  padding: 5px;
  border-radius: 12px;
}
@media (max-width: 640px) {
  .banner-location-segmented {
    grid-template-columns: 1fr;
  }
}
.banner-pos-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 10px 18px;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  text-align: center;
  outline: none;
  font-weight: 700;
}
.banner-pos-btn:hover {
  background: #18181b;
  color: #f1f5f9;
  border-color: rgba(255, 255, 255, 0.08);
}
.banner-pos-btn.active {
  background: linear-gradient(135deg, #ff7e40 0%, #b83d1d 100%) !important;
  color: #ffffff !important;
  border-color: rgba(255, 126, 64, 0.5) !important;
  box-shadow: 0 4px 14px rgba(255, 126, 64, 0.35);
  font-weight: 700;
}

.color-swatch-btn {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  padding: 0;
  cursor: pointer;
  transition: all 0.15s ease;
  box-sizing: border-box;
  outline: none;
  display: inline-block;
}
.color-swatch-btn:hover {
  transform: scale(1.15);
}
.color-swatch-btn.active-swatch {
  box-shadow: 0 0 0 2px #0f172a, 0 0 0 4px #38bdf8 !important;
  transform: scale(1.1);
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
