/* =========================================================
   كَبَتْ | KABAT — Luxury Digital Wardrobe Styles
   ========================================================= */

:root {
  --bg-primary: #F9F6F0;
  --bg-card: #FFFFFF;
  --bg-accent: #FAF7F2;
  --border-subtle: #E8DFD8;
  --text-dark: #1A1A1A;
  --text-muted: #7A7269;
  --gold-primary: #C5A880;
  --gold-dark: #A88B63;
  --gold-light: #E3CAA5;
}

body {
  font-family: 'Cairo', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-dark);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Serif font helper for titles */
.font-serif {
  font-family: 'Playfair Display', 'Cairo', serif;
}

/* Luxury Gold Button Styling */
.gold-btn {
  background: linear-gradient(135deg, #D4BA97 0%, #C5A880 50%, #B39268 100%);
  color: #1A1A1A;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 12px rgba(197, 168, 128, 0.25);
  font-weight: 700;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.gold-btn:hover {
  background: linear-gradient(135deg, #DFC7A5 0%, #CDB089 50%, #BD9C72 100%);
  box-shadow: 0 6px 16px rgba(197, 168, 128, 0.35);
  transform: translateY(-1px);
}

.gold-btn:active {
  transform: scale(0.97);
}

/* Navigation Tabs */
.nav-tab.active {
  background-color: #1A1A1A;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Custom Scrollbars */
.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: #F4EFEA;
  border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #D4C9BD;
  border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #BFAF9E;
}

.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Mannequin Slots Styling */
.mannequin-slot {
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.mannequin-slot:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 168, 128, 0.18);
}

/* Clothing Card Hover Micro-interactions */
.garment-card {
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}
.garment-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(74, 60, 40, 0.08);
  border-color: #D6C7B7;
}
.garment-card:active {
  transform: scale(0.97);
}

/* Toast Animations */
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.toast-message {
  animation: toastIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Modal Entrance */
@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.animate-in {
  animation: modalPop 0.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Pulse animation for active AI styling button */
@keyframes aiGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(197, 168, 128, 0); }
  50% { box-shadow: 0 0 15px rgba(197, 168, 128, 0.6); }
}
.ai-active {
  animation: aiGlow 2s infinite ease-in-out;
}