/* Shop - Pastel Theme */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Primary - Pastel Sky Blue */
  --primary: #80cfff;
  --primary-light: #c2e8ff;
  --primary-lighter: #e6f5ff;
  --primary-dark: #3ba6e0;
  --primary-darker: #1a7bb8;
  --primary-text: #0e5a8a;

  /* Accent Colors */
  --accent-lavender: #a8c7fa;
  --accent-lavender-light: #d4e3fd;
  --accent-lavender-text: #2a4d8e;

  --accent-purple: #d9bafd;
  --accent-purple-light: #eedcfe;
  --accent-purple-text: #6b34a6;

  --accent-pink: #ffaee4;
  --accent-pink-light: #ffd6f2;
  --accent-pink-text: #9e2e7a;

  --accent-orange: #ffb683;
  --accent-orange-light: #ffdfc2;
  --accent-orange-text: #8b4513;

  --accent-green: #6dd58c;
  --accent-green-light: #c3f0cf;
  --accent-green-text: #1a6b35;

  /* Neutrals - Soft warm gray */
  --slate-50: #f9fafb;
  --slate-100: #f3f4f6;
  --slate-200: #e5e7eb;
  --slate-300: #d1d5db;
  --slate-400: #9ca3af;
  --slate-500: #6b7280;
  --slate-600: #4b5563;
  --slate-700: #374151;
  --slate-800: #1f2937;
  --slate-900: #111827;
  --white: #ffffff;

  /* Shadows - softer */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.04);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.06), 0 1px 2px -1px rgb(0 0 0 / 0.06);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.06), 0 2px 4px -2px rgb(0 0 0 / 0.04);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.06), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.06), 0 8px 10px -6px rgb(0 0 0 / 0.04);

  /* Radius */
  --radius: 0.625rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  /* Backward-compat aliases for inline styles in views */
  --blue-50: var(--primary-lighter);
  --blue-100: var(--primary-light);
  --blue-200: var(--primary);
  --blue-300: var(--primary);
  --blue-400: var(--primary-dark);
  --blue-500: var(--primary-dark);
  --blue-600: var(--primary-darker);
  --blue-700: var(--primary-text);
  --blue-800: var(--primary-text);
  --blue-900: var(--primary-text);
}

* { box-sizing: border-box; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--slate-50);
  color: var(--slate-800);
  margin: 0;
  min-height: 100vh;
  line-height: 1.6;
}

/* ============================================
   LAYOUT
   ============================================ */
.app-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  background: var(--white);
  box-shadow: 0 1px 0 var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.92);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-darker);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  letter-spacing: -0.02em;
}

.logo:hover { color: var(--primary-dark); }

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent-lavender));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.125rem;
  box-shadow: 0 2px 8px rgba(128, 207, 255, 0.4);
}

/* Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.875rem;
  color: var(--slate-600);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
  transition: all 0.2s;
}

.nav-link:hover {
  color: var(--primary-darker);
  background: var(--primary-lighter);
}

/* Cart link with badge */
.cart-link {
  position: relative;
}

.cart-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  color: white;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(255, 174, 228, 0.5);
  border: 2px solid var(--white);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.cart-badge-pop {
  animation: cartBadgePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cartBadgePop {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

/* ============================================
   PROFILE DROPDOWN
   ============================================ */
.profile-dropdown {
  position: relative;
}

.profile-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.625rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--slate-200);
  background: var(--white);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.profile-trigger:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(128, 207, 255, 0.15);
}

.profile-dropdown.open .profile-trigger {
  border-color: var(--primary);
  box-shadow: 0 2px 12px rgba(128, 207, 255, 0.2);
}

.profile-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}

.profile-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-chevron {
  color: var(--slate-400);
  transition: transform 0.2s;
}

.profile-dropdown.open .profile-chevron {
  transform: rotate(180deg);
}

/* Dropdown menu */
.profile-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  width: 260px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid var(--slate-200);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  overflow: hidden;
}

.profile-dropdown.open .profile-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.profile-menu-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1rem 0.75rem;
}

.profile-menu-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
  flex-shrink: 0;
}

