/* ==========================================================================
   PEKAUMAN UMKM DIGITAL - MODERN DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

:root {
  /* Brand Color Tokens */
  --primary: #059669;
  --primary-hover: #047857;
  --primary-light: #ecfdf5;
  --primary-gradient: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --primary-glow: rgba(16, 185, 129, 0.35);
  --primary-soft: rgba(16, 185, 129, 0.18);
  --primary-subtle: #f0fdf4;

  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-light: #fffbeb;
  --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);

  --whatsapp: #25d366;
  --whatsapp-hover: #128c7e;
  --whatsapp-glow: rgba(37, 211, 102, 0.4);

  /* Neutrals & Dark Tokens */
  --dark: #0f172a;
  --dark-surface: #1e293b;
  --dark-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);

  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-light: rgba(226, 232, 240, 0.8);

  /* Glassmorphism Tokens */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.08);

  /* Elevation & Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.15);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease-in-out;
}

/* ==========================================================================
   GLOBAL RESET & TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover, a:focus {
  color: var(--primary-hover);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.layout_padding {
  padding: 80px 0;
}

.layout_padding-sm {
  padding: 50px 0;
}

/* Heading Container */
.heading_container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 40px;
}

.heading_container.heading_center {
  align-items: center;
  text-align: center;
}

.heading_container h2 {
  position: relative;
  font-size: 2.25rem;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.heading_container .heading_badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.heading_container p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0;
}

/* ==========================================================================
   HEADER & NAVBAR (GLASSMORPHIC STICKY)
   ========================================================================== */
.hero_area {
  position: relative;
  background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
  color: #ffffff;
  overflow: hidden;
}

.hero_area::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(16, 185, 129, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero_area::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.header_section {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.header_section.scrolled {
  padding: 12px 0;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: var(--shadow-lg);
}

.custom_nav-container {
  padding: 0;
}

.custom_nav-container .navbar-nav {
  padding-left: 0;
}

.custom_nav-container .navbar-nav .nav-item .nav-link {
  padding: 5px 20px;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  border-radius: 5px;
  transition: all 0.3s;
}

.custom_nav-container .navbar-nav .nav-item:hover .nav-link,
.custom_nav-container .navbar-nav .nav-item.active .nav-link {
  color: var(--accent);
}

.custom_nav-container .nav_search-btn {
  width: auto;
  height: auto;
  padding: 0;
  border: none;
  color: #ffffff;
  margin: 0 10px;
}

.custom_nav-container .nav_search-btn:hover {
  color: var(--accent);
}

.user_option {
  display: flex;
  align-items: center;
}

.user_option a {
  margin: 0 10px;
}

.user_option .user_link {
  color: #ffffff;
}

.user_option .user_link:hover {
  color: var(--accent);
}

.user_option .order_online {
  display: inline-block;
  padding: 8px 30px;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: 45px;
  transition: all 0.3s;
  border: none;
  font-weight: 600;
}

.user_option .order_online:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
}

.custom_nav-container .navbar-toggler {
  outline: none;
  padding: 0;
  width: 37px;
  height: 42px;
  transition: all 0.3s;
}

.custom_nav-container .navbar-toggler span {
  display: block;
  width: 35px;
  height: 4px;
  background-color: #ffffff;
  margin: 7px 0;
  transition: all 0.3s;
  position: relative;
  border-radius: 5px;
}

.custom_nav-container .navbar-toggler span::before,
.custom_nav-container .navbar-toggler span::after {
  content: "";
  position: absolute;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #ffffff;
  top: -10px;
  border-radius: 5px;
  transition: all 0.3s;
}

.custom_nav-container .navbar-toggler span::after {
  top: 10px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff !important;
  letter-spacing: -0.02em;
}

.navbar-brand span {
  font-weight: 800;
  font-size: 1.55rem;
  color: #ffffff;
}

.brand-badge-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.15rem;
  box-shadow: 0 4px 14px var(--primary-glow);
  flex-shrink: 0;
}

.brand-logo-img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  border-radius: 6px;
  margin-right: 8px;
  vertical-align: middle;
}

.portal-logo-img {
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  border-radius: 10px;
}

.navbar-nav .nav-item {
  margin: 0 4px;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover {
  color: var(--accent) !important;
  background: rgba(255, 255, 255, 0.1);
}

.navbar-nav .nav-item.active .nav-link {
  color: var(--accent) !important;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gradient);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: var(--transition);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
}

/* ==========================================================================
    HERO SECTION
    ========================================================================== */
.hero-content-wrap {
  position: relative;
  z-index: 2;
  padding: 80px 0 100px;
}

.sub_page .hero-content-wrap {
  padding: 40px 0 50px;
}

.hero-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: #a7f3d0;
  font-size: 0.9rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero-pill-tag .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 12px #34d399;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-title .text-highlight {
  background: linear-gradient(135deg, #34d399 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 35px;
  max-width: 580px;
}

/* Modern Hero Search Box */
.hero-search-box {
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 8px 8px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 600px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 1rem;
  color: var(--text-main);
  width: 100%;
  font-family: var(--font-body);
}

.hero-search-box input::placeholder {
  color: #94a3b8;
}

.hero-search-box .search-submit-btn {
  background: var(--primary-gradient);
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: var(--transition);
}

.hero-search-box .search-submit-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 18px var(--primary-glow);
}

