/* Cocoa Accesorios - Custom Styles & Luxury Polish */

:root {
  --color-cacao: #5A3A2E;
  --color-cacao-dark: #3E241C;
  --color-cacao-light: #7D5344;
  --color-arena: #D8C3A5;
  --color-arena-light: #F4ECE1;
  --color-gold: #C5A059;
  --color-gold-light: #E7D5A6;
  --color-cream: #FAF7F2;
  --color-card-bg: #FFFFFF;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--color-cream);
  color: #2D241E;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.font-heading {
  font-family: 'Outfit', sans-serif;
}

.font-serif-luxury {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #F4ECE1;
}
::-webkit-scrollbar-thumb {
  background: #C4A78A;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #5A3A2E;
}

/* Cocoa Accesorios Theme Classes */
.bg-cacao {
  background-color: #5A3A2E;
}
.bg-cacao-dark {
  background-color: #3E241C;
}
.bg-cacao-light {
  background-color: #7D5344;
}
.bg-arena {
  background-color: #D8C3A5;
}
.bg-arena-light {
  background-color: #F4ECE1;
}
.bg-cream {
  background-color: #FAF7F2;
}

.text-cacao {
  color: #5A3A2E;
}
.text-cacao-dark {
  color: #3E241C;
}
.text-arena {
  color: #D8C3A5;
}
.text-gold {
  color: #C5A059;
}

.border-cacao {
  border-color: #5A3A2E;
}
.border-arena {
  border-color: #D8C3A5;
}
.border-gold {
  border-color: #C5A059;
}

/* Button & UI Accents */
.btn-cacao {
  background-color: #5A3A2E;
  color: #FFFFFF;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-cacao:hover {
  background-color: #3E241C;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(90, 58, 46, 0.35);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  transition: all 0.25s ease;
}
.btn-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.45);
}

.btn-gold {
  background: linear-gradient(135deg, #C5A059, #DFBD75);
  color: #2A1810;
  font-weight: 700;
  transition: all 0.25s ease;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(197, 160, 89, 0.4);
}

/* Card Hover Effects */
.product-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: #FFFFFF;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(90, 58, 46, 0.12);
}

.product-image-container {
  overflow: hidden;
  position: relative;
}
.product-image-container img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-image-container img {
  transform: scale(1.08);
}

/* Drawer & Modal Transitions */
.slide-in-right {
  animation: slideInRight 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.slide-out-right {
  animation: slideOutRight 0.3s ease forwards;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes slideOutRight {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}

/* Floating WhatsApp Pulse */
@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
.pulse-wa {
  animation: waPulse 2.2s infinite;
}

/* Glassmorphism */
.glass-header {
  background: rgba(253, 251, 247, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(216, 195, 165, 0.4);
}

/* Badge styles */
.badge-gold {
  background: linear-gradient(135deg, #FDF7EA, #F4ECE1);
  color: #8C6A23;
  border: 1px solid #E8D5A6;
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast-msg {
  pointer-events: auto;
  animation: toastFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes toastFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Print Friendly Admin Reports */
@media print {
  .no-print {
    display: none !important;
  }
}
