/* ========================================
   TUNAS TOYOTA — PREMIUM DESIGN SYSTEM
   ======================================== */

/* Google Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── Design Tokens ── */
:root {
  /* Brand Colors */
  --primary-red: #eb0a1e;
  --primary-red-dark: #c8102e;
  --primary-red-light: #ff3d4f;
  --primary-red-glow: rgba(235, 10, 30, 0.25);

  /* Neutral Palette */
  --text-dark: #1a1a2e;
  --text-body: #4a4a68;
  --text-muted: #8e8ea9;
  --text-light: #b8b8d0;

  /* Backgrounds */
  --bg-color: #f0f2f7;
  --bg-card: #ffffff;
  --bg-card-hover: #fafbff;
  --bg-surface: #f6f7fb;
  --bg-elevated: #ffffff;

  /* Accents */
  --accent-blue: #3b82f6;
  --accent-blue-bg: #eff6ff;
  --accent-green: #10b981;
  --accent-green-bg: #ecfdf5;
  --accent-orange: #f59e0b;
  --accent-orange-bg: #fffbeb;
  --accent-purple: #8b5cf6;
  --accent-purple-bg: #f5f3ff;
  --accent-cyan: #06b6d4;
  --accent-cyan-bg: #ecfeff;
  --accent-pink: #ec4899;
  --accent-pink-bg: #fdf2f8;

  /* Borders */
  --border-color: #e8eaf0;
  --border-light: #f1f3f8;

  /* Shadows — Elevation System */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.10);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-red: 0 4px 20px rgba(235, 10, 30, 0.20);
  --shadow-red-lg: 0 8px 30px rgba(235, 10, 30, 0.30);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 50px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Keyframe Animations ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(235, 10, 30, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(235, 10, 30, 0); }
}

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

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

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

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

@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 8px rgba(235,10,30,0.15); }
  50% { box-shadow: 0 0 20px rgba(235,10,30,0.35); }
}

/* Animation utility classes */
.animate-fade-in {
  animation: fadeIn 0.5s var(--transition-base) both;
}

.animate-fade-up {
  animation: fadeInUp 0.5s var(--transition-base) both;
}

.animate-slide-right {
  animation: slideInRight 0.5s var(--transition-base) both;
}

.animate-scale-in {
  animation: scaleIn 0.4s var(--transition-base) both;
}

.delay-1 { animation-delay: 0.05s; }
.delay-2 { animation-delay: 0.1s; }
.delay-3 { animation-delay: 0.15s; }
.delay-4 { animation-delay: 0.2s; }
.delay-5 { animation-delay: 0.25s; }
.delay-6 { animation-delay: 0.3s; }
.delay-7 { animation-delay: 0.35s; }
.delay-8 { animation-delay: 0.4s; }

/* ── Global Resets ── */
* {
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-body);
  line-height: 1.5;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}



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

img {
  max-width: 100%;
}

/* ── App Shell ── */
.mobile-app {
  width: 100%;
  margin: 0 auto;
  background: var(--bg-color);
  min-height: 100vh;
  position: relative;
  padding-bottom: 85px;
  box-shadow: var(--shadow-xl);
}

/* ── Header — Glassmorphism Ultra ── */
.header-customer {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(248,250,255,0.88) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(232,234,240,0.6);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255,255,255,0.6) inset;
}

.header-customer .brand {
  font-weight: 900;
  font-size: 20px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-customer .brand span {
  color: var(--primary-red);
}

.header-customer .bell-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--bg-surface), var(--bg-card));
  color: var(--text-muted);
  font-size: 15px;
  cursor: pointer;
  position: relative;
  border: 1.5px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 0 0 1px rgba(255,255,255,0.8) inset;
}

.header-customer .bell-icon:hover {
  background: linear-gradient(145deg, #fff4e6, #fff8f0);
  color: var(--accent-orange);
  transform: scale(1.1);
  border-color: rgba(245,158,11,0.3);
  box-shadow: 0 4px 16px rgba(245,158,11,0.15);
}

.header-customer .bell-icon:active {
  transform: scale(0.95);
}

.header-customer .bell-icon::after {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #ff4757, var(--primary-red));
  border-radius: 50%;
  border: 2px solid white;
  animation: pulse 2s infinite;
  box-shadow: 0 0 6px rgba(235,10,30,0.4);
}

/* ── Content Area ── */
.content {
  padding: 10px 20px 20px 20px;
}

.page-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-dark);
  margin: 10px 0 6px;
  letter-spacing: -0.3px;
}

