/* ============================================================
   DESIGN TOKENS & VARIABLES
   ============================================================ */

:root {
  /* Primary Colors - WhatsApp Green Family */
  --color-primary-50: #E8F5E9;
  --color-primary-100: #C8E6C9;
  --color-primary-200: #A5D6A7;
  --color-primary-300: #81C784;
  --color-primary-400: #66BB6A;
  --color-primary-500: #25D366;
  --color-primary-600: #20b85c;
  --color-primary-700: #128C7E;
  --color-primary-800: #075E54;
  --color-primary-900: #054d44;

  /* Semantic Colors */
  --color-success-50: #F0FDF4;
  --color-success-500: #22C55E;
  --color-success-600: #16A34A;
  --color-warning-50: #FFFBEB;
  --color-warning-500: #F59E0B;
  --color-warning-600: #D97706;
  --color-error-50: #FEF2F2;
  --color-error-500: #EF4444;
  --color-error-600: #DC2626;
  --color-info-50: #EFF6FF;
  --color-info-500: #3B82F6;
  --color-info-600: #2563EB;

  /* Neutral Colors */
  --color-neutral-50: #F9FAFB;
  --color-neutral-100: #F3F4F6;
  --color-neutral-200: #E5E7EB;
  --color-neutral-300: #D1D5DB;
  --color-neutral-400: #9CA3AF;
  --color-neutral-500: #6B7280;
  --color-neutral-600: #4B5563;
  --color-neutral-700: #374151;
  --color-neutral-800: #1F2937;
  --color-neutral-900: #111827;

  /* Spacing Scale (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slower: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}


/* ============================================================
   BASE STYLES
   ============================================================ */

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Touch targets minimum 44x44px for mobile */
button, a, input[type="button"], input[type="submit"] {
  min-height: 44px;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-600));
  color: white;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-6);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-700));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.2);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-primary:disabled::before {
  display: none;
}

.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  background: white;
  color: var(--color-neutral-700);
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-6);
  border: 1.5px solid var(--color-neutral-200);
  cursor: pointer;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--color-neutral-300);
  background: var(--color-neutral-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.98);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-6);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-whatsapp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #20b85c, #075E54);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-whatsapp:hover::before {
  opacity: 1;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:active {
  transform: translateY(0) scale(0.98);
}

.btn-whatsapp span,
.btn-whatsapp svg {
  position: relative;
  z-index: 1;
}


/* ============================================================
   CARDS
   ============================================================ */

.card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.card-product {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid var(--color-neutral-100);
}

.card-product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-neutral-200);
}

.card-category {
  background: white;
  border-radius: var(--radius-md);
  padding: var(--space-4);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--color-neutral-100);
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.card-category:hover {
  border-color: var(--color-primary-300);
  background: var(--color-primary-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}


/* ============================================================
   BADGES
   ============================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.badge-danger {
  background: var(--color-error-500);
  color: white;
}

.badge-warning {
  background: var(--color-warning-500);
  color: white;
}

.badge-success {
  background: var(--color-success-500);
  color: white;
}

.badge-info {
  background: var(--color-info-500);
  color: white;
}

.badge-featured {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: white;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}


/* ============================================================
   CART BADGE WITH ANIMATION
   ============================================================ */

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: white;
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
  transition: all var(--transition-base);
  z-index: 10;
}

.cart-badge.bump {
  animation: badgeBump 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badgeBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}


/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */

.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-neutral-900);
  color: white;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  opacity: 0;
  transition: all var(--transition-slow);
  z-index: 1000;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: 14px;
  max-width: calc(100% - var(--space-8));
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast.toast-success {
  background: linear-gradient(135deg, var(--color-success-600), var(--color-primary-700));
}

