/* ==========================================================================
   Balai3D - Marketplace Model & File 3D Blender
   Theme: Minimalist White (Clean, Modern, High-End Studio Aesthetic)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;600&display=swap');

:root {
  /* Color Palette - Minimalist White & Sleek Slate */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --bg-card: #FFFFFF;
  
  --border-light: #E2E8F0;
  --border-subtle: #CBD5E1;
  --border-focus: #EA580C;

  /* Typography Colors */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-inverse: #FFFFFF;

  /* Brand Colors - Blender Orange & Electric Tech Accent */
  --blender-orange: #EA580C;
  --blender-orange-hover: #C2410C;
  --blender-orange-light: #FFF7ED;
  --blender-orange-border: #FFEDD5;

  --accent-indigo: #4F46E5;
  --accent-indigo-light: #EEF2FF;
  --accent-indigo-border: #E0E7FF;

  --accent-cyan: #0891B2;
  --accent-cyan-light: #ECFEFF;

  --success: #10B981;
  --success-light: #ECFDF5;
  --warning: #F59E0B;
  --warning-light: #FFFBEB;
  --danger: #EF4444;
  --danger-light: #FEF2F2;

  /* Shadows & Elevation */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 32px -4px rgba(15, 23, 42, 0.1), 0 8px 16px -4px rgba(15, 23, 42, 0.06);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography Utilities */
.heading-xl {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.heading-lg {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.heading-md {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.heading-sm {
  font-size: 1.125rem;
  font-weight: 600;
}

.text-gradient-orange {
  background: linear-gradient(135deg, #EA580C 0%, #FB923C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.4rem 0.875rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-primary {
  background-color: var(--blender-orange);
  color: var(--text-inverse);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}

.btn-primary:hover {
  background-color: var(--blender-orange-hover);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--border-subtle);
  transform: translateY(-1px);
}

.btn-dark {
  background-color: var(--text-primary);
  color: var(--text-inverse);
}

.btn-dark:hover {
  background-color: #1E293B;
  transform: translateY(-1px);
}

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

.btn-outline-orange:hover {
  background: var(--blender-orange-light);
}

/* Badges & Tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.badge-blender {
  background-color: var(--blender-orange-light);
  color: var(--blender-orange);
  border: 1px solid var(--blender-orange-border);
}

.badge-cycles {
  background-color: var(--accent-indigo-light);
  color: var(--accent-indigo);
  border: 1px solid var(--accent-indigo-border);
}

.badge-free {
  background-color: var(--success-light);
  color: var(--success);
  border: 1px solid #A7F3D0;
}

.badge-geonodes {
  background-color: #FAF5FF;
  color: #9333EA;
  border: 1px solid #F3E8FF;
}

.badge-gray {
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

/* Header & Navbar (Full Width Screen) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 1px 3px 0 rgba(15, 23, 42, 0.02);
  transition: all 0.3s ease;
}

/* Full Screen Balanced Header Container */
.header-container {
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(2rem, 4.5vw, 5rem);
  padding-right: clamp(2rem, 4.5vw, 5rem);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 2rem;
  width: 100%;
  position: relative;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.04));
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover .navbar-logo-img {
  transform: scale(1.04) translateY(-1px);
  filter: drop-shadow(0 4px 12px rgba(234, 88, 12, 0.22));
}

.brand-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #EA580C 0%, #F97316 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
  transition: all 0.25s ease;
}

.brand-logo:hover .brand-logo-icon {
  transform: scale(1.06) rotate(3deg);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.45);
}

.nav-search {
  flex: 1;
  max-width: 420px;
  position: relative;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.55rem 1.15rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-input-wrapper:hover {
  background: #FFFFFF;
  border-color: var(--border-subtle);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.search-input-wrapper:focus-within {
  background: #FFFFFF;
  border-color: var(--blender-orange);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.12), 0 4px 12px rgba(234, 88, 12, 0.08);
  transform: scale(1.01);
}

.search-input {
  border: none;
  background: transparent;
  width: 100%;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  outline: none;
  margin-left: 0.5rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0.35rem 0.5rem;
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-full);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
}

/* Dynamic Cursor Hover & Touch Feedback */
.nav-link:hover {
  color: var(--blender-orange);
  background: #FFFFFF;
  border-color: rgba(234, 88, 12, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px -1px rgba(234, 88, 12, 0.16), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
}

/* Click Active Spring Animation */
.nav-link:active {
  transform: translateY(0) scale(0.96);
  box-shadow: 0 1px 3px rgba(234, 88, 12, 0.1);
}

/* Currently Active Route */
.nav-link.active {
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #EA580C 0%, #F97316 100%) !important;
  border-color: transparent !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

.nav-link.active:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45);
}