/* Quick Category Tags under Hero */
.hero-quick-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.hero-quick-tags span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.hero-quick-tags a {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-quick-tags a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Hero Stats Floating Card */
.hero-stats-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 35px 30px;
  color: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hero-stat-item:first-child {
  padding-top: 0;
}

.hero-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.hero-stat-icon.emerald {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.hero-stat-icon.amber {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.hero-stat-icon.teal {
  background: rgba(20, 184, 166, 0.2);
  color: #2dd4bf;
  border: 1px solid rgba(20, 184, 166, 0.4);
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
}

.hero-stat-label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 3px;
}

/* Subpage Hero */
.subpage-hero {
  padding: 40px 0;
  background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
  color: #ffffff;
}

.subpage-hero h1 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.subpage-hero p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

/* ==========================================================================
   HERO INTERACTIVE SLIDER SECTION (LUXURY CAROUSEL)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.hero-carousel {
  position: relative;
  width: 100%;
}

.hero-slide-container {
  padding: 60px 15px 95px;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.hero-slide-text {
  position: relative;
  z-index: 3;
}

.hero-slide-visual {
  position: relative;
  z-index: 3;
}

/* Hero Variant Badges & Highlight Gradients */
.hero-pill-gold {
  background: rgba(245, 158, 11, 0.15) !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
  color: #fde68a !important;
}

.pulse-dot-gold {
  width: 8px;
  height: 8px;
  background-color: #f59e0b;
  border-radius: 50%;
  box-shadow: 0 0 12px #f59e0b;
  animation: pulseDotGold 2s infinite;
}

@keyframes pulseDotGold {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.hero-pill-cyan {
  background: rgba(6, 182, 212, 0.15) !important;
  border-color: rgba(6, 182, 212, 0.35) !important;
  color: #a5f3fc !important;
}

.pulse-dot-cyan {
  width: 8px;
  height: 8px;
  background-color: #06b6d4;
  border-radius: 50%;
  box-shadow: 0 0 12px #06b6d4;
  animation: pulseDotCyan 2s infinite;
}

@keyframes pulseDotCyan {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(6, 182, 212, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

.text-highlight-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-highlight-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Feature Pills in Slide 2 & 3 */
.hero-feature-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.feature-pill-item {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

/* Hero CTA Button Groups */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  background: var(--primary-gradient);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px var(--primary-glow);
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px var(--primary-glow);
  color: #ffffff !important;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  text-decoration: none;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px);
  color: #ffffff !important;
}

/* Slide 2: 3D Product Showcase Card */
.hero-product-showcase-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.hero-product-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.55);
}

.showcase-badge-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.badge-featured {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.badge-fresh {
  background: rgba(16, 185, 129, 0.25);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.4);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.showcase-img-wrap {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-main-img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.35));
  transition: transform 0.4s ease;
}

.hero-product-showcase-card:hover .showcase-main-img {
  transform: scale(1.06) rotate(2deg);
}

.floating-price-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.floating-price-tag small {
  font-size: 0.65rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.floating-price-tag strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #34d399;
}

.showcase-info {
  position: relative;
}

.showcase-category {
  font-size: 0.8rem;
  color: #a7f3d0;
  font-weight: 600;
}

.showcase-rating {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.showcase-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.showcase-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
  margin-bottom: 0;
}

/* Slide 3: Standee Showcase Card */
.hero-standee-showcase-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  color: #ffffff;
  position: relative;
}

.standee-badge-top {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.standee-preview-inner {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  color: #1e293b;
  margin-bottom: 16px;
  border: 4px solid #f1f5f9;
}

.standee-mini-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.standee-mini-qr {
  width: 140px;
  height: 140px;
  margin: 0 auto 12px;
  background: #ffffff;
  padding: 8px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.standee-mini-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.standee-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Glassmorphic Indicator Bars */
.hero-carousel-indicators {
  position: absolute;
  bottom: 25px;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding: 8px 18px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  width: max-content;
  z-index: 10;
}

.hero-carousel-indicators li {
  background: transparent;
  border: none;
  width: auto;
  height: auto;
  text-indent: 0;
  opacity: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.hero-carousel-indicators li .indicator-bar {
  width: 24px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.hero-carousel-indicators li .indicator-label {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  display: none;
}

.hero-carousel-indicators li.active {
  background: rgba(255, 255, 255, 0.12);
}

.hero-carousel-indicators li.active .indicator-bar {
  width: 38px;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
}

.hero-carousel-indicators li.active .indicator-label {
  color: #ffffff;
  display: inline-block;
}

/* Floating Navigation Arrows */
.hero-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  opacity: 0.85;
  transition: var(--transition);
  z-index: 10;
  text-decoration: none;
}

.hero-carousel-nav:hover {
  opacity: 1;
  background: rgba(16, 185, 129, 0.85);
  border-color: #34d399;
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.hero-carousel-nav.prev {
  left: 25px;
}

.hero-carousel-nav.next {
  right: 25px;
}

.border-white-10 {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.badge-light-glass {
  background: rgba(255, 255, 255, 0.15);
  color: #a7f3d0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
}

.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   PREMIUM DESIGN UTILITIES
   ========================================================================== */

/* Premium Section Spacing */
.section-premium {
  padding: 80px 0;
}

.section-premium-sm {
  padding: 50px 0;
}

.section-divider {
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  opacity: 0.6;
}


/* Unified Section Header */
.section-header-premium {
  text-align: center;
  margin-bottom: 50px;
}

.section-header-premium .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.section-header-premium h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.section-header-premium p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-header-left {
  text-align: left;
}

.section-header-left .section-badge {
  margin-bottom: 10px;
}

.section-header-left h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.section-header-left p {
  margin: 0;
  max-width: 100%;
}

/* Premium Empty State */
.empty-state-premium {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}

.empty-state-premium .empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--bg-page);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-light);
}

.empty-icon-sm {
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
}

.empty-icon-lg {
  width: 80px;
  height: 80px;
  font-size: 2.5rem;
}

.empty-state-premium h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.empty-state-premium p {
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto 20px;
}

/* Premium Filter Toolbar */
.filter-toolbar-premium {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 20px 24px;
  margin-bottom: 30px;
}

.filter-toolbar-premium .form-control,
.filter-toolbar-premium .custom-select {
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  padding: 6px 18px;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: var(--transition);
}

.filter-toolbar-premium .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

/* Premium Card Overrides */
.product-card-modern {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.25);
}

.product-card-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 160px;
  overflow: hidden;
  background: var(--bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0 !important;
  object-fit: contain;
}

.product-card-thumb::before,
.product-card-thumb::after {
  display: none !important;
}

.product-image-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(12px);
  transform: scale(1.1);
  z-index: 1;
}

.product-image-main {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  max-width: 100%;
  max-height: 100%;
}

.product-card-modern:hover .product-image-main {
  transform: scale(1.06);
}

.product-card-price-badge {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: none;
  color: #0f172a;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.product-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-seller {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.product-card-seller a {
  color: var(--primary);
  font-weight: 600;
}

.product-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-card-title a {
  color: var(--dark);
  text-decoration: none;
  transition: var(--transition);
}

.product-card-title a:hover {
  color: var(--primary);
}

.product-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

.product-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* UMKM Card Consistency */
.umkm-card-modern {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: visible;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.umkm-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.25);
}

.umkm-card-cover {
  position: relative;
  height: 180px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.umkm-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.umkm-card-modern:hover .umkm-card-cover img {
  transform: scale(1.06);
}

.umkm-card-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.umkm-card-status-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(16, 185, 129, 0.9);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.umkm-avatar-wrap {
  margin-top: -36px;
  margin-left: 16px;
  position: relative;
  z-index: 2;
  width: fit-content;
}

.umkm-avatar-wrap-sm {
  margin-top: -28px;
  margin-left: 14px;
}

.umkm-avatar {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  object-fit: contain;
  border: 3px solid var(--bg-card);
  box-shadow: var(--shadow-sm);
  background: var(--bg-page);
}

.umkm-avatar-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--primary-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
  border: 3px solid var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.umkm-avatar-lg {
  width: 76px;
  height: 76px;
  border-radius: 20px;
}

.umkm-avatar-placeholder-lg {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  font-size: 2rem;
}

.umkm-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.umkm-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}

.umkm-card-title a {
  color: var(--dark);
  text-decoration: none;
  transition: var(--transition);
}

.umkm-card-title a:hover {
  color: var(--primary);
}

.umkm-card-owner {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.umkm-card-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

.umkm-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  margin-bottom: 14px;
}

.umkm-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-modern-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--dark);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  flex: 1;
  justify-content: center;
}

.btn-modern-primary:hover {
  background: #1e293b;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-modern-wa {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.btn-modern-wa:hover {
  background: #128c7e;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--whatsapp-glow);
}

/* Category Card Consistency */
.category-card-modern {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: block;
  height: 100%;
  text-decoration: none;
}

.category-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.25);
}

.category-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 14px;
  transition: var(--transition);
}

.category-card-image {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  margin: -24px -20px 16px;
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.category-card-modern:hover .category-card-image img {
  transform: scale(1.06);
}

.category-card-modern:hover .category-icon-box {
  background: var(--primary-gradient);
  color: #ffffff;
  transform: scale(1.08);
}

.category-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.category-card-modern:hover .category-card-title {
  color: var(--primary);
}

.category-card-count {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  background: var(--bg-page);
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

/* Premium Info Sidebar (UMKM Show Page) */
.info-sidebar-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.info-sidebar-box:hover {
  box-shadow: var(--shadow-md);
}

.info-sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.info-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-list-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-page);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.info-list-icon-success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.info-list-icon-info {
  background: rgba(2, 132, 199, 0.15);
  color: #0284c7;
}

.info-list-icon-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.info-list-icon-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
}

.info-list-icon-instagram {
  background: rgba(225, 48, 108, 0.15);
  color: #e1306c;
}