.profile-menu-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--slate-800);
  line-height: 1.3;
}

.profile-menu-email {
  font-size: 0.75rem;
  color: var(--slate-400);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 170px;
}

.profile-menu-divider {
  height: 1px;
  background: var(--slate-100);
  margin: 0.375rem 0;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--slate-600);
  text-decoration: none;
  transition: all 0.15s;
  font-family: inherit;
  border: none;
  background: none;
  width: 100%;
  cursor: pointer;
  font-weight: 500;
}

.profile-menu-item:hover {
  background: var(--primary-lighter);
  color: var(--primary-text);
}

.profile-menu-item span {
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.profile-menu-logout {
  color: var(--accent-pink-text);
}

.profile-menu-logout:hover {
  background: var(--accent-pink-light);
  color: var(--accent-pink-text);
}

@media (max-width: 640px) {
  .profile-name { display: none; }
  .profile-menu { width: 240px; right: -1rem; }
}

.nav-link.active {
  color: var(--primary-text);
  background: var(--primary-light);
  font-weight: 600;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  gap: 0.375rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-lavender) 100%);
  color: var(--primary-text);
  box-shadow: 0 2px 8px rgba(128, 207, 255, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(128, 207, 255, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-darker);
  border: 1.5px solid var(--primary-light);
}

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

.btn-ghost {
  background: transparent;
  color: var(--slate-600);
}

.btn-ghost:hover {
  background: var(--slate-100);
  color: var(--slate-800);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
  flex: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  text-align: center;
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-lavender) 40%, var(--accent-purple) 80%, var(--accent-pink) 100%);
  border-radius: var(--radius-xl);
  color: white;
  margin-bottom: 3rem;
  box-shadow: 0 8px 32px rgba(128, 207, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.15) 0%, transparent 60%),
              radial-gradient(circle at 70% 30%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
  position: relative;
  text-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.hero p {
  font-size: 1.125rem;
  opacity: 0.95;
  margin: 0 0 1.75rem;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.hero .btn {
  background: rgba(255,255,255,0.95);
  color: var(--primary-text);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  position: relative;
}

.hero .btn:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.card-body { padding: 1.5rem; }

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 0.375rem;
}

.form-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius);
  transition: all 0.2s;
  font-family: inherit;
  background: var(--white);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(128, 207, 255, 0.25);
}

.form-input::placeholder { color: var(--slate-400); }

/* ============================================
   AUTH
   ============================================ */
.auth-container {
  max-width: 28rem;
  margin: 0 auto;
}

.auth-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--slate-200);
}

.auth-card h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0 0 1.5rem;
  text-align: center;
}

.alert-error {
  background: var(--accent-pink-light);
  color: var(--accent-pink-text);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.alert-error ul { margin: 0; padding-left: 1.25rem; }

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group input {
  width: 1.125rem;
  height: 1.125rem;
  accent-color: var(--primary-dark);
}

.auth-links {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
}

.auth-links a {
  color: var(--primary-darker);
  text-decoration: none;
  font-weight: 600;
}

.auth-links a:hover { text-decoration: underline; }

/* ============================================
   ADMIN GRID
   ============================================ */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.admin-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1.5px solid var(--slate-200);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.25s;
}

.admin-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(128, 207, 255, 0.2);
  transform: translateY(-3px);
}

.admin-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-lighter), var(--primary-light));
  color: var(--primary-darker);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.admin-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.admin-card p {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin: 0;
}

/* ============================================
   PRODUCT GRID
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--slate-200);
  transition: all 0.3s;
}

.product-card:hover {
  box-shadow: 0 12px 28px rgba(128, 207, 255, 0.2);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}

.product-card-image {
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--primary-lighter), var(--accent-lavender-light), var(--accent-purple-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 3rem;
  overflow: hidden;
  position: relative;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.06);
}

.product-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 3rem;
}

.product-card-body {
  padding: 1.125rem;
  position: relative;
}

.product-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.375rem;
  color: var(--slate-800);
  padding-right: 2.5rem;
}

.product-card-body .price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-darker);
}

/* Add-to-cart button inside product card */
.product-card-cart-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--accent-lavender));
  color: white;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(128, 207, 255, 0.4);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
}

