/*
=========================================
DMDM Shop - Premium Modern E-Commerce UI
Mobile-First • Premium Design • Smooth UX
=========================================
*/

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Lao:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

/* =========================================
   CSS CUSTOM PROPERTIES (Design Tokens)
========================================= */
:root {
  /* Primary Brand Colors - Teal Theme */
  --primary-color: #008080;
  --primary-light: #20b2aa;
  --primary-dark: #006666;
  --primary-gradient: linear-gradient(135deg, #008080 0%, #20b2aa 50%, #3cb371 100%);
  --primary-glow: rgba(0, 128, 128, 0.4);
  
  /* Secondary Colors */
  --secondary-color: #17a2b8;
  --secondary-light: #5bc0de;
  --secondary-gradient: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
  
  /* Accent Colors */
  --accent-color: #f43f5e;
  --accent-light: #fb7185;
  --accent-gradient: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
  
  /* Status Colors */
  --success-color: #10b981;
  --success-light: #34d399;
  --success-bg: rgba(16, 185, 129, 0.1);
  --warning-color: #f59e0b;
  --warning-light: #fbbf24;
  --warning-bg: rgba(245, 158, 11, 0.1);
  --danger-color: #ef4444;
  --danger-light: #f87171;
  --danger-bg: rgba(239, 68, 68, 0.1);
  --info-color: #3b82f6;
  --info-bg: rgba(59, 130, 246, 0.1);
  
  /* Neutral Colors */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-dark: #0f172a;
  
  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 20px var(--primary-glow);
  --shadow-colored: 0 8px 24px rgba(0, 128, 128, 0.25);
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* 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-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Spacing */
  --header-height: 68px;
  --footer-height: 72px;
  --container-padding: 1rem;
}

/* Dark Mode Variables */
@media (prefers-color-scheme: dark) {
  :root.auto-dark {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --gray-50: #1e293b;
    --gray-100: #334155;
  }
}

/* =========================================
   BASE STYLES & TYPOGRAPHY
========================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  font-family: "Inter", "Noto Sans Lao", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-secondary);
  color: var(--gray-800);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: calc(var(--footer-height) + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
}

html[lang="lo"] body {
  font-family: "Noto Sans Lao", "Inter", sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: var(--radius-full);
  transition: background var(--transition-base);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* Selection */
::selection {
  background: var(--primary-light);
  color: white;
}

/* Typography Scale */
.fs-9 { font-size: 0.5625rem; }
.fs-10 { font-size: 0.625rem; }
.fs-11 { font-size: 0.6875rem; }
.fs-12 { font-size: 0.75rem; }
.fs-13 { font-size: 0.8125rem; }

h1, .h1 { font-size: 2rem; font-weight: 800; letter-spacing: -0.025em; }
h2, .h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
h3, .h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; }
h4, .h4 { font-size: 1.125rem; font-weight: 600; }
h5, .h5 { font-size: 1rem; font-weight: 600; }
h6, .h6 { font-size: 0.875rem; font-weight: 600; }

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

/* =========================================
   BUTTONS
========================================= */
.btn {
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition-base);
  border: none;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.btn:active {
  transform: scale(0.98);
}

/* Primary Button */
.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--shadow-md), 0 4px 14px rgba(0, 128, 128, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 6px 20px rgba(0, 128, 128, 0.4);
  color: white;
  background: var(--primary-gradient);
}

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

/* Outline Primary */
.btn-outline-primary {
  background: rgba(0, 128, 128, 0.08);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
}

/* Secondary Button */
.btn-secondary {
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}

.btn-secondary:hover {
  background: var(--gray-200);
  color: var(--gray-800);
}

/* Outline Secondary */
.btn-outline-secondary {
  background: transparent;
  color: var(--gray-600);
  border: 1.5px solid var(--gray-300);
}

.btn-outline-secondary:hover {
  background: var(--gray-100);
  color: var(--gray-800);
  border-color: var(--gray-400);
}

/* Danger Button */
.btn-danger {
  background: var(--accent-gradient);
  color: white;
  box-shadow: var(--shadow-md), 0 4px 14px rgba(244, 63, 94, 0.3);
}

.btn-outline-danger {
  background: var(--danger-bg);
  color: var(--danger-color);
  border: 1.5px solid var(--danger-color);
}

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

/* Icon Button */
.btn-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xl);
  background: var(--bg-primary);
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: none;
  padding: 0;
  flex-shrink: 0;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.btn-icon:hover {
  background: var(--gray-100);
  color: var(--primary-color);
  transform: scale(1.05);
}

.btn-icon:active {
  transform: scale(0.95);
}

/* Button Sizes */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-md);
}

.btn-lg {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border-radius: var(--radius-xl);
}

/* =========================================
   FORM CONTROLS
========================================= */
.form-control,
.form-select {
  border-radius: var(--radius-lg);
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-200);
  background: var(--bg-primary);
  font-size: 0.9375rem;
  transition: all var(--transition-base);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(0, 128, 128, 0.15);
  outline: none;
}

.form-control::placeholder {
  color: var(--gray-400);
}

/* Floating Labels */
.form-floating > .form-control,
.form-floating > .form-select {
  height: 3.5rem;
  padding: 1rem;
}

.form-floating > label {
  padding: 1rem;
  color: var(--gray-500);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: var(--primary-color);
  transform: scale(0.85) translateY(-0.75rem) translateX(0.15rem);
}

/* Checkbox & Radio */
.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(0, 128, 128, 0.2);
}

.form-check-input[type="radio"] {
  border-radius: var(--radius-full);
}

/* Input Group */
.input-group .form-control {
  border-radius: var(--radius-lg);
}

.input-group-text {
  background: var(--bg-primary);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  color: var(--gray-500);
}

/* =========================================
   CARDS
========================================= */
.card {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  border: none;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-slow);
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

.card-body {
  padding: 1.25rem;
}

.card-header {
  background: transparent;
  border-bottom: 1px solid var(--gray-100);
  padding: 1rem 1.25rem;
  font-weight: 600;
}

.card-footer {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  padding: 1rem 1.25rem;
}

/* Shadow Variants */
.shadow-soft { box-shadow: var(--shadow-md); }
.shadow-lifted { box-shadow: var(--shadow-lg); }
.shadow-glow { box-shadow: var(--shadow-glow); }

/* =========================================
   APP HEADER - PREMIUM
========================================= */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  padding: 0.75rem 1rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Premium header skin */
.app-header-premium {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 255, 255, 0.92) 100%
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(0, 128, 128, 0.08);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.8) inset,
    0 4px 24px rgba(0, 0, 0, 0.04),
    0 1px 3px rgba(0, 0, 0, 0.02);
}

/* Brand - premium */
.navbar-brand-premium {
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.navbar-brand-premium .brand-logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  box-shadow:
    0 4px 12px rgba(0, 128, 128, 0.25),
    0 1px 0 rgba(255, 255, 255, 0.3) inset;
}

.navbar-brand-premium .brand-logo i {
  font-size: 1.25rem;
  color: white;
}

.navbar-brand-premium .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.navbar-brand-premium .brand-name {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-700) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-brand-premium .brand-tagline {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: 0.01em;
}

/* Legacy brand (if used elsewhere) */
.navbar-brand-custom {
  font-weight: 700;
  color: var(--gray-900);
  text-decoration: none;
  font-size: 1.125rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.navbar-brand-custom small {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--gray-500);
}

/* Header action buttons - premium */
.app-header-premium .header-actions {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-header-premium .btn-icon-premium {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--gray-600);
  border: 1px solid rgba(0, 128, 128, 0.06);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: background var(--transition-base), color var(--transition-base),
    box-shadow var(--transition-base), transform var(--transition-base);
}

.app-header-premium .btn-icon-premium:hover {
  background: rgba(255, 255, 255, 1);
  color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 128, 128, 0.12);
  transform: scale(1.05);
}

.app-header-premium .btn-icon-premium:active {
  transform: scale(0.97);
}

/* Cart Badge */
.header-actions .btn-icon {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  box-shadow: 0 2px 8px rgba(190, 18, 60, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.95);
  animation: pulse-badge 2s ease-in-out infinite;
}

.app-header-premium .cart-badge {
  top: -3px;
  right: -3px;
  box-shadow: 0 3px 10px rgba(190, 18, 60, 0.35);
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Notification Indicator */
.notification-indicator {
  position: relative;
}

.notification-indicator::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  background: var(--accent-gradient);
  border: 2px solid white;
  border-radius: var(--radius-full);
  animation: notification-pulse 2s ease-in-out infinite;
}

@keyframes notification-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

/* =========================================
   BODY WRAPPER
========================================= */
.body-wrap {
  padding-top: var(--header-height);
  padding-bottom: calc(var(--footer-height) + 1rem);
  min-height: 100vh;
}

.homepage-body .body-wrap {
  padding-top: 0;
}

/* =========================================
   SIDEBAR (OFFCANVAS)
========================================= */
#sidebarMenu {
  width: 300px;
  border-right: none;
  box-shadow: var(--shadow-xl);
}

#sidebarMenu .offcanvas-body {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.sidebar-profile {
  background: var(--primary-gradient);
  padding: 1.75rem 1.25rem !important;
  position: relative;
  overflow: hidden;
}

.sidebar-profile::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.sidebar-profile h6 {
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}

.sidebar-profile small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
}

.sidebar-profile .rounded-circle {
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px);
}

.sidebar-heading {
  font-size: 0.6875rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 1.25rem 1.25rem 0.5rem;
}

.offcanvas-body .nav-link {
  color: var(--gray-700);
  padding: 0.875rem 1.25rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  border-left: 3px solid transparent;
  transition: all var(--transition-base);
  margin: 0 0.5rem;
  border-radius: var(--radius-md);
}

.offcanvas-body .nav-link i {
  margin-right: 1rem;
  font-size: 1.125rem;
  width: 24px;
  text-align: center;
  color: var(--gray-500);
  transition: all var(--transition-base);
}

.offcanvas-body .nav-link:hover {
  background: var(--gray-100);
  color: var(--primary-color);
}

.offcanvas-body .nav-link:hover i {
  color: var(--primary-color);
}

.offcanvas-body .nav-link.active {
  background: rgba(0, 128, 128, 0.1);
  color: var(--primary-color);
  font-weight: 600;
}

.offcanvas-body .nav-link.active i {
  color: var(--primary-color);
}

.sidebar-logout {
  padding: 0.75rem;
  border-top: 1px solid var(--gray-200);
  margin-top: auto;
}

.sidebar-logout .nav-link:hover {
  background: var(--danger-bg);
  color: var(--danger-color);
}

.sidebar-logout .nav-link i {
  color: var(--danger-color);
}

/* =========================================
   FOOTER NAVIGATION
========================================= */
.footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.06);
  z-index: 1020;
  height: var(--footer-height);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.5rem;
  padding-bottom: env(safe-area-inset-bottom, 0);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-nav a {
  color: var(--gray-500);
  text-align: center;
  text-decoration: none;
  font-size: 0.6875rem;
  font-weight: 500;
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 0.5rem 0.25rem 0.625rem;
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.footer-nav a span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-nav a:hover {
  color: var(--gray-700);
  background: var(--gray-100);
}

.footer-nav a:active {
  transform: scale(0.96);
}

.footer-nav a i {
  font-size: 1.35rem;
  transition: all var(--transition-base);
}

.footer-nav a.active {
  color: var(--primary-color);
  font-weight: 600;
}

.footer-nav a.active i {
  transform: scale(1.08);
}

.footer-nav a::after {
  content: "";
  position: absolute;
  bottom: 0.35rem;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2.5px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base);
}

.footer-nav a.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* =========================================
   HOMEPAGE HERO
========================================= */
.homepage-hero {
  background: linear-gradient(135deg, #008080 0%, #20b2aa 50%, #3cb371 100%);
  color: white;
  padding: 1.5rem 1rem 3rem;
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
  margin-top: calc(var(--header-height) * -1);
  padding-top: calc(var(--header-height) + 1.25rem);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 128, 128, 0.3);
}

/* Animated gradient background */
.homepage-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite;
  pointer-events: none;
}

/* Decorative circle bottom-left */
.homepage-hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: heroGlow 10s ease-in-out infinite reverse;
  pointer-events: none;
}

/* Floating decorative elements */
.homepage-hero .hero-decoration {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  animation: float 6s ease-in-out infinite;
}

.homepage-hero .hero-decoration-1 {
  width: 120px;
  height: 120px;
  top: 10%;
  right: -30px;
  animation-delay: 0s;
}

.homepage-hero .hero-decoration-2 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: -20px;
  animation-delay: 2s;
}

.homepage-hero .hero-decoration-3 {
  width: 40px;
  height: 40px;
  top: 40%;
  right: 15%;
  background: rgba(255,255,255,0.15);
  animation-delay: 4s;
}

@keyframes heroGlow {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-10%, 10%) scale(1.1);
    opacity: 0.8;
  }
}

/* Search Bar Hero */
.search-bar-hero .input-group {
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-full);
  overflow: hidden;
  background: white;
}

.search-bar-hero .form-control,
.search-bar-hero .input-group-text {
  border: none;
  background: transparent;
}

.search-bar-hero .input-group-text {
  padding-left: 1.25rem;
  color: var(--gray-400);
}

.search-bar-hero .form-control {
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
}

.search-bar-hero .form-control:focus {
  box-shadow: none;
}

/* =========================================
   PREMIUM HOMEPAGE HERO
========================================= */
.homepage-hero.premium-hero {
  background: linear-gradient(165deg, #004d4d 0%, #006666 15%, #008080 35%, #20b2aa 60%, #40c9a2 85%, #5dd39e 100%);
  padding: 1.5rem 1rem 2rem;
  border-bottom-left-radius: 2.5rem;
  border-bottom-right-radius: 2.5rem;
  box-shadow: 
    0 20px 60px rgba(0, 77, 77, 0.4),
    0 8px 25px rgba(0, 128, 128, 0.3),
    inset 0 -2px 20px rgba(255, 255, 255, 0.1);
}

/* Premium animated background layers */
.hero-bg-layer {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}

.hero-bg-layer-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -80px;
  background: radial-gradient(circle, rgba(93, 211, 158, 0.4) 0%, transparent 70%);
  animation: premiumFloat 12s ease-in-out infinite;
}

.hero-bg-layer-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: -60px;
  background: radial-gradient(circle, rgba(0, 102, 102, 0.5) 0%, transparent 70%);
  animation: premiumFloat 10s ease-in-out infinite reverse;
}

.hero-bg-layer-3 {
  width: 150px;
  height: 150px;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  animation: premiumPulse 8s ease-in-out infinite;
}

@keyframes premiumFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  25% { transform: translate(10px, -15px) scale(1.05); opacity: 0.8; }
  50% { transform: translate(-5px, -25px) scale(1.1); opacity: 0.7; }
  75% { transform: translate(-15px, -10px) scale(1.02); opacity: 0.9; }
}

@keyframes premiumPulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.3; }
  50% { transform: translateX(-50%) scale(1.3); opacity: 0.5; }
}

/* Premium decorations with glow */
.premium-hero .hero-decoration {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    0 0 20px rgba(255, 255, 255, 0.1),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
}

.premium-hero .hero-decoration-1 {
  width: 140px;
  height: 140px;
  top: 5%;
  right: -40px;
  animation: premiumOrbit 20s linear infinite;
}

.premium-hero .hero-decoration-2 {
  width: 100px;
  height: 100px;
  bottom: 15%;
  left: -30px;
  animation: premiumOrbit 15s linear infinite reverse;
}

.premium-hero .hero-decoration-3 {
  width: 50px;
  height: 50px;
  top: 35%;
  right: 10%;
  animation: premiumFloat 8s ease-in-out infinite;
}

.premium-hero .hero-decoration-4 {
  width: 30px;
  height: 30px;
  top: 60%;
  left: 15%;
  background: rgba(255, 215, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.3);
  animation: premiumSparkle 4s ease-in-out infinite;
}

@keyframes premiumOrbit {
  0% { transform: rotate(0deg) translateX(10px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(10px) rotate(-360deg); }
}

@keyframes premiumSparkle {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.5); opacity: 0.8; }
}

/* Sparkle effects */
.hero-sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8);
  animation: sparkle 3s ease-in-out infinite;
  pointer-events: none;
}

.hero-sparkle-1 { top: 20%; right: 25%; animation-delay: 0s; }
.hero-sparkle-2 { top: 45%; left: 20%; animation-delay: 1s; }
.hero-sparkle-3 { bottom: 30%; right: 15%; animation-delay: 2s; }

@keyframes sparkle {
  0%, 100% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1); opacity: 1; }
}