.toast.toast-error {
  background: linear-gradient(135deg, var(--color-error-600), #B91C1C);
}


/* ============================================================
   LOADING SKELETON
   ============================================================ */

.skeleton {
  background: linear-gradient(90deg, var(--color-neutral-100) 25%, var(--color-neutral-200) 50%, var(--color-neutral-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-circle {
  border-radius: 50%;
}

.skeleton-text {
  height: 14px;
  margin-bottom: var(--space-2);
}

.skeleton-title {
  height: 18px;
  width: 70%;
  margin-bottom: var(--space-2);
}


/* ============================================================
   SPINNER
   ============================================================ */

.spinner {
  border: 3px solid var(--color-neutral-200);
  border-radius: 50%;
  border-top-color: var(--color-primary-500);
  width: 32px;
  height: 32px;
  animation: spin 0.7s linear infinite;
}

.spinner-lg {
  width: 48px;
  height: 48px;
  border-width: 4px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* ============================================================
   ANIMATIONS
   ============================================================ */

/* Fade In */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.4s ease-out both;
}

.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
.fade-in-delay-4 { animation-delay: 0.4s; }

/* Slide Up */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-up {
  animation: slideUp 0.5s ease-out both;
}

/* Scale In */
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.scale-in {
  animation: scaleIn 0.3s ease-out both;
}

/* Slide In Right */
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
  animation: slideInRight 0.3s ease-out both;
}

/* Pulse for buttons */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
}

.pulse {
  animation: pulse 2s infinite;
}


/* ============================================================
   FORM ELEMENTS
   ============================================================ */

.input-search {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  padding-left: 44px;
  border: 1.5px solid var(--color-neutral-200);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: inherit;
  background: white;
  transition: all var(--transition-base);
  color: var(--color-neutral-900);
}

.input-search:focus {
  outline: none;
  border-color: var(--color-primary-400);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}

.input-search::placeholder {
  color: var(--color-neutral-400);
}


/* ============================================================
   FILTER CHIPS
   ============================================================ */

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition-base);
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid var(--color-neutral-200);
  background: white;
  color: var(--color-neutral-600);
}

.chip:hover {
  border-color: var(--color-neutral-300);
  background: var(--color-neutral-50);
  transform: translateY(-1px);
}

.chip-active {
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-600));
  color: white;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
}

.chip-active:hover {
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-700));
  color: white;
}


/* ============================================================
   QUANTITY CONTROLS
   ============================================================ */

.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-neutral-200);
  background: white;
  color: var(--color-neutral-700);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.qty-btn:hover {
  border-color: var(--color-primary-400);
  background: var(--color-primary-50);
  color: var(--color-primary-600);
}

.qty-btn:active {
  transform: scale(0.92);
  background: var(--color-primary-100);
}

.qty-value {
  min-width: 36px;
  text-align: center;
  font-weight: 800;
  font-size: 16px;
  color: var(--color-neutral-800);
}


/* ============================================================
   EMPTY STATE
   ============================================================ */

.empty-state {
  text-align: center;
  padding: var(--space-12) var(--space-6);
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-4);
  background: var(--color-neutral-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-neutral-400);
}

.empty-state-icon svg {
  width: 36px;
  height: 36px;
}


/* ============================================================
   NAVIGATION
   ============================================================ */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--color-neutral-100);
  display: flex;
  justify-content: space-around;
  padding: var(--space-2) 0;
  z-index: 50;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--space-1) var(--space-3);
  min-width: 64px;
  text-decoration: none;
  color: var(--color-neutral-400);
  font-size: 11px;
  font-weight: 600;
  transition: all var(--transition-fast);
  border-radius: var(--radius-md);
  position: relative;
}

.nav-item:hover {
  color: var(--color-primary-500);
  background: var(--color-primary-50);
}

.nav-item-active {
  color: var(--color-primary-600);
}

.nav-item-active::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--color-primary-500);
  border-radius: var(--radius-full);
}

.nav-item svg {
  width: 22px;
  height: 22px;
  transition: all var(--transition-fast);
}

.nav-item-active svg {
  transform: scale(1.1);
}


/* ============================================================
   HEADER
   ============================================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-neutral-100);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.header-logo {
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  transition: opacity var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.header-logo:hover {
  opacity: 0.8;
}

.header-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-neutral-700);
  transition: all var(--transition-fast);
}

.header-cart:hover {
  background: var(--color-neutral-100);
  color: var(--color-primary-600);
}

.header-cart svg {
  width: 24px;
  height: 24px;
}


/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  background: linear-gradient(135deg, var(--color-primary-500) 0%, var(--color-primary-700) 50%, var(--color-primary-800) 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  margin-bottom: var(--space-6);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--space-8) var(--space-6);
  text-align: center;
  color: white;
}

.hero-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: var(--space-2);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-slogan {
  font-size: 14px;
  opacity: 0.9;
  font-weight: 500;
}


/* ============================================================
   PRODUCT IMAGE PLACEHOLDER
   ============================================================ */