.info-list-icon-facebook {
  background: rgba(24, 119, 242, 0.15);
  color: #1877f2;
}

.info-list-content {
  flex: 1;
}

.info-list-content label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-bottom: 2px;
}

.info-list-content span,
.info-list-content a {
  font-size: 0.95rem;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
}

.info-list-content a:hover {
  color: var(--primary);
}

/* Premium Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  color: #ffffff;
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

/* Premium Button Group */
.btn-group-premium {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Premium Form Controls */
.form-control-premium {
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  padding: 10px 18px;
  font-size: 0.95rem;
  transition: var(--transition);
  background: #ffffff;
}

.form-control-premium:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
  outline: none;
}

/* Premium Badge */
.badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Premium Typography Utilities */
.font-heading {
  font-family: var(--font-heading);
}

.font-body {
  font-family: var(--font-body);
}

.text-body-premium {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.text-body-sm {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Premium Image Utility */
.img-cover {
  object-fit: contain;
  object-position: center;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* Premium Icon Boxes */
.icon-box-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  font-size: 1.8rem;
  flex-shrink: 0;
}

.icon-box-sm {
  width: 50px;
  height: 50px;
  font-size: 1.3rem;
}

.icon-box-md {
  width: 65px;
  height: 65px;
  font-size: 1.8rem;
}

.icon-box-lg {
  width: 70px;
  height: 70px;
  font-size: 2rem;
}

.icon-box-success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.icon-box-info {
  background: rgba(2, 132, 199, 0.15);
  color: #0284c7;
}

.icon-box-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.icon-box-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
}

.icon-box-instagram {
  background: rgba(225, 48, 108, 0.15);
  color: #e1306c;
}

.icon-box-facebook {
  background: rgba(24, 119, 242, 0.15);
  color: #1877f2;
}

/* Premium Badge Image Overlay */
.badge-image-overlay {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
}

/* Premium Price Display */
.price-display-premium {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
}

/* UMKM Card Variants */
.umkm-card-cover-sm {
  height: 140px;
}

.umkm-avatar-sm,
.umkm-avatar-placeholder-sm {
  width: 54px;
  height: 54px;
  font-size: 1.2rem;
}

.umkm-avatar-sm {
  border-radius: 16px;
}

.umkm-avatar-placeholder-sm {
  border-radius: 16px;
}

/* Product Card Thumb Variants */
.product-card-thumb-sm { max-height: 180px; }

.product-showcase-img { aspect-ratio: 4 / 3; max-height: 440px; }

/* Detail Page Showcase Card */
.detail-hero-banner {
  position: relative;
  height: 280px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: -60px;
  box-shadow: var(--shadow-lg);
}

.detail-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-header-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  padding: 80px 24px 24px;
  position: relative;
  z-index: 2;
  margin-bottom: 30px;
}

.detail-logo-avatar {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  object-fit: contain;
  border: 3px solid var(--bg-card);
  box-shadow: var(--shadow-sm);
  background: var(--bg-page);
  font-size: 2.5rem;
}

/* Subpage Hero Refinement */
.subpage-hero {
  padding: 50px 0 60px;
  background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.subpage-hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.subpage-hero h1 {
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.subpage-hero p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.subpage-hero .breadcrumb {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
}

/* Filter Pills */
.filter-pill-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: var(--transition);
}

.filter-pill:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-light);
}

.filter-pill.active {
  color: #ffffff;
  background: var(--dark);
  border-color: var(--dark);
}

/* Premium CTA Section */
.cta-section {
  background: 
    radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, #064e3b 0%, #059669 50%, #0f172a 100%);
  background-size: 20px 20px, 100% 100%;
  position: relative;
  padding: 70px 0;
  box-shadow: 0 -10px 40px rgba(5, 150, 105, 0.15);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, rgba(16, 185, 129, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-premium {
  position: relative;
  overflow: hidden;
}

.cta-premium-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 40px;
}

.cta-premium-inner h2,
.text-cta-heading {
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-premium-inner p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.cta-benefits {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}

.cta-benefit-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cta-benefit-pill i {
  font-size: 0.9rem;
  color: #34d399;
}

.cta-glass-badge {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cta-text-limited {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   MODERN CARDS (UMKM, PRODUCT, CATEGORY)
   ========================================================================== */

/* UMKM Modern Card */
.umkm-card-modern {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.umkm-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(16, 185, 129, 0.3);
}

.umkm-card-cover {
  position: relative;
  height: 180px;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  overflow: hidden;
}

.umkm-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.umkm-card-modern:hover .umkm-card-cover img {
  transform: scale(1.06);
}

.umkm-card-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  z-index: 2;
  box-shadow: var(--shadow-xs);
}

.umkm-card-status-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(16, 185, 129, 0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.umkm-avatar-wrap {
  position: relative;
  margin-top: -36px;
  margin-left: 20px;
  z-index: 3;
  display: inline-block;
}

.umkm-avatar {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: #ffffff;
  border: 3px solid #ffffff;
  box-shadow: var(--shadow-md);
  object-fit: contain;
}

.umkm-avatar-placeholder {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: var(--primary-gradient);
  border: 3px solid #ffffff;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
}

.umkm-card-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.umkm-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}

.umkm-card-title a {
  color: var(--dark);
}

.umkm-card-title a:hover {
  color: var(--primary);
}

.umkm-card-owner {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.umkm-card-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.umkm-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.umkm-card-location {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 65%;
}

.umkm-card-products-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.umkm-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.btn-modern-primary {
  background: var(--primary-gradient);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  box-shadow: 0 4px 12px var(--primary-glow);
  transition: var(--transition);
}

.btn-modern-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--primary-glow);
  color: #ffffff !important;
}

.btn-modern-wa {
  background: #25d366;
  color: #ffffff !important;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px var(--whatsapp-glow);
  transition: var(--transition);
}

.btn-modern-wa:hover {
  background: #128c7e;
  transform: scale(1.08);
}

/* Product Modern Card */
.product-card-modern {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(16, 185, 129, 0.3);
}

.product-card-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 160px;
  background: #f1f5f9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0 !important;
  object-fit: contain;
}

.product-card-thumb::before,
.product-card-thumb::after {
  display: none !important;
}

.product-image-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(12px);
  transform: scale(1.1);
  z-index: 1;
}

.product-image-main {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  max-width: 100%;
  max-height: 100%;
}

.product-card-modern:hover .product-image-main {
  transform: scale(1.06);
}

.product-card-price-badge {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: none;
  color: #0f172a;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.product-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-seller {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
}

.product-card-seller a {
  color: var(--text-muted);
  font-weight: 600;
}

.product-card-seller a:hover {
  color: var(--primary);
}

.product-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}

.product-card-title a {
  color: var(--dark);
}

.product-card-title a:hover {
  color: var(--primary);
}

.product-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.product-card-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

/* Category Modern Card */
.category-card-modern {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.category-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition);
}

.category-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.3);
}

.category-card-modern:hover::before {
  opacity: 1;
}

.category-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
  transition: var(--transition);
}

.category-card-modern:hover .category-icon-box {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 8px 20px var(--primary-glow);
  transform: scale(1.08);
}

.category-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.category-card-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

/* ==========================================================================
   FILTER TABS & SORT CONTROLS
   ========================================================================== */
.filter-pill-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-pill {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-pill:hover {
  background: #f1f5f9;
  color: var(--dark);
}

.filter-pill.active {
  background: var(--primary-gradient);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.filter-search-input-wrap {
  position: relative;
  max-width: 320px;
}

.filter-search-input-wrap input {
  padding-left: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xs);
}

.filter-search-input-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

/* ==========================================================================
   UMKM DETAIL & PRODUCT DETAIL PAGES
   ========================================================================== */
.detail-hero-banner {
  position: relative;
  height: 320px;
  background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: -60px;
}

.detail-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.85;
}