/* Premium header layout */
.premium-header {
  padding-top: 0.5rem;
}

/* Premium glass button */
.btn-icon.glass-premium {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-icon.glass-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-icon.glass-premium:hover::before {
  left: 100%;
}

.btn-icon.glass-premium:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.15) 100%);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-icon.glass-premium:active {
  transform: translateY(0) scale(0.98);
}

/* Premium brand wrapper */
.premium-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  position: relative;
}

.premium-badge-glow {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 30px;
  background: rgba(255, 215, 0, 0.3);
  filter: blur(15px);
  border-radius: 50%;
  animation: badgeGlow 2s ease-in-out infinite;
}

@keyframes badgeGlow {
  0%, 100% { opacity: 0.5; transform: translateY(-50%) scale(1); }
  50% { opacity: 0.8; transform: translateY(-50%) scale(1.2); }
}

.premium-delivery-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: linear-gradient(135deg, #ffd700 0%, #ffb800 50%, #ff9500 100%);
  color: #1a1a2e;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  box-shadow: 
    0 2px 10px rgba(255, 215, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 1;
}

.premium-delivery-badge i {
  font-size: 0.625rem;
  animation: lightning 1.5s ease-in-out infinite;
}

@keyframes lightning {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.premium-delivery-text {
  font-size: 0.9375rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.01em;
}

/* Premium location link */
.premium-location-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.premium-location-link:hover {
  color: white;
}

.location-pin-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: pinBounce 2s ease-in-out infinite;
}

.location-pin-wrapper i {
  font-size: 0.625rem;
}

@keyframes pinBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.location-text {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-chevron {
  font-size: 0.625rem;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.premium-location-link:hover .location-chevron {
  transform: translateY(2px);
}

/* Premium cart badge */
.cart-badge.premium-badge {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
  box-shadow: 
    0 4px 15px rgba(238, 90, 90, 0.5),
    0 0 0 2px rgba(255, 255, 255, 0.3);
  font-size: 0.6875rem;
  min-width: 22px;
  height: 22px;
  animation: premiumBadgePulse 2s ease-in-out infinite;
}

@keyframes premiumBadgePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(238, 90, 90, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.3); }
  50% { transform: scale(1.1); box-shadow: 0 6px 20px rgba(238, 90, 90, 0.6), 0 0 0 3px rgba(255, 255, 255, 0.4); }
}

/* Search bar link wrapper - UX: clear tap target */
.search-bar-premium-link {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.search-bar-premium-link:focus-visible .search-bar-premium .input-group {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

/* Premium search bar */
.search-bar-premium {
  position: relative;
}

.search-bar-premium .search-glow {
  position: absolute;
  inset: -4px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
  border-radius: 9999px;
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.search-bar-premium:hover .search-glow {
  opacity: 1;
}

.search-bar-premium .input-group {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.15),
    0 4px 15px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.search-bar-premium:hover .input-group {
  transform: translateY(-2px);
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.2),
    0 6px 20px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.search-bar-premium .form-control,
.search-bar-premium .input-group-text {
  border: none;
  background: transparent;
}

.search-bar-premium .input-group-text {
  padding: 0 0 0 1.25rem;
  color: var(--primary-color);
  font-size: 1.125rem;
}

.search-bar-premium .input-group-text.search-voice-btn {
  padding: 0 1.25rem 0 0;
  color: var(--gray-400);
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-bar-premium .input-group-text.search-voice-btn:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

.search-bar-premium .form-control {
  padding: 1.125rem 1rem;
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.search-bar-premium .form-control::placeholder {
  color: var(--gray-400);
}

.search-bar-premium .form-control:focus {
  box-shadow: none;
}

/* Premium quick tags */
.premium-quick-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-left: 0.25rem;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.premium-quick-tags::-webkit-scrollbar {
  display: none;
}

.quick-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.quick-tag i {
  font-size: 0.75rem;
}

.quick-tag:hover {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.quick-tag.featured {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.9) 0%, rgba(238, 90, 90, 0.9) 100%);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(238, 90, 90, 0.3);
}

.quick-tag.featured:hover {
  background: linear-gradient(135deg, rgba(255, 107, 107, 1) 0%, rgba(238, 90, 90, 1) 100%);
  box-shadow: 0 6px 20px rgba(238, 90, 90, 0.4);
}

/* =========================================
   HOMEPAGE SECTIONS
========================================= */
.homepage-section {
  margin-bottom: 2rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0 0.25rem;
}

.section-title {
  font-weight: 800;
  font-size: 1.125rem;
  margin: 0;
  color: var(--gray-800);
  letter-spacing: -0.02em;
}

.section-header a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 44px;
  padding: 0.5rem 0.25rem;
  margin: -0.5rem -0.25rem;
  border-radius: var(--radius-lg);
  transition: background var(--transition-base), color var(--transition-base);
}

.section-header a:hover {
  color: var(--primary-dark);
  background: rgba(0, 128, 128, 0.08);
}

.section-header a i {
  font-size: 0.75rem;
  transition: transform var(--transition-base);
}

.section-header a:hover i {
  transform: translateX(3px);
}

/* Horizontal Scroll Wrappers */
.category-scroll-wrapper,
.deals-scroll-wrapper,
.brand-scroll-wrapper,
.recipe-scroll-wrapper {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 0.5rem 0.25rem;
  scroll-snap-type: x mandatory;
}

.category-scroll-wrapper::-webkit-scrollbar,
.deals-scroll-wrapper::-webkit-scrollbar,
.brand-scroll-wrapper::-webkit-scrollbar,
.recipe-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

/* Category Cards */
.category-card {
  flex: 0 0 85px;
  text-align: center;
  text-decoration: none;
  color: var(--gray-700);
  scroll-snap-align: start;
  transition: all var(--transition-base);
}

.category-card:hover {
  transform: translateY(-4px);
}

.category-card img,
.category-card .category-icon {
  width: 70px;
  height: 70px;
  background: var(--bg-primary);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-xl);
  object-fit: cover;
  margin: 0 auto 0.5rem;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.category-card:hover img,
.category-card:hover .category-icon {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md), 0 0 0 4px rgba(0, 128, 128, 0.1);
  transform: scale(1.05);
}

.category-card h6 {
  font-size: 0.75rem;
  font-weight: 600;
  margin: 0;
  color: var(--gray-700);
  line-height: 1.3;
}

.category-card small {
  font-size: 0.625rem;
  color: var(--gray-500);
}

/* =========================================
   PRODUCT CARDS
========================================= */
.store-product-card,
.search-product-card {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.store-product-card:hover,
.search-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.card-image-top {
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
}

.card-image-top img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.store-product-card:hover .card-image-top img,
.search-product-card:hover .card-image-top img {
  transform: scale(1.08);
}

/* Favorite Button */
.favorite-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  color: var(--gray-500);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.favorite-btn:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.favorite-btn i {
  font-size: 1rem;
  transition: all var(--transition-base);
}

.favorite-btn.active,
.favorite-btn i.bi-heart-fill {
  color: var(--accent-color);
}

.favorite-btn:hover i {
  transform: scale(1.2);
}

/* Sale Badge */
.sale-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--accent-gradient);
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.375rem 0.625rem;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.sale-badge.bg-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.sale-badge.bg-secondary {
  background: var(--gray-600) !important;
  box-shadow: var(--shadow-sm);
}

/* Product Card Body */
.store-product-card .card-body,
.search-product-card .card-body {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--gray-800);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.product-meta {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.product-price {
  margin-top: auto;
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary-color);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.product-price .text-decoration-line-through {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-400);
}

/* Product Card Footer */
.store-product-card .card-footer,
.search-product-card .card-footer {
  background: transparent;
  border: none;
  padding: 0 1rem 1rem;
  display: flex;
  justify-content: flex-end;
}

.add-to-cart-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  font-size: 1.125rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-bounce);
}

.add-to-cart-btn:hover {
  transform: scale(1.15) rotate(90deg);
}

.add-to-cart-btn:active {
  transform: scale(0.95);
}

/* Deals Scroll Product Card */
.deals-scroll-wrapper .store-product-card {
  flex: 0 0 160px;
  width: 160px;
  scroll-snap-align: start;
}

/* =========================================
   STORE CARDS
========================================= */
.store-card {
  transition: all var(--transition-slow);
}

.store-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.store-card .card-img-top {
  height: 100px;
  object-fit: cover;
}

.store-img {
  height: 80px !important;
  border-radius: var(--radius-lg) !important;
  aspect-ratio: 3.14 / 1 !important;
  object-fit: cover !important;
}

/* =========================================
   PROMO BANNERS
========================================= */
.promo-banner {
  min-width: 280px;
  flex-shrink: 0;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  color: white;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
}

.promo-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.promo-banner.banner-1 {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.promo-banner.banner-2 {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* Recipe Cards */
.recipe-card {
  flex: 0 0 240px;
  height: 180px;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  scroll-snap-align: start;
  box-shadow: var(--shadow-lg);
}

.recipe-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.recipe-card:hover img {
  transform: scale(1.1);
}

.recipe-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 60%);
}

.recipe-info {
  position: relative;
  z-index: 2;
  padding: 1.25rem;
}

/* =========================================
   AUTHENTICATION PAGES
========================================= */
.auth-body {
  background: var(--primary-gradient);
  min-height: 100vh;
  overflow-x: hidden;
}

.auth-body .app-header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-bottom: none;
}

.auth-body .app-header .btn-icon {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-body .app-header .btn-icon:hover {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}

.auth-body .app-header .navbar-brand-custom {
  color: white;
}

.auth-body .app-header .navbar-brand-custom .fw-bold {
  color: white !important;
}

.auth-body .body-wrap {
  padding-top: 0;
  padding-bottom: 0;
  background: transparent;
}

.auth-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.auth-header {
  flex-shrink: 0;
  padding: 3rem 1.5rem 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0, 128, 128, 0.15) 0%, rgba(0, 128, 128, 0.35) 60%, rgba(0, 128, 128, 0.5) 100%);
}

.auth-header::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.auth-header::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.auth-illustration {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  animation: float 4s ease-in-out infinite;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.auth-illustration i {
  font-size: 2.5rem;
  color: white;
}

.auth-header h2 {
  color: white;
  font-weight: 800;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px rgba(0, 77, 77, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.auth-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  margin: 0;
  text-shadow: 0 1px 8px rgba(0, 77, 77, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
}

.auth-content {
  flex-grow: 1;
  background: var(--bg-primary);
  border-top-left-radius: var(--radius-2xl);
  border-top-right-radius: var(--radius-2xl);
  padding: 2rem 1.5rem;
  margin-top: -2rem;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

/* Auth Tabs */
.nav-pills {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 0.25rem;
}

.nav-pills .nav-link {
  color: var(--gray-600);
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  transition: all var(--transition-base);
}

.nav-pills .nav-link.active {
  background: var(--bg-primary);
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

/* OR Divider */
.hr-text {
  display: flex;
  align-items: center;
  color: var(--gray-400);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hr-text::before,
.hr-text::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.hr-text::before { margin-right: 1rem; }
.hr-text::after { margin-left: 1rem; }

/* Social Login Buttons */
.btn-outline-dark {
  border-color: var(--gray-300);
  color: var(--gray-700);
  font-weight: 500;
}

.btn-outline-dark:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
  color: var(--gray-900);
}

/* Premium Social Login Buttons */
.btn-social {
  background: var(--bg-primary);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 1.25rem;
  text-decoration: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-social::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.btn-social:hover::before {
  left: 100%;
}

.btn-social:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-social:active {
  transform: translateY(0);
}

/* Google Button */
.btn-social.btn-google {
  background: #ffffff;
  border-color: var(--gray-200);
}

.btn-social.btn-google:hover {
  background: #f8f9fa;
  border-color: #4285F4;
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.2);
}

.btn-social.btn-google:focus {
  box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.15);
}

/* Facebook Button */
.btn-social.btn-facebook {
  background: #ffffff;
  border-color: var(--gray-200);
}

.btn-social.btn-facebook:hover {
  background: #f8f9fa;
  border-color: #1877F2;
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.2);
}

.btn-social.btn-facebook:focus {
  box-shadow: 0 0 0 4px rgba(24, 119, 242, 0.15);
}

/* Social button loading state */
.btn-social.loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn-social.loading .btn-text {
  display: none;
}

.btn-social.loading .btn-loading {
  display: inline-flex !important;
  align-items: center;
}

/* OAuth Info */
.oauth-info {
  padding: 0.5rem 0;
}

.oauth-info small {
  font-size: 0.75rem;
}

.oauth-info i {
  color: var(--success-color);
}

/* =========================================
   CART STYLES
========================================= */
.cart-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.cart-item:hover {
  box-shadow: var(--shadow-lg);
}

.cart-item-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-primary);
  transition: transform var(--transition-slow);
  position: relative;
  z-index: 2;
}

.cart-item-delete {
  position: absolute;
  top: 0;
  right: 0;
  width: 90px;
  height: 100%;
  background: var(--accent-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 1;
}

.cart-item.swiped .cart-item-content {
  transform: translateX(-90px);
}

.cart-item img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.item-details {
  flex-grow: 1;
  min-width: 0;
}

.item-details h6 {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-quantity-selector {
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.item-quantity-selector input {
  width: 40px;
  background: transparent;
  border: none;
  text-align: center;
  font-weight: 700;
  outline: none;
  padding: 0;
  font-size: 0.9375rem;
}

.item-quantity-selector .btn {
  width: 36px;
  height: 36px;
  font-size: 1rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: none;
  background: transparent;
  color: var(--gray-600);
  transition: all var(--transition-base);
}

.item-quantity-selector .btn:hover {
  background: var(--primary-color);
  color: white;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  color: var(--gray-500);
}

.empty-state i {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  color: var(--gray-300);
  animation: empty-bounce 2s ease-in-out infinite;
}

@keyframes empty-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.empty-state h5 {
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.empty-state p {
  margin-bottom: 1.5rem;
}

/* =========================================
   ORDER STYLES
========================================= */
.order-history-card {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition-base);
}

.order-history-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.order-history-card .card-header,
.order-history-card .card-body,
.order-history-card .card-footer {
  display: flex;
  align-items: center;
  background: transparent;
  padding: 1rem 1.25rem;
  border: none;
}

.order-history-card .card-header {
  border-bottom: 1px solid var(--gray-100);
}

.order-history-card .card-footer {
  justify-content: flex-end;
  gap: 0.75rem;
  background: var(--gray-50);
  padding: 0.875rem 1.25rem;
}

.status-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.status-icon.in-progress {
  background: var(--warning-bg);
  color: var(--warning-color);
}

.status-icon.delivered {
  background: var(--success-bg);
  color: var(--success-color);
}

.status-icon.cancelled {
  background: var(--danger-bg);
  color: var(--danger-color);
}

.status-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.status-badge.in-progress {
  background: var(--warning-bg);
  color: #92400e;
}

.status-badge.delivered {
  background: var(--success-bg);
  color: #065f46;
}

.status-badge.cancelled {
  background: var(--danger-bg);
  color: #991b1b;
}

/* Item Previews */
.item-previews {
  display: flex;
  align-items: center;
}

.item-previews img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid white;
  margin-left: -12px;
  box-shadow: var(--shadow-sm);
}

.item-previews img:first-child {
  margin-left: 0;
}

/* Order Tracker */
.order-tracker {
  padding: 1rem 0;
}

.tracker-step {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--gray-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: var(--gray-500);
  transition: all var(--transition-base);
  position: relative;
}

.tracker-step.active {
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--shadow-colored);
}

/* =========================================
   WALLET & ACCOUNT STYLES
========================================= */
.wallet-balance-card {
  background: var(--primary-gradient);
  color: white;
  border-radius: var(--radius-2xl);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-xl), var(--shadow-colored);
  position: relative;
  overflow: hidden;
}

.wallet-balance-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.wallet-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1rem;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--gray-700);
  transition: all var(--transition-base);
}

.action-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: var(--primary-color);
}

.action-card i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.action-card span {
  font-size: 0.75rem;
  font-weight: 600;
}

/* Profile Cards */
.profile-header-card {
  display: flex;
  align-items: center;
  background: var(--bg-primary);
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}

.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  margin-right: 1rem;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: var(--shadow-md);
}

/* Settings Items */
.settings-item {
  display: flex;
  align-items: center;
  padding: 1rem !important;
  font-weight: 500;
  border-color: var(--gray-100) !important;
  text-decoration: none;
  color: var(--gray-700);
  transition: all var(--transition-base);
}

.settings-item:hover {
  background: var(--gray-50);
  color: var(--primary-color);
}

.settings-icon-wrapper {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  background: rgba(0, 128, 128, 0.1);
  transition: all var(--transition-base);
}

