/* ========= CONSOLIDATED STYLES - ALL CSS FILES MERGED & OPTIMIZED ========= */

/* ========= LOADING SCREEN ========= */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle farthest-corner at center, #3C4B57 0%, #1C262B 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.loader {
  position: absolute;
  top: calc(50% - 32px);
  left: calc(50% - 32px);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  perspective: 800px;
}

.loader-inner {
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border-radius: 50%;  
}

.loader-inner.one {
  left: 0%;
  top: 0%;
  animation: rotate-one 1s linear infinite;
  border-bottom: 3px solid #EFEFFA;
}

.loader-inner.two {
  right: 0%;
  top: 0%;
  animation: rotate-two 1s linear infinite;
  border-right: 3px solid #EFEFFA;
}

.loader-inner.three {
  right: 0%;
  bottom: 0%;
  animation: rotate-three 1s linear infinite;
  border-top: 3px solid #EFEFFA;
}

@keyframes rotate-one {
  0% {
    transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
  }
}

@keyframes rotate-two {
  0% {
    transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
  }
}

@keyframes rotate-three {
  0% {
    transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
  }
}

#loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Legacy loading classes for compatibility */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loading-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-yellow);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 20px rgba(255,209,102,0.3);
  margin-bottom: 30px;
}

.loading-text {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  letter-spacing: 1px;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255,255,255,0.2);
  border-top: 5px solid var(--accent-yellow);
  border-right: 5px solid white;
  border-radius: 50%;
  animation: spin 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

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

.loading-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.loading-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255,209,102,0.6);
  border-radius: 50%;
}

.loading-particle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.loading-particle:nth-child(2) { top: 60%; left: 80%; animation-delay: 1s; }
.loading-particle:nth-child(3) { top: 40%; left: 60%; animation-delay: 2s; }
.loading-particle:nth-child(4) { top: 80%; left: 30%; animation-delay: 3s; }
.loading-particle:nth-child(5) { top: 30%; left: 90%; animation-delay: 0.5s; }
.loading-particle:nth-child(6) { top: 70%; left: 10%; animation-delay: 1.5s; }

/* ========= GLOBAL RESET ========= */

:root{
  /* Primary theme variables aligned with css/site.css */
  /* softened global background to better match index mix of green/grey */
  --bg: #f4f6f5; /* page background - softened light grey */
  --bg-secondary: #ffffff; /* cards / panels */
  --card: #ffffff;
  --muted: #6b7280; /* gray-500 */
  --accent: #16a34a; /* green primary */
  --accent-2: #059669; /* green secondary */
  --accent-yellow: #ffd166; /* preserved for accents */
  --text-primary: #0f172a; /* dark text */
  --text-secondary: #374151; /* muted */
  --glass-border: rgba(255,255,255,0.2);
  --input-bg: rgba(255,255,255,0.85);
  --hover-bg: rgba(6,95,70,0.04);
  --shadow-color: rgba(0,0,0,0.1);
  --radius: 10px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  /* Aliases for older variable names used throughout the legacy stylesheet */
  --accent-green: var(--accent);
  --accent-green-light: var(--accent-2);
  --accent-green-lighter: #22c55e;
}

[data-theme="dark"] {
  /* Dark Theme Colors */
  --bg-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  --bg-secondary: rgba(22,33,62,0.95);
  --text-primary: #e6e6e6;
  --text-secondary: #b8b8b8;
  --accent-green: #4ade80;
  --accent-green-light: #22c55e;
  --accent-green-lighter: #16a34a;
  --accent-yellow: #fbbf24;
  --accent-yellow-light: #f59e0b;
  --shadow-color: rgba(0,0,0,0.3);
  --glass-border: rgba(255,255,255,0.1);
  --input-bg: rgba(22,33,62,0.8);
  --hover-bg: rgba(74,222,128,0.1);
  --hover-bg-alt: rgba(34,197,94,0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* cursor: none; */ /* Disabled global cursor none to prevent disappearance */
}

body{
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Global Scrollbar Styling */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--accent-green);
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.1);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-green-light);
}

::-webkit-scrollbar-corner {
  background: rgba(255,255,255,0.1);
}

/* Language page styles */
.language-options {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.language-card {
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.language-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-color: var(--accent-green);
}

.language-flag {
  font-size: 2rem;
  margin-right: 20px;
}

.language-info {
  flex: 1;
}

.language-info h3 {
  margin: 0 0 5px 0;
  color: var(--text-primary);
  font-size: 1.2rem;
}

.language-info p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.language-status {
  font-size: 1.5rem;
  color: var(--accent-green);
  font-weight: bold;
}

/* Custom Cursor */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: all 0.1s ease;
  mix-blend-mode: difference;
}

.cursor::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: var(--accent-yellow);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor.hover {
  transform: scale(1.5);
  border-color: var(--accent-yellow);
}

