 /* Footer */
  .footer {
    color: var(--white);
    background-color: var(--dark);
    padding: 3rem 2rem;
    margin-top: 2rem;
  }

  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
  }

  .footer-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-links a {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
  }

  .footer-links a:hover {
    color: hsl(var(--primary));
  }

  .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
  }

  .social-links a {
    color: hsl(var(--foreground));
    font-size: 1.25rem;
    transition: color 0.3s;
  }

  .social-links a:hover {
    color: hsl(var(--primary));
  }

  .copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid hsl(var(--border) / 0.5);
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
  }

  html {
    scroll-behavior: smooth;
  }

    /* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', serif;
}

:root {
  --primary: #63196d;
  --primary-hover: #ce3ee2;
  --accent: #ff5900fa;
  --accent-hover: #ea580c;
  --background: #ffffff;
  --foreground: #0f1419;
  --card: #ffffff;
  --white: #ffffff;
  --dark: #111827;
  --card-foreground: #0f1419;
  --border: #e5e7eb;
  --muted: #f3f4f6;
  --muted-foreground: #6b7280;
  --radius: 0.5rem;
}

body {
  background-color: var(--white);
  color: var(--foreground);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
header {
  background-color: var(--primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 40;
  color: var(--white);
  padding: 10px 0;
  font-weight: 700;
  font-size: 17px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  text-decoration: none;
  color: var(--border);
}

.nav-link:hover {
  color: var(--white);
}

.cart-icon {
  color: var(--white);
  font-size: x-large;
  position: relative;
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--accent);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

 /* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background-color: white;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  z-index: 50;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open {
  right: 0;
}

.cart-header {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-cart {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--foreground);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-remove {
  color: #ef4444;
  background: none;
  border: none;
  cursor: pointer;
}

.cart-footer {
  border-top: 1px solid var(--border);
  padding: 1rem;
}

@media (max-width: 767px) {
  .cart-footer {
    padding-bottom: 55px;
  }
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 1rem;
}

.checkout-btn {
  width: 100%;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 500;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  border: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-accent {
  background-color: var(--accent);
  color: white;
}

.btn-accent:hover {
  background-color: var(--accent-hover);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background-color: var(--muted);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 45;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

.overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
<%#     bottom: 20px; %>
  right: 20px;
  z-index: 1000;
}

.toast {
  background-color: white;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideIn 0.3s forwards;
}

.toast-success {
  border-left: 4px solid #22c55e;
}

.toast-info {
  border-left: 4px solid #3b82f6;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Base styles */
.menu-toggle {
display: none;
font-size: 1.5rem;
cursor: pointer;
}

@media (max-width: 768px) {
.nav-links {
  max-height: 0;
  overflow: hidden;
  flex-direction: column;
  background-color: var(--background);
  position: absolute;
  top: 58px;
  left: 0;
  width: 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 50;
  transition: max-height 0.5s ease, padding 0.5s ease;
  display: flex;
  font-size: 15px;
  gap: 0.5rem;
  align-items: inherit;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-link:hover {
  background: var(--accent);
  border-radius: 4px;
}

.nav-links.active {
  max-height: 500px; /* Adjust as needed */
  padding: 1rem;
}

.nav-link {
  width: 100%;
  padding: 6px 10px;
  color: var(--primary);
}

.nav-link:hover {
  color: var(--white);
}

.menu-toggle {
  display: block;
}

.header-content {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

/* Background shadow overlay */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 40;
}

.menu-overlay.active {
  display: block;
}
}