.detail-header-card {
  position: relative;
  z-index: 10;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  margin-bottom: 35px;
}

.detail-logo-avatar {
  width: 110px;
  height: 110px;
  border-radius: 24px;
  background: #ffffff;
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-lg);
  object-fit: contain;
  margin-top: -65px;
}

.detail-action-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.btn-action-wa {
  background: #25d366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px var(--whatsapp-glow);
  transition: var(--transition);
}

.btn-action-wa:hover {
  background: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--whatsapp-glow);
}

.btn-action-maps {
  background: #0284c7;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: var(--transition);
}

.btn-action-maps:hover {
  background: #0369a1;
  transform: translateY(-2px);
}

.btn-action-qr {
  background: var(--dark-surface);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-action-qr:hover {
  background: var(--dark);
  transform: translateY(-2px);
}

.btn-action-share {
  background: #f1f5f9;
  color: var(--text-main) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.btn-action-share:hover {
  background: #e2e8f0;
}

/* Info Box in Details */
.info-sidebar-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 25px;
}

.info-sidebar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.info-list-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.info-list-content label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 2px;
}

.info-list-content span, .info-list-content a {
  font-size: 0.92rem;
  color: var(--text-main);
  font-weight: 600;
}

/* ==========================================================================
   PRINTABLE STANDEE QR CODE CARD (A5 / Table Display)
   ========================================================================== */
.standee-qr-page {
  padding: 40px 15px;
  background: var(--bg-page);
  min-height: 100vh;
}

.standee-card-modern {
  max-width: 480px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 28px;
  padding: 40px 35px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.standee-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: var(--primary-gradient);
}

.standee-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.standee-qr-frame {
  background: #ffffff;
  border: 3px dashed #cbd5e1;
  border-radius: 24px;
  padding: 20px;
  display: inline-block;
  margin: 20px 0;
  box-shadow: var(--shadow-sm);
}

.standee-qr-frame img {
  width: 240px;
  height: 240px;
  display: block;
}

.standee-instruction {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.standee-action-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
}

@media print {
  body {
    background: #ffffff !important;
    padding: 0 !important;
  }
  .standee-action-bar, .no-print {
    display: none !important;
  }
  .standee-card-modern {
    box-shadow: none !important;
    border: 2px solid #0f172a !important;
    max-width: 100% !important;
    page-break-inside: avoid;
  }
}

/* ==========================================================================
   FOOTER (MODERN SLATE DARK)
   ========================================================================== */
.footer_section {
  background: #0f172a;
  color: #94a3b8;
  padding: 70px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-admin-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff !important;
  display: inline-block;
  margin-bottom: 14px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
}

.footer_contact .contact_link_box a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #94a3b8;
  margin-bottom: 14px;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer_contact .contact_link_box a:hover {
  color: #34d399;
}

.footer_social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer_social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: var(--transition);
}

.footer_social a:hover {
  background: var(--primary-gradient);
  transform: translateY(-3px);
}

.footer-info {
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.88rem;
}

/* Back to top floating button */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 46px;
  height: 46px;
  background: var(--primary-gradient);
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 6px 20px var(--primary-glow);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--primary-glow);
}

/* Modern Toast Notification */
.toast-container-modern {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  pointer-events: none;
}

.toast-modern {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: auto;
  transition: var(--transition);
}

/* ==========================================================================
   ADMIN PANEL MODERN STYLES
   ========================================================================== */
.admin-sidebar {
  min-height: 100vh;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #94a3b8;
  padding: 20px 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow: hidden;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 24px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  color: #94a3b8 !important;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-md);
  margin-bottom: 5px;
  transition: var(--transition);
}

.admin-nav-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
}

.admin-nav-link.active {
  color: #ffffff !important;
  background: var(--primary-gradient);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.admin-stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: var(--transition);
  min-height: 110px;
}

.admin-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.admin-stat-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 20px 20px;
  flex-shrink: 0;
}

.admin-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.admin-stat-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
}

.admin-stat-action:hover {
  gap: 5px;
}

.admin-card-table {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.admin-card-header {
  padding: 18px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   ANIMATIONS & UTILITIES
   ========================================================================== */
.fade-in {
  animation: fadeIn 0.4s ease forwards;
}

.fade-out {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, 15px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes fadeOut {
  from { opacity: 1; transform: translate(-50%, 0); }
  to { opacity: 0; transform: translate(-50%, 15px); }
}

/* ==========================================================================
   SCROLL REVEAL & ENTRANCE ANIMATIONS
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-slide-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-slide-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-slide-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-slide-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Preserve hover effects on cards after scroll reveal */
.reveal.is-visible .category-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.3);
}

.reveal.is-visible .umkm-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(16, 185, 129, 0.3);
}

.reveal.is-visible .product-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(16, 185, 129, 0.3);
}

.reveal.is-visible .umkm-card-modern:hover .umkm-card-cover img,
.reveal.is-visible .product-card-modern:hover .product-card-thumb img {
  transform: scale(1.06);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Hero entrance animation */
.hero-entrance {
  opacity: 0;
  transform: translateY(28px);
  animation: heroFadeUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  will-change: opacity, transform;
}

.hero-entrance-delay-1 { animation-delay: 0.15s; }
.hero-entrance-delay-2 { animation-delay: 0.3s; }
.hero-entrance-delay-3 { animation-delay: 0.45s; }
.hero-entrance-delay-4 { animation-delay: 0.6s; }
.hero-entrance-delay-5 { animation-delay: 0.75s; }

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section subtle divider */
.section-fade-divider {
  position: relative;
}

.section-fade-divider::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
  opacity: 0.5;
  pointer-events: none;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Counter number stability */
.hero-stat-number {
  display: inline-block;
  min-width: 2ch;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-fade-up,
  .reveal-slide-left,
  .reveal-slide-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-entrance {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  html {
    scroll-behavior: auto !important;
  }

  .umkm-card-modern:hover,
  .product-card-modern:hover,
  .admin-stat-card:hover {
    transform: none !important;
  }

  .umkm-card-cover img,
  .product-card-thumb img {
    transition: none !important;
  }
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero-title { font-size: 2.35rem; }
  .hero_area { min-height: auto; }
  .hero-stats-card { margin-top: 30px; }
  .navbar-collapse {
    background: #0f172a;
    padding: 20px;
    border-radius: var(--radius-lg);
    margin-top: 15px;
    box-shadow: var(--shadow-xl);
  }
  .slider_section {
    padding: 25px 0 50px 0;
  }
  .slider_section .detail-box {
    margin-bottom: 80px;
    text-align: center;
  }
  .slider_section .detail-box p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .slider_section .carousel-indicators {
    justify-content: center;
    margin-top: 45px;
  }
  .slider_section .carousel-control-prev,
  .slider_section .carousel-control-next {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-title { font-size: 2rem; }
  .hero-search-box {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 12px;
  }
  .hero-search-box .search-submit-btn {
    width: 100%;
    justify-content: center;
  }
  .detail-action-toolbar {
    flex-direction: column;
  }
  .detail-action-toolbar .btn {
    width: 100%;
    justify-content: center;
  }
  .slider_section .detail-box h1 {
    font-size: 2rem;
  }
  .slider_section .detail-box {
    margin-bottom: 60px;
  }
  .slider_section .carousel-control-prev,
  .slider_section .carousel-control-next {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 991px) {
  .slider_section {
    padding: 25px 0 50px 0;
  }
  .slider_section .detail-box {
    margin-bottom: 80px;
    text-align: center;
  }
  .slider_section .detail-box p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .slider_section .carousel-indicators {
    justify-content: center;
    margin-top: 45px;
  }
  .slider_section .carousel-control-prev,
  .slider_section .carousel-control-next {
    display: none;
  }
}

/* ==========================================================================
   ADMIN PANEL - UNIFIED DESIGN SYSTEM
   ========================================================================== */

/* ---------- Page Layout ---------- */
.admin-page-wrapper {
  min-height: 100vh;
  background: #f8fafc;
}

.admin-content-area {
  padding: 28px;
  max-width: 1400px;
}

/* ---------- Page Header ---------- */
.admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-page-header .page-title-group h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  letter-spacing: -0.3px;
}

.admin-page-header .page-title-group p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 2px 0 0;
}

.admin-page-header .page-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ---------- Cards ---------- */
.admin-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  overflow: hidden;
}

.admin-card:hover {
  box-shadow: var(--shadow-sm);
}

.admin-card-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-card-header .card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-card-header .card-title .card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.admin-card-body {
  padding: 20px 24px;
}

.admin-card-body.no-padding {
  padding: 0;
}

/* ---------- Form Controls ---------- */
.admin-form-group {
  margin-bottom: 18px;
}

.admin-form-group:last-child {
  margin-bottom: 0;
}

.admin-form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
  letter-spacing: 0.1px;
}