/* Particle Background */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  background: var(--accent-green);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.particle:nth-child(odd) {
  animation-delay: -2s;
  background: var(--accent-yellow);
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
  50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

@keyframes modalFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes modalScaleIn {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

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

/* ========= LOGO STYLING ========= */
.logo {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-yellow);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-link {
  position: relative;
}

.logo-cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--accent-yellow);
  color: var(--accent-green);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  border: 2px solid white;
}

/* ========= NAVBAR ========= */
.navbar{
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
  padding: 15px 30px;
  box-shadow: 0 4px 20px rgba(45, 106, 79, 0.3);
  z-index: 1100;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Ensure cart icon is always visible in navbar */
.navbar .cart-icon {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-left: 20px;
  z-index: 1200;
}

/* Cart Page Upgrades */
.cart {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
  min-height: calc(100vh - 200px);
}

.cart h2 {
  text-align: center;
  color: var(--accent-green);
  font-size: 2.2rem;
  margin-bottom: 30px;
  position: relative;
  animation: slideInLeft 1s ease-out;
}

.cart h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-green-light));
  border-radius: 2px;
}

.nav-link{
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  position: relative;
  transition: all 0.2s ease;
  padding: 8px 10px;
  border-radius: 8px;
}
.nav-link:hover{
  color: var(--accent);
  background: rgba(6,95,70,0.04);
  transform: translateY(-2px);
}
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  margin-bottom: 12px;
  background: rgba(255,255,255,0.9);
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(45,106,79,0.1);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.cart-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  border-color: var(--accent-green-light);
}

.cart-item span {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
  flex: 1;
  margin-right: 15px;
}

.cart-quantity-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cart-quantity-controls button {
  background: var(--accent-green);
  color: white;
  border: none;
  font-size: 0.9rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  font-weight: bold;
}

.cart-quantity-controls button:hover {
  background: var(--accent-green-light);
  transform: scale(1.05);
}

.cart-quantity-controls .remove-item {
  background: transparent;
  color: #ef4444;
  width: auto;
  height: auto;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.85rem;
  margin-left: 5px;
}

.cart-quantity-controls .remove-item:hover {
  background: rgba(239,68,68,0.1);
  transform: none;
}

.cart-quantity-controls input {
  width: 50px;
  text-align: center;
  font-size: 0.9rem;
  border-radius: 6px;
  border: 1px solid rgba(45,106,79,0.2);
  background: white;
  color: var(--text-primary);
  padding: 4px;
  font-weight: 600;
}

#cart-total {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-green);
  margin: 25px 0 20px 0;
  padding: 15px;
  background: rgba(45,106,79,0.08);
  border-radius: 10px;
  border: 1px solid rgba(45,106,79,0.2);
}

#checkout-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-light) 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(45,106,79,0.25);
  margin-top: 15px;
}

#checkout-btn:hover {
  background: linear-gradient(135deg, var(--accent-green-light) 0%, var(--accent-green) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45,106,79,0.35);
}



/* Empty Cart Message */
.empty-cart {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.empty-cart h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--accent-green);
}

.empty-cart p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.empty-cart .btn {
  margin: 0 auto;
}

/* Account Page Styling */
.account-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.account-header {
  text-align: center;
  margin-bottom: 40px;
}

.account-header h1 {
  color: var(--accent-green);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.account-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.account-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.profile-info, .account-actions {
  background: var(--bg-secondary);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.2);
}

.profile-info h3, .account-actions h3 {
  color: var(--accent-green);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.profile-field {
  margin-bottom: 20px;
}

.profile-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-primary);
}

.profile-field input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid rgba(45,106,79,0.2);
  border-radius: 8px;
  font-size: 1rem;
  background: white;
  transition: border-color 0.3s ease;
}

.profile-field input:focus {
  outline: none;
  border-color: var(--accent-green);
}

.profile-field input[readonly] {
  background: #f8f9fa;
  color: var(--text-secondary);
}

.save-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-light) 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45,106,79,0.3);
}

.action-btn {
  width: 100%;
  padding: 15px;
  background: white;
  border: 2px solid rgba(45,106,79,0.2);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.action-btn:hover {
  border-color: var(--accent-green);
  background: var(--hover-bg);
  transform: translateY(-1px);
}

.logout-btn {
  border-color: #ef4444;
  color: #ef4444;
}

.logout-btn:hover {
  border-color: #dc2626;
  background: rgba(239,68,68,0.1);
}

@media (max-width: 768px) {
  .account-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .account-header h1 {
    font-size: 2rem;
  }
}

/* Profile Page Styling */
.profile-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.profile-header {
  text-align: center;
  margin-bottom: 40px;
}

.profile-avatar {
  width: 80px; /* Increased size */
  height: 80px; /* Increased size */
  background: linear-gradient(135deg, #2d6a4f, #40916c); /* Shop.html green gradient */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem; /* Increased font size */
  font-weight: bold;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Adjusted shadow */
  border: 3px solid #ff6b6b; /* Accent color from shop.html */
}

.profile-header h1 {
  color: #2d6a4f; /* Dark green from shop.html */
  font-size: 2.5rem; /* Adjusted font size */
  margin-bottom: 10px;
}

.profile-header p {
  color: #7f8c8d; /* Muted text color from shop.html */
  font-size: 1.1rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px; /* Adjusted gap */
}

.profile-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%); /* Shop.html card background */
  padding: 25px;
  border-radius: 20px; /* Adjusted border-radius */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Adjusted shadow */
  border: 1px solid rgba(255, 255, 255, 0.3); /* Adjusted border */
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Shop.html transition */
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,107,107, 0.1), transparent); /* Shop.html hover effect */
  transition: left 0.6s ease;
}