.page-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 18px;
  font-weight: 500;
}

/* ── Banner Promo — Premium Gradient ── */
.banner-container {
  padding: 16px 20px;
}

.banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 30%, #1a1a2e 60%, #0f3460 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  border-radius: var(--radius-2xl);
  padding: 28px 24px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(15,20,40,0.25);
}

/* Shimmer sweep effect */
.banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  animation: shimmerSweep 3s infinite;
  z-index: 1;
  pointer-events: none;
}

.banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(235, 10, 30, 0.3), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.banner h2 {
  margin: 0 0 6px 0;
  font-size: 22px;
  font-weight: 900;
  z-index: 2;
  position: relative;
  letter-spacing: -0.3px;
}

.banner p {
  margin: 0 0 18px 0;
  font-size: 13px;
  opacity: 0.8;
  z-index: 2;
  position: relative;
  font-weight: 500;
  line-height: 1.5;
}

.banner .banner-deco-icon {
  position: absolute;
  right: -10px;
  bottom: -10px;
  font-size: 100px;
  opacity: 0.06;
  color: white;
  z-index: 1;
}

/* ── Buttons ── */
.btn-white {
  background: white;
  color: var(--text-dark);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
  position: relative;
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  box-shadow: var(--shadow-sm);
  letter-spacing: -0.2px;
}

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

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

.btn-red {
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: white;
  width: 100%;
  padding: 11px 16px;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  box-shadow: var(--shadow-red);
  position: relative;
  overflow: hidden;
  letter-spacing: -0.2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

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

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

.btn-outline {
  background: transparent;
  color: var(--primary-red);
  border: 1.5px solid var(--primary-red);
  width: 100%;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-outline:hover {
  background: rgba(235, 10, 30, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(235, 10, 30, 0.12);
}

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

.btn-group {
  display: flex;
  gap: 10px;
}

/* ── Menu Grid (Home) ── */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 20px 24px 20px;
}

.menu-item,
.menu-grid .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  font-size: inherit;
}

.menu-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-xl);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  position: relative;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  border: 1px solid rgba(255,255,255,0.7);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease;
}