/* Override for toggle switch labels — prevent stacking */
.admin-form-group .admin-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 0;
}

.admin-form-group label .required-star {
  color: #ef4444;
  margin-left: 2px;
}

.admin-form-group .form-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 4px;
  line-height: 1.4;
}

.admin-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-main);
  background: #ffffff;
  transition: var(--transition);
  outline: none;
}

.admin-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.admin-input::placeholder {
  color: #cbd5e1;
}

textarea.admin-input {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

select.admin-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ---------- Buttons ---------- */
.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  letter-spacing: 0.2px;
  position: relative;
  overflow: hidden;
}

.admin-btn:active {
  transform: translateY(0);
}

.admin-btn-sm {
  padding: 7px 14px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.admin-btn-xs {
  padding: 5px 10px;
  font-size: 0.78rem;
  border-radius: 6px;
  font-weight: 600;
}

.admin-btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.admin-btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
  color: #ffffff;
}

.admin-btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.admin-btn-success:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
  transform: translateY(-2px);
  color: #ffffff;
}

.admin-btn-dark {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
}

.admin-btn-dark:hover {
  background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.35);
  transform: translateY(-2px);
  color: #ffffff;
}

.admin-btn-outline {
  background: transparent;
  border: 1.5px solid #e2e8f0;
  color: #475569;
  box-shadow: none;
}

.admin-btn-outline:hover {
  background: #f8fafc;
  border-color: #10b981;
  color: #059669;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
  transform: translateY(-1px);
}

.admin-btn-ghost {
  background: transparent;
  color: #64748b;
  padding: 8px 12px;
  border: none;
  box-shadow: none;
}

.admin-btn-ghost:hover {
  background: rgba(0, 0, 0, 0.04);
  color: #334155;
}

.admin-btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.admin-btn-danger:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
  transform: translateY(-2px);
  color: #ffffff;
}

.admin-btn-pill {
  border-radius: 9999px;
  padding: 9px 22px;
}

.admin-btn-block {
  width: 100%;
  justify-content: center;
}

/* ---------- Badges ---------- */
.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

.admin-badge-success {
  background: #ecfdf5;
  color: #059669;
  border-color: #d1fae5;
}

.admin-badge-info {
  background: #eff6ff;
  color: #2563eb;
  border-color: #dbeafe;
}

.admin-badge-warning {
  background: #fffbeb;
  color: #d97706;
  border-color: #fef3c7;
}

.admin-badge-danger {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fde8e8;
}

.admin-badge-secondary {
  background: #f8fafc;
  color: #64748b;
  border-color: #e2e8f0;
}

.admin-badge-dark {
  background: #f8fafc;
  color: #334155;
  border-color: #e2e8f0;
}

.admin-badge-light {
  background: #ffffff;
  color: #475569;
  border-color: #e2e8f0;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  margin-left: 6px;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* ---------- Tables ---------- */
.admin-table-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}

.admin-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.admin-table thead {
  background: #f8fafc;
}

.admin-table thead th {
  padding: 12px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.admin-table thead th:last-child {
  text-align: center !important;
}

.admin-table thead th:last-child {
  text-align: center;
}

.admin-table tbody td {
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--text-main);
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.admin-table tbody tr {
  transition: var(--transition-fast);
}

.admin-table tbody tr:hover {
  background: #fafbfc;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table tbody td:last-child {
  text-align: center;
}

.admin-table .table-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.admin-table .table-actions .table-actions-row {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.admin-table .table-actions .table-actions-row form {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.admin-table .table-actions .admin-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 8px;
  font-size: 0.8rem;
  gap: 0;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  box-shadow: none;
  transition: all 0.2s ease;
}

.admin-table .table-actions .admin-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.admin-table .table-actions .admin-btn-outline:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #334155;
}

.admin-table .table-actions .admin-btn-success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #059669;
}

.admin-table .table-actions .admin-btn-success:hover {
  background: #059669;
  border-color: #059669;
  color: #fff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.admin-table .table-actions .admin-btn-danger {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}

.admin-table .table-actions .admin-btn-danger:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.admin-table .table-actions .admin-btn-primary {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #2563eb;
}

.admin-table .table-actions .admin-btn-primary:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

/* ---------- Stat Cards ---------- */
.admin-stat-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  padding: 0;
  display: flex;
  align-items: stretch;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 120px;
}

.admin-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-color, #10b981);
  border-radius: 4px 0 0 4px;
  opacity: 0.9;
}

.admin-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.admin-stat-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 20px 20px;
  flex-shrink: 0;
}

.admin-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.admin-stat-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 18px 18px 14px;
  gap: 2px;
}

.admin-stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 2px;
  line-height: 1.2;
}

.admin-stat-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.6px;
  margin-bottom: 6px;
}

.admin-stat-meta {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-stat-meta .text-muted {
  font-weight: 500;
}

.admin-stat-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
}

.admin-stat-action:hover {
  gap: 5px;
}

/* ---------- Search Bar ---------- */
.admin-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-search-bar .admin-input {
  max-width: 320px;
}

/* ---------- Image Preview ---------- */
.admin-image-preview {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  background: #fafbfc;
  transition: var(--transition);
  overflow: hidden;
}

.admin-image-preview img {
  max-width: 100%;
  max-height: 200px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.admin-image-preview.has-image {
  border-style: solid;
  border-color: #d1fae5;
  background: #ffffff;
}

/* ---------- Empty State ---------- */
.admin-empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}

.admin-empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.4;
  display: block;
}

.admin-empty-state h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.admin-empty-state p {
  font-size: 0.88rem;
  margin: 0;
}

/* ---------- Publish Card ---------- */
.admin-publish-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  position: sticky;
  top: 20px;
  z-index: 10;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.admin-publish-card::-webkit-scrollbar {
  width: 5px;
}

.admin-publish-card::-webkit-scrollbar-track {
  background: transparent;
}

.admin-publish-card::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.35);
  border-radius: 10px;
}

.admin-publish-card::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 185, 129, 0.55);
}