.settings-icon-wrapper i {
  color: var(--primary-color);
  font-size: 1.125rem;
}

.settings-item:hover .settings-icon-wrapper {
  background: var(--primary-gradient);
}

.settings-item:hover .settings-icon-wrapper i {
  color: white;
}

/* =========================================
   CHECKOUT STYLES
========================================= */
.checkout-card {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}

.section-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-colored);
}

/* Checkout Options */
.form-check.card {
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent !important;
}

.form-check.card:has(.form-check-input:checked) {
  border-color: var(--primary-color) !important;
  background: rgba(0, 128, 128, 0.05);
  box-shadow: var(--shadow-md), 0 0 0 4px rgba(0, 128, 128, 0.1);
}

/* =========================================
   ALERTS & NOTIFICATIONS
========================================= */
.alert {
  border-radius: var(--radius-lg);
  border: none;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
}

.alert-success {
  background: var(--success-bg);
  color: #065f46;
}

.alert-danger {
  background: var(--danger-bg);
  color: #991b1b;
}

.alert-warning {
  background: var(--warning-bg);
  color: #92400e;
}

.alert-info {
  background: var(--info-bg);
  color: #1e40af;
}

/* Notification Cards */
.notification-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  margin-bottom: 0.75rem;
  border: 1px solid var(--gray-100);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.notification-card:hover {
  background: var(--gray-50);
  transform: translateX(4px);
}

.notification-card.unread {
  background: rgba(0, 128, 128, 0.05);
  border-left: 4px solid var(--primary-color);
}

.notification-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-icon i {
  font-size: 1.25rem;
}

.notification-icon.icon-info {
  background: rgba(0, 128, 128, 0.1);
  color: var(--primary-color);
}

.notification-icon.icon-success {
  background: var(--success-bg);
  color: var(--success-color);
}

.notification-icon.icon-warning {
  background: var(--warning-bg);
  color: var(--warning-color);
}

/* =========================================
   SEARCH PAGE STYLES
========================================= */
.search-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-md);
  z-index: 1031;
}

/* =========================================
   LOADING & ANIMATIONS
========================================= */
.spinner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  gap: 1rem;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--primary-color);
  border-radius: var(--radius-full);
  animation: spin 1s linear infinite;
}

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

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}

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

/* =========================================
   TOAST NOTIFICATIONS
========================================= */
.toast-container {
  position: fixed;
  bottom: calc(var(--footer-height) + 1rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 2rem);
  max-width: 400px;
}

.toast {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(20px);
  border: none;
}

.toast.bg-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.toast.bg-danger {
  background: var(--accent-gradient) !important;
}

.toast.bg-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}

.toast.bg-info {
  background: var(--secondary-gradient) !important;
}

/* =========================================
   BADGES
========================================= */
.badge {
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
}

.badge.bg-primary {
  background: var(--primary-gradient) !important;
}

.badge.bg-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.badge.bg-danger {
  background: var(--accent-gradient) !important;
}

.badge.bg-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: white !important;
}

/* =========================================
   RESPONSIVE - TABLET (768px+)
========================================= */
@media (min-width: 768px) {
  body {
    background: var(--bg-tertiary);
  }

  .body-wrap {
    max-width: 740px;
    margin: 0 auto;
    background: var(--bg-secondary);
  }

  .app-header {
    max-width: 740px;
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-nav {
    max-width: 740px;
    left: 50%;
    transform: translateX(-50%);
  }

  .toast-container {
    left: 50%;
    transform: translateX(-50%);
    max-width: 400px;
  }

  .checkout-bottom-bar {
    max-width: 740px;
    left: 50% !important;
    transform: translateX(-50%);
  }

  .card-image-top img {
    height: 180px;
  }

  .deals-scroll-wrapper .store-product-card {
    flex: 0 0 180px;
    width: 180px;
  }

  .store-card-premium {
    flex: 0 0 170px;
  }

  .auth-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }

  .auth-body {
    background: var(--primary-gradient);
    display: flex;
    align-items: stretch;
    justify-content: center;
  }

  .auth-body .body-wrap {
    background: transparent;
    box-shadow: none;
    max-width: none;
    width: 100%;
  }
}

/* =========================================
   RESPONSIVE - SMALL DESKTOP (992px+)
========================================= */
@media (min-width: 992px) {
  .body-wrap {
    max-width: 960px;
  }

  .app-header {
    max-width: 960px;
  }

  .footer-nav {
    max-width: 960px;
  }

  .checkout-bottom-bar {
    max-width: 960px;
  }

  .card-image-top img {
    height: 200px;
  }

  .category-card-premium {
    flex: 0 0 100px;
  }

  .store-card-premium {
    flex: 0 0 180px;
  }

  .deals-scroll-wrapper .store-product-card {
    flex: 0 0 200px;
    width: 200px;
  }

  .homepage-hero.premium-hero {
    border-bottom-left-radius: 3rem;
    border-bottom-right-radius: 3rem;
  }
}

/* =========================================
   RESPONSIVE - DESKTOP (1200px+)
========================================= */
@media (min-width: 1200px) {
  body {
    padding-bottom: 0 !important;
  }

  .body-wrap {
    max-width: 1140px;
    padding-bottom: 2rem;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.06);
  }

  .app-header {
    max-width: 1140px;
  }

  .checkout-bottom-bar {
    max-width: 1140px;
  }

  .footer-nav {
    display: none;
  }

  .card-image-top img {
    height: 220px;
  }

  .category-scroll-wrapper,
  .store-scroll-wrapper {
    gap: 1rem;
  }

  .category-card-premium {
    flex: 0 0 105px;
  }

  .store-card-premium {
    flex: 0 0 200px;
  }

  .deals-scroll-wrapper .store-product-card {
    flex: 0 0 210px;
    width: 210px;
  }

  .homepage-hero.premium-hero {
    border-bottom-left-radius: 3.5rem;
    border-bottom-right-radius: 3.5rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .wallet-actions {
    grid-template-columns: repeat(4, 1fr);
  }

  .auth-body .body-wrap {
    background: transparent;
    box-shadow: none;
    max-width: none;
    width: 100%;
  }
}

/* =========================================
   RESPONSIVE - EXTRA LARGE (1400px+)
========================================= */
@media (min-width: 1400px) {
  .body-wrap {
    max-width: 1320px;
  }

  .app-header {
    max-width: 1320px;
  }

  .auth-body .body-wrap {
    background: transparent;
    box-shadow: none;
    max-width: none;
    width: 100%;
  }

  .checkout-bottom-bar {
    max-width: 1320px;
  }

  .card-image-top img {
    height: 240px;
  }

  .store-card-premium {
    flex: 0 0 220px;
  }
}

/* =========================================
   DESKTOP NAVIGATION BAR
========================================= */
.desktop-nav-bar {
  display: none;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--gray-100);
  padding: 0.5rem 1rem;
  box-shadow: var(--shadow-xs);
}

.desktop-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  max-width: 800px;
  margin: 0 auto;
}

.desktop-nav-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-600);
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.desktop-nav-link:hover {
  color: var(--primary-color);
  background: rgba(0, 128, 128, 0.08);
}

.desktop-nav-link.active {
  color: var(--primary-color);
  background: rgba(0, 128, 128, 0.1);
  font-weight: 700;
}

.desktop-nav-link i {
  font-size: 1.05rem;
}

@media (min-width: 1200px) {
  .desktop-nav-bar {
    display: block;
  }
}

.auth-body .desktop-nav-bar {
  display: none !important;
}

/* =========================================
   UTILITY CLASSES
========================================= */
.bg-gradient-primary {
  background: var(--primary-gradient);
}

.bg-gradient-secondary {
  background: var(--secondary-gradient);
}

.bg-gradient-accent {
  background: var(--accent-gradient);
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rounded-4 { border-radius: var(--radius-xl) !important; }
.rounded-5 { border-radius: var(--radius-2xl) !important; }

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.glass:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.glass:active {
  transform: translateY(0);
}

/* Glass button in hero */
.homepage-hero .btn-icon.glass {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Hover Effects */
.hover-lift {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Ripple Effect */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.3) 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10, 10);
  opacity: 0;
  transition: transform 0.5s, opacity 0.5s;
}

.ripple:active::after {
  transform: scale(0, 0);
  opacity: 1;
  transition: 0s;
}

/* Fade Animations */
.fade-in {
  animation: fadeIn 0.3s ease-out;
}

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

.slide-up {
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stagger Animation */
.stagger-item {
  opacity: 0;
  animation: staggerFadeIn 0.4s ease-out forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.05s; }
.stagger-item:nth-child(2) { animation-delay: 0.1s; }
.stagger-item:nth-child(3) { animation-delay: 0.15s; }
.stagger-item:nth-child(4) { animation-delay: 0.2s; }
.stagger-item:nth-child(5) { animation-delay: 0.25s; }
.stagger-item:nth-child(6) { animation-delay: 0.3s; }

@keyframes staggerFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Pulse Animation */
.pulse {
  animation: pulse 2s ease-in-out infinite;
}

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

/* Success Checkmark Animation */
.success-checkmark {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: var(--success-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  animation: checkmarkPop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-checkmark i {
  font-size: 2.5rem;
  color: var(--success-color);
  animation: checkmarkDraw 0.3s ease-out 0.2s forwards;
  opacity: 0;
}

@keyframes checkmarkPop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

@keyframes checkmarkDraw {
  0% { opacity: 0; transform: scale(0.5); }
  100% { opacity: 1; transform: scale(1); }
}

/* Price Shake Animation */
.price-shake {
  animation: priceShake 0.5s ease-in-out;
}

@keyframes priceShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Input Group Fix */
.input-group .form-floating {
  position: relative;
  flex-grow: 1;
}

.input-group > .form-control:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* Quick Amount Buttons */
.quick-amount {
  min-width: 90px;
}

.quick-amount:hover {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
}

/* Coupon Ticket Style */
.coupon-ticket {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  border: 2px dashed var(--primary-light);
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.coupon-ticket::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  width: 20px;
  height: 20px;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  transform: translateY(-50%);
}

.coupon-ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 20px;
  height: 20px;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  transform: translateY(-50%);
}

.coupon-ticket.expired {
  opacity: 0.6;
  border-color: var(--gray-300);
}

/* Touch Feedback */
@media (hover: none) {
  .btn:active,
  .card:active,
  .settings-item:active {
    transform: scale(0.98);
    opacity: 0.9;
  }
}

/* Safe Area Insets for iOS */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .footer-nav {
    padding-bottom: env(safe-area-inset-bottom);
    height: calc(var(--footer-height) + env(safe-area-inset-bottom));
  }
  
  body {
    padding-bottom: calc(var(--footer-height) + env(safe-area-inset-bottom));
  }
}

@media (min-width: 1200px) {
  @supports (padding-bottom: env(safe-area-inset-bottom)) {
    body {
      padding-bottom: 0 !important;
    }
  }
}

/* =========================================
   COUPON ENHANCEMENTS
========================================= */
.coupon-ticket {
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.coupon-ticket:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.coupon-code-btn {
  font-weight: 600;
  font-size: 0.8125rem;
  transition: all var(--transition-base);
}

.coupon-code-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

/* =========================================
   PAYMENT METHOD CARDS
========================================= */
.payment-card-visual {
  transition: all var(--transition-slow);
}

.payment-card-visual:hover {
  transform: translateY(-4px) scale(1.01);
}

/* =========================================
   ADDITIONAL UTILITIES
========================================= */
.min-width-0 {
  min-width: 0 !important;
}

.safe-area-bottom {
  padding-bottom: 0.5rem;
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .safe-area-bottom {
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
  }
}

/* Form Switch Premium */
.form-switch .form-check-input {
  width: 3rem;
  height: 1.5rem;
  border-radius: var(--radius-full);
  background-color: var(--gray-300);
  border: none;
  transition: all var(--transition-base);
  cursor: pointer;
}

.form-switch .form-check-input:checked {
  background-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(0, 128, 128, 0.15);
}

/* Dropdown Premium */
.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  animation: dropdownFadeIn 0.2s ease-out;
}

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

.dropdown-item {
  border-radius: var(--radius-md);
  padding: 0.625rem 1rem;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--gray-100);
}

.dropdown-item.text-danger:hover {
  background: var(--danger-bg);
}

/* Modal Premium */
.modal-content {
  border: none;
  box-shadow: var(--shadow-xl);
}

.modal-content.rounded-4 {
  border-radius: var(--radius-xl) !important;
}

.modal-header {
  border-bottom: 1px solid var(--gray-100);
  padding: 1.25rem 1.5rem;
}

.modal-footer {
  border-top: 1px solid var(--gray-100);
  padding: 1rem 1.5rem;
}

/* Offcanvas Bottom Premium */
.offcanvas-bottom {
  border-top-left-radius: var(--radius-2xl);
  border-top-right-radius: var(--radius-2xl);
  max-height: 85vh;
}

.offcanvas-bottom .offcanvas-header {
  border-bottom: 1px solid var(--gray-100);
}

/* Store Hero */
.store-hero {
  background: var(--primary-gradient);
  padding: 1.5rem;
  border-radius: var(--radius-2xl);
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-colored);
}

.store-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 60%;
  height: 150%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Address Card Styles */
.address-card {
  border-left: 4px solid var(--primary-color);
  transition: all var(--transition-base);
}

.address-card:hover {
  border-left-color: var(--primary-light);
}

/* =========================================
   HOMEPAGE - HERO STATS
========================================= */
.hero-stat-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero-stat-label {
  font-size: 0.625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-stat-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.25);
  align-self: center;
}

/* =========================================
   HOMEPAGE - PROMO TICKER
========================================= */
.promo-ticker {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--gray-200);
}

.promo-ticker-inner {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-600);
  animation: tickerScroll 25s linear infinite;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.promo-ticker:hover .promo-ticker-inner {
  animation-play-state: paused;
}

/* =========================================
   HOMEPAGE - PREMIUM CATEGORY CARDS
========================================= */
.category-card-premium {
  flex: 0 0 85px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--gray-700);
  scroll-snap-align: start;
  transition: all var(--transition-base);
}

.category-card-premium:hover {
  transform: translateY(-4px);
  color: var(--primary-color);
}

.category-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.category-card-icon img,
.category-card-icon .category-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.category-card-icon .category-card-icon-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.category-emoji {
  font-size: 1.75rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.category-card-premium:hover .category-card-icon {
  transform: scale(1.08);
  box-shadow: var(--shadow-md);
}

.category-card-name {
  font-size: 0.6875rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  max-width: 85px;
  word-break: break-word;
}

/* =========================================
   HOMEPAGE - FLASH DEAL BANNER
========================================= */
.flash-deal-banner {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f97316 100%);
  border-radius: var(--radius-xl);
  padding: 1rem 1.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

.flash-deal-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.flash-deal-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: flashPulse 1.5s ease-in-out infinite;
}

.flash-deal-icon i {
  font-size: 1.25rem;
  color: white;
}

@keyframes flashPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
}

.flash-deal-title {
  font-size: 1rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.01em;
}

.flash-deal-badge {
  font-size: 0.5625rem;
  font-weight: 800;
  color: #dc2626;
  background: #fef08a;
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: badgeBounce 2s ease-in-out infinite;
}

@keyframes badgeBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.flash-deal-subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* =========================================
   HOMEPAGE - PREMIUM STORE CARDS
========================================= */
.store-scroll-wrapper {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 0.5rem 0.25rem;
  scroll-snap-type: x mandatory;
}