/* Special Pre-Order 3D Link Highlight */
.nav-link.nav-link-special {
  color: var(--blender-orange);
  background: rgba(234, 88, 12, 0.1);
  border-color: rgba(234, 88, 12, 0.25);
  font-weight: 700;
}

.nav-link.nav-link-special:hover {
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #EA580C 0%, #F97316 100%) !important;
  border-color: transparent !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.4);
}

/* Navbar Dropdown Menu */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 225px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12), 0 4px 10px rgba(15, 23, 42, 0.04);
  padding: 0.5rem;
  list-style: none;
  margin: 0;
  display: none;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #FFFFFF;
  border-left: 1.5px solid var(--border-light);
  border-top: 1.5px solid var(--border-light);
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.nav-dropdown-item:hover {
  background: var(--bg-secondary);
  color: var(--blender-orange);
  transform: translateX(3px);
}

.nav-dropdown-item.active {
  background: rgba(234, 88, 12, 0.08);
  color: var(--blender-orange);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.desktop-user-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.desktop-user-actions .btn {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.desktop-user-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.cart-btn-indicator {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: var(--bg-primary);
  border: 1.5px solid var(--border-light);
  color: var(--text-primary);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.cart-btn-indicator:hover {
  background: var(--blender-orange-light);
  border-color: var(--blender-orange-border);
  color: var(--blender-orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.2);
}

.cart-btn-indicator:active {
  transform: translateY(0) scale(0.94);
}

.cart-badge-count {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--blender-orange);
  color: white;
  font-size: 0.725rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.4);
  border: 2px solid #FFFFFF;
  transition: transform 0.25s ease;
}

.cart-btn-indicator:hover .cart-badge-count {
  transform: scale(1.15);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  background: var(--bg-secondary);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  outline: none;
  flex-shrink: 0;
}

.mobile-menu-toggle:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-subtle);
  color: var(--blender-orange);
  transform: scale(1.04);
}

.mobile-menu-toggle:active {
  transform: scale(0.95);
}

/* Mobile Nav Drawer Dropdown */
.mobile-nav-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.15);
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  z-index: 55;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.mobile-nav-content {
  padding: 1.25rem 1rem 2rem;
}

.mobile-search-form {
  margin-bottom: 1.25rem;
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0 0 1.5rem 0;
  padding: 0;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid transparent;
}

.mobile-menu-link:hover, .mobile-menu-link.active {
  background: var(--bg-secondary);
  color: var(--blender-orange);
  border-color: var(--border-light);
}

.mobile-user-section {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.mobile-user-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.mobile-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border-light);
}

.mobile-user-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.5rem;
}

/* Mobile Nav Backdrop */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  top: 72px;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 48;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Specific Index Page Fixed Background Cover */
body.page-index-fixed-bg {
  background-image: 
    linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(248, 250, 252, 0.90) 500px, rgba(255, 255, 255, 0.95) 100%),
    url('../images/banner-locomotives-blender.jpg');
  background-attachment: fixed;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}

body.page-index-fixed-bg .site-header {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.page-index-fixed-bg .hero-section {
  background: transparent;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

body.page-index-fixed-bg .hero-3d-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.15);
}

body.page-index-fixed-bg .category-section {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.page-index-fixed-bg .category-card-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

body.page-index-fixed-bg .category-card-item:hover {
  background: #FFFFFF;
}

body.page-index-fixed-bg .product-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

/* Parallax Background Reveal Spacer (Jarak Kosong Penampil Background) */
.parallax-view-gap {
  width: 100%;
  height: 320px;
  position: relative;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 12px 28px -10px rgba(0, 0, 0, 0.18), inset 0 -12px 28px -10px rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(226, 232, 240, 0.6);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.parallax-view-pill {
  background: rgba(15, 23, 42, 0.80);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .parallax-view-gap {
    height: 220px;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at 80% 20%, rgba(234, 88, 12, 0.04) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(79, 70, 229, 0.03) 0%, transparent 40%),
              var(--bg-primary);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blender-orange-light);
  border: 1px solid var(--blender-orange-border);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--blender-orange);
  margin-bottom: 1.25rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.stat-item h4 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.stat-item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.35rem;
}