.product-card-cart-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 14px rgba(128, 207, 255, 0.55);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.product-card-cart-btn:active {
  transform: scale(0.95);
}

.product-card-cart-btn.added {
  background: linear-gradient(135deg, var(--accent-green), #4ade80);
}

@keyframes cartBtnCheck {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.product-card-cart-btn.added {
  animation: cartBtnCheck 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(160deg, #1e2a3a 0%, #151f2e 40%, #0f1620 100%);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 1.5rem 0;
  margin-top: 4rem;
  border-top: 1px solid rgba(128, 207, 255, 0.12);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

/* Brand */
.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-logo:hover {
  color: #fff;
  opacity: 0.9;
}

.footer-logo-icon {
  font-size: 1.5rem;
}

.footer-tagline {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 520px) {
  .footer-brand {
    max-width: none;
  }
}

/* Columns */
.footer-col-title {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer-contact li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-sep {
  color: rgba(255, 255, 255, 0.3);
  user-select: none;
}

@media (max-width: 520px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem 0;
  }
}

/* ============================================
   PAGE TITLES
   ============================================ */
.page-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--slate-900);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.page-subtitle {
  color: var(--slate-500);
  margin: 0 0 2rem;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--primary-lighter), var(--accent-lavender-light));
  border-radius: var(--radius-xl);
  border: 2px dashed var(--primary-light);
}

.empty-state-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-size: 1.25rem;
  color: var(--slate-700);
  margin: 0 0 0.5rem;
}

.empty-state p {
  color: var(--slate-500);
  margin: 0 0 1.5rem;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.flex { display: flex; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* ============================================
   ORDER / STATUS BADGES (Pastel palette)
   ============================================ */
.order-badge {
  display: inline-block;
  padding: 0.15rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.order-badge--pending,
.order-badge--awaiting_payment { background: var(--accent-orange-light); color: var(--accent-orange-text); }

.order-badge--paid { background: var(--accent-green-light); color: var(--accent-green-text); }

.order-badge--packing { background: var(--accent-lavender-light); color: var(--accent-lavender-text); }

.order-badge--shipped { background: var(--accent-purple-light); color: var(--accent-purple-text); }

.order-badge--delivered,
.order-badge--completed { background: var(--accent-green-light); color: var(--accent-green-text); }

.order-badge--cancelled,
.order-badge--refunded { background: var(--accent-pink-light); color: var(--accent-pink-text); }

.order-badge--payment-unpaid { background: var(--accent-pink-light); color: var(--accent-pink-text); }
.order-badge--payment-paid { background: var(--accent-green-light); color: var(--accent-green-text); }
.order-badge--payment-partial { background: var(--accent-orange-light); color: var(--accent-orange-text); }
.order-badge--payment-refunded { background: var(--accent-pink-light); color: var(--accent-pink-text); }
.order-badge--approved { background: var(--accent-green-light); color: var(--accent-green-text); }
.order-badge--rejected { background: var(--accent-pink-light); color: var(--accent-pink-text); }
.order-badge--received { background: var(--accent-lavender-light); color: var(--accent-lavender-text); }

/* ============================================
   PAGINATION
   ============================================ */
nav[role="navigation"] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

nav[role="navigation"] a,
nav[role="navigation"] span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  font-size: 0.875rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  color: var(--slate-600);
  border: 1.5px solid var(--slate-200);
  transition: all 0.2s;
}

nav[role="navigation"] a:hover {
  background: var(--primary-lighter);
  border-color: var(--primary);
  color: var(--primary-darker);
}

nav[role="navigation"] span[aria-current] {
  background: linear-gradient(135deg, var(--primary), var(--accent-lavender));
  color: white;
  border-color: var(--primary);
  font-weight: 600;
}

nav[role="navigation"] span[aria-disabled] { opacity: 0.4; cursor: default; }
nav[role="navigation"] .hidden { display: none; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 640px) {
  .hero h1 { font-size: 1.75rem; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
  .admin-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
}