.store-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.store-card-premium {
  flex: 0 0 150px;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  scroll-snap-align: start;
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.store-card-premium:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.store-card-header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.store-card-pattern {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.store-card-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.store-card-icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.store-card-icon-wrap i {
  font-size: 1.5rem;
  color: white;
}

.store-verified-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  color: white;
  font-size: 0.875rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  z-index: 2;
}

.store-card-body {
  padding: 0.75rem;
  flex-grow: 1;
}

.store-card-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-card-meta {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  color: var(--gray-500);
  font-weight: 500;
}

.store-rating {
  color: var(--warning-color);
  font-weight: 700;
}

.store-rating i {
  font-size: 0.625rem;
}

.store-meta-dot {
  color: var(--gray-300);
}

.store-free-delivery {
  display: inline-flex;
  align-items: center;
  font-size: 0.5625rem;
  font-weight: 700;
  color: var(--success-color);
  background: var(--success-bg);
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-full);
  margin-top: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* =========================================
   HOMEPAGE - TRUST SECTION
========================================= */
.trust-section {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

.trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.75rem 0.25rem;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.trust-icon i {
  font-size: 1.25rem;
  color: white;
}

.trust-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.3;
  margin-bottom: 0.125rem;
}

.trust-desc {
  font-size: 0.625rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* =========================================
   HOMEPAGE - SEASONAL BANNER
========================================= */
.seasonal-banner {
  background: linear-gradient(165deg, #004d4d 0%, #006666 30%, #008080 60%, #20b2aa 100%);
  border-radius: var(--radius-2xl);
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 77, 77, 0.35);
}

.seasonal-banner-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.seasonal-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.seasonal-circle-1 {
  width: 120px;
  height: 120px;
  top: -30px;
  right: -20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.seasonal-circle-2 {
  width: 80px;
  height: 80px;
  bottom: -20px;
  left: -10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.seasonal-circle-3 {
  width: 40px;
  height: 40px;
  top: 50%;
  left: 30%;
  background: rgba(255, 215, 0, 0.1);
  animation: premiumSparkle 4s ease-in-out infinite;
}

.seasonal-icon-wrap {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: float 4s ease-in-out infinite;
}

.seasonal-icon-wrap i {
  font-size: 1.75rem;
  color: white;
}

/* =========================================
   HOMEPAGE - APP DOWNLOAD BANNER
========================================= */
.app-download-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  border-radius: var(--radius-2xl);
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.app-download-pattern {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 85% 15%, rgba(0, 128, 128, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 15% 85%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.app-download-label {
  display: inline-block;
  font-size: 0.5625rem;
  font-weight: 800;
  color: var(--primary-light);
  background: rgba(0, 128, 128, 0.2);
  padding: 0.125rem 0.625rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 0.5rem 0.75rem;
  color: white;
  text-decoration: none;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.app-store-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-2px);
}

.app-store-btn i {
  font-size: 1.25rem;
}

.app-store-btn div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.app-store-btn small {
  font-size: 0.5rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.app-store-btn span {
  font-size: 0.75rem;
  font-weight: 700;
}

.app-phone-mockup {
  width: 80px;
  height: 120px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.app-phone-mockup::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
}

.phone-screen {
  width: 60px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-screen i {
  font-size: 1.75rem;
  color: white;
  animation: float 3s ease-in-out infinite;
}

/* =========================================
   PREMIUM APP ENHANCEMENTS (Additive Only)
========================================= */

/* Smooth scroll & font rendering */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Premium wave divider at bottom of hero */
.homepage-hero.premium-hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 28px;
  background: var(--bg-secondary);
  border-radius: 2rem 2rem 0 0;
  z-index: 5;
}

/* =========================================
   SCROLL FADE INDICATORS
========================================= */
.scroll-fade-wrapper {
  position: relative;
}

.scroll-fade-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(to right, transparent, var(--bg-secondary));
  pointer-events: none;
  z-index: 3;
  opacity: 1;
  transition: opacity var(--transition-base);
}

.scroll-fade-wrapper.scrolled-end::after {
  opacity: 0;
}

/* =========================================
   PROMO TICKER IMPROVEMENTS
========================================= */
.promo-ticker::before,
.promo-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30px;
  z-index: 2;
  pointer-events: none;
}

.promo-ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--gray-50), transparent);
}

.promo-ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--gray-50), transparent);
}

/* =========================================
   PRODUCT CARD RESPONSIVE IMPROVEMENTS
========================================= */
.product-price span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-title {
  min-height: 2.45em;
}

@media (max-width: 374px) {
  .product-price {
    font-size: 0.875rem;
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  
  .product-title {
    font-size: 0.8125rem;
  }
  
  .store-product-card .card-body,
  .search-product-card .card-body {
    padding: 0.75rem;
  }
  
  .card-image-top img,
  .product-placeholder {
    height: 120px !important;
  }
}

@media (min-width: 375px) and (max-width: 575px) {
  .card-image-top img {
    height: 140px;
  }
}

/* =========================================
   IMPROVED HOMEPAGE SECTIONS SPACING
========================================= */
.homepage-section {
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .homepage-section {
    margin-bottom: 2rem;
  }
}

@media (min-width: 1200px) {
  .homepage-section {
    margin-bottom: 2.5rem;
  }
}

/* =========================================
   FOOTER NAV IMPROVEMENTS
========================================= */
.footer-nav a {
  min-height: 48px;
  font-size: 0.625rem;
  letter-spacing: 0.01em;
}

.footer-nav a i {
  font-size: 1.25rem;
}

@media (min-width: 400px) {
  .footer-nav a {
    font-size: 0.6875rem;
    min-width: 64px;
  }
  
  .footer-nav a i {
    font-size: 1.35rem;
  }
}

/* =========================================
   DESKTOP LAYOUT IMPROVEMENTS (1200px+)
========================================= */
@media (min-width: 1200px) {
  .homepage-hero.premium-hero {
    padding: 2rem 1.5rem 2.5rem;
  }
  
  .premium-quick-tags {
    justify-content: flex-start;
    gap: 0.625rem;
  }
  
  .quick-tag {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }
  
  .hero-stat-number {
    font-size: 1.5rem;
  }
  
  .hero-stat-label {
    font-size: 0.6875rem;
  }
  
  .section-header {
    margin-bottom: 1.25rem;
  }
  
  .category-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
  }
  
  .category-card-name {
    font-size: 0.75rem;
  }
  
  .store-card-premium .store-card-header {
    height: 90px;
  }

  .flash-deal-banner {
    padding: 1.25rem 1.5rem;
  }
  
  .trust-section {
    padding: 1.25rem;
  }
  
  .trust-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }
  
  .trust-title {
    font-size: 0.8125rem;
  }
  
  .trust-desc {
    font-size: 0.6875rem;
  }
}

/* Featured products grid on very small screens - scoped to product grids only */
@media (max-width: 359px) {
  .row.g-3 > .col-6:has(.store-product-card),
  .row.g-3 > .col-6:has(.search-product-card) {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* =========================================
   IMPROVED EMPTY STATE
========================================= */
.empty-state {
  padding: 3rem 1.5rem;
}

@media (min-width: 768px) {
  .empty-state {
    padding: 5rem 2rem;
  }
  
  .empty-state i {
    font-size: 6rem;
  }
}

/* =========================================
   SEARCH PAGE RESPONSIVE
========================================= */
@media (max-width: 767px) {
  .search-header .input-group {
    max-width: 100%;
  }
}

/* =========================================
   CART PAGE CONTENT
========================================= */
.cart-page-content {
  padding-bottom: 220px;
}

@media (min-width: 768px) {
  .cart-page-content {
    padding-bottom: 240px;
  }
}

/* =========================================
   CHECKOUT BOTTOM BAR IMPROVEMENTS
========================================= */
.checkout-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 1020;
  border-top: 1px solid var(--gray-100);
}

@media (min-width: 768px) {
  .checkout-bottom-bar {
    max-width: 740px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }
}

@media (min-width: 992px) {
  .checkout-bottom-bar {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .checkout-bottom-bar {
    max-width: 1140px;
  }
}

/* =========================================
   ACCOUNT PAGE RESPONSIVE IMPROVEMENTS
========================================= */
.settings-item {
  min-height: 56px;
}

@media (max-width: 374px) {
  .settings-icon-wrapper {
    width: 36px;
    height: 36px;
    margin-right: 0.75rem;
  }
  
  .settings-icon-wrapper i {
    font-size: 1rem;
  }
}

/* =========================================
   PRODUCT DETAIL RESPONSIVE
========================================= */
.no-footer .body-wrap {
  padding-bottom: 0;
}

.product-detail-content {
  padding-bottom: 80px;
}

@media (min-width: 768px) {
  .product-detail-content {
    padding-bottom: 100px;
  }
}

.product-detail-img {
  height: 280px;
  object-fit: cover;
}

@media (min-width: 375px) {
  .product-detail-img {
    height: 320px;
  }
}

@media (min-width: 768px) {
  .product-detail-img {
    height: 400px;
    object-fit: contain;
  }
}

@media (min-width: 1200px) {
  .product-detail-img {
    height: 450px;
  }
}

/* =========================================
   ORDER CARDS RESPONSIVE
========================================= */
@media (max-width: 374px) {
  .order-history-card .card-header,
  .order-history-card .card-body,
  .order-history-card .card-footer {
    padding: 0.75rem 1rem;
  }
  
  .status-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .status-badge {
    font-size: 0.625rem;
    padding: 0.25rem 0.5rem;
  }
}

/* =========================================
   WALLET RESPONSIVE
========================================= */
@media (max-width: 374px) {
  .wallet-balance-card {
    padding: 1.5rem;
  }
  
  .wallet-actions {
    gap: 0.75rem;
  }
  
  .action-card {
    padding: 1rem 0.75rem;
  }
  
  .action-card i {
    font-size: 1.25rem;
  }
  
  .action-card span {
    font-size: 0.6875rem;
  }
}

/* =========================================
   ACCESSIBILITY IMPROVEMENTS
========================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .promo-ticker-inner {
    animation: none !important;
  }
}

:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* =========================================
   LANDSCAPE MOBILE IMPROVEMENTS
========================================= */
@media (max-height: 500px) and (orientation: landscape) {
  .homepage-hero.premium-hero {
    padding: 1rem 1rem 1.5rem;
  }
  
  .hero-stat-number {
    font-size: 1rem;
  }
  
  .auth-header {
    padding: 1.5rem 1.5rem 3rem;
  }
  
  .auth-illustration {
    width: 64px;
    height: 64px;
    margin-bottom: 0.75rem;
  }
  
  .auth-header h2 {
    font-size: 1.375rem;
  }
}

/* Print Styles */
@media print {
  .app-header,
  .footer-nav,
  .btn {
    display: none !important;
  }

  body {
    padding: 0;
    background: white;
  }

  .card {
    box-shadow: none;
    border: 1px solid var(--gray-300);
  }
}

/* =============================================
   HOMEPAGE V2 - PREMIUM REDESIGN
   Mobile-First • Clean • Modern
============================================= */

/* --- Hero V2 --- */
.hero-v2 {
  background: linear-gradient(160deg, #004d4d 0%, #006666 20%, #008080 45%, #20b2aa 75%, #40c9a2 100%);
  padding: 0 0 2rem;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hero-v2::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 24px;
  background: var(--bg-secondary);
  border-radius: 1.5rem 1.5rem 0 0;
  z-index: 5;
}

.hero-v2-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(50px);
}

.hero-v2-glow-1 {
  width: 260px;
  height: 260px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(93, 211, 158, 0.35) 0%, transparent 70%);
  animation: heroV2Float 14s ease-in-out infinite;
}

.hero-v2-glow-2 {
  width: 180px;
  height: 180px;
  bottom: 10px;
  left: -50px;
  background: radial-gradient(circle, rgba(0, 77, 77, 0.45) 0%, transparent 70%);
  animation: heroV2Float 11s ease-in-out infinite reverse;
}

.hero-v2-glow-3 {
  width: 120px;
  height: 120px;
  top: 40%;
  left: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  animation: heroV2Pulse 7s ease-in-out infinite;
}

@keyframes heroV2Float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-8px, -12px) scale(1.08); }
}

@keyframes heroV2Pulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.3; }
  50% { transform: translateX(-50%) scale(1.25); opacity: 0.5; }
}

/* --- Hero Header --- */
.hero-v2-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: env(safe-area-inset-top, 0.75rem);
  padding-bottom: 0;
  position: relative;
  z-index: 10;
}

.hero-v2-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.hero-v2-icon-btn:hover,
.hero-v2-icon-btn:focus {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-1px);
}

.hero-v2-icon-btn:active {
  transform: scale(0.96);
}

.hero-v2-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-grow: 1;
  min-width: 0;
  text-decoration: none;
  color: #fff;
}

.hero-v2-brand:hover { color: #fff; }

.hero-v2-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.hero-v2-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-v2-brand-name {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-v2-brand-tagline {
  font-size: 0.6875rem;
  opacity: 0.7;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-v2-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  box-shadow: 0 2px 8px rgba(238, 90, 90, 0.5);
  border: 2px solid rgba(0, 100, 100, 0.5);
}

/* --- Hero Content --- */
.hero-v2-content {
  position: relative;
  z-index: 10;
  padding-top: 0.75rem;
}

.hero-v2-greeting {
  margin-bottom: 1.125rem;
}

.hero-v2-welcome {
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0.85;
  margin: 0 0 0.25rem;
  letter-spacing: 0.01em;
}

.hero-v2-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

/* --- Hero Search --- */
.hero-v2-search {
  margin-bottom: 1rem;
}

.hero-v2-search-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50px;
  padding: 0.8125rem 1.125rem;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.1),
    0 1px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.hero-v2-search:hover .hero-v2-search-inner {
  transform: translateY(-2px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.14),
    0 2px 8px rgba(0, 0, 0, 0.07);
}

.hero-v2-search-inner > i:first-child {
  color: var(--primary-color);
  font-size: 1.0625rem;
  flex-shrink: 0;
}

.hero-v2-search-inner > span {
  flex-grow: 1;
  color: var(--gray-400);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- Hero Location & Express --- */
.hero-v2-location-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.25rem;
}

.hero-v2-location {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.hero-v2-location:hover { color: #fff; }

.hero-v2-location i:first-child {
  font-size: 0.875rem;
}

.hero-v2-location i:last-child {
  font-size: 0.5625rem;
  opacity: 0.6;
}

.hero-v2-express {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-v2-express i {
  font-size: 0.6875rem;
}

/* --- Home V2 Body --- */
.home-v2-body {
  background: var(--bg-secondary);
  padding-bottom: 0;
}

.home-v2-body .home-v2-section:first-child {
  padding-top: 0.5rem;
}

/* --- Quick Actions Grid --- */
.hero-v2-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.625rem;
  padding: 0;
}

.hero-v2-action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 0.5rem;
  background: var(--bg-primary);
  border-radius: 18px;
  text-decoration: none;
  color: var(--gray-700);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border: none;
  transition: all 0.25s ease;
}

.hero-v2-action-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  color: var(--gray-800);
}

.hero-v2-action-card:active {
  transform: scale(0.96);
}

.hero-v2-action-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hero-v2-action-card > span {
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  color: var(--gray-600);
}

/* --- Sections --- */
.home-v2-section {
  margin-bottom: 1.5rem;
}

.home-v2-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.875rem;
}

.home-v2-section-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--gray-800);
  margin: 0;
  letter-spacing: -0.02em;
}

.home-v2-section-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s;
  min-height: 44px;
}

.home-v2-section-link:hover {
  color: var(--primary-dark);
}

.home-v2-section-link i {
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.home-v2-section-link:hover i {
  transform: translateX(3px);
}

/* --- Promo Card --- */
.hero-v2-promo-card {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f97316 100%);
  border-radius: var(--radius-xl);
  padding: 1rem 1.125rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.25);
}

.hero-v2-promo-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-v2-promo-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: heroV2PromoPulse 2s ease-in-out infinite;
}

@keyframes heroV2PromoPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
}

.hero-v2-promo-icon i {
  font-size: 1.125rem;
  color: #fff;
}

.hero-v2-promo-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #fff;
}

.hero-v2-promo-badge {
  font-size: 0.5625rem;
  font-weight: 800;
  color: #dc2626;
  background: #fef08a;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-v2-promo-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* --- Categories Grid (2 rows, scrollable) --- */
.home-v2-cat-grid {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  grid-auto-columns: 76px;
  gap: 0.75rem;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
  scroll-snap-type: x proximity;
}

.home-v2-cat-grid::-webkit-scrollbar { display: none; }

.home-v2-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  text-decoration: none;
  color: var(--gray-700);
  scroll-snap-align: start;
  transition: all 0.2s ease;
}

.home-v2-cat-item:hover {
  transform: translateY(-3px);
  color: var(--primary-color);
}

.home-v2-cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.home-v2-cat-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.home-v2-cat-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
}

.home-v2-cat-item:hover .home-v2-cat-icon {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.home-v2-cat-name {
  font-size: 0.6875rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  max-width: 76px;
  word-break: break-word;
}

/* --- Store Cards (horizontal scroll) --- */
.home-v2-stores-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
  scroll-snap-type: x proximity;
}

.home-v2-stores-scroll::-webkit-scrollbar { display: none; }

.home-v2-store-card {
  flex: 0 0 152px;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  scroll-snap-align: start;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.home-v2-store-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  color: inherit;
}

.home-v2-store-banner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.home-v2-store-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.home-v2-store-icon-fallback {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
}

.home-v2-store-verified {
  position: absolute;
  top: 6px;
  right: 6px;
  color: #fff;
  font-size: 0.875rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.home-v2-store-info {
  padding: 0.625rem 0.75rem 0.75rem;
}

.home-v2-store-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-v2-store-meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: var(--gray-500);
  font-weight: 500;
}