/* Colorful icon backgrounds */
.menu-item:nth-child(1) .menu-icon,
.menu-grid .nav-item:nth-child(1) .menu-icon { background: linear-gradient(135deg, #fee2e2, #fecaca); color: var(--primary-red); }
.menu-item:nth-child(2) .menu-icon,
.menu-grid .nav-item:nth-child(2) .menu-icon { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: var(--accent-blue); }
.menu-item:nth-child(3) .menu-icon,
.menu-grid .nav-item:nth-child(3) .menu-icon { background: linear-gradient(135deg, #f3e8ff, #e9d5ff); color: var(--accent-purple); }
.menu-item:nth-child(4) .menu-icon,
.menu-grid .nav-item:nth-child(4) .menu-icon { background: linear-gradient(135deg, #ecfdf5, #d1fae5); color: var(--accent-green); }
.menu-item:nth-child(5) .menu-icon,
.menu-grid .nav-item:nth-child(5) .menu-icon { background: linear-gradient(135deg, #fef3c7, #fde68a); color: var(--accent-orange); }
.menu-item:nth-child(6) .menu-icon,
.menu-grid .nav-item:nth-child(6) .menu-icon { background: linear-gradient(135deg, #ecfeff, #cffafe); color: var(--accent-cyan); }
.menu-item:nth-child(7) .menu-icon,
.menu-grid .nav-item:nth-child(7) .menu-icon { background: linear-gradient(135deg, #fdf4ff, #fae8ff); color: var(--accent-pink); }
.menu-item:nth-child(8) .menu-icon,
.menu-grid .nav-item:nth-child(8) .menu-icon { background: linear-gradient(135deg, #f0fdf4, #dcfce7); color: var(--accent-green); }

.menu-item:hover .menu-icon,
.menu-grid .nav-item:hover .menu-icon {
  transform: translateY(-6px) scale(1.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.menu-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-body);
  letter-spacing: -0.1px;
}

/* ── Card — Universal ── */
.card {
  background: var(--bg-card);
  padding: 18px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s cubic-bezier(0.4,0,0.2,1);
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* ── Section Title ── */
.section-title {
  padding: 0 20px;
  margin: 16px 0 12px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: -0.3px;
}

.section-title a {
  font-size: 13px;
  color: var(--primary-red);
  font-weight: 600;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 4px;
}

.section-title a:hover {
  color: var(--primary-red-dark);
  gap: 6px;
}

.section-title a::after {
  content: '→';
  font-size: 14px;
  transition: var(--transition-fast);
}

/* ── Car Slider (Home) ── */
.car-slider {
  display: flex;
  overflow-x: auto;
  padding: 4px 20px 24px 20px;
  gap: 14px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.car-slider::-webkit-scrollbar {
  height: 4px;
}

.car-slider::-webkit-scrollbar-track {
  background: transparent;
}

.car-slider::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 10px;
}

.car-slider .car-card {
  min-width: 240px;
  background: var(--bg-card);
  border-radius: var(--radius-2xl);
  padding: 16px;
  scroll-snap-align: start;
  position: relative;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s ease;
}

.car-slider .car-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.car-slider .car-card img {
  width: 100%;
  height: 110px;
  object-fit: contain;
  margin-bottom: 12px;
  transition: var(--transition-smooth);
}

.car-slider .car-card:hover img {
  transform: scale(1.05);
}

.car-slider .car-name {
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.car-slider .car-price {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.car-slider .btn-red {
  margin-top: auto;
}

/* ── Filter Category ── */
.category-filter {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 18px;
  scroll-behavior: smooth;
}

.category-filter::-webkit-scrollbar {
  height: 0;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-color);
  background: var(--bg-card);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-base);
  letter-spacing: -0.1px;
}

.filter-btn:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
  background: rgba(235, 10, 30, 0.04);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-red);
  transform: scale(1.02);
}

/* ── Car Grid (Mobil page) ── */
.car-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.car-grid .car-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 12px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s cubic-bezier(0.4,0,0.2,1);
}

.car-grid .car-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-red), var(--primary-red-light), var(--accent-orange));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.car-grid .car-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1), 0 0 0 1px rgba(255,255,255,0.5) inset;
}

.car-grid .car-card:hover::before {
  opacity: 1;
}

.car-grid .car-card img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  margin-bottom: 10px;
  transition: var(--transition-smooth);
}

.car-grid .car-card:hover img {
  transform: scale(1.03);
}

.car-type {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #1e40af;
  font-size: 9px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  z-index: 2;
}

.car-grid .car-name {
  font-weight: 900;
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.car-grid .car-price {
  font-size: 13px;
  color: var(--primary-red);
  font-weight: 800;
  margin-bottom: 12px;
}

.car-grid .btn-group {
  flex-direction: column;
  gap: 7px;
  margin-top: auto;
}

/* Top row: Brosur + Galeri */
.car-grid .btn-group .btn-row-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.car-grid .btn-group button {
  padding: 9px 8px;
  font-size: 11px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Override: buttons inside btn-row-top must NOT use width:100% (grid handles it) */
.car-grid .btn-row-top .btn-outline,
.car-grid .btn-row-top .btn-red {
  width: 100%;
  font-size: 11px;
  padding: 9px 4px;
  min-width: 0;
}

/* ── Promo Section ── */
.promo-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.promo-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: var(--transition-base);
}

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

.promo-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 26px;
  font-weight: 900;
  position: relative;
  letter-spacing: -0.3px;
  overflow: hidden;
}

.promo-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

.promo-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: white;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 800;
  z-index: 2;
  box-shadow: var(--shadow-red);
  animation: pulseGlow 2.5s infinite;
  letter-spacing: 0.2px;
}

.promo-content {
  padding: 18px;
}

.promo-title {
  font-weight: 900;
  font-size: 17px;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.promo-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  font-weight: 500;
}

/* ── Merchandise / Product Grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 14px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 280px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  overflow: hidden;
}

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

.product-card img {
  width: 100%;
  height: 115px;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  transition: var(--transition-smooth);
}

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

.product-name {
  font-weight: 800;
  font-size: 13px;
  color: var(--text-dark);
  line-height: 1.3;
  letter-spacing: -0.1px;
}

.product-details-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px;
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.5;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 3px;
  margin-bottom: 3px;
}

.detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.detail-row b {
  color: var(--text-dark);
}

.product-price {
  font-size: 14px;
  color: var(--primary-red);
  font-weight: 900;
  margin-top: 4px;
  letter-spacing: -0.2px;
}

.form-control {
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  font-size: 12px;
  background: var(--bg-card);
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition-base);
  font-family: 'Inter', sans-serif;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(235, 10, 30, 0.08);
}

.stock-badges {
  display: flex;
  gap: 5px;
  margin-top: 2px;
}

.badge-mini {
  font-size: 9px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  flex: 1;
  text-align: center;
  letter-spacing: 0.1px;
}

.bg-cabang {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #1d4ed8;
}

.bg-tam {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  color: #d97706;
}

/* ── Section Note ── */
.section-note {
  margin-top: 18px;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(235, 10, 30, 0.04), rgba(59, 130, 246, 0.03));
  border: 1px solid rgba(235, 10, 30, 0.08);
  color: var(--text-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

/* ── Tracking / Complaint ── */
.badge-stok {
  font-size: 11px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #059669;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: 0.1px;
}

/* Complaint history card */
.complaint-item {
  padding: 14px;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-base);
}

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

.complaint-item:hover {
  background: var(--bg-surface);
}

/* Textarea styling */
textarea.form-control {
  resize: vertical;
  min-height: 80px;
  line-height: 1.6;
}

/* ── PriceList Page Specifics ── */
.otr-banner {
  background: linear-gradient(135deg, var(--primary-red), #ff4b4b, #ff6b6b);
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
  border-radius: var(--radius-xl);
  padding: 22px;
  color: white;
  margin-bottom: 22px;
  box-shadow: var(--shadow-red-lg);
  position: relative;
  overflow: hidden;
}

.otr-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.otr-banner h3 {
  color: white;
  margin: 0 0 5px 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.otr-banner p {
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}

.section-header-row {
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 420px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* PriceList car card */
.car-image-container {
  background: var(--bg-surface);
  padding: 16px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.car-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.car-image-container:hover img {
  transform: scale(1.06);
}

.car-details {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.car-badge {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  color: var(--primary-red);
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* PriceList specific overrides */
.grid-2 .car-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition-base);
  padding: 0;
}

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

.grid-2 .car-card:active {
  transform: scale(0.98);
}

.grid-2 .car-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.3;
  letter-spacing: -0.1px;
}

.grid-2 .car-price {
  font-size: 14px;
  font-weight: 900;
  color: var(--primary-red);
  margin-top: auto;
  letter-spacing: -0.2px;
}

/* ── Bottom Navigation — Modern Floating Dock ── */
.bottom-nav {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 420px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: space-around;
  padding: 8px 12px;
  z-index: 100;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 20px;
  gap: 4px;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  position: relative;
  transition: all 0.3s ease;
}

.nav-item:hover {
  color: rgba(255, 255, 255, 0.8);
}

.nav-item span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
}

.nav-item.active {
  color: #ffffff;
  background: transparent;
}

/* Subtle glowing dot indicator */
.nav-item.active::before {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: var(--primary-red-light);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 61, 79, 0.8);
}

.nav-item.active i {
  color: var(--primary-red-light);
  animation: iconBounce 0.4s ease;
  filter: drop-shadow(0 2px 6px rgba(255, 61, 79, 0.4));
}

/* ── Status Card (Home) — Premium ── */
.status-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  padding-left: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.status-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--primary-red), var(--accent-orange));
  border-radius: 0 4px 4px 0;
}

.status-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.status-date {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 5px;
  font-weight: 500;
}

.status-message {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
}

.status-badge {
  font-size: 11px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.1px;
}

.status-badge.waiting {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  color: #d97706;
}

.status-badge.done {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #059669;
}

/* ── Loading / Skeleton ── */
.loading-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

.loading-text {
  text-align: center;
  padding: 40px 20px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.loading-text i {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
  color: var(--primary-red);
  animation: pulse 1.5s infinite;
}

/* ── Scrollbar Styling ── */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-light);
}

/* ── Utility ── */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-red { color: var(--primary-red); }
.font-bold { font-weight: 700; }
.mt-auto { margin-top: auto; }

/* ========================================
   NEW FEATURES (Wishlist, Modals, Chatbot, Compare)
   ======================================== */

/* ── Wishlist Button ── */
.btn-wishlist {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-bounce);
  z-index: 10;
}

.btn-wishlist:hover {
  transform: scale(1.1);
  background: white;
}

.btn-wishlist.active {
  color: var(--primary-red);
}

.btn-wishlist.active i {
  animation: pulseGlow 1s;
}

/* ── Modals (Simulasi & Compare) ── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-card);
  width: 90%;
  max-width: 400px;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  transform: translateY(30px) scale(0.95);
  transition: var(--transition-bounce);
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-surface);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-base);
}

.modal-close:hover {
  background: var(--border-color);
  color: var(--primary-red);
}

/* Form Inputs for Modal */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-dark);
  transition: var(--transition-base);
  background: var(--bg-card);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(235, 10, 30, 0.1);
}