/* 3D Showcase Card in Hero */
.hero-3d-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl);
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.hero-viewport-wrapper {
  position: relative;
  height: 380px;
  background: radial-gradient(circle at 50% 40%, #FFFFFF 0%, #F1F5F9 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.hero-viewport-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.hero-viewport-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Categories Pills Bar */
.category-pills-bar {
  padding: 1.25rem 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
  white-space: nowrap;
}

.category-pills-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.category-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: pointer;
}

.category-pill-btn:hover, .category-pill-btn.active {
  background: var(--text-primary);
  color: var(--text-inverse);
  border-color: var(--text-primary);
}

/* Product Cards Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.product-card-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-tertiary);
  overflow: hidden;
}

.product-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card-thumb img {
  transform: scale(1.04);
}

.product-card-3d-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-light);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.product-card-actions-overlay {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  z-index: 5;
  display: flex;
  gap: 0.4rem;
  opacity: 0;
  transform: translateY(6px);
  transition: var(--transition);
}

.product-card:hover .product-card-actions-overlay {
  opacity: 1;
  transform: translateY(0);
}

.action-icon-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
}

.action-icon-btn:hover {
  background: var(--blender-orange);
  color: white;
  border-color: var(--blender-orange);
}

.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.product-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-title a:hover {
  color: var(--blender-orange);
}

.product-card-seller {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.seller-avatar-mini {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.product-card-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.price-original {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-current {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-primary);
}

.price-current.free {
  color: var(--success);
}

/* Pagination System */
.pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 40px;
  height: 40px;
  padding: 0 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  user-select: none;
  box-shadow: var(--shadow-sm);
}

.pagination-btn:hover:not(.disabled):not(.active) {
  color: var(--blender-orange);
  border-color: var(--blender-orange);
  background: var(--blender-orange-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.pagination-btn.active {
  color: #ffffff;
  background: var(--blender-orange);
  border-color: var(--blender-orange);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.28);
  font-weight: 700;
  cursor: default;
}

.pagination-btn.disabled {
  color: var(--text-muted);
  background: var(--bg-secondary);
  border-color: var(--border-light);
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
}

.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 40px;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 1rem;
}

/* Category Grid Cards (Homepage Grid) */
.category-section {
  padding: 3.5rem 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-light);
}

.category-grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.category-card-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
}

.category-card-item:hover {
  background: #FFFFFF;
  border-color: var(--blender-orange-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.category-card-img-wrapper {
  width: 100%;
  height: 150px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1rem;
  padding: 0.5rem;
  transition: var(--transition);
}

.category-card-item:hover .category-card-img-wrapper {
  border-color: var(--blender-orange-border);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.15);
}

.category-card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.category-card-item:hover .category-card-img {
  transform: scale(1.06);
}

.category-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--blender-orange-light);
  border: 1px solid var(--blender-orange-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blender-orange);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.category-card-item:hover .category-card-icon {
  background: var(--blender-orange);
  color: #FFFFFF;
}

.category-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-card-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Render Gallery & Viewport Component */
.render-gallery-container {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.main-render-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: radial-gradient(circle at 50% 40%, #FFFFFF 0%, #F1F5F9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.main-render-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.render-badge-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.gallery-thumbs-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--bg-secondary);
  overflow-x: auto;
}

.gallery-thumb-btn {
  width: 84px;
  height: 60px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-light);
  overflow: hidden;
  cursor: pointer;
  background: #FFFFFF;
  padding: 0;
  transition: var(--transition);
  flex-shrink: 0;
}

.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb-btn:hover, .gallery-thumb-btn.active {
  border-color: var(--blender-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.25);
}

.fullscreen-hint-overlay {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: white;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  pointer-events: none;
  opacity: 0.85;
  transition: var(--transition);
  z-index: 10;
}

.main-render-viewport:hover .fullscreen-hint-overlay {
  opacity: 1;
  background: var(--blender-orange);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
}

/* Fullscreen Image Lightbox Modal */
.image-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.image-lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 29, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
}

.lightbox-container {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  pointer-events: none;
}

.lightbox-container * {
  pointer-events: auto;
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #FFFFFF;
  padding-bottom: 0.75rem;
}

.lightbox-title-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
}

.lightbox-product-title {
  font-weight: 700;
  font-size: 1rem;
  color: #F8FAFC;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 500px;
}

.lightbox-counter-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blender-orange);
  white-space: nowrap;
}

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

.lightbox-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-btn:hover {
  background: var(--blender-orange);
  border-color: var(--blender-orange);
  transform: scale(1.05);
}

.lightbox-close-btn:hover {
  background: var(--danger);
  border-color: var(--danger);
}

.lightbox-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0.5rem 0;
}

.lightbox-img-wrapper {
  max-width: 90vw;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
  transition: transform 0.2s ease;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  backdrop-filter: blur(8px);
}

.lightbox-nav-btn.prev {
  left: 1rem;
}

.lightbox-nav-btn.next {
  right: 1rem;
}

.lightbox-nav-btn:hover {
  background: var(--blender-orange);
  border-color: var(--blender-orange);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 20px rgba(234, 88, 12, 0.5);
}

.lightbox-footer {
  display: flex;
  justify-content: center;
  padding-top: 0.75rem;
}