.home-v2-store-rating {
  color: var(--warning-color);
  font-weight: 600;
}

.home-v2-store-rating i {
  font-size: 0.625rem;
}

/* --- Products Scroll (deals) --- */
.home-v2-products-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
  scroll-snap-type: x proximity;
}

.home-v2-products-scroll::-webkit-scrollbar { display: none; }

.home-v2-product-card {
  flex: 0 0 155px;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  scroll-snap-align: start;
  transition: all 0.25s ease;
  position: relative;
}

.home-v2-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.home-v2-product-img {
  position: relative;
  overflow: hidden;
  background: var(--gray-50);
}

.home-v2-product-img img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.home-v2-product-placeholder {
  width: 100%;
  height: 130px;
  align-items: center;
  justify-content: center;
}

.home-v2-product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--accent-gradient);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  letter-spacing: 0.02em;
}

.home-v2-product-body {
  padding: 0.75rem 0.75rem 2.5rem;
}

.home-v2-product-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 0.125rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-v2-product-unit {
  font-size: 0.6875rem;
  color: var(--gray-400);
  margin: 0 0 0.375rem;
}

.home-v2-product-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
}

.home-v2-product-price {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--primary-color);
}

.home-v2-product-original {
  font-size: 0.6875rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.home-v2-add-btn {
  position: absolute;
  bottom: 0.625rem;
  right: 0.625rem;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 128, 128, 0.3);
}

.home-v2-add-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.08);
}

.home-v2-add-btn:active {
  transform: scale(0.95);
}

/* --- Trust Row --- */
.home-v2-trust-row {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.home-v2-trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-primary);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--gray-100);
}

.home-v2-trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-v2-trust-icon i {
  font-size: 1.125rem;
  color: #fff;
}

.home-v2-trust-title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.3;
}

.home-v2-trust-desc {
  display: block;
  font-size: 0.6875rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* --- CTA Banner --- */
.home-v2-cta-banner {
  background: linear-gradient(160deg, #004d4d 0%, #008080 50%, #20b2aa 100%);
  border-radius: var(--radius-2xl);
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 77, 77, 0.3);
}

.home-v2-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.home-v2-cta-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.home-v2-cta-icon-wrap i {
  font-size: 1.5rem;
  color: #fff;
}

.home-v2-cta-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.375rem;
}

.home-v2-cta-desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 1rem;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.home-v2-cta-btn {
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 999px;
  padding: 0.625rem 1.5rem;
  transition: all 0.2s ease;
  border: none;
}

.home-v2-cta-btn:hover {
  background: #fff;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

/* --- Follow Banner --- */
.home-v2-follow-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.home-v2-follow-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(0, 128, 128, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 15% 85%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.home-v2-follow-label {
  display: inline-block;
  font-size: 0.5625rem;
  font-weight: 800;
  color: var(--primary-light);
  background: rgba(0, 128, 128, 0.2);
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.home-v2-follow-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.25rem;
}

.home-v2-follow-desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 1rem;
}

.home-v2-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 0.5rem 0.75rem;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.home-v2-social-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: translateY(-1px);
}

.home-v2-social-btn i {
  font-size: 1.125rem;
}

.home-v2-social-btn div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.home-v2-social-btn small {
  font-size: 0.5rem;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-v2-social-btn span {
  font-size: 0.75rem;
  font-weight: 700;
}

/* =============================================
   HOMEPAGE V2 - RESPONSIVE
============================================= */

/* Small phones (< 375px) */
@media (max-width: 374px) {
  .hero-v2-title { font-size: 1.25rem; }
  .hero-v2-welcome { font-size: 0.8125rem; }
  .hero-v2-search-inner { padding: 0.6875rem 0.875rem; }
  .hero-v2-quick-actions { gap: 0.5rem; }
  .hero-v2-action-card { padding: 0.75rem 0.25rem; }
  .hero-v2-action-icon { width: 40px; height: 40px; border-radius: 12px; font-size: 1.0625rem; }
  .home-v2-cat-grid { grid-auto-columns: 68px; gap: 0.5rem; }
  .home-v2-cat-icon { width: 48px; height: 48px; border-radius: 14px; }
  .home-v2-product-card { flex: 0 0 140px; }
  .home-v2-product-img img,
  .home-v2-product-placeholder { height: 110px; }
  .home-v2-store-card { flex: 0 0 136px; }
}

/* Tablet (768px+) */
@media (min-width: 768px) {
  .hero-v2 { padding: 0 0 2.5rem; }
  .hero-v2-title { font-size: 1.875rem; }
  .hero-v2-welcome { font-size: 1rem; }
  .hero-v2-content { max-width: 600px; }
  .hero-v2-search-inner { padding: 0.9375rem 1.25rem; border-radius: 50px; }
  .hero-v2-search-inner > span { font-size: 0.9375rem; }

  .hero-v2-quick-actions { gap: 1rem; }
  .hero-v2-action-card { padding: 1.125rem 0.5rem; border-radius: 20px; }
  .hero-v2-action-icon { width: 54px; height: 54px; border-radius: 16px; font-size: 1.3125rem; }
  .hero-v2-action-card > span { font-size: 0.8125rem; }

  .home-v2-section { margin-bottom: 2rem; }
  .home-v2-section-title { font-size: 1.25rem; }

  .home-v2-cat-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    overflow-x: visible;
  }
  .home-v2-cat-item { flex: 0 0 auto; width: 90px; }
  .home-v2-cat-icon { width: 64px; height: 64px; border-radius: 18px; }
  .home-v2-cat-name { font-size: 0.75rem; max-width: 90px; }

  .home-v2-stores-scroll {
    flex-wrap: wrap;
    overflow-x: visible;
  }
  .home-v2-store-card { flex: 1 1 200px; max-width: 320px; }
  .home-v2-store-banner { height: 80px; }
  .home-v2-store-name { font-size: 0.875rem; }

  .home-v2-product-card { flex: 0 0 175px; }
  .home-v2-product-img img,
  .home-v2-product-placeholder { height: 150px; }
  .home-v2-product-name { font-size: 0.875rem; }
  .home-v2-product-price { font-size: 1rem; }

  .home-v2-trust-row { flex-direction: row; }
  .home-v2-trust-item { flex: 1; }
}

/* Desktop (1200px+) */
@media (min-width: 1200px) {
  .hero-v2 { padding: 0 0 3rem; }
  .hero-v2-header { padding-left: 1.5rem; padding-right: 1.5rem; }
  .hero-v2-content { max-width: 700px; padding-left: 1.5rem; padding-right: 1.5rem; }
  .hero-v2-title { font-size: 2.25rem; }
  .hero-v2-welcome { font-size: 1.0625rem; }
  
  .hero-v2-quick-actions { max-width: 700px; }
  .hero-v2-action-card { padding: 1.25rem 0.75rem; border-radius: 22px; }
  .hero-v2-action-icon { width: 56px; height: 56px; font-size: 1.375rem; }
  .hero-v2-action-card > span { font-size: 0.875rem; }

  .home-v2-section { margin-bottom: 2.5rem; }
  .home-v2-section-title { font-size: 1.375rem; }

  .home-v2-cat-item { width: 100px; }
  .home-v2-cat-icon { width: 72px; height: 72px; border-radius: 20px; }
  .home-v2-cat-name { font-size: 0.8125rem; max-width: 100px; }

  .home-v2-store-card { flex: 1 1 220px; max-width: 380px; }
  .home-v2-store-banner { height: 90px; }

  .home-v2-product-card { flex: 0 0 195px; }
  .home-v2-product-img img,
  .home-v2-product-placeholder { height: 165px; }
  .home-v2-product-price { font-size: 1.0625rem; }

  .home-v2-cta-banner { padding: 2.5rem 2rem; }
  .home-v2-cta-title { font-size: 1.5rem; }
  .home-v2-cta-desc { font-size: 0.9375rem; max-width: 400px; }
}

/* =========================================
   ALL-DEVICE RESPONSIVE LAYOUTS
   Desktop two-column, tablet adaptive, 
   mobile-first refinements
========================================= */

/* --- Product Detail: Desktop Two-Column --- */
.desktop-product-layout {
  display: block;
}
.desktop-product-gallery,
.desktop-product-info {
  width: 100%;
}

@media (min-width: 992px) {
  .desktop-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
  }
  .desktop-product-gallery {
    position: sticky;
    top: var(--header-height);
  }
  .desktop-product-gallery .product-detail-img {
    height: 400px;
    object-fit: contain;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  }
  .desktop-product-info {
    padding-top: 0;
  }
  .product-detail-content {
    padding-bottom: 20px;
  }
  .no-footer .checkout-bottom-bar {
    display: none;
  }
}

@media (min-width: 1200px) {
  .desktop-product-layout {
    grid-template-columns: 55% 45%;
  }
  .desktop-product-gallery .product-detail-img {
    height: 500px;
  }
  .no-footer .checkout-bottom-bar {
    display: none;
  }
}

/* --- Cart: Desktop Two-Column --- */
.desktop-cart-layout {
  display: block;
}
.desktop-cart-summary {
  display: none;
}

@media (min-width: 1200px) {
  .desktop-cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 1.5rem;
    align-items: start;
  }
  .desktop-cart-summary {
    display: block;
  }
  .cart-page-content {
    padding-bottom: 2rem !important;
  }
}

@media (min-width: 1400px) {
  .desktop-cart-layout {
    grid-template-columns: 1fr 420px;
  }
}

/* --- Checkout: Desktop Two-Column --- */
.desktop-checkout-layout {
  display: block;
}
.desktop-checkout-form,
.desktop-checkout-summary {
  width: 100%;
}

@media (min-width: 1200px) {
  .desktop-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 1.5rem;
    align-items: start;
  }
}

@media (min-width: 1400px) {
  .desktop-checkout-layout {
    grid-template-columns: 1fr 440px;
  }
}

/* --- Order Detail: Desktop Two-Column --- */
.desktop-order-detail-layout {
  display: block;
}

@media (min-width: 1200px) {
  .desktop-order-detail-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 1.5rem;
    align-items: start;
  }
  .desktop-order-detail-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 60px);
  }
  .desktop-order-full-width {
    grid-column: 1 / -1;
  }
}

/* --- Account Dashboard: Desktop Grid --- */
@media (min-width: 768px) {
  .settings-item {
    transition: all var(--transition-base);
  }
  .settings-item:hover {
    background: var(--gray-50);
    padding-left: 1.5rem !important;
  }
}

/* --- Desktop: Hide mobile bottom bar, show sidebar summary --- */
@media (min-width: 1200px) {
  .d-xl-none {
    display: none !important;
  }
}

/* --- Tablet: Better card grids --- */
@media (min-width: 768px) and (max-width: 1199px) {
  .order-history-card .card-footer {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  .order-history-card .card-body {
    display: flex;
    align-items: center;
  }
}

/* --- Desktop: Orders list wider cards --- */
@media (min-width: 1200px) {
  .order-history-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
  }
  .order-history-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }
}

/* --- Desktop: Auth pages centered card --- */
@media (min-width: 1200px) {
  .auth-wrapper {
    max-width: 440px;
    margin: 0 auto;
  }
  .auth-body .body-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    max-width: none !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .auth-body {
    background: var(--primary-gradient);
  }
}