.admin-publish-card .publish-header {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Form Section Card ---------- */
.admin-form-section {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  margin-bottom: 20px;
}

.admin-form-section:last-child {
  margin-bottom: 0;
}

.admin-form-section .section-header {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-form-section .section-header .section-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ---------- Action Toolbar ---------- */
.admin-action-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.admin-action-toolbar .toolbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-action-toolbar .toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-page-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.admin-page-actions .admin-btn {
  min-width: 0;
  flex: 0 0 auto;
}

@media (max-width: 575px) {
  .admin-page-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .admin-page-actions .admin-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Alert ---------- */
.admin-alert {
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  position: relative;
  border: 1px solid transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.admin-alert-success {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  color: #065f46;
  border-color: #bbf7d0;
  border-left: 4px solid #10b981;
}

.admin-alert-danger {
  background: linear-gradient(135deg, #fef2f2 0%, #fef2f2 100%);
  color: #991b1b;
  border-color: #fecaca;
  border-left: 4px solid #ef4444;
}

.admin-alert-info {
  background: linear-gradient(135deg, #eff6ff 0%, #eff6ff 100%);
  color: #1e40af;
  border-color: #bfdbfe;
  border-left: 4px solid #3b82f6;
}

.admin-alert-warning {
  background: linear-gradient(135deg, #fffbeb 0%, #fffbeb 100%);
  color: #92400e;
  border-color: #fde68a;
  border-left: 4px solid #f59e0b;
}

.admin-alert .alert-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 1px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}

.admin-alert-success .alert-icon { color: #059669; }
.admin-alert-danger .alert-icon { color: #dc2626; }
.admin-alert-info .alert-icon { color: #2563eb; }
.admin-alert-warning .alert-icon { color: #d97706; }

.admin-alert .alert-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  color: inherit;
  opacity: 0.6;
  cursor: pointer;
  font-size: 0.75rem;
  padding: 4px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  line-height: 1;
}

.admin-alert .alert-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.9);
}

.admin-alert strong {
  font-weight: 700;
  color: inherit;
  opacity: 0.9;
}

.admin-alert ul {
  margin: 8px 0 0 0;
  padding-left: 20px;
}

.admin-alert ul li {
  margin-bottom: 4px;
}

.admin-alert ul li:last-child {
  margin-bottom: 0;
}
.back-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #ffffff;
  color: #475569;
  border: 1.5px solid #e2e8f0;
  text-decoration: none;
  margin-bottom: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.back-icon-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.back-icon-btn i {
  font-size: 0.85rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.back-icon-btn:hover {
  color: #059669;
  border-color: #10b981;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1), 0 2px 4px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.back-icon-btn:hover::before {
  opacity: 1;
}

.back-icon-btn:hover i {
  transform: translateX(-2px);
  color: #059669;
}

.back-icon-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: all 0.1s ease;
}

/* ---------- Switch Toggle ---------- */
.admin-switch-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-switch {
  cursor: pointer;
  flex-shrink: 0;
}

.admin-switch input {
  display: none;
}

.admin-switch .switch-track {
  width: 44px;
  height: 24px;
  background: #e2e8f0;
  border-radius: 9999px;
  position: relative;
  transition: var(--transition);
  display: inline-block;
  vertical-align: middle;
}

.admin-switch .switch-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.admin-switch input:checked + .switch-track {
  background: var(--primary);
}

.admin-switch input:checked + .switch-track::after {
  left: 23px;
}

.switch-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  user-select: none;
}

/* ---------- Pagination ---------- */
.admin-pagination {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
}

.admin-pagination .pagination {
  margin: 0;
  gap: 4px;
}

.admin-pagination .page-link {
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 14px;
  transition: var(--transition-fast);
  background: transparent;
}

.admin-pagination .page-link:hover {
  background: #f1f5f9;
  color: var(--primary);
}

.admin-pagination .page-item.active .page-link {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.admin-pagination .page-item.disabled .page-link {
  color: #cbd5e1;
  background: transparent;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.admin-fade-in {
  animation: fadeInUp 0.4s ease forwards;
}

.admin-fade-in-delay-1 { animation-delay: 0.05s; }
.admin-fade-in-delay-2 { animation-delay: 0.1s; }
.admin-fade-in-delay-3 { animation-delay: 0.15s; }
.admin-fade-in-delay-4 { animation-delay: 0.2s; }

/* ---------- Admin Utility Classes ---------- */
.admin-avatar-xs {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  object-fit: contain;
  flex-shrink: 0;
}

.admin-avatar-placeholder-xs {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.admin-text-truncate-custom {
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-table td > div.d-flex.align-items-center.gap-3 {
  gap: 16px !important;
}

.admin-divider {
  border-bottom: 1px solid var(--border-light);
}

.admin-icon-success {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #059669;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.admin-icon-info {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.admin-icon-warning {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #d97706;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.admin-icon-danger {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #dc2626;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}

.admin-table-actions-link {
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}

.admin-table-actions-link:hover {
  text-decoration: underline;
}

.admin-code {
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.82rem;
  color: #475569;
  font-family: 'SF Mono', Monaco, monospace;
}

.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
  min-height: 64px;
}

.admin-sidebar-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  overflow: hidden;
  padding: 4px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.admin-sidebar-brand-icon .admin-sidebar-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none !important;
}

.admin-sidebar-brand-icon .fa {
  color: #ffffff;
}

.admin-sidebar-brand-text {
  line-height: 1.2;
  min-width: 0;
}

.admin-sidebar-brand-text small {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.7;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-topbar-title h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--dark);
}

.admin-topbar-title small {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-topbar-profile {
  display: flex;
  align-items: center;
  gap: 18px;
}

.admin-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.admin-user-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

.admin-user-info small {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .admin-stat-card:hover,
  .admin-btn:hover {
    transform: none !important;
  }
  .admin-fade-in {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .admin-content-area {
    padding: 20px 16px;
  }
  .admin-page-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-page-header .page-actions {
    width: 100%;
  }
  .admin-page-header .page-actions .admin-btn {
    flex: 1;
    justify-content: center;
  }
  .admin-publish-card {
    position: static;
    max-height: none;
    overflow-y: visible;
  }

  .admin-main {
    height: 100vh;
    overflow-y: auto;
  }

  .admin-form-section {
    margin-bottom: 24px;
  }

  .admin-publish-card {
    margin-bottom: 24px;
  }
}

@media (max-width: 576px) {
  .admin-content-area {
    padding: 16px 12px;
  }
  .admin-card-header {
    padding: 14px 16px;
  }
  .admin-card-body {
    padding: 14px 16px;
  }
  .admin-form-section {
    padding: 16px;
    margin-bottom: 20px;
  }
  .admin-publish-card {
    margin-bottom: 20px;
  }
  .admin-table thead th,
  .admin-table tbody td {
    padding: 10px 12px;
    font-size: 0.82rem;
  }
  .admin-table .table-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   ADMIN PANEL - ADVANCED UI COMPONENTS
   ========================================================================== */

/* ---------- Chart Container ---------- */
.admin-chart-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  padding: 20px 24px;
  margin-bottom: 20px;
  position: relative;
}

.admin-chart-container canvas {
  max-height: 280px;
}

/* Dashboard table row columns consistency */
.dashboard-tables-row {
  align-items: stretch;
}

.dashboard-tables-row .admin-activity-log,
.dashboard-tables-row .admin-card {
  height: 100%;
}

/* ---------- Activity Log ---------- */
.admin-activity-log {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.admin-activity-log .log-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-activity-log .log-header h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-activity-log .log-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 360px;
  overflow-y: auto;
}

.admin-activity-log .log-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 24px;
  border-bottom: 1px solid #f8fafc;
  transition: var(--transition-fast);
}

.admin-activity-log .log-item:last-child {
  border-bottom: none;
}

.admin-activity-log .log-item:hover {
  background: #fafbfc;
}

.admin-activity-log .log-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.admin-activity-log .log-dot.log-success { background: #10b981; }
.admin-activity-log .log-dot.log-info { background: #3b82f6; }
.admin-activity-log .log-dot.log-warning { background: #f59e0b; }
.admin-activity-log .log-dot.log-danger { background: #ef4444; }

.admin-activity-log .log-content {
  flex: 1;
  min-width: 0;
}

.admin-activity-log .log-text {
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.5;
  margin: 0;
}

.admin-activity-log .log-text strong {
  font-weight: 600;
}

.admin-activity-log .log-time {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* ---------- Trend Indicator ---------- */
.trend-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
}

.trend-up {
  background: #ecfdf5;
  color: #059669;
}

.trend-down {
  background: #fef2f2;
  color: #dc2626;
}

.trend-neutral {
  background: #f8fafc;
  color: #64748b;
}

/* ---------- Sidebar User Profile ---------- */
.sidebar-user-profile {
  padding: 14px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
  flex-shrink: 0;
}

.sidebar-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
}

.sidebar-user-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

.sidebar-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.sidebar-user-info {
  flex: 1;
  min-width: 0;
}

.sidebar-user-info strong {
  display: block;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-info small {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 500;
}

.sidebar-user-actions {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-user-actions a {
  color: #64748b;
  font-size: 0.75rem;
  text-decoration: none;
  padding: 2px 4px;
  border-radius: 4px;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.sidebar-user-actions a i {
  font-size: 1.1rem;
}

.sidebar-user-actions a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.admin-sidebar-brand-wrapper {
  flex-shrink: 0;
}

/* ---------- Sidebar Scroll & Links ---------- */
.admin-sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 10px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  color: #94a3b8 !important;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-md);
  margin-bottom: 4px;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.sidebar-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-link.active {
  color: #ffffff !important;
  background: var(--primary-gradient);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.sidebar-link i {
  width: 20px;
  text-align: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.sidebar-link .badge-dot {
  margin-left: auto;
}

/* ---------- Collapsible Sidebar Groups ---------- */
.sidebar-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  padding: 8px 14px 6px;
  margin: 0;
}

.sidebar-group-toggle .toggle-icon {
  font-size: 0.65rem;
  color: #475569;
  transition: transform 0.2s ease;
}

.sidebar-group-toggle.collapsed .toggle-icon {
  transform: rotate(-90deg);
}

.sidebar-group-items {
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.2s ease;
  max-height: 300px;
  opacity: 1;
}

.sidebar-group-items.collapsed {
  max-height: 0;
  opacity: 0;
}

/* ---------- Bulk Action Bar ---------- */
.bulk-action-bar {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  animation: fadeInUp 0.3s ease forwards;
}

.bulk-action-bar.active {
  display: flex;
}

.bulk-action-bar .bulk-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: #15803d;
  white-space: nowrap;
}

.bulk-action-bar .bulk-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ---------- Drag & Drop Upload Zone ---------- */
.upload-drop-zone {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  background: #fafbfc;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.upload-drop-zone:hover {
  border-color: #10b981;
  background: #f0fdf4;
}

.upload-drop-zone.drag-over {
  border-color: #059669;
  background: #ecfdf5;
  transform: scale(1.01);
}

.upload-drop-zone .upload-icon {
  font-size: 2.5rem;
  color: #cbd5e1;
  margin-bottom: 12px;
  transition: var(--transition);
}

.upload-drop-zone:hover .upload-icon {
  color: #10b981;
}

.upload-drop-zone .upload-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.upload-drop-zone .upload-hint {
  font-size: 0.82rem;
  color: var(--text-light);
}

.upload-drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.upload-preview-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  aspect-ratio: 1;
}

.upload-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.upload-preview-item .remove-preview {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.upload-preview-item .remove-preview:hover {
  background: rgba(239, 68, 68, 0.9);
}

/* ---------- Validation Indicator ---------- */
.field-validation {
  position: relative;
}

.field-validation .validation-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  opacity: 0;
  transition: var(--transition-fast);
  z-index: 2;
  pointer-events: none;
}

.field-validation.valid .validation-icon {
  opacity: 1;
  color: #10b981;
}

.field-validation.invalid .validation-icon {
  opacity: 1;
  color: #ef4444;
}

.field-validation.valid .admin-input {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08);
}

.field-validation.invalid .admin-input {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

.field-validation-message {
  font-size: 0.78rem;
  margin-top: 4px;
  display: none;
}

.field-validation.invalid .field-validation-message {
  display: block;
  color: #dc2626;
}

/* ---------- Character Counter ---------- */
.char-counter {
  text-align: right;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 4px;
  transition: var(--transition-fast);
}

.char-counter.warning {
  color: #f59e0b;
  font-weight: 600;
}

.char-counter.danger {
  color: #ef4444;
  font-weight: 700;
}

/* ---------- Breadcrumb ---------- */
.admin-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.admin-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.admin-breadcrumb a:hover {
  color: var(--primary);
}

.admin-breadcrumb .breadcrumb-separator {
  color: #cbd5e1;
  font-size: 0.7rem;
}

.admin-breadcrumb .breadcrumb-current {
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ---------- Toast Notification ---------- */
.toast-container-modern {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 90vw;
}

.toast-modern {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
  min-width: 300px;
  max-width: 420px;
  pointer-events: auto;
  animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  position: relative;
  overflow: hidden;
}

.toast-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--toast-accent, #10b981);
  border-radius: 4px 0 0 4px;
}

.toast-modern.toast-success {
  --toast-accent: #10b981;
  border-left: none;
}

.toast-modern.toast-error {
  --toast-accent: #ef4444;
  border-left: none;
}

.toast-modern.toast-info {
  --toast-accent: #3b82f6;
  border-left: none;
}

.toast-modern.toast-warning {
  --toast-accent: #f59e0b;
  border-left: none;
}

.toast-modern .toast-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
}

.toast-modern.toast-success .toast-icon {
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
}

.toast-modern.toast-error .toast-icon {
  color: #dc2626;
  background: rgba(239, 68, 68, 0.1);
}

.toast-modern.toast-info .toast-icon {
  color: #2563eb;
  background: rgba(59, 130, 246, 0.1);
}

.toast-modern.toast-warning .toast-icon {
  color: #d97706;
  background: rgba(245, 158, 11, 0.1);
}

.toast-modern .toast-message {
  flex: 1;
  font-weight: 500;
  line-height: 1.4;
  padding-right: 8px;
}

.toast-modern .toast-close {
  background: rgba(0, 0, 0, 0.05);
  border: none;
  color: #64748b;
  opacity: 0.6;
  cursor: pointer;
  font-size: 0.75rem;
  padding: 4px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.toast-modern .toast-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.1);
  color: #334155;
}

/* ---------- Skeleton Loading ---------- */
.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

.skeleton-text {
  height: 14px;
  margin-bottom: 8px;
}

.skeleton-text.short {
  width: 60%;
}

.skeleton-title {
  height: 20px;
  width: 40%;
  margin-bottom: 12px;
}

.skeleton-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
}

@keyframes skeletonPulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- Card Hover Glow ---------- */
.admin-card {
  position: relative;
}

.admin-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.1);
}

.admin-card:hover::after {
  opacity: 1;
}

/* ---------- Slug Refresh Button ---------- */
.slug-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  margin-left: 8px;
}

.slug-refresh-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-subtle);
}

/* ---------- Mobile Table Card View ---------- */
@media (max-width: 767px) {
  .admin-table thead {
    display: none;
  }

  .admin-table tbody tr {
    display: block;
    padding: 16px;
    margin-bottom: 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light) !important;
    background: #ffffff;
    box-shadow: var(--shadow-xs);
  }

  .admin-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f8fafc !important;
    font-size: 0.88rem;
  }

  .admin-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }

  .admin-table tbody td:last-child {
    border-bottom: none !important;
    text-align: center !important;
  }

  .admin-table .table-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    justify-content: center;
  }

  .admin-empty-state {
    padding: 32px 16px;
  }

  .admin-empty-state .empty-icon {
    font-size: 2.5rem;
  }
}

/* ---------- Print Styles ---------- */
@media print {
  .admin-sidebar,
  .admin-topbar,
  .admin-mobile-toggle,
  .sidebar-overlay,
  .admin-btn,
  .bulk-action-bar {
    display: none !important;
  }

  .admin-main {
    margin-left: 0 !important;
    height: auto !important;
    overflow: visible !important;
  }

  .admin-content-wrapper {
    padding: 0 !important;
  }

  .admin-card {
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
    break-inside: avoid;
  }
}

/* ---------- Scrollbar Styling ---------- */
.admin-sidebar-scroll::-webkit-scrollbar,
.admin-activity-log .log-list::-webkit-scrollbar {
  width: 4px;
}

.admin-sidebar-scroll::-webkit-scrollbar-track,
.admin-activity-log .log-list::-webkit-scrollbar-track {
  background: transparent;
}

.admin-sidebar-scroll::-webkit-scrollbar-thumb,
.admin-activity-log .log-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.admin-sidebar-scroll::-webkit-scrollbar-thumb:hover,
.admin-activity-log .log-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ---------- Focus Visible ---------- */
.admin-btn:focus-visible,
.admin-input:focus-visible,
.sidebar-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ---------- Print QR Standee Styles ---------- */
.print-standee {
  display: none;
}

@media print {
  .print-standee {
    display: block !important;
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 99999;
    padding: 40px;
    text-align: center;
  }

  .print-standee .standee-qr {
    width: 280px;
    height: 280px;
    margin: 0 auto 24px;
    border: 2px solid #0f172a;
    border-radius: var(--radius-lg);
    padding: 16px;
  }

  .print-standee .standee-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
  }

  .print-standee .standee-hint {
    font-size: 0.85rem;
    color: #64748b;
  }
}

@media (max-width: 375px) {
  .hero-title {
    font-size: 1.65rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-search-box input {
    font-size: 0.9rem;
  }

  .hero-pill-tag {
    font-size: 0.75rem;
  }

  .hero-feature-pills {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn-hero-primary,
  .hero-cta-group .btn-hero-secondary {
    width: 100%;
    text-align: center;
  }

  .admin-stat-value {
    font-size: 1.35rem;
  }

  .admin-page-title {
    font-size: 1.25rem;
  }

  .admin-topbar-title {
    font-size: 1.1rem;
  }
}















/* ==========================================================================
   CATALOG / KATALOG RESPONSIVE - TABLET & MOBILE ONLY
   Desktop styles tetap dipertahankan, hanya override di bawah ini
   untuk tampilan <= 991px (tablet) dan <= 576px (mobile)
   ========================================================================== */

/* ---------- TABLET (max-width: 991px) ---------- */
@media (max-width: 991px) {
  .section-premium {
    padding: 50px 0;
  }

  .filter-toolbar-premium {
    padding: 18px;
  }

  .filter-pill-bar {
    gap: 8px;
    margin-bottom: 22px;
  }

  .filter-pill {
    padding: 7px 14px;
    font-size: 0.85rem;
  }

  .umkm-card-cover {
    height: 150px;
  }

  .umkm-avatar,
  .umkm-avatar-placeholder {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .umkm-avatar-placeholder {
    font-size: 1.25rem;
  }

  .umkm-avatar-wrap {
    margin-top: -30px;
    margin-left: 16px;
  }

  .umkm-card-body {
    padding: 14px 16px 16px;
  }

  .umkm-card-title {
    font-size: 1.05rem;
  }

  .umkm-card-owner {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }

  .umkm-card-description {
    font-size: 0.85rem;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  .umkm-card-meta {
    padding-top: 10px;
    margin-bottom: 12px;
    font-size: 0.8rem;
  }

  .product-card-thumb {
    min-height: 130px;
  }

  .product-card-body {
    padding: 14px 16px 16px;
  }

  .product-card-title {
    font-size: 1rem;
    line-height: 1.3;
  }

  .product-card-seller {
    font-size: 0.78rem;
    margin-bottom: 4px;
  }

  .product-card-desc {
    font-size: 0.82rem;
    margin-bottom: 12px;
  }

  .product-card-price-badge {
    font-size: 0.78rem;
    padding: 4px 10px;
    top: 10px;
    right: 10px;
  }

  .product-card-footer {
    gap: 6px;
    padding-top: 10px;
  }

  .product-card-footer .btn {
    font-size: 0.78rem;
    padding: 4px 10px;
  }
}

/* ---------- MOBILE (max-width: 576px) ---------- */
@media (max-width: 576px) {
  .section-premium {
    padding: 36px 0;
  }

  .filter-toolbar-premium {
    padding: 14px;
  }

  .filter-pill-bar {
    gap: 6px;
    margin-bottom: 18px;
  }

  .filter-pill {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .umkm-card-cover {
    height: 130px;
  }

  .umkm-avatar,
  .umkm-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    border-width: 2px;
  }

  .umkm-avatar-placeholder {
    font-size: 1.1rem;
  }

  .umkm-avatar-wrap {
    margin-top: -26px;
    margin-left: 14px;
  }

  .umkm-card-body {
    padding: 12px 14px 14px;
  }

  .umkm-card-title {
    font-size: 0.95rem;
    margin-bottom: 4px;
    line-height: 1.3;
  }

  .umkm-card-owner {
    font-size: 0.75rem;
    margin-bottom: 6px;
  }

  .umkm-card-description {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 10px;
  }

  .umkm-card-meta {
    padding-top: 8px;
    margin-bottom: 10px;
    font-size: 0.75rem;
    flex-wrap: wrap;
    gap: 4px;
  }

  .umkm-card-category-badge {
    font-size: 0.68rem;
    padding: 3px 9px;
    top: 8px;
    left: 8px;
  }

  .umkm-card-status-badge {
    font-size: 0.65rem;
    padding: 3px 8px;
    top: 8px;
    right: 8px;
  }

  .umkm-card-actions {
    flex-direction: row;
    gap: 6px;
  }

  .umkm-card-actions .btn-modern-primary,
  .umkm-card-actions .btn-modern-wa {
    font-size: 0.78rem;
    padding: 6px 10px;
  }

  .product-card-thumb {
    min-height: 110px;
  }

  .product-card-body {
    padding: 10px 12px 12px;
  }

  .product-card-title {
    font-size: 0.9rem;
    line-height: 1.25;
    margin-bottom: 6px;
  }

  .product-card-seller {
    font-size: 0.72rem;
    margin-bottom: 3px;
  }

  .product-card-desc {
    font-size: 0.78rem;
    line-height: 1.35;
    margin-bottom: 10px;
  }

  .product-card-price-badge {
    font-size: 0.72rem;
    padding: 3px 8px;
    top: 8px;
    right: 8px;
  }

  .product-card-footer {
    gap: 4px;
    padding-top: 8px;
  }

  .product-card-footer .btn {
    font-size: 0.72rem;
    padding: 3px 8px;
  }
}