.lightbox-thumbs-strip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 90vw;
  overflow-x: auto;
}

.lightbox-thumb-btn {
  width: 64px;
  height: 48px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  padding: 0;
  opacity: 0.6;
  transition: var(--transition);
  flex-shrink: 0;
}

.lightbox-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-thumb-btn:hover, .lightbox-thumb-btn.active {
  opacity: 1;
  border-color: var(--blender-orange);
  transform: scale(1.08);
}

/* Multi Thumbnail Upload Cards UI */
.thumbnail-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.thumbnail-slot-card {
  background: var(--bg-secondary);
  border: 1.5px dashed var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  transition: var(--transition);
}

.thumbnail-slot-card:hover {
  border-color: var(--blender-orange);
  background: var(--bg-primary);
}

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

.thumbnail-slot-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.thumbnail-preview-img-container {
  width: 100%;
  height: 110px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.thumbnail-preview-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-slot-btn-remove {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.thumbnail-slot-btn-remove:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .category-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .category-grid-container {
    grid-template-columns: 1fr;
  }
}

/* Floating 3D Control Bar */
.viewer-controls-bar {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.ctrl-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.ctrl-btn:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

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

.ctrl-divider {
  width: 1px;
  height: 20px;
  background: var(--border-light);
}

.viewer-stats-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 15;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  box-shadow: var(--shadow-sm);
}

.viewer-stats-badge span b {
  color: var(--text-primary);
}

/* Product Detail Page Specifics */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  padding: 2.5rem 0;
}

.specs-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.spec-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spec-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Sidebar Filter */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
}

.filter-sidebar {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 90px;
}

.filter-group {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.filter-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.filter-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-checkbox-label:hover {
  color: var(--text-primary);
}

.filter-checkbox-label input[type="checkbox"],
.filter-checkbox-label input[type="radio"] {
  accent-color: var(--blender-orange);
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

/* Tables & Dashboard */
.data-table-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  background: var(--bg-secondary);
  padding: 0.85rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-light);
}

.data-table td {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: var(--bg-secondary);
}

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

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.65rem 1rem;
  font-family: inherit;
  font-size: 0.875rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--blender-orange);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}

/* Alert Notification */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-success {
  background: var(--success-light);
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.alert-error {
  background: var(--danger-light);
  color: #991B1B;
  border: 1px solid #FECACA;
}

.alert-warning {
  background: var(--warning-light);
  color: #92400E;
  border: 1px solid #FDE68A;
}

.alert-info {
  background: var(--accent-indigo-light);
  color: #3730A3;
  border: 1px solid #C7D2FE;
}

/* Footer */
.site-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .header-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .product-detail-layout {
    grid-template-columns: 1fr;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .filter-sidebar {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-menu {
    gap: 0.25rem;
    padding: 0.25rem 0.35rem;
  }
  .nav-link {
    font-size: 0.8125rem;
    padding: 0.45rem 0.75rem;
  }
  .nav-search {
    max-width: 280px;
  }
}

/* Desktop screen (> 920px): STRICTLY hide all mobile drawer / toggle elements */
@media (min-width: 921px) {
  .mobile-menu-toggle,
  .mobile-nav-drawer,
  .mobile-nav-backdrop {
    display: none !important;
  }
  .nav-menu {
    display: flex !important;
  }
  .nav-search {
    display: block !important;
  }
  .desktop-user-actions {
    display: flex !important;
  }
}

/* Tablet & Mobile Breakpoint for Header Navigation Menu (<= 920px) */
@media (max-width: 920px) {
  .nav-menu {
    display: none !important;
  }
  .nav-search {
    display: none !important;
  }
  .desktop-user-actions {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
  .navbar {
    height: 72px;
    gap: 0.75rem;
  }
  .navbar-logo-img {
    height: 44px;
  }
  .mobile-nav-backdrop {
    top: 72px;
  }
  .mobile-nav-drawer {
    display: none;
    max-height: calc(100vh - 72px);
  }
  .site-header.mobile-open .mobile-nav-drawer {
    display: block !important;
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .heading-xl {
    font-size: 2rem;
  }
  .header-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .navbar {
    height: 64px;
    gap: 0.5rem;
  }
  .navbar-logo-img {
    height: 34px;
    max-width: 135px;
  }
  .cart-btn-indicator, .mobile-menu-toggle {
    width: 38px;
    height: 38px;
  }
  .mobile-nav-backdrop {
    top: 64px;
  }
  .mobile-nav-drawer {
    max-height: calc(100vh - 64px);
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .viewer-3d-container {
    height: 380px;
  }
  .viewer-controls-bar {
    width: 90%;
    overflow-x: auto;
  }
}
