/* MINIBADGER THEME - MIRRAGES */
:root {
  --primary: #00d4a0;    
  --primary-hover: #00b88d; 
  --secondary: #115e59;  
  --text-dark: #134e4a;   
  --text-light: #5eead4;  
  --text-gray: #334155;
  --bg-main: #f0fdfa;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  background-color: var(--bg-main);
  color: var(--text-gray);
  font-family: 'Inter', sans-serif;
}

body {
  min-height: 100vh;
  padding-bottom: 90px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Base Glassmorphic Container */
.glass-panel {
  background: rgba(255, 255, 255, 0.75); 
  backdrop-filter: blur(25px); 
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 32px;
  box-shadow: 0 20px 40px -12px rgba(16, 185, 129, 0.12);
}

/* Claymorphic Card & Button Base */
.clay-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 6px 6px 14px rgba(0,0,0,0.04), -6px -6px 14px rgba(255,255,255,0.8);
  transition: all 0.25s ease;
  border: 1px solid rgba(255,255,255,0.7);
}

.clay-card:hover {
  transform: translateY(-2px);
  box-shadow: 8px 8px 18px rgba(0,0,0,0.06), -8px -8px 18px rgba(255,255,255,0.9);
}

.logo-eyes { animation: blink 4s infinite; }
@keyframes blink {
  0%, 95% { opacity: 1; } 98% { opacity: 0.2; } 100% { opacity: 1; }
}

.nav-arrow {
  background: white;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  transition: transform 0.2s;
}
.nav-arrow:hover { transform: scale(1.1); color: var(--primary); }

/* Sticky Navbar Styles */
.navbar-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  width: 100%;
  left: 0;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.1);
  height: 70px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 1.5rem;
  position: relative;
}

.nav-logo-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

#mobileMenu.active {
  display: flex;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from { transform: translateY(-10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Navigation Category Chips */
.category-chip.active {
  background: var(--primary);
  color: white !important;
  border-color: var(--primary);
  box-shadow: 0 8px 16px -4px rgba(0, 212, 160, 0.4);
  transform: translateY(-1px);
}

/* Scrollbar Utilities */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 160, 0.4);
  border-radius: 4px;
}

/* Modal Handling */
#productModal {
  display: none;
}
#productModal.active {
  display: flex !important;
}

.modal-image {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
}

/* --- Mobile Responsiveness Adjustments (< 768px) --- */
@media (max-width: 768px) {
  .glass-panel {
    border-radius: 20px;
  }

  .nav-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
  }

  .category-chip {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.8125rem !important;
    gap: 0.5rem !important;
  }

  .category-chip img {
    width: 1.25rem !important;
    height: 1.25rem !important;
  }

  #productsGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }

  /* Modal Mobile Fixes */
  .modal-image {
    height: 80px;
  }
}