.product-placeholder {
  background: linear-gradient(135deg, var(--color-neutral-100), var(--color-neutral-200));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-neutral-400);
}

.product-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}


/* ============================================================
   STOCK INDICATOR
   ============================================================ */

.stock-indicator {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  font-size: 14px;
}

.stock-indicator svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.stock-available {
  background: var(--color-success-50);
  border: 1px solid var(--color-success-500);
  color: var(--color-success-600);
}

.stock-low {
  background: var(--color-warning-50);
  border: 1px solid var(--color-warning-500);
  color: var(--color-warning-600);
}

.stock-out {
  background: var(--color-error-50);
  border: 1px solid var(--color-error-500);
  color: var(--color-error-600);
}


/* ============================================================
   SECTION HEADERS
   ============================================================ */

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-neutral-800);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.section-title svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary-500);
}

.section-link {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-1);
  transition: all var(--transition-fast);
}

.section-link:hover {
  gap: var(--space-2);
}


/* ============================================================
   CART ITEM
   ============================================================ */

.cart-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-neutral-100);
  animation: slideInRight 0.3s ease-out both;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-weight: 700;
  color: var(--color-neutral-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 13px;
  color: var(--color-neutral-500);
  margin-top: 2px;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-2);
}

.cart-item-total {
  font-weight: 800;
  color: var(--color-primary-600);
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--color-error-500);
  cursor: pointer;
  padding: var(--space-1);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-remove:hover {
  background: var(--color-error-50);
  color: var(--color-error-600);
}

.cart-item-remove svg {
  width: 16px;
  height: 16px;
}


/* ============================================================
   BACK BUTTON
   ============================================================ */

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-neutral-600);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  margin-bottom: var(--space-4);
  min-height: 44px;
}

.back-btn:hover {
  background: var(--color-neutral-100);
  color: var(--color-neutral-900);
}

.back-btn svg {
  width: 20px;
  height: 20px;
}


/* ============================================================
   MESSAGES
   ============================================================ */

.message {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  font-weight: 600;
  font-size: 14px;
  animation: fadeIn 0.3s ease-out both;
}

.message svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.message-success {
  background: var(--color-success-50);
  border: 1px solid var(--color-success-500);
  color: var(--color-success-700);
}

.message-error {
  background: var(--color-error-50);
  border: 1px solid var(--color-error-500);
  color: var(--color-error-700);
}

.message-warning {
  background: var(--color-warning-50);
  border: 1px solid var(--color-warning-500);
  color: var(--color-warning-700);
}

.message-info {
  background: var(--color-info-50);
  border: 1px solid var(--color-info-500);
  color: var(--color-info-700);
}


/* ============================================================
   PAGINATION
   ============================================================ */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-neutral-200);
  background: white;
  color: var(--color-neutral-700);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.pagination-btn:hover {
  border-color: var(--color-primary-400);
  background: var(--color-primary-50);
  color: var(--color-primary-600);
}

.pagination-btn svg {
  width: 18px;
  height: 18px;
}

.pagination-current {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-3);
  font-weight: 800;
  color: var(--color-neutral-800);
}


/* ============================================================
   IMAGE GALLERY (Product Detail)
   ============================================================ */

.product-gallery {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-neutral-100);
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-gallery-placeholder {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-neutral-100), var(--color-neutral-200));
  color: var(--color-neutral-400);
}

.product-gallery-placeholder svg {
  width: 72px;
  height: 72px;
  opacity: 0.4;
}


/* ============================================================
   CATEGORY BADGE ON PRODUCT
   ============================================================ */

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  background: var(--color-neutral-100);
  color: var(--color-neutral-700);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  margin-bottom: var(--space-2);
}

.category-badge:hover {
  background: var(--color-primary-100);
  color: var(--color-primary-700);
}

.category-badge svg {
  width: 14px;
  height: 14px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (min-width: 640px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-content {
    padding: var(--space-10) var(--space-8);
  }
}

@media (min-width: 768px) {
  .bottom-nav {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}


/* ============================================================
   PRINT STYLES
   ============================================================ */

@media print {
  .bottom-nav,
  .header,
  .toast,
  .btn-primary,
  .btn-whatsapp {
    display: none !important;
  }
}