/* Range Slider */
input[type=range] {
  width: 100%;
  accent-color: var(--primary-red);
}

.simulasi-result {
  background: linear-gradient(135deg, var(--bg-surface), white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
  margin-bottom: 16px;
}
.simulasi-result .amount {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary-red);
}

/* ── Chatbot Widget ── */
.chatbot-widget {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 99;
}

.chatbot-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: white;
  border: none;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-red-lg);
  transition: var(--transition-bounce);
}

.chatbot-btn:hover {
  transform: scale(1.1);
}

.chatbot-window {
  position: absolute;
  bottom: 60px;
  right: 0;
  width: 300px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0);
  opacity: 0;
  transition: var(--transition-bounce);
  pointer-events: none;
}

.chatbot-window.active {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}

.chatbot-header {
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: white;
  padding: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatbot-body {
  padding: 16px;
  max-height: 250px;
  overflow-y: auto;
  font-size: 13px;
}

.chat-bubble {
  background: var(--bg-surface);
  padding: 10px 14px;
  border-radius: 12px 12px 12px 2px;
  margin-bottom: 12px;
  color: var(--text-dark);
  font-weight: 500;
}

.chat-bubble.user {
  background: var(--accent-blue-bg);
  color: var(--accent-blue);
  border-radius: 12px 12px 2px 12px;
  text-align: right;
  margin-left: auto;
}

.faq-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.faq-chip {
  background: white;
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-red);
  cursor: pointer;
  transition: var(--transition-fast);
}
.faq-chip:hover {
  background: var(--primary-red-glow);
}