/* --- Desktop: Product list 5 columns --- */
@media (min-width: 1200px) {
  .row.g-3 > .col-lg-3:has(.store-product-card) {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

/* --- Desktop: Store grid wider --- */
@media (min-width: 1200px) {
  .row.g-3 > .col-lg-3:has(.store-card-image-wrap) {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

/* --- Hover effects for desktop (non-touch) --- */
@media (hover: hover) and (pointer: fine) {
  .store-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
  .store-product-card:hover .card-image-top img,
  .store-product-card:hover .product-card-img {
    transform: scale(1.05);
  }
  .store-product-card .card-image-top img,
  .store-product-card .product-card-img {
    transition: transform var(--transition-slow);
  }
  .home-v2-store-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
  .home-v2-cat-item:hover .home-v2-cat-icon {
    transform: scale(1.1);
  }
  .home-v2-cat-icon {
    transition: transform var(--transition-base);
  }
  .cart-item:hover {
    background: var(--gray-50);
  }
  .hero-v2-action-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
}

/* --- Homepage: Desktop wider featured products grid --- */
@media (min-width: 1200px) {
  .home-v2-body .row.g-3 > .col-6 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .home-v2-body .row.g-3 > .col-md-4 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

@media (min-width: 1400px) {
  .home-v2-body .row.g-3 > .col-6,
  .home-v2-body .row.g-3 > .col-md-4 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

/* --- Homepage: Desktop trust badges row --- */
@media (min-width: 768px) {
  .home-v2-trust-row {
    gap: 1rem;
  }
  .home-v2-trust-item {
    padding: 1.25rem;
  }
}

/* --- Homepage: Desktop CTA and follow sections --- */
@media (min-width: 1200px) {
  .home-v2-cta-banner {
    display: flex;
    text-align: left;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
  }
  .home-v2-cta-banner .position-relative {
    text-align: left;
  }
  .home-v2-follow-banner {
    padding: 2rem 2.5rem;
  }
  .home-v2-social-btn {
    padding: 0.875rem 1.5rem;
  }
}

/* --- Desktop: Wider confirmation page --- */
@media (min-width: 768px) {
  .container-fluid:has(.success-checkmark) {
    max-width: 600px;
    margin: 0 auto;
  }
}

/* --- Desktop: Profile page centered form --- */
@media (min-width: 768px) {
  .container-fluid:has(#profileForm) {
    max-width: 640px;
    margin: 0 auto;
  }
}

/* --- Desktop: Address form --- */
@media (min-width: 768px) {
  .container-fluid:has(#addAddressForm) {
    max-width: 640px;
    margin: 0 auto;
  }
}

/* --- Addresses: Desktop grid --- */
@media (min-width: 768px) {
  .d-flex.flex-column.gap-3:has(.card .bi-geo-alt),
  .d-flex.flex-column.gap-3:has(.card .bi-house) {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* --- Desktop: Wallet page layout --- */
@media (min-width: 992px) {
  .container-fluid:has(.wallet-balance-card),
  .container-fluid:has([data-bs-target="#addMoneyModal"]) {
    max-width: 800px;
    margin: 0 auto;
  }
}

/* --- Desktop: Notifications & Coupons centered --- */
@media (min-width: 992px) {
  .container-fluid:has(.coupon-ticket),
  .container-fluid:has(.notification-item) {
    max-width: 800px;
    margin: 0 auto;
  }
}

/* --- Search page: Desktop wider --- */
@media (min-width: 1200px) {
  .container-fluid:has(.search-results-grid) {
    max-width: 100%;
  }
}

/* --- Desktop: Better modal sizing --- */
@media (min-width: 768px) {
  .modal-dialog-centered .modal-content {
    border-radius: var(--radius-2xl) !important;
  }
}

/* --- Print styles improvement --- */
@media print {
  .desktop-nav-bar,
  .footer-nav,
  .offcanvas,
  .checkout-bottom-bar,
  .toast-container,
  .spinner-overlay {
    display: none !important;
  }
  .body-wrap {
    max-width: 100% !important;
    box-shadow: none !important;
  }
  .app-header {
    position: static !important;
    box-shadow: none !important;
  }
}

/* --- Landscape phone adjustments --- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-v2 {
    padding-bottom: 1.5rem;
  }
  .hero-v2-title {
    font-size: 1.25rem;
  }
  .hero-v2-greeting {
    margin-bottom: 0.5rem;
  }
  .footer-nav {
    padding: 0.25rem 0;
  }
  .footer-nav a {
    min-height: 40px;
  }
  .footer-nav a span {
    display: none;
  }
  .checkout-bottom-bar {
    padding: 0.5rem 1rem;
  }
}

/* --- Extra small phones (< 360px) --- */
@media (max-width: 359px) {
  .hero-v2-quick-actions {
    gap: 0.5rem;
  }
  .hero-v2-action-card > span {
    font-size: 0.625rem;
  }
  .hero-v2-action-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .home-v2-cat-item {
    width: 70px;
  }
  .home-v2-cat-icon {
    width: 48px;
    height: 48px;
  }
  .home-v2-cat-name {
    font-size: 0.625rem;
  }
  .btn-lg {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
}

/* --- Small phones (360px - 374px) --- */
@media (min-width: 360px) and (max-width: 374px) {
  .hero-v2-title {
    font-size: 1.375rem;
  }
  .home-v2-section-title {
    font-size: 1rem;
  }
}

/* --- Medium phones (375px - 575px) --- */
@media (min-width: 375px) and (max-width: 575px) {
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* --- Tablets in portrait (768px - 991px) --- */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-v2-content {
    max-width: 600px;
  }
  .home-v2-cat-grid {
    justify-content: center;
  }
  .card-image-top img,
  .product-card-img {
    height: 180px;
  }
}

/* --- Desktop HD (1920px+) --- */
@media (min-width: 1920px) {
  .body-wrap {
    max-width: 1600px;
  }
  .app-header {
    max-width: 1600px;
  }
  .checkout-bottom-bar {
    max-width: 1600px;
  }
  body {
    font-size: 15px;
  }
  .desktop-product-layout {
    grid-template-columns: 55% 45%;
  }
  .desktop-cart-layout {
    grid-template-columns: 1fr 480px;
  }
  .desktop-checkout-layout {
    grid-template-columns: 1fr 500px;
  }
}


/* =========================================
   PREMIUM REDESIGN v2.0
   Complete premium overhaul with enhanced 
   glassmorphism, refined micro-interactions,
   improved visual hierarchy, and full 
   device responsiveness
========================================= */

/* --- Enhanced Design Tokens --- */
:root {
  --premium-shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.06);
  --premium-shadow-elevated: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  --premium-shadow-floating: 0 16px 48px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  --premium-glass: rgba(255, 255, 255, 0.72);
  --premium-glass-border: rgba(255, 255, 255, 0.3);
  --premium-blur: 20px;
  --premium-transition: cubic-bezier(0.4, 0, 0.2, 1);
  --premium-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --premium-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
  --premium-radius: 20px;
  --premium-card-radius: 24px;
}

/* --- Global Premium Body Enhancement --- */
body {
  background: linear-gradient(180deg, #f0f7f7 0%, var(--bg-secondary) 100%) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.homepage-body {
  background: linear-gradient(180deg, #eef6f6 0%, #f8fafb 40%, #ffffff 100%) !important;
}

/* --- Premium Hero Redesign --- */
.hero-v2 {
  background: linear-gradient(155deg, #003d3d 0%, #005c5c 15%, #007a7a 35%, #009e9e 55%, #20b2aa 75%, #5dd39e 100%) !important;
  padding: 0 0 2.5rem !important;
  min-height: 280px;
}

.hero-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 600px 400px at 80% 20%, rgba(93, 211, 158, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 400px 300px at 10% 80%, rgba(0, 77, 77, 0.3) 0%, transparent 60%),
    radial-gradient(circle 200px at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-v2::after {
  height: 32px !important;
  border-radius: 2rem 2rem 0 0 !important;
  background: linear-gradient(180deg, #f4f9f9, var(--bg-secondary)) !important;
  box-shadow: 0 -4px 20px rgba(0, 128, 128, 0.08) !important;
}

.hero-v2-glow { filter: blur(60px) !important; }
.hero-v2-glow-1 {
  width: 300px !important;
  height: 300px !important;
  background: radial-gradient(circle, rgba(93, 211, 158, 0.4) 0%, transparent 65%) !important;
}
.hero-v2-glow-2 {
  width: 220px !important;
  height: 220px !important;
  background: radial-gradient(circle, rgba(0, 60, 60, 0.5) 0%, transparent 65%) !important;
}
.hero-v2-glow-3 {
  width: 160px !important;
  height: 160px !important;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 65%) !important;
}

/* --- Premium Hero Header --- */
.hero-v2-icon-btn {
  width: 46px !important;
  height: 46px !important;
  border-radius: 15px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  font-size: 1.25rem !important;
  transition: all 0.3s var(--premium-transition) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.hero-v2-icon-btn:hover,
.hero-v2-icon-btn:focus {
  background: rgba(255, 255, 255, 0.22) !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.hero-v2-logo {
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
  border: 2.5px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.hero-v2-brand-name {
  font-size: 1.125rem !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

/* --- Premium Hero Content --- */
.hero-v2-title {
  font-size: 1.625rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.2 !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2) !important;
}

.hero-v2-welcome {
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  opacity: 0.9 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) !important;
}

/* --- Premium Search Bar --- */
.hero-v2-search-inner {
  background: rgba(255, 255, 255, 0.95) !important;
  border-radius: var(--premium-radius) !important;
  padding: 0.9rem 1.25rem !important;
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.08),
    0 2px 4px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 1) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  transition: all 0.3s var(--premium-transition) !important;
}

.hero-v2-search-inner:hover {
  background: rgba(255, 255, 255, 1) !important;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1) !important;
  transform: translateY(-1px);
}

.hero-v2-search-inner i {
  color: var(--primary-color) !important;
  font-size: 1.1rem !important;
}

.hero-v2-search-inner span {
  color: var(--gray-400) !important;
  font-weight: 500 !important;
}

/* --- Premium Location & Express --- */
.hero-v2-location {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: var(--radius-full) !important;
  padding: 0.5rem 0.875rem !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

.hero-v2-express {
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: var(--radius-full) !important;
  padding: 0.5rem 0.875rem !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  font-weight: 700 !important;
}

/* --- Premium Quick Actions --- */
.hero-v2-quick-actions {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0.875rem !important;
  padding: 0.5rem 0 !important;
}

.hero-v2-action-card {
  background: var(--bg-primary) !important;
  border-radius: var(--premium-radius) !important;
  padding: 1.25rem 0.5rem !important;
  box-shadow: var(--premium-shadow-soft) !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  transition: all 0.35s var(--premium-spring) !important;
  position: relative;
  overflow: hidden;
}

.hero-v2-action-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 128, 128, 0.03) 100%);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-v2-action-card:hover::before { opacity: 1; }

.hero-v2-action-card:hover {
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: var(--premium-shadow-elevated) !important;
}

.hero-v2-action-card:active {
  transform: scale(0.95) !important;
  transition-duration: 0.1s !important;
}

.hero-v2-action-icon {
  width: 52px !important;
  height: 52px !important;
  border-radius: 16px !important;
  font-size: 1.375rem !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  position: relative;
  z-index: 1;
}

.hero-v2-action-card > span {
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  color: var(--gray-700) !important;
  position: relative;
  z-index: 1;
}

/* --- Premium Section Titles --- */
.home-v2-section-title {
  font-size: 1.1875rem !important;
  font-weight: 800 !important;
  color: var(--gray-900) !important;
  letter-spacing: -0.025em !important;
  position: relative;
}

.home-v2-section-link {
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  color: var(--primary-color) !important;
  text-decoration: none !important;
  padding: 0.375rem 0.75rem !important;
  border-radius: var(--radius-full) !important;
  background: rgba(0, 128, 128, 0.06) !important;
  transition: all 0.25s var(--premium-transition) !important;
}

.home-v2-section-link:hover {
  background: rgba(0, 128, 128, 0.12) !important;
  color: var(--primary-dark) !important;
  transform: translateX(2px);
}

/* --- Premium Promo Banner --- */
.hero-v2-promo-card {
  border-radius: var(--premium-card-radius) !important;
  padding: 1.25rem 1.5rem !important;
  box-shadow: 0 8px 32px rgba(255, 107, 107, 0.15), 0 2px 8px rgba(0, 0, 0, 0.05) !important;
  border: none !important;
  position: relative;
  overflow: hidden;
}

.hero-v2-promo-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.375rem !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* --- Premium Categories --- */
.home-v2-cat-grid {
  gap: 1rem !important;
}

.home-v2-cat-item {
  transition: all 0.35s var(--premium-spring) !important;
}

.home-v2-cat-item:hover {
  transform: translateY(-4px) scale(1.05) !important;
}

.home-v2-cat-item:active {
  transform: scale(0.94) !important;
}

.home-v2-cat-icon {
  box-shadow: var(--premium-shadow-soft) !important;
  border: 1.5px solid rgba(0, 0, 0, 0.04) !important;
  transition: all 0.35s var(--premium-spring) !important;
}

.home-v2-cat-item:hover .home-v2-cat-icon {
  box-shadow: var(--premium-shadow-elevated) !important;
}

.home-v2-cat-name {
  font-weight: 600 !important;
  color: var(--gray-700) !important;
  margin-top: 0.5rem !important;
}

/* --- Premium Store Cards --- */
.home-v2-store-card {
  border-radius: var(--premium-card-radius) !important;
  box-shadow: var(--premium-shadow-soft) !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  transition: all 0.4s var(--premium-transition) !important;
  overflow: hidden !important;
  background: var(--bg-primary) !important;
}

.home-v2-store-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--premium-shadow-floating) !important;
}

.home-v2-store-banner {
  border-radius: var(--premium-card-radius) var(--premium-card-radius) 0 0 !important;
  position: relative;
  overflow: hidden;
}

.home-v2-store-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
}

.home-v2-store-name {
  font-weight: 700 !important;
  color: var(--gray-800) !important;
  font-size: 0.875rem !important;
}

.home-v2-store-rating {
  color: var(--warning-color) !important;
  font-weight: 700 !important;
}

/* --- Premium Product Cards (Horizontal Scroll) --- */
.home-v2-product-card {
  border-radius: var(--premium-card-radius) !important;
  box-shadow: var(--premium-shadow-soft) !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  transition: all 0.4s var(--premium-transition) !important;
  overflow: hidden !important;
  background: var(--bg-primary) !important;
}

.home-v2-product-card:hover {
  transform: translateY(-4px) scale(1.01) !important;
  box-shadow: var(--premium-shadow-elevated) !important;
}

.home-v2-product-img img {
  transition: transform 0.5s var(--premium-transition) !important;
}

.home-v2-product-card:hover .home-v2-product-img img {
  transform: scale(1.06) !important;
}

.home-v2-product-name {
  font-weight: 700 !important;
  color: var(--gray-800) !important;
}

.home-v2-product-price {
  font-weight: 800 !important;
  color: var(--primary-color) !important;
  font-size: 0.9375rem !important;
}

.home-v2-add-btn {
  width: 38px !important;
  height: 38px !important;
  border-radius: 12px !important;
  background: var(--primary-gradient) !important;
  border: none !important;
  color: #fff !important;
  font-size: 1.25rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 12px rgba(0, 128, 128, 0.3) !important;
  transition: all 0.3s var(--premium-spring) !important;
  cursor: pointer;
}

.home-v2-add-btn:hover {
  transform: scale(1.12) rotate(90deg) !important;
  box-shadow: 0 6px 20px rgba(0, 128, 128, 0.4) !important;
}

.home-v2-add-btn:active {
  transform: scale(0.9) !important;
}

/* --- Premium Featured Product Cards (Grid) --- */
.store-product-card {
  border-radius: var(--premium-card-radius) !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  box-shadow: var(--premium-shadow-soft) !important;
  transition: all 0.4s var(--premium-transition) !important;
  overflow: hidden !important;
  background: var(--bg-primary) !important;
}

.store-product-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--premium-shadow-floating) !important;
  border-color: rgba(0, 128, 128, 0.1) !important;
}

.store-product-card .card-image-top {
  border-radius: var(--premium-card-radius) var(--premium-card-radius) 0 0 !important;
  overflow: hidden !important;
}

.store-product-card .product-card-img {
  transition: transform 0.6s var(--premium-transition) !important;
}

.store-product-card:hover .product-card-img {
  transform: scale(1.08) !important;
}

.store-product-card .favorite-btn {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: var(--premium-glass) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid var(--premium-glass-border) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s var(--premium-spring) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.store-product-card .favorite-btn:hover {
  background: rgba(244, 63, 94, 0.1) !important;
  color: var(--accent-color) !important;
  transform: scale(1.15) !important;
}

.store-product-card .sale-badge {
  border-radius: var(--radius-full) !important;
  padding: 0.3rem 0.75rem !important;
  font-size: 0.6875rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 2px 8px rgba(0, 128, 128, 0.3) !important;
}

.store-product-card .card-body {
  padding: 1rem 1rem 0.5rem !important;
}

.store-product-card .product-title {
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  color: var(--gray-800) !important;
  margin-bottom: 0.25rem !important;
  line-height: 1.3 !important;
}

.store-product-card .product-meta {
  font-size: 0.75rem !important;
  color: var(--gray-500) !important;
  margin-bottom: 0.375rem !important;
}

.store-product-card .product-price {
  font-weight: 800 !important;
  color: var(--primary-color) !important;
  font-size: 0.9375rem !important;
}

.store-product-card .card-footer {
  background: transparent !important;
  border-top: 1px solid rgba(0, 0, 0, 0.04) !important;
  padding: 0.75rem 1rem !important;
}

.store-product-card .add-to-cart-btn {
  width: 40px !important;
  height: 40px !important;
  border-radius: 13px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.125rem !important;
  background: var(--primary-gradient) !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(0, 128, 128, 0.3) !important;
  transition: all 0.3s var(--premium-spring) !important;
  margin-left: auto !important;
}

.store-product-card .add-to-cart-btn:hover {
  transform: scale(1.12) rotate(90deg) !important;
  box-shadow: 0 6px 24px rgba(0, 128, 128, 0.4) !important;
}

/* --- Premium Trust Badges --- */
.home-v2-trust-row {
  border-radius: var(--premium-card-radius) !important;
  background: var(--bg-primary) !important;
  box-shadow: var(--premium-shadow-soft) !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  padding: 1.25rem !important;
  gap: 1rem !important;
}

.home-v2-trust-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 13px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}

.home-v2-trust-title {
  font-weight: 700 !important;
  color: var(--gray-800) !important;
  font-size: 0.8125rem !important;
}

/* --- Premium CTA Banner --- */
.home-v2-cta-banner {
  border-radius: var(--premium-card-radius) !important;
  padding: 2.5rem 1.5rem !important;
  background: linear-gradient(155deg, #003d3d 0%, #006666 40%, #20b2aa 100%) !important;
  box-shadow: 0 12px 40px rgba(0, 128, 128, 0.25) !important;
  overflow: hidden !important;
  position: relative;
}

.home-v2-cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(93, 211, 158, 0.3) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.home-v2-cta-icon-wrap {
  width: 56px !important;
  height: 56px !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

.home-v2-cta-title {
  font-size: 1.375rem !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.home-v2-cta-btn {
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--primary-dark) !important;
  font-weight: 700 !important;
  border-radius: var(--radius-full) !important;
  padding: 0.75rem 1.5rem !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s var(--premium-spring) !important;
}

.home-v2-cta-btn:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
  background: #fff !important;
  color: var(--primary-dark) !important;
}

/* --- Premium Follow Banner --- */
.home-v2-follow-banner {
  border-radius: var(--premium-card-radius) !important;
  padding: 2rem 1.5rem !important;
  background: linear-gradient(155deg, #0f172a 0%, #1e293b 60%, #334155 100%) !important;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.3) !important;
}

.home-v2-follow-label {
  font-size: 0.6875rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  background: linear-gradient(135deg, #10b981, #5dd39e) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  padding: 0.25rem 0.75rem !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  border-radius: var(--radius-full) !important;
  display: inline-block !important;
  margin-bottom: 0.75rem !important;
}

.home-v2-follow-title {
  font-size: 1.375rem !important;
  font-weight: 800 !important;
  color: #fff !important;
}

.home-v2-follow-desc {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.875rem !important;
}

.home-v2-social-btn {
  border-radius: 14px !important;
  padding: 0.75rem 1rem !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  transition: all 0.3s var(--premium-transition) !important;
}

.home-v2-social-btn:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-2px) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

/* --- Premium Footer Nav --- */
.footer-nav {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06) !important;
}

.footer-nav .nav-link {
  transition: all 0.3s var(--premium-spring) !important;
  position: relative;
}

.footer-nav .nav-link.active {
  color: var(--primary-color) !important;
  transform: translateY(-2px) !important;
}

.footer-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
}

/* --- Premium Scroll Animations --- */
@keyframes premiumFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes premiumScaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.home-v2-section {
  animation: premiumFadeUp 0.5s var(--premium-smooth) both;
}

.home-v2-section:nth-child(1) { animation-delay: 0s; }
.home-v2-section:nth-child(2) { animation-delay: 0.05s; }
.home-v2-section:nth-child(3) { animation-delay: 0.1s; }
.home-v2-section:nth-child(4) { animation-delay: 0.15s; }
.home-v2-section:nth-child(5) { animation-delay: 0.2s; }
.home-v2-section:nth-child(6) { animation-delay: 0.25s; }
.home-v2-section:nth-child(7) { animation-delay: 0.3s; }
.home-v2-section:nth-child(8) { animation-delay: 0.35s; }

/* --- Hide Scrollbars for Scroll Areas --- */
.home-v2-products-scroll,
.home-v2-stores-scroll {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.home-v2-products-scroll::-webkit-scrollbar,
.home-v2-stores-scroll::-webkit-scrollbar {
  display: none !important;
}

/* =========================================
   RESPONSIVE DESIGN - ALL DEVICES
========================================= */

/* --- Extra Small (< 360px) - Small phones --- */
@media (max-width: 359px) {
  .hero-v2-title { font-size: 1.25rem !important; }
  .hero-v2-welcome { font-size: 0.8125rem !important; }
  .hero-v2-brand-name { font-size: 0.9375rem !important; }
  
  .hero-v2-quick-actions { gap: 0.5rem !important; }
  .hero-v2-action-card { padding: 0.875rem 0.25rem !important; border-radius: 16px !important; }
  .hero-v2-action-icon { width: 42px !important; height: 42px !important; font-size: 1.125rem !important; }
  .hero-v2-action-card > span { font-size: 0.6875rem !important; }
  
  .home-v2-section-title { font-size: 1rem !important; }
  .home-v2-cat-grid { gap: 0.625rem !important; }
  
  .store-product-card .card-body { padding: 0.75rem 0.75rem 0.375rem !important; }
  .store-product-card .product-title { font-size: 0.75rem !important; }
  .store-product-card .product-price { font-size: 0.8125rem !important; }
  
  .home-v2-cta-banner { padding: 1.75rem 1rem !important; }
  .home-v2-cta-title { font-size: 1.125rem !important; }
}

/* --- Small Phones (360px - 413px) --- */
@media (min-width: 360px) and (max-width: 413px) {
  .hero-v2-title { font-size: 1.375rem !important; }
  .hero-v2-quick-actions { gap: 0.625rem !important; }
  .hero-v2-action-card { padding: 1rem 0.375rem !important; }
  .hero-v2-action-icon { width: 46px !important; height: 46px !important; }
  
  .home-v2-product-card { flex: 0 0 155px !important; }
  .home-v2-store-card { flex: 0 0 160px !important; }
}

/* --- Standard Phones (414px - 575px) --- */
@media (min-width: 414px) and (max-width: 575px) {
  .hero-v2 { padding-bottom: 2.75rem !important; }
  .hero-v2-title { font-size: 1.5rem !important; }
  .hero-v2-quick-actions { gap: 0.75rem !important; }
  .hero-v2-action-card { padding: 1.125rem 0.5rem !important; }
  .hero-v2-action-icon { width: 50px !important; height: 50px !important; font-size: 1.3rem !important; }
  
  .home-v2-section-title { font-size: 1.125rem !important; }
  .home-v2-product-card { flex: 0 0 165px !important; }
  .home-v2-store-card { flex: 0 0 175px !important; }
}

/* --- Large Phones / Small Tablets (576px - 767px) --- */
@media (min-width: 576px) and (max-width: 767px) {
  .hero-v2 { padding-bottom: 3rem !important; }
  .hero-v2-title { font-size: 1.75rem !important; }
  .hero-v2-content { max-width: 540px; margin: 0 auto; }
  
  .hero-v2-quick-actions { gap: 1rem !important; }
  .hero-v2-action-card { padding: 1.25rem 0.625rem !important; border-radius: 22px !important; }
  .hero-v2-action-icon { width: 56px !important; height: 56px !important; font-size: 1.375rem !important; }
  .hero-v2-action-card > span { font-size: 0.875rem !important; }
  
  .home-v2-section-title { font-size: 1.25rem !important; }
  
  .home-v2-body .row.g-3 > .col-6 { flex: 0 0 33.333% !important; max-width: 33.333% !important; }
  
  .home-v2-product-card { flex: 0 0 185px !important; }
  .home-v2-store-card { flex: 0 0 200px !important; }
  
  .home-v2-trust-row { flex-direction: row !important; flex-wrap: nowrap !important; }
}

/* --- Tablets Portrait (768px - 991px) --- */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-v2 { 
    padding-bottom: 3.5rem !important; 
    min-height: 320px !important;
  }
  .hero-v2-header { padding: 1rem 0; }
  .hero-v2-title { font-size: 2rem !important; }
  .hero-v2-content { max-width: 680px; margin: 0 auto; }
  .hero-v2-search-inner { padding: 1rem 1.5rem !important; }
  
  .hero-v2-quick-actions { gap: 1.25rem !important; max-width: 560px; margin: 0 auto; }
  .hero-v2-action-card { padding: 1.5rem 0.75rem !important; border-radius: 24px !important; }
  .hero-v2-action-icon { width: 60px !important; height: 60px !important; font-size: 1.5rem !important; border-radius: 18px !important; }
  .hero-v2-action-card > span { font-size: 0.9375rem !important; }
  
  .home-v2-section { margin-bottom: 2.5rem !important; }
  .home-v2-section-title { font-size: 1.375rem !important; }
  
  .home-v2-cat-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)) !important;
    overflow-x: visible !important;
    gap: 1.25rem !important;
  }
  
  .home-v2-stores-scroll {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    overflow-x: visible !important;
    gap: 1rem !important;
  }
  
  .home-v2-body .row.g-3 > .col-6 { flex: 0 0 33.333% !important; max-width: 33.333% !important; }
  
  .home-v2-products-scroll {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    overflow-x: visible !important;
    gap: 1rem !important;
  }
  .home-v2-product-card { flex: unset !important; }
  
  .home-v2-trust-row { 
    display: grid !important; 
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 1rem !important; 
  }
  
  .home-v2-cta-banner { padding: 3rem 2rem !important; }
  .home-v2-cta-title { font-size: 1.625rem !important; }
}

/* --- Tablets Landscape / Small Laptops (992px - 1199px) --- */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero-v2 { 
    padding-bottom: 4rem !important; 
    min-height: 360px !important;
  }
  .hero-v2-title { font-size: 2.25rem !important; }
  .hero-v2-content { max-width: 800px; margin: 0 auto; }
  .hero-v2-search-inner { 
    padding: 1.125rem 1.75rem !important; 
    max-width: 600px; 
  }
  
  .hero-v2-quick-actions { 
    gap: 1.5rem !important; 
    max-width: 640px; 
    margin: 0 auto; 
  }
  .hero-v2-action-card { 
    padding: 1.75rem 1rem !important; 
    border-radius: 26px !important; 
  }
  .hero-v2-action-icon { 
    width: 64px !important; 
    height: 64px !important; 
    font-size: 1.625rem !important; 
    border-radius: 20px !important; 
  }
  .hero-v2-action-card > span { font-size: 0.9375rem !important; }
  
  .home-v2-section { margin-bottom: 3rem !important; }
  .home-v2-section-title { font-size: 1.5rem !important; }
  
  .home-v2-cat-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)) !important;
    overflow-x: visible !important;
    gap: 1.5rem !important;
  }
  
  .home-v2-stores-scroll {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    overflow-x: visible !important;
    gap: 1.25rem !important;
  }
  
  .home-v2-products-scroll {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    overflow-x: visible !important;
    gap: 1.25rem !important;
  }
  .home-v2-product-card { flex: unset !important; }
  
  .home-v2-body .row.g-3 > .col-6 { flex: 0 0 25% !important; max-width: 25% !important; }
  
  .home-v2-trust-row { 
    display: grid !important; 
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 1.25rem !important;
    padding: 1.5rem !important;
  }
  
  .home-v2-cta-banner { padding: 3.5rem 2.5rem !important; }
  .home-v2-cta-title { font-size: 1.75rem !important; }
  
  .container-fluid { max-width: 960px; margin: 0 auto; }
}