.profile-card:hover {
  transform: translateY(-12px) scale(1.03); /* Shop.html hover effect */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); /* Shop.html hover shadow */
  border-color: rgba(255,107,107,0.5); /* Shop.html hover border color */
}

.profile-card:hover::before {
  left: 100%;
}

.card-icon {
  font-size: 3rem; /* Increased icon size */
  margin-bottom: 15px;
  color: #2d6a4f; /* Dark green from shop.html */
}

.profile-card h3 {
  color: #2c3e50; /* Dark text color from shop.html */
  font-size: 1.3rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.profile-card p {
  color: #7f8c8d; /* Muted text color from shop.html */
  font-size: 0.95rem;
  line-height: 1.6; /* Adjusted line-height */
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.card-arrow {
  position: absolute;
  bottom: 20px;
  right: 25px;
  font-size: 1.5rem; /* Increased arrow size */
  color: #ff6b6b; /* Accent color from shop.html */
  opacity: 0.7;
  transition: all 0.3s ease;
}

.profile-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(8px); /* Adjusted transform */
}

.logout-card {
  border-color: rgba(231, 76, 60, 0.5); /* Red accent from shop.html */
}

.logout-card h3 {
  color: #e74c3c; /* Red accent from shop.html */
}

.logout-card:hover {
  border-color: #e74c3c; /* Red accent from shop.html */
}

.logout-card .card-arrow {
  color: #e74c3c; /* Red accent from shop.html */
}

@media (max-width: 768px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
  
  .profile-header h1 {
    font-size: 2rem;
  }
  
  .profile-avatar {
    width: 70px; /* Adjusted for smaller screens */
    height: 70px; /* Adjusted for smaller screens */
    font-size: 1.8rem; /* Adjusted for smaller screens */
  }
}

/* Language Page Fixes */
.language-container {
  max-width: 700px;
  margin: 20px auto;
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-color);
  position: relative;
}

.language-container h2 {
  color: var(--accent-green);
  margin-bottom: 15px;
  animation: fadeInUp 1s ease-out;
}

/* Ensure logo at top left is in navbar */
.navbar .logo {
  height: 45px;
  width: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-yellow);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  cursor: pointer;
  z-index: 1200;
}

.navbar .logo:hover {
  transform: scale(1.05);
}

/* FAQ Page Fixes */
.faq-container {
  max-width: 700px;
  margin: 20px auto;
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.faq-container h2 {
  color: var(--accent-green);
  margin-bottom: 15px;
  animation: slideInLeft 1s ease-out;
}

.faq-item {
  margin-bottom: 20px;
}

.question {
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--accent-green);
}

.answer {
  margin-bottom: 15px;
  color: var(--text-secondary);
  margin-left: 20px;
}

.faq-question {
  font-weight: 600;
  margin-bottom: 10px;
  cursor: pointer;
  color: var(--accent-green);
}

.faq-answer {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.nav-left, .nav-center, .nav-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-center {
  justify-content: center;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  position: relative;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 25px;
  animation: slideInRight 1s ease-out;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255,209,102,0.2);
  border-radius: 25px;
  transition: width 0.3s ease;
  z-index: -1;
}

.nav-link:hover::before {
  width: 100%;
}

.nav-link:hover {
  color: var(--accent-yellow);
  transform: translateY(-2px);
}

#cart-count {
  font-weight: bold;
  color: var(--accent-yellow);
  background: rgba(255,209,102,0.2);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 14px;
}

.user-initial {
  display: inline-block;
  width: 40px; /* Increased size */
  height: 40px; /* Increased size */
  background: var(--accent-green);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 40px; /* Adjusted line-height for new size */
  font-weight: bold;
  font-size: 18px; /* Increased font size */
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
  object-fit: cover; /* Ensure images fit well */
}

.user-avatar {
  width: 40px; /* Increased size */
  height: 40px; /* Increased size */
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-yellow); /* Added border for consistency */
}

.user-initial:hover {
  background: var(--accent-green-light);
}

.user-dropdown {
  position: absolute;
  top: 40px;
  right: 0;
  background: var(--bg-secondary);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  min-width: 120px;
  z-index: 1200;
  display: none;
  border: 1px solid rgba(255,255,255,0.2);
}

.user-dropdown.show {
  display: block;
}

.user-dropdown a {
  display: block;
  padding: 10px 15px;