/* ── Floating Compare Bar ── */
.compare-bar {
  position: fixed;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  width: 90%;
  max-width: 400px;
  background: rgba(25, 30, 45, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  z-index: 90;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-bounce);
  opacity: 0;
}

.compare-bar.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.compare-bar-text {
  font-size: 13px;
  font-weight: 700;
}

.compare-bar .btn-compare {
  background: var(--primary-red);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition-base);
}

.compare-bar .btn-compare:hover {
  background: var(--primary-red-light);
}

/* Checkbox on car card — now positioned via parent div in HTML */
.checkbox-compare {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-red);
  cursor: pointer;
}


/* ── Notification Panel ── */
.notification-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(15,23,42,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}
.notification-overlay.show { opacity: 1; visibility: visible; }
.notification-panel {
  position: fixed;
  top: 0; right: -100%; width: 85%; max-width: 360px; height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,255,0.97));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2001;
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
  border-left: 1px solid rgba(232,234,240,0.5);
}
.notification-overlay.show .notification-panel { right: 0; }
.notif-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(135deg, rgba(235,10,30,0.03), transparent);
}
.notif-title { font-size: 16px; font-weight: 800; color: var(--text-dark); }
.notif-close { background: none; border: none; font-size: 20px; color: var(--text-muted); cursor: pointer; }
.notif-close:hover { color: var(--primary-red); transform: scale(1.1); }
.notif-body { padding: 20px; overflow-y: auto; flex: 1; }
.notif-item {
  display: flex; gap: 14px; margin-bottom: 16px; padding: 14px; border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--bg-surface), rgba(255,255,255,0.8));
  border: 1px solid var(--border-light);
}
.notif-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transform: translateY(-1px);
}
.notif-icon {
  width: 42px; height: 42px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.notif-icon.promo { background: linear-gradient(135deg, #fef2f2, #fee2e2); color: var(--primary-red); }
.notif-icon.system { background: linear-gradient(135deg, #eff6ff, #dbeafe); color: var(--accent-blue); }
.notif-content h4 { margin: 0 0 4px 0; font-size: 13px; color: var(--text-dark); font-weight: 700; }
.notif-content p { margin: 0; font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.notif-time { font-size: 10px; color: var(--text-light); margin-top: 6px; display: block; }
.header-customer .bell-icon.read::after { display: none; }

/* ── Page Transitions ── */
body {
  opacity: 1;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
body.page-enter {
  opacity: 0;
}
body.page-enter-active {
  opacity: 1;
}
body.page-leave-to {
  opacity: 0;
}

/* ══════════════════════════════════════════════
   DESKTOP & TABLET — PROFESSIONAL RESPONSIVE UI
   ══════════════════════════════════════════════ */

/* ── Tablet (768px+) ── */
@media (min-width: 768px) {

  /* --- App Shell --- */
  .mobile-app {
    max-width: 1280px;
    margin: 0 auto;
    box-shadow: none;
    background: var(--bg-color);
  }

  body {
    background: var(--bg-color);
  }

  /* --- Header — Premium Desktop Nav --- */
  .header-customer {
    position: sticky;
    top: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 16px calc(50vw - 50% + 48px);
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(248,250,255,0.94) 100%);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    box-shadow: 0 1px 30px rgba(0,0,0,0.04);
  }

  .header-customer .brand img {
    height: 42px !important;
  }

  .header-customer .bell-icon {
    width: 42px;
    height: 42px;
    font-size: 16px;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  }

  .header-customer .bell-icon:hover {
    transform: scale(1.15) rotate(-8deg);
  }

  /* --- Content Area --- */
  .content {
    padding: 32px 48px 48px;
  }

  /* --- Page Title — Desktop Scale --- */
  .page-title {
    font-size: 30px;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
  }

  .page-subtitle {
    font-size: 15px;
    max-width: 600px;
  }

  /* --- Banner — Wide Desktop Hero --- */
  .banner-container {
    padding: 28px 48px;
  }

  .banner {
    padding: 40px 48px;
    border-radius: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
  }

  .banner h2 {
    font-size: 28px;
  }

  .banner p {
    font-size: 15px;
    max-width: 500px;
  }

  .banner .banner-deco-icon {
    font-size: 140px;
    right: 20px;
    bottom: -20px;
  }

  /* --- Menu Grid — 8 Column Desktop --- */
  .menu-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 24px;
    padding: 0 48px 32px;
  }

  .menu-icon {
    width: 68px;
    height: 68px;
    font-size: 26px;
    border-radius: 22px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
  }

  .menu-text {
    font-size: 12px;
    font-weight: 700;
  }

  /* --- Section Titles --- */
  .section-title {
    padding: 0 48px;
    font-size: 20px;
    margin: 24px 0 16px;
  }

  .section-title a {
    font-size: 14px;
  }

  /* --- Car Slider (Home) — Grid Wrap --- */
  .car-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 8px 48px 36px;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .car-slider .car-card {
    min-width: unset;
    border-radius: 24px;
    padding: 20px;
  }

  .car-slider .car-card img {
    height: 140px;
    margin-bottom: 16px;
  }

  .car-slider .car-name {
    font-size: 17px;
  }

  .car-slider .car-price {
    font-size: 14px;
  }

  /* --- Status Section (Home) --- */
  #homeComplaintStatus {
    padding: 0 48px 28px 48px !important;
  }

  .status-card {
    padding: 20px 24px 20px 28px;
    border-radius: 20px;
  }

  .status-message {
    font-size: 15px;
    max-width: 500px;
  }

  .status-date {
    font-size: 12px;
  }

  /* --- Car Grid (Mobil Page) — 3 Columns --- */
  .car-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .car-grid .car-card {
    padding: 18px;
    border-radius: 24px;
  }

  .car-grid .car-card img {
    height: 140px;
    margin-bottom: 14px;
  }

  .car-grid .car-name {
    font-size: 16px;
  }

  .car-grid .car-price {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .car-grid .btn-group button {
    padding: 11px 10px;
    font-size: 12px;
  }

  .car-type {
    font-size: 10px;
    padding: 5px 12px;
  }

  /* --- Category Filter (Mobil) --- */
  .category-filter {
    gap: 10px;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .filter-btn {
    padding: 10px 24px;
    font-size: 13px;
    border-radius: 50px;
  }

  /* --- PriceList Grid --- */
  .grid-2 {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .car-image-container {
    height: 150px;
    padding: 20px;
  }

  .car-details {
    padding: 18px;
  }

  .grid-2 .car-name {
    font-size: 15px;
  }

  .grid-2 .car-price {
    font-size: 16px;
  }

  /* --- Promo Section — 2 Column Layout --- */
  .promo-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .promo-card {
    border-radius: 24px;
  }

  .promo-img {
    height: 220px;
  }

  .promo-content {
    padding: 24px;
  }

  .promo-title {
    font-size: 19px;
  }

  .promo-desc {
    font-size: 14px;
  }

  /* --- Merchandise / Product Grid — 3+ Columns --- */
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .product-card {
    padding: 18px;
    border-radius: 24px;
    min-height: 310px;
  }

  .product-card img {
    height: 140px;
    border-radius: 16px;
  }

  .product-name {
    font-size: 15px;
  }

  .product-price {
    font-size: 16px;
  }

  /* --- Calculator (Kalkulator) — Centered Width --- */
  .card {
    padding: 28px;
    border-radius: 24px;
  }

  /* --- Buttons — Larger Touch Targets --- */
  .btn-red {
    padding: 14px 20px;
    font-size: 14px;
    border-radius: 16px;
  }

  .btn-outline {
    padding: 13px 20px;
    font-size: 14px;
    border-radius: 16px;
  }

  .btn-white {
    padding: 12px 28px;
    font-size: 14px;
  }

  /* --- Form Inputs Desktop --- */
  .search-input,
  .search-input-field,
  .input-field,
  .form-control {
    padding: 16px 20px;
    font-size: 15px;
    border-radius: 16px;
  }

  /* --- OTR Banner (PriceList) --- */
  .otr-banner {
    padding: 28px 32px;
    border-radius: 24px;
  }

  .otr-banner h3 {
    font-size: 22px;
  }

  .otr-banner p {
    font-size: 14px;
  }

  /* --- Modal Dialog Desktop --- */
  .modal-content {
    max-width: 540px;
    padding: 32px;
    border-radius: 28px;
  }

  .modal-sheet {
    max-width: 640px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    border-radius: 28px 28px 0 0;
  }

  .modal-sheet.open {
    transform: translateX(-50%) translateY(0);
  }

  /* --- Bottom Nav — Desktop Floating Bar --- */
  .bottom-nav {
    max-width: 640px;
    bottom: 20px;
    border-radius: 50px;
    border: 1px solid rgba(232,234,240,0.7);
    padding: 8px 24px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10), 0 0 0 1px rgba(255,255,255,0.6) inset;
  }

  .nav-item {
    flex-direction: row;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 16px;
  }

  .nav-item span {
    font-size: 12px;
    font-weight: 800;
  }

  .nav-item:hover {
    background: rgba(235,10,30,0.04);
    color: var(--primary-red);
  }

  .nav-item.active {
    background: linear-gradient(135deg, rgba(235,10,30,0.08), rgba(235,10,30,0.03));
    border-radius: 50px;
  }

  .nav-item.active::before {
    display: none;
  }

  /* --- Compare Table --- */
  .compare-table th, .compare-table td {
    padding: 16px 18px;
    font-size: 13px;
  }

  /* --- Tracking / Complaint --- */
  .complaint-item {
    padding: 18px;
  }

  /* --- Section Note --- */
  .section-note {
    max-width: 700px;
    margin: 24px auto;
    padding: 18px 24px;
    font-size: 13px;
  }

  /* --- Chatbot Widget --- */
  .chatbot-widget {
    bottom: 100px;
    right: calc((100vw - 1280px) / 2 + 30px);
  }

  .chatbot-window {
    width: 380px;
  }

  /* --- Compare Bar --- */
  .compare-bar {
    max-width: 500px;
    bottom: 90px;
  }

  /* --- Scrollbar — Premium Desktop Style --- */
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

  ::-webkit-scrollbar-track {
    background: var(--bg-surface);
    border-radius: 10px;
  }

  ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--border-color), var(--text-light));
    border-radius: 10px;
    border: 2px solid var(--bg-surface);
  }

  ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--text-muted), var(--text-body));
  }


}

/* ── Large Desktop (1024px+) ── */
@media (min-width: 1024px) {

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

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

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

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

  .promo-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Extra Large Desktop (1440px+) — Content Breathing Room ── */
@media (min-width: 1440px) {

  .mobile-app {
    max-width: 1400px;
  }

  .content {
    padding: 40px 64px 60px;
  }

  .header-customer {
    padding: 18px 64px;
  }

  .banner-container {
    padding: 32px 64px;
  }

  .menu-grid {
    padding: 0 64px 36px;
  }

  .section-title {
    padding: 0 64px;
  }

  .car-slider {
    padding: 8px 64px 40px;
  }

  #homeComplaintStatus {
    padding: 0 64px 32px 64px !important;
  }
}