/* --- Desktop (1200px - 1599px) --- */
@media (min-width: 1200px) {
  .hero-v2 { 
    padding-bottom: 4.5rem !important; 
    min-height: 400px !important;
  }
  .hero-v2-title { font-size: 2.5rem !important; line-height: 1.15 !important; }
  .hero-v2-welcome { font-size: 1rem !important; }
  .hero-v2-content { max-width: 900px; margin: 0 auto; padding-top: 1.5rem !important; }
  .hero-v2-header { max-width: 1140px; margin: 0 auto; padding: 1.25rem 0; }
  .hero-v2-search-inner { 
    padding: 1.25rem 2rem !important; 
    max-width: 650px; 
    font-size: 1rem;
  }
  .hero-v2-icon-btn { width: 50px !important; height: 50px !important; font-size: 1.375rem !important; }
  .hero-v2-logo { width: 48px !important; height: 48px !important; }
  .hero-v2-brand-name { font-size: 1.25rem !important; }
  
  .hero-v2-quick-actions { 
    gap: 1.75rem !important; 
    max-width: 720px; 
    margin: 0 auto; 
  }
  .hero-v2-action-card { 
    padding: 2rem 1rem !important; 
    border-radius: 28px !important; 
  }
  .hero-v2-action-icon { 
    width: 68px !important; 
    height: 68px !important; 
    font-size: 1.75rem !important; 
    border-radius: 22px !important; 
  }
  .hero-v2-action-card > span { font-size: 1rem !important; font-weight: 700 !important; }
  
  .home-v2-section { margin-bottom: 3.5rem !important; }
  .home-v2-section-title { font-size: 1.625rem !important; }
  .home-v2-section-head { margin-bottom: 1.25rem !important; }
  
  .home-v2-cat-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)) !important;
    overflow-x: visible !important;
    gap: 1.75rem !important;
  }
  .home-v2-cat-icon { 
    width: 80px !important; 
    height: 80px !important; 
    border-radius: 22px !important; 
  }
  .home-v2-cat-name { font-size: 0.875rem !important; }
  
  .home-v2-stores-scroll {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    overflow-x: visible !important;
    gap: 1.5rem !important;
  }
  .home-v2-store-card { flex: unset !important; max-width: unset !important; }
  .home-v2-store-banner { height: 100px !important; }
  
  .home-v2-products-scroll {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    overflow-x: visible !important;
    gap: 1.5rem !important;
  }
  .home-v2-product-card { flex: unset !important; }
  .home-v2-product-img img,
  .home-v2-product-placeholder { height: 160px !important; }
  
  .home-v2-body .row.g-3 > .col-6 { flex: 0 0 25% !important; max-width: 25% !important; }
  
  .home-v2-trust-row { 
    display: grid !important; 
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 1.5rem !important;
    padding: 1.75rem !important;
  }
  
  .home-v2-cta-banner { padding: 4rem 3rem !important; }
  .home-v2-cta-title { font-size: 2rem !important; }
  .home-v2-cta-desc { font-size: 1rem !important; max-width: 500px; margin-left: auto; margin-right: auto; }
  
  .home-v2-follow-banner { padding: 2.5rem 2rem !important; }
  .home-v2-follow-title { font-size: 1.5rem !important; }
  
  .container-fluid { max-width: 1140px; margin: 0 auto; }
  
  .footer-nav { display: none !important; }
  body { padding-bottom: 0 !important; }
}

/* --- Large Desktop (1600px - 1919px) --- */
@media (min-width: 1600px) {
  .hero-v2 { min-height: 440px !important; padding-bottom: 5rem !important; }
  .hero-v2-title { font-size: 2.75rem !important; }
  .hero-v2-content { max-width: 1000px; padding-top: 2rem !important; }
  .hero-v2-header { max-width: 1320px; }
  
  .hero-v2-quick-actions { max-width: 820px; gap: 2rem !important; }
  .hero-v2-action-card { padding: 2.25rem 1.25rem !important; }
  .hero-v2-action-icon { width: 72px !important; height: 72px !important; font-size: 1.875rem !important; }
  
  .home-v2-section-title { font-size: 1.75rem !important; }
  
  .home-v2-stores-scroll { grid-template-columns: repeat(4, 1fr) !important; }
  .home-v2-products-scroll { grid-template-columns: repeat(5, 1fr) !important; }
  .home-v2-body .row.g-3 > .col-6 { flex: 0 0 20% !important; max-width: 20% !important; }
  
  .container-fluid { max-width: 1400px; }
}

/* --- Ultra-Wide (1920px+) --- */
@media (min-width: 1920px) {
  .hero-v2 { min-height: 480px !important; padding-bottom: 5.5rem !important; }
  .hero-v2-title { font-size: 3rem !important; }
  .hero-v2-content { max-width: 1100px; }
  .hero-v2-header { max-width: 1600px; }
  .hero-v2-search-inner { max-width: 720px; padding: 1.375rem 2.25rem !important; }
  
  .hero-v2-quick-actions { max-width: 920px; gap: 2.25rem !important; }
  .hero-v2-action-card { padding: 2.5rem 1.5rem !important; border-radius: 32px !important; }
  .hero-v2-action-icon { width: 80px !important; height: 80px !important; font-size: 2rem !important; border-radius: 24px !important; }
  .hero-v2-action-card > span { font-size: 1.0625rem !important; }
  
  .home-v2-section { margin-bottom: 4rem !important; }
  .home-v2-section-title { font-size: 2rem !important; }
  
  .home-v2-stores-scroll { grid-template-columns: repeat(5, 1fr) !important; gap: 1.75rem !important; }
  .home-v2-products-scroll { grid-template-columns: repeat(6, 1fr) !important; gap: 1.75rem !important; }
  .home-v2-body .row.g-3 > .col-6 { flex: 0 0 16.666% !important; max-width: 16.666% !important; }
  
  .home-v2-cat-grid { gap: 2rem !important; }
  .home-v2-cat-icon { width: 90px !important; height: 90px !important; border-radius: 26px !important; }
  
  .container-fluid { max-width: 1700px; }
}

/* =========================================
   ACCESSIBILITY & MOTION PREFERENCES
========================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero-v2-glow { display: none !important; }
  .home-v2-section { animation: none !important; opacity: 1 !important; }
}

/* --- Focus Visible States --- */
:focus-visible {
  outline: 3px solid var(--primary-light) !important;
  outline-offset: 3px !important;
  border-radius: 4px;
}

.hero-v2-icon-btn:focus-visible,
.hero-v2-action-card:focus-visible,
.home-v2-store-card:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.8) !important;
  outline-offset: 3px !important;
}

/* =========================================
   DARK MODE ENHANCEMENTS
========================================= */
@media (prefers-color-scheme: dark) {
  :root {
    --premium-glass: rgba(30, 41, 59, 0.8);
    --premium-glass-border: rgba(255, 255, 255, 0.08);
  }
  
  body, .homepage-body {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%) !important;
  }
  
  .hero-v2::after {
    background: linear-gradient(180deg, #1a2332, #0f172a) !important;
  }
  
  .hero-v2-action-card {
    background: rgba(30, 41, 59, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
  }
  .hero-v2-action-card > span { color: rgba(255, 255, 255, 0.8) !important; }
  
  .home-v2-section-title { color: #f1f5f9 !important; }
  .home-v2-section-link { 
    background: rgba(0, 128, 128, 0.15) !important; 
    color: #5dd39e !important; 
  }
  
  .home-v2-product-card,
  .home-v2-store-card,
  .store-product-card {
    background: rgba(30, 41, 59, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
  }
  
  .home-v2-product-name,
  .home-v2-store-name,
  .store-product-card .product-title { color: #f1f5f9 !important; }
  
  .home-v2-trust-row {
    background: rgba(30, 41, 59, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
  }
  .home-v2-trust-title { color: #f1f5f9 !important; }
  
  .home-v2-cat-name { color: rgba(255, 255, 255, 0.8) !important; }
  
  .footer-nav {
    background: rgba(15, 23, 42, 0.92) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
  }
  
  .hero-v2-search-inner {
    background: rgba(30, 41, 59, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
  }
  .hero-v2-search-inner span { color: rgba(255, 255, 255, 0.5) !important; }
  
  .store-product-card .card-footer { border-color: rgba(255, 255, 255, 0.06) !important; }
}

/* =========================================
   TOUCH DEVICE OPTIMIZATIONS
========================================= */
@media (hover: none) and (pointer: coarse) {
  .hero-v2-action-card:active {
    transform: scale(0.94) !important;
    transition-duration: 0.08s !important;
  }
  
  .home-v2-product-card:active,
  .home-v2-store-card:active,
  .store-product-card:active {
    transform: scale(0.97) !important;
    transition-duration: 0.08s !important;
  }
  
  .home-v2-add-btn:active,
  .store-product-card .add-to-cart-btn:active {
    transform: scale(0.88) !important;
  }
  
  .home-v2-cat-item:active {
    transform: scale(0.92) !important;
  }
}

/* =========================================
   LANDSCAPE PHONE OPTIMIZATION
========================================= */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-v2 { 
    min-height: unset !important; 
    padding-bottom: 1.5rem !important; 
  }
  .hero-v2-greeting { margin-bottom: 0.5rem !important; }
  .hero-v2-title { font-size: 1.25rem !important; }
  .hero-v2-content { padding-top: 0.375rem !important; }
  .hero-v2-search { margin-bottom: 0.5rem !important; }
  
  .hero-v2-quick-actions { gap: 0.75rem !important; }
  .hero-v2-action-card { padding: 0.75rem 0.5rem !important; }
  .hero-v2-action-icon { width: 40px !important; height: 40px !important; }
}

/* =========================================
   PRINT STYLES
========================================= */
@media print {
  .hero-v2 { background: #008080 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .footer-nav { display: none !important; }
  .hero-v2-glow { display: none !important; }
  body { padding-bottom: 0 !important; }
}

/* =========================================
   UX-FRIENDLY ENHANCEMENTS
   Better interactions, feedback, navigation,
   and user-centric improvements
========================================= */

/* --- Scroll-to-Top Button --- */
.scroll-to-top-btn {
  position: fixed;
  bottom: calc(var(--footer-height, 64px) + 16px);
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  color: var(--primary-color);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-to-top-btn:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 24px rgba(0, 128, 128, 0.3);
}

.scroll-to-top-btn:active {
  transform: scale(0.9);
}

@media (min-width: 1200px) {
  .scroll-to-top-btn {
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
  }
}

/* --- Navigation Progress Bar --- */
.nav-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-gradient);
  z-index: 99999;
  transition: width 0.1s ease;
  border-radius: 0 2px 2px 0;
}

.nav-progress-bar.loading {
  width: 85%;
  transition: width 8s cubic-bezier(0.1, 0.05, 0, 1);
}

.nav-progress-bar.loading::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: progressShimmer 1.5s ease-in-out infinite;
}

@keyframes progressShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* --- Premium Toast Notifications --- */
.toast-container {
  position: fixed !important;
  top: env(safe-area-inset-top, 12px);
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 100000 !important;
  width: auto !important;
  max-width: calc(100vw - 32px) !important;
  bottom: unset !important;
  right: unset !important;
}

.premium-toast {
  min-width: 280px;
  max-width: 400px;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: toastSlideDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes toastSlideDown {
  from { opacity: 0; transform: translateY(-20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.premium-toast.toast-success {
  background: rgba(16, 185, 129, 0.95) !important;
}
.premium-toast.toast-error {
  background: rgba(239, 68, 68, 0.95) !important;
}
.premium-toast.toast-warning {
  background: rgba(245, 158, 11, 0.95) !important;
}
.premium-toast.toast-info {
  background: rgba(59, 130, 246, 0.95) !important;
}

.toast-body-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  color: #fff;
}

.toast-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.toast-msg {
  flex-grow: 1;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.toast-close-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.toast-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* --- Add-to-Cart Button States --- */
.cart-btn-adding {
  animation: cartBtnPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.cart-btn-success {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4) !important;
}

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

/* --- Fly-to-Cart Dot --- */
.fly-to-cart-dot {
  position: fixed;
  width: 14px;
  height: 14px;
  background: var(--primary-gradient);
  border-radius: 50%;
  z-index: 100001;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 128, 128, 0.5);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Search Bar UX Enhancement --- */
.hero-v2-search-inner.search-hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

.hero-v2-search::after {
  content: "Ctrl+K";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--gray-400);
  background: var(--gray-100);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--gray-200);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

@media (min-width: 992px) {
  .hero-v2-search {
    position: relative;
  }
  .hero-v2-search:hover::after {
    opacity: 1;
  }
}

@media (max-width: 991px) {
  .hero-v2-search::after {
    display: none;
  }
}

/* --- Improved Touch Targets --- */
.home-v2-section-link {
  min-height: 36px !important;
  min-width: 72px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.home-v2-add-btn,
.store-product-card .add-to-cart-btn {
  min-width: 44px !important;
  min-height: 44px !important;
}

/* --- Better Footer Nav Interaction --- */
.footer-nav a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  min-width: 56px;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-nav a:active {
  transform: scale(0.9);
}

.footer-nav a.active i {
  transform: scale(1.15);
}

/* --- Loading Overlay Enhancement --- */
.spinner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 99999;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 128, 128, 0.15);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spinSmooth 0.8s linear infinite;
}

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

/* --- Empty State Styling --- */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--gray-400);
}

.empty-state-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.empty-state-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  max-width: 300px;
  margin: 0 auto 1.5rem;
}

/* --- Skeleton Loading Placeholder --- */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
  border-radius: 8px;
}

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

/* --- Pull-to-Refresh Indicator --- */
.ptr-indicator {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: transform 0.3s;
}

.ptr-indicator.active {
  transform: translateX(-50%) translateY(20px);
}

/* --- Better Alert/Flash Messages --- */
#flashMessages .alert {
  border-radius: 14px;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  font-weight: 500;
  padding: 0.875rem 1.25rem;
}

/* --- Smooth Image Loading --- */
img {
  transition: opacity 0.3s ease;
}

img[loading="lazy"] {
  opacity: 0;
}

img[loading="lazy"].loaded,
img[loading="lazy"][src] {
  opacity: 1;
}

/* --- Better Hover States for Cards --- */
@media (hover: hover) {
  .home-v2-product-card,
  .home-v2-store-card,
  .store-product-card,
  .hero-v2-action-card {
    cursor: pointer;
  }
}

/* --- Improved Offcanvas/Sidebar --- */
.offcanvas {
  border: none !important;
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.2) !important;
}

.offcanvas-start {
  width: min(320px, 85vw) !important;
}

/* --- Active Item Indicator for Nav --- */
.footer-nav a.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 0 0 4px 4px;
}

/* =====================================================
   PREMIUM HOMEPAGE BEAUTIFICATION OVERRIDES (v3.0)
   ===================================================== */

/* --- Stunning Hero Section --- */
.hero-v2 {
  background: linear-gradient(135deg, rgba(0, 51, 51, 0.9) 0%, rgba(0, 77, 77, 0.85) 40%, rgba(0, 128, 128, 0.8) 75%, rgba(20, 184, 166, 0.7) 100%), url('https://images.unsplash.com/photo-1528127269322-539801943592?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat !important;
  position: relative;
}

/* Add a beautiful decorative traditional-style pattern overlay to the hero */
.hero-v2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 0), radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 0);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}

/* Make hero content float above the pattern */
.hero-v2-header, .hero-v2-content {
  position: relative;
  z-index: 2;
}

/* Glassmorphism search bar */
.hero-v2-search-inner {
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.hero-v2-search-inner:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25) !important;
  transform: translateY(-2px);
}

/* --- Ultra-Premium Quick Actions --- */
.hero-v2-action-card {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.hero-v2-action-card:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-6px) !important;
}

.hero-v2-action-icon {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s ease !important;
  position: relative;
  overflow: hidden;
}

.hero-v2-action-card:hover .hero-v2-action-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2) !important;
}

/* --- Premium Category Section --- */
.home-v2-cat-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.home-v2-cat-icon {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 1px solid rgba(0, 0, 0, 0.03) !important;
}

.home-v2-cat-item:hover .home-v2-cat-icon {
  transform: scale(1.1) translateY(-4px) rotate(3deg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12) !important;
}

.home-v2-cat-name {
  font-weight: 600 !important;
  transition: color 0.3s ease !important;
}

/* --- Beautiful Product Cards & Store Cards --- */
.home-v2-product-card {
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.home-v2-product-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12) !important;
  border-color: rgba(0, 128, 128, 0.15) !important;
}

/* Premium Add to Cart Button on Cards */
.home-v2-add-btn {
  background: var(--primary-gradient) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(0, 128, 128, 0.3) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.home-v2-add-btn:hover {
  transform: scale(1.15) !important;
  box-shadow: 0 6px 18px rgba(0, 128, 128, 0.45) !important;
}

/* Store Cards Beautification */
.home-v2-store-card {
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.home-v2-store-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12) !important;
  border-color: rgba(0, 128, 128, 0.15) !important;
}

/* --- Gorgeous Trust Badges --- */
.home-v2-trust-row {
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-radius: 24px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03) !important;
}

.home-v2-trust-item {
  transition: all 0.3s ease !important;
}

.home-v2-trust-item:hover {
  transform: translateY(-3px);
}

.home-v2-trust-icon {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
}

.home-v2-trust-item:hover .home-v2-trust-icon {
  transform: scale(1.1) rotate(5deg);
}

/* --- Beautiful Banners --- */
.hero-v2-promo-card {
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15) !important;
  position: relative;
  overflow: hidden;
}

.hero-v2-promo-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%), url('https://images.unsplash.com/photo-1606787366850-de6330128bfc?auto=format&fit=crop&w=800&q=80') center/cover no-repeat !important;
  z-index: 1;
}

.home-v2-cta-banner {
  background: linear-gradient(135deg, rgba(0, 77, 77, 0.85) 0%, rgba(0, 51, 51, 0.95) 100%), url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?auto=format&fit=crop&w=800&q=80') center/cover no-repeat !important;
  box-shadow: 0 12px 36px rgba(0, 77, 77, 0.25) !important;
}

.home-v2-follow-banner {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.85) 0%, rgba(3, 105, 161, 0.95) 100%), url('https://images.unsplash.com/photo-1511556532299-8f662fc26c06?auto=format&fit=crop&w=800&q=80') center/cover no-repeat !important;
  box-shadow: 0 12px 36px rgba(2, 132, 199, 0.25) !important;
}

.home-v2-social-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.home-v2-social-btn:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

/* --- Larger Category Icons & Layout Across All Devices --- */
/* =============================================
   FINAL CATEGORY & QUICK ACTION OVERRIDES
   ============================================= */

/* ===== QUICK ACTION IMAGE STYLES ===== */
.hero-v2-action-icon {
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hero-v2-action-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: inherit !important;
  z-index: 1 !important;
}

.hero-v2-action-icon i {
  position: relative !important;
  z-index: 2 !important;
  font-size: 1.5rem !important;
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

/* ===== CATEGORY GRID - UNIFORM LAYOUT ===== */
.home-v2-cat-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  grid-template-rows: auto !important;
  grid-auto-flow: row !important;
  overflow-x: visible !important;
  justify-items: center !important;
  gap: 1rem 0.5rem !important;
  padding: 0.5rem 0 !important;
}

.home-v2-cat-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-decoration: none !important;
  width: auto !important;
  max-width: 100% !important;
  gap: 0.5rem !important;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.home-v2-cat-item:hover {
  transform: translateY(-4px) !important;
}

.home-v2-cat-icon {
  width: 72px !important;
  height: 72px !important;
  aspect-ratio: 1 / 1 !important;
  flex-shrink: 0 !important;
  border-radius: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  border: 1.5px solid rgba(0, 0, 0, 0.04) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.home-v2-cat-item:hover .home-v2-cat-icon {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
  transform: scale(1.05) !important;
}

.home-v2-cat-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: inherit !important;
}

.home-v2-cat-name {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  text-align: center !important;
  line-height: 1.3 !important;
  color: var(--gray-700, #374151) !important;
  max-width: 80px !important;
  word-wrap: break-word !important;
}

/* Mobile Small (< 375px) */
@media (max-width: 374px) {
  .home-v2-cat-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.75rem 0.25rem !important;
  }
  .home-v2-cat-icon {
    width: 60px !important;
    height: 60px !important;
    border-radius: 16px !important;
  }
  .home-v2-cat-name {
    font-size: 0.6875rem !important;
    max-width: 70px !important;
  }
}

/* Mobile (375px - 575px) */
@media (min-width: 375px) and (max-width: 575px) {
  .home-v2-cat-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1rem 0.5rem !important;
  }
  .home-v2-cat-icon {
    width: 68px !important;
    height: 68px !important;
    border-radius: 18px !important;
  }
  .home-v2-cat-name {
    font-size: 0.75rem !important;
  }
}

/* Tablet (576px - 991px) */
@media (min-width: 576px) and (max-width: 991px) {
  .home-v2-cat-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)) !important;
    gap: 1.25rem 1rem !important;
  }
  .home-v2-cat-icon {
    width: 80px !important;
    height: 80px !important;
    border-radius: 22px !important;
  }
  .home-v2-cat-name {
    font-size: 0.8125rem !important;
    max-width: 100px !important;
  }
}

/* Desktop (992px+) */
@media (min-width: 992px) {
  .home-v2-cat-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)) !important;
    gap: 1.5rem 1.25rem !important;
  }
  .home-v2-cat-icon {
    width: 90px !important;
    height: 90px !important;
    border-radius: 24px !important;
  }
  .home-v2-cat-name {
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    max-width: 120px !important;
  }
}

/* =============================================
   LOGIN / AUTH PAGE - FULL UX REDESIGN
   ============================================= */

/* Body-wrap on auth pages: center everything */
.auth-body .body-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh !important;
  max-width: 100% !important;
  padding: 1rem !important;
  background: transparent !important;
}

.auth-body .body-wrap > main {
  width: 100% !important;
  max-width: 420px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* Flash messages on auth pages - match form width */
.auth-body #flashMessages {
  width: 100% !important;
  max-width: 400px !important;
  padding: 0 0 0.75rem 0 !important;
}

.auth-body #flashMessages .alert {
  border-radius: 12px !important;
  font-size: 0.875rem !important;
  padding: 0.75rem 1rem !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

/* Auth wrapper - centered card */
.auth-wrapper {
  width: 100% !important;
  max-width: 400px !important;
  margin: 0 auto !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12) !important;
  min-height: auto !important;
}

.auth-header {
  padding: 1.5rem 1.5rem 2.25rem !important;
  flex-shrink: 0 !important;
}

.auth-header .d-flex.justify-content-between {
  margin-bottom: 0.5rem !important;
}

.auth-illustration {
  width: 60px !important;
  height: 60px !important;
  margin: 0 auto 0.5rem !important;
}

.auth-illustration img {
  width: 60px !important;
  height: 60px !important;
  border-radius: 14px !important;
}

.auth-header h2 {
  font-size: 1.375rem !important;
  margin-bottom: 0.125rem !important;
}

.auth-header p {
  font-size: 0.8125rem !important;
}

.auth-content {
  padding: 1.5rem 1.5rem !important;
  flex-grow: 0 !important;
  border-radius: 0 !important;
  margin-top: -1.5rem !important;
  box-shadow: none !important;
}

.auth-content .nav-pills {
  margin-bottom: 1rem !important;
}

.auth-content .form-floating {
  margin-bottom: 0.75rem !important;
}

.auth-content .position-relative.mb-3 {
  margin-bottom: 0.75rem !important;
}

.auth-content .mb-3 {
  margin-bottom: 0.75rem !important;
}

.auth-content .mb-4 {
  margin-bottom: 1rem !important;
}

.auth-content .my-4 {
  margin-top: 0.75rem !important;
  margin-bottom: 0.75rem !important;
}

.auth-content .btn-lg {
  padding: 0.75rem 1.5rem !important;
  font-size: 0.9375rem !important;
  border-radius: 12px !important;
}

.auth-content .btn-social {
  padding: 0.65rem 1rem !important;
  border-radius: 12px !important;
  font-size: 0.875rem !important;
  border: 1.5px solid var(--gray-200, #e5e7eb) !important;
  background: #fff !important;
  transition: all 0.2s ease !important;
}

.auth-content .btn-social:hover {
  border-color: var(--primary-color, #008080) !important;
  box-shadow: 0 4px 12px rgba(0, 128, 128, 0.1) !important;
}

.auth-content .d-grid.gap-2 {
  gap: 0.625rem !important;
}

.auth-content .oauth-info {
  margin-bottom: 0.75rem !important;
}

/* Glass buttons in header */
.auth-header .btn-icon.glass-premium {
  width: 38px !important;
  height: 38px !important;
  border-radius: 12px !important;
}

/* Desktop - larger card with breathing room */
@media (min-width: 768px) {
  .auth-body .body-wrap {
    padding: 2rem !important;
  }

  .auth-wrapper {
    max-width: 420px !important;
  }

  .auth-header {
    padding: 1.75rem 2rem 2.5rem !important;
  }

  .auth-content {
    padding: 1.75rem 2rem 2rem !important;
  }

  .auth-content .form-control {
    padding: 0.875rem 1rem !important;
    font-size: 0.9375rem !important;
  }
}

/* Small mobile - tighter */
@media (max-width: 374px) {
  .auth-body .body-wrap {
    padding: 0.5rem !important;
  }

  .auth-wrapper {
    border-radius: 20px !important;
  }

  .auth-header {
    padding: 1.25rem 1.25rem 2rem !important;
  }

  .auth-illustration {
    width: 48px !important;
    height: 48px !important;
  }

  .auth-illustration img {
    width: 48px !important;
    height: 48px !important;
  }

  .auth-header h2 {
    font-size: 1.125rem !important;
  }

  .auth-content {
    padding: 1.25rem 1.25rem !important;
  }
}
