/**
 * ==============================================================================
 * SANY INDONESIA (PT CEMERLANG PERKASA TEKNOLOGI) - OFFICIAL STYLESHEET
 * Subdomain: https://sanyglobal.cepet.co.id/
 * Design System: Mengadopsi Identitas Resmi Sany Global (Aurora Green)
 * Version: 2.2.0 (Zero-Breakage Mobile Viewport, Anti-Blowout CSS Grid & Clean URLs)
 * ==============================================================================
 */

/* ------------------------------------------------------------------------------
   1. CSS VARIABLES (PALET WARNA & IDENTITAS RESMI HANGCHA)
   ------------------------------------------------------------------------------ */
:root {
  /* Safe Area Insets (Untuk Layar Berponi / Dynamic Island / Kamera Punch-hole) */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);

  /* Palet Warna Primer Hangcha Global */
  --hc-red-primary: #DB010A;
  --hc-red-dark: #B80008;
  --hc-red-deep: #005A22;
  --hc-red-soft: #E6F5EC;
  --hc-red-border: #A3D9B5;

  /* Warna Netral & Latar Belakang */
  --hc-bg-main: #FFFFFF;
  --hc-bg-subtle: #F4F5F7;
  --hc-bg-card: #FFFFFF;
  --hc-bg-dark: #111827;
  --hc-bg-surface: #F8FAFC;

  /* Warna Teks & Tipografi */
  --hc-text-main: #1F2937;
  --hc-text-heading: #0F172A;
  --hc-text-muted: #64748B;
  --hc-text-light: #94A3B8;
  --hc-text-white: #FFFFFF;

  /* Garis Batas & Border */
  --hc-border-light: #E2E8F0;
  --hc-border-hover: #CBD5E1;

  /* Status & Teknologi Badges */
  --hc-badge-li: #059669;
  --hc-badge-li-bg: #FEF2F2;
  --hc-badge-ic: #D97706;
  --hc-badge-ic-bg: #FFFBEB;
  --hc-badge-elec: #2563EB;
  --hc-badge-elec-bg: #EFF6FF;

  /* Bayangan (Elevation Shadows) */
  --hc-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --hc-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --hc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --hc-shadow-card-hover: 0 14px 28px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);

  /* Radius Sudut */
  --hc-radius-sm: 4px;
  --hc-radius-md: 8px;
  --hc-radius-lg: 12px;
  --hc-radius-pill: 9999px;

  /* Tipografi */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  
  /* Dimensi Tata Letak */
  --header-height: 76px;
  --topbar-height: 38px;
  --container-max-width: 1280px;
  --transition-speed: 0.25s ease-in-out;
}

/* ------------------------------------------------------------------------------
   2. ANTI-OVERFLOW GLOBAL & RESET CSS MUTLAK (ZERO HORIZONTAL BLOWOUT)
   ------------------------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  position: relative;
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--hc-text-main);
  background-color: var(--hc-bg-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--hc-red-primary);
}

input, select, textarea {
  font: inherit;
  font-size: 1rem; /* Minimum 16px mencegah auto-zoom liar pada browser iOS Safari */
  outline: none;
}

button {
  font: inherit;
  outline: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ------------------------------------------------------------------------------
   3. STRUKTUR KONTAINER FLUID & GRID ANTI-BLOWOUT
   ------------------------------------------------------------------------------ */
.site-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-left: calc(clamp(1rem, 3vw, 1.5rem) + env(safe-area-inset-left, 0px));
  padding-right: calc(clamp(1rem, 3vw, 1.5rem) + env(safe-area-inset-right, 0px));
  min-width: 0;
  box-sizing: border-box;
}

/* Anti-Blowout Rule: Cegah grid & flex children membengkak melewati parent */
main, section, header, footer,
.site-container,
.hero-grid,
.product-grid,
.detail-main-grid,
.catalog-toolbar,
.detail-gallery-box,
.detail-summary-box,
.gallery-thumbnails-strip,
.detail-nav-tabs,
.detail-tabs-section,
.tab-content-panel,
.prose-content,
.table-responsive,
.pillars-grid,
.category-showcase-grid,
.split-feature-grid,
.services-grid,
.about-grid,
.about-addresses-grid,
.footer-top-grid {
  min-width: 0;
  max-width: 100%;
}

.product-grid > *,
.detail-main-grid > *,
.hero-grid > *,
.footer-top-grid > *,
.pillars-grid > *,
.category-showcase-grid > *,
.split-feature-grid > *,
.services-grid > *,
.about-grid > *,
.about-addresses-grid > *,
.detail-gallery-box > *,
.detail-summary-box > * {
  min-width: 0;
  max-width: 100%;
}

.section-wrapper {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  width: 100%;
  overflow-x: hidden;
}

.section-wrapper-sm {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  width: 100%;
  overflow-x: hidden;
}

.bg-subtle {
  background-color: var(--hc-bg-subtle);
}

.bg-white {
  background-color: #FFFFFF;
}

.bg-dark {
  background-color: var(--hc-bg-dark);
  color: #FFFFFF;
}

/* Section Headings */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(2rem, 4vw, 3rem) auto;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background-color: var(--hc-red-soft);
  color: var(--hc-red-primary);
  border: 1px solid var(--hc-red-border);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--hc-radius-pill);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--hc-text-heading);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: var(--hc-text-muted);
  line-height: 1.6;
}

/* Grid Khusus Beranda (Semantic Layout Classes) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.pillar-card {
  background: #FFFFFF;
  padding: 1.5rem;
  border-radius: var(--hc-radius-md);
  border: 1px solid var(--hc-border-light);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--hc-shadow-sm);
  transition: transform var(--transition-speed);
}

.pillar-card:hover {
  transform: translateY(-2px);
}

.pillar-icon {
  color: var(--hc-red-primary);
  flex-shrink: 0;
}

.pillar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hc-text-heading);
  margin-bottom: 0.25rem;
}

.pillar-desc {
  font-size: 0.8125rem;
  color: var(--hc-text-muted);
  line-height: 1.5;
}

.category-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  width: 100%;
}

.split-feature-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.service-card {
  background: #FFFFFF;
  border-radius: var(--hc-radius-md);
  padding: 2rem 1.5rem;
  border: 1px solid var(--hc-border-light);
  box-shadow: var(--hc-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--hc-shadow-md);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
}

.about-addresses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
  width: 100%;
}

.cta-banner-box {
  background: var(--hc-bg-dark);
  color: #FFFFFF;
  border-radius: var(--hc-radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--hc-red-primary);
  width: 100%;
}

/* ------------------------------------------------------------------------------
   4. HEADER, TOP BAR & NAVIGASI STICKY
   ------------------------------------------------------------------------------ */
.top-bar {
  background-color: var(--hc-bg-dark);
  color: #D1D5DB;
  font-size: 0.8125rem;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  overflow: hidden;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.top-bar-distributor {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  white-space: nowrap;
}

.top-bar-distributor strong {
  color: #FFFFFF;
}

.top-bar-contacts {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: #D1D5DB;
}

.top-bar-link:hover {
  color: #FFFFFF;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hc-border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
  width: 100%;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  width: 100%;
}

.brand-identity {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  min-width: 0;
}

.brand-emblem {
  display: flex;
  align-items: baseline;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--hc-text-heading);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.1;
  margin: 0;
  padding: 0;
}

.brand-emblem span {
  color: var(--hc-red-primary);
}

.brand-subtitle,
.brand-badge {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--hc-red-primary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-top: 2px;
  white-space: nowrap;
  background: transparent;
  padding: 0;
  border: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--hc-text-main);
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--hc-red-primary);
  transition: width var(--transition-speed);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--hc-red-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-header-cta {
  background-color: var(--hc-red-primary);
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.6875rem 1.25rem;
  border-radius: var(--hc-radius-sm);
  border: 1px solid var(--hc-red-primary);
  box-shadow: 0 2px 4px rgba(0, 150, 57, 0.2);
  transition: all var(--transition-speed);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  white-space: nowrap;
}

.btn-header-cta:hover {
  background-color: var(--hc-red-dark);
  border-color: var(--hc-red-dark);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.mobile-toggle-btn {
  display: none;
  align-items: center;
  gap: 0.45rem;
  background-color: var(--hc-bg-subtle);
  border: 1.5px solid var(--hc-border-hover);
  border-radius: var(--hc-radius-md);
  padding: 0.45rem 0.75rem;
  color: var(--hc-text-heading);
  cursor: pointer;
  transition: all var(--transition-speed);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.mobile-toggle-btn:hover,
.mobile-toggle-btn:active {
  background-color: #E2E8F0;
  border-color: var(--hc-red-primary);
  color: var(--hc-red-primary);
}

.mobile-toggle-btn svg {
  width: 20px;
  height: 20px;
  display: block;
  stroke: currentColor;
}

.mobile-toggle-text {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

/* ------------------------------------------------------------------------------
   5. OFF-CANVAS MOBILE DRAWER NAVIGATION (ANTI-SCROLL BLOWOUT)
   ------------------------------------------------------------------------------ */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1090;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-speed), visibility var(--transition-speed);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  height: 100dvh;
  background: #FFFFFF;
  z-index: 1100;
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.25);
  transform: translateX(105%);
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  padding-top: calc(1.25rem + env(safe-area-inset-top, 0px));
  padding-right: calc(1.25rem + env(safe-area-inset-right, 0px));
  padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  padding-left: calc(1.25rem + env(safe-area-inset-left, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.3s ease;
}

.mobile-nav.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.mobile-nav .btn-whatsapp-cta,
.mobile-nav .btn-whatsapp-rfq,
.mobile-nav [class*="btn-whatsapp"],
.mobile-nav [class*="whatsapp"] {
  display: none !important;
}

.mobile-nav:not(.open),
.mobile-nav-overlay:not(.open) {
  display: none !important;
}

@media (min-width: 901px) {
  .mobile-nav,
  .mobile-nav-overlay {
    display: none !important;
  }
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--hc-border-light);
  margin-bottom: 1.5rem;
}

.mobile-nav-close {
  background: var(--hc-bg-subtle);
  border: 1px solid var(--hc-border-light);
  border-radius: var(--hc-radius-sm);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--hc-text-heading);
  line-height: 1;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-links a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--hc-text-heading);
  padding: 0.75rem 0.625rem;
  border-bottom: 1px solid var(--hc-border-light);
  border-radius: var(--hc-radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--hc-red-primary);
  background-color: var(--hc-red-soft);
  border-color: var(--hc-red-border);
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ------------------------------------------------------------------------------
   6. HERO BANNER
   ------------------------------------------------------------------------------ */
.hero-banner {
  position: relative;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 60%, #334155 100%);
  color: #FFFFFF;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem) 0;
  overflow: hidden;
  width: 100%;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at right top, rgba(0, 150, 57, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-caption-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 150, 57, 0.2);
  color: #FF8086;
  border: 1px solid rgba(0, 150, 57, 0.4);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.875rem;
  border-radius: var(--hc-radius-pill);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  word-break: break-word;
}

.hero-title span {
  color: var(--hc-red-primary);
}

.hero-description {
  font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
  line-height: 1.6;
  color: #CBD5E1;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-primary-lg {
  background-color: var(--hc-red-primary);
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.875rem 1.75rem;
  border-radius: var(--hc-radius-sm);
  border: 1px solid var(--hc-red-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  box-shadow: 0 4px 14px rgba(0, 150, 57, 0.35);
  transition: all var(--transition-speed);
  cursor: pointer;
  text-align: center;
  justify-content: center;
}

.btn-primary-lg:hover {
  background-color: var(--hc-red-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 150, 57, 0.5);
}

.btn-outline-white {
  background-color: transparent;
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: var(--hc-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  transition: all var(--transition-speed);
  text-align: center;
  justify-content: center;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.hero-features-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  width: 100%;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #E2E8F0;
  font-weight: 500;
}

.hero-feature-item svg {
  color: var(--hc-red-primary);
  flex-shrink: 0;
}

/* Kontainer Gambar Hero (Aspect Ratio Terkunci) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-img-wrap, .hero-image-wrap {
  width: 100%;
  max-width: 580px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-wrap img, .hero-image-wrap img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ------------------------------------------------------------------------------
   7. KATALOG TOOLBAR (SEARCH BOX & MENU DROPDOWN KATEGORI)
   ------------------------------------------------------------------------------ */
.catalog-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.catalog-toolbar {
  background-color: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.catalog-toolbar-wrapper,
.catalog-toolbar-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 1rem;
  align-items: center;
  width: 100%;
}

/* 1. Search Box Field (Flexbox-Based Anti-Fragment) */
.toolbar-search-field,
.search-box-wrap {
  display: flex;
  align-items: center;
  position: relative;
  background-color: #FAFAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  height: 50px;
  padding: 0 8px 0 10px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  width: 100%;
}

.toolbar-search-field:hover,
.search-box-wrap:hover {
  background-color: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
}

.toolbar-search-field:focus-within,
.search-box-wrap:focus-within {
  background-color: #FFFFFF;
  border-color: var(--hc-red-primary);
  box-shadow: 0 0 0 3.5px rgba(0, 150, 57, 0.12), 0 4px 12px rgba(0, 150, 57, 0.04);
}

.toolbar-icon-box,
.search-box-icon-badge {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(0, 150, 57, 0.08);
  color: var(--hc-red-primary);
  pointer-events: none;
  transition: all 0.2s ease;
}

.toolbar-search-field:focus-within .toolbar-icon-box,
.search-box-wrap:focus-within .search-box-icon-badge {
  background: var(--hc-red-primary);
  color: #FFFFFF;
}

.toolbar-input,
.search-box-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  background: transparent;
  padding: 0 8px 0 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--hc-text-heading);
  outline: none;
  box-sizing: border-box;
}

.toolbar-input::placeholder,
.search-box-input::placeholder {
  color: var(--hc-text-muted);
  font-size: 0.875rem;
  font-weight: 400;
}

.toolbar-clear-btn,
.search-box-clear-btn {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #F1F5F9;
  border: none;
  cursor: pointer;
  color: #64748B;
  transition: all 0.15s ease;
  padding: 0;
}

.toolbar-clear-btn:hover,
.search-box-clear-btn:hover {
  background: #E2E8F0;
  color: var(--hc-red-primary);
  transform: scale(1.08);
}

/* 2. Category Select Field (Flexbox-Based Anti-Fragment) */
.toolbar-category-field,
.category-select-wrap {
  display: flex;
  align-items: center;
  position: relative;
  background-color: #FAFAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  height: 50px;
  padding: 0 8px 0 10px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  width: 100%;
}

.toolbar-category-field:hover,
.category-select-wrap:hover {
  background-color: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
}

.toolbar-category-field:focus-within,
.category-select-wrap:focus-within {
  background-color: #FFFFFF;
  border-color: var(--hc-red-primary);
  box-shadow: 0 0 0 3.5px rgba(0, 150, 57, 0.12), 0 4px 12px rgba(0, 150, 57, 0.04);
}

.toolbar-icon-cat,
.category-select-icon-badge {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.05);
  color: #334155;
  pointer-events: none;
  transition: all 0.2s ease;
}

.toolbar-category-field:focus-within .toolbar-icon-cat,
.category-select-wrap:focus-within .category-select-icon-badge {
  background: #0F172A;
  color: #FFFFFF;
}

.toolbar-select,
.category-select {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  background: transparent;
  padding: 0 8px 0 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--hc-text-heading);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
}

.toolbar-arrow-box,
.category-select-arrow-badge {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(0, 150, 57, 0.08);
  color: var(--hc-red-primary);
  pointer-events: auto; cursor: pointer;
  transition: all 0.2s ease;
}

.toolbar-category-field:hover .toolbar-arrow-box,
.category-select-wrap:hover .category-select-arrow-badge {
  background: rgba(0, 150, 57, 0.14);
}

.toolbar-category-field:focus-within .toolbar-arrow-box,
.category-select-wrap:focus-within .category-select-arrow-badge {
  background: var(--hc-red-primary);
  color: #FFFFFF;
}

/* ------------------------------------------------------------------------------
   8. PRODUCT CARD & KONTROL GAMBAR ANTI-DISTORSI (ASPECT-RATIO 4/3)
   ------------------------------------------------------------------------------ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
  width: 100%;
}

/* Grid/Flex Khusus Katalog Produk Resmi: Terbagi 3, 3, 3 & Selalu Center jika <= 3 Unit */
#catalogGrid.product-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 1.75rem 1.5rem !important;
  width: 100% !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

#catalogGrid.product-grid .product-card {
  flex: 0 1 calc((100% - 3.5rem) / 3) !important;
  min-width: 320px !important;
  max-width: 390px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 960px) {
  #catalogGrid.product-grid .product-card {
    flex: 0 1 calc((100% - 1.5rem) / 2) !important;
    min-width: 280px !important;
    max-width: 440px !important;
  }
}

@media (max-width: 600px) {
  #catalogGrid.product-grid {
    gap: 1rem !important;
  }
  #catalogGrid.product-grid .product-card {
    flex: 1 1 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

.product-card {
  background-color: var(--hc-bg-card);
  border: 1px solid var(--hc-border-light);
  border-radius: var(--hc-radius-md);
  overflow: hidden;
  box-shadow: var(--hc-shadow-sm);
  transition: all var(--transition-speed);
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hc-shadow-card-hover);
  border-color: var(--hc-border-hover);
}

/* Kontainer Gambar Produk Terkunci Rasio 4/3 Proporsional */
.product-card-img-wrap, .product-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #FFFFFF;
  background-image: radial-gradient(#F1F5F9 15%, transparent 16%);
  background-size: 16px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
  border-bottom: 1px solid var(--hc-border-light);
}

.product-card-img-wrap img, .product-image-container img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card-img-wrap img,
.product-card:hover .product-image-container img {
  transform: scale(1.05);
}

.product-badge-group {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  z-index: 2;
  max-width: 60%;
}

.badge-tag-sm {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--hc-radius-sm);
  line-height: 1.2;
  white-space: nowrap;
}

.badge-lithium {
  background-color: var(--hc-badge-li-bg);
  color: var(--hc-badge-li);
  border: 1px solid #A7F3D0;
}

.badge-ic {
  background-color: var(--hc-badge-ic-bg);
  color: var(--hc-badge-ic);
  border: 1px solid #FDE68A;
}

.badge-electric {
  background-color: var(--hc-badge-elec-bg);
  color: var(--hc-badge-elec);
  border: 1px solid #BFDBFE;
}

.badge-sany-auth {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--hc-text-muted);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--hc-radius-sm);
  border: 1px solid var(--hc-border-light);
  text-transform: uppercase;
  z-index: 2;
  white-space: nowrap;
}

.detail-badge-header .badge-sany-auth,
.detail-summary-box .badge-sany-auth {
  position: static !important;
  top: auto !important;
  right: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  background: #F1F5F9 !important;
  color: #475569 !important;
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  padding: 0.25rem 0.65rem !important;
  border-radius: 6px !important;
  border: 1px solid #CBD5E1 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--hc-red-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.375rem;
}

.product-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--hc-text-heading);
  line-height: 1.35;
  margin-bottom: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7rem;
  word-break: break-word;
}

.product-card-title a:hover {
  color: var(--hc-red-primary);
}

.product-card-specs {
  background-color: var(--hc-bg-subtle);
  border-radius: var(--hc-radius-sm);
  padding: 0.625rem 0.75rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.spec-mini-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  gap: 0.5rem;
}

.spec-mini-label {
  color: var(--hc-text-muted);
  white-space: nowrap;
}

.spec-mini-val {
  font-weight: 600;
  color: var(--hc-text-heading);
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-footer {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  width: 100%;
}

.btn-card-detail {
  background-color: #FFFFFF;
  color: var(--hc-text-main);
  border: 1px solid var(--hc-border-light);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.55rem 0.5rem;
  border-radius: var(--hc-radius-sm);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  transition: all var(--transition-speed);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-card-detail:hover {
  background-color: var(--hc-bg-subtle);
  border-color: var(--hc-border-hover);
  color: var(--hc-red-primary);
}

.btn-card-quote {
  background-color: var(--hc-red-primary);
  color: #FFFFFF;
  border: 1px solid var(--hc-red-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.55rem 0.5rem;
  border-radius: var(--hc-radius-sm);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  transition: all var(--transition-speed);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-card-quote:hover {
  background-color: var(--hc-red-dark);
  border-color: var(--hc-red-dark);
  color: #FFFFFF;
}

.catalog-empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  background: #FFFFFF;
  border-radius: var(--hc-radius-md);
  border: 1px dashed var(--hc-border-light);
  width: 100%;
}

.catalog-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem auto;
  color: var(--hc-text-light);
}

/* ------------------------------------------------------------------------------
   PAGINASI KATALOG PRODUK (9 UNIT PER HALAMAN: 3, 3, 3)
   ------------------------------------------------------------------------------ */
.catalog-pagination-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
  margin-bottom: 2rem;
  gap: 1.15rem;
  width: 100%;
}

.pagination-info {
  font-size: 0.875rem;
  color: #64748B;
  font-weight: 500;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.pagination-info strong {
  color: #0F172A;
  font-weight: 700;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  user-select: none;
}

.pagination-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  text-decoration: none;
  font-family: inherit;
  box-sizing: border-box;
}

.pagination-btn:hover:not(:disabled):not(.active) {
  background-color: #F8FAFC;
  border-color: #CBD5E1;
  color: #DB010A;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
}

.pagination-btn.active {
  background-color: #DB010A;
  border-color: #DB010A;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 150, 57, 0.3);
  cursor: default;
}

.pagination-btn:disabled,
.pagination-btn.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  background: #F8FAFC;
  border-color: #E2E8F0;
  color: #94A3B8;
  box-shadow: none;
}

.pagination-ellipsis {
  min-width: 32px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: #94A3B8;
  font-weight: 700;
}

.pagination-nav-btn {
  gap: 0.4rem;
  padding: 0 0.9rem;
}

.pagination-nav-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.pagination-nav-btn.prev:hover:not(:disabled) svg {
  transform: translateX(-2px);
}

.pagination-nav-btn.next:hover:not(:disabled) svg {
  transform: translateX(2px);
}

@media (max-width: 640px) {
  .catalog-pagination-wrap {
    margin-top: 2rem;
    gap: 0.85rem;
  }
  .pagination-info {
    font-size: 0.8125rem;
    padding: 0.35rem 0.9rem;
  }
  .pagination-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 0.55rem;
    font-size: 0.8125rem;
    border-radius: 8px;
  }
  .pagination-nav-btn {
    padding: 0 0.65rem;
  }
  .pagination-nav-text {
    display: none;
  }
}

/* ------------------------------------------------------------------------------
   9. DETAIL PRODUK (GALLERY, MATRIX & TABEL SPESIFIKASI RESPONSIF)
   ------------------------------------------------------------------------------ */
.breadcrumb-nav {
  padding: 1rem 0;
  font-size: 0.8125rem;
  color: var(--hc-text-muted);
  width: 100%;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-separator {
  color: var(--hc-text-light);
}

.breadcrumb-item.active {
  color: var(--hc-text-heading);
  font-weight: 600;
}

.detail-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  margin-bottom: 3.5rem;
  width: 100%;
  align-items: start;
}

.detail-gallery-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

/* Kontainer Gambar Utama Detail (Aspect Ratio 4/3 Terkunci & Zero Layout Shift) */
.gallery-stage, .detail-gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 480px;
  background-color: #FFFFFF;
  border: 1px solid var(--hc-border-light);
  border-radius: var(--hc-radius-lg);
  padding: clamp(0.75rem, 2vw, 1.75rem);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--hc-shadow-sm);
  overflow: hidden;
  contain: layout paint;
  min-width: 0;
  max-width: 100%;
}

.gallery-stage img, .detail-gallery-main img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-stage:hover img, .detail-gallery-main:hover img {
  transform: scale(1.03);
}

.gallery-thumbnails-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0.125rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.gallery-thumb-btn {
  width: 54px;
  height: 54px;
  min-width: 54px;
  min-height: 54px;
  border: 2px solid var(--hc-border-light);
  border-radius: var(--hc-radius-md);
  background-color: #FFFFFF;
  padding: 3px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-speed);
  display: flex;
  align-items: center;
  justify-content: center;
  contain: strict;
}

.gallery-thumb-btn:hover {
  border-color: var(--hc-red-primary);
}

.gallery-thumb-btn.active {
  border-color: var(--hc-red-primary);
  box-shadow: 0 0 0 2px rgba(0, 150, 57, 0.2);
}

.gallery-thumb-btn img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.detail-summary-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.detail-badge-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.detail-product-title {
  font-size: clamp(1.35rem, 3vw, 2.125rem);
  font-weight: 800;
  color: var(--hc-text-heading);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.detail-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: var(--hc-text-muted);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--hc-border-light);
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.detail-meta-item {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.detail-meta-item strong {
  color: var(--hc-text-heading);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.self-backlink {
  color: var(--hc-red-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: all var(--transition-speed);
}

.self-backlink:hover {
  color: var(--hc-red-dark);
  text-decoration-thickness: 2px;
}

.detail-excerpt-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--hc-text-main);
  margin-bottom: 1.5rem;
}

.detail-key-specs-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  background-color: var(--hc-bg-subtle);
  border: 1px solid var(--hc-border-light);
  border-radius: var(--hc-radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
  width: 100%;
}

.spec-cell {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.spec-cell-label {
  font-size: 0.75rem;
  color: var(--hc-text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.spec-cell-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hc-text-heading);
  word-break: break-word;
}

.detail-cta-lead-box {
  background-color: #FFFFFF;
  border: 1px solid var(--hc-border-light);
  border-left: 4px solid var(--hc-red-primary);
  border-radius: var(--hc-radius-md);
  padding: 1.5rem;
  box-shadow: var(--hc-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.cta-box-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--hc-text-heading);
}

.cta-box-desc {
  font-size: 0.875rem;
  color: var(--hc-text-muted);
  line-height: 1.5;
}

.cta-buttons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
}

.btn-whatsapp-cta {
  background-color: #25D366;
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: var(--hc-radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
  transition: all var(--transition-speed);
  flex: 1;
  min-width: min(200px, 100%);
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
}

.btn-whatsapp-cta:hover {
  background-color: #1EBE5D;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.45);
}

.btn-rfq-cta {
  background-color: var(--hc-red-primary);
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: var(--hc-radius-sm);
  border: 1px solid var(--hc-red-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 6px rgba(0, 150, 57, 0.25);
  transition: all var(--transition-speed);
  flex: 1;
  min-width: min(200px, 100%);
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
}

.btn-rfq-cta:hover {
  background-color: var(--hc-red-dark);
  color: #FFFFFF;
}

/* ------------------------------------------------------------------------------
   10. MENU LIPAT (ACCORDION) PRODUK & TABEL SPESIFIKASI RESPONSIF
   ------------------------------------------------------------------------------ */
/* Reset default <summary> disclosure markers across all browsers */
details summary::-webkit-details-marker,
details summary::marker {
  display: none !important;
  content: "" !important;
}
summary {
  list-style: none !important;
}

/* Ultra-Modern WhatsApp CTA Button */
.btn-whatsapp-rfq {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  padding: 0.95rem 1.5rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  box-shadow: 0 8px 24px -4px rgba(37, 211, 102, 0.45), 0 3px 8px -2px rgba(18, 140, 126, 0.25);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  box-sizing: border-box;
}

.btn-whatsapp-rfq:hover {
  background: linear-gradient(135deg, #22BF5B 0%, #0E7467 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(37, 211, 102, 0.58), 0 4px 10px -2px rgba(18, 140, 126, 0.35);
}

.btn-whatsapp-rfq:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-rfq svg {
  flex-shrink: 0;
  color: #FFFFFF;
  fill: #FFFFFF;
}

.btn-whatsapp-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.25;
  color: #FFFFFF;
}

.btn-whatsapp-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #FFFFFF;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.btn-whatsapp-online-pill {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-whatsapp-online-dot {
  width: 6px;
  height: 6px;
  background: #A7F3D0;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.4);
}

.btn-whatsapp-sub {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  margin-top: 3px;
}

/* Ultra-Modern Accordion Section */
.product-accordion-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.25rem;
  margin-bottom: 3.5rem;
  width: 100%;
  box-sizing: border-box;
}

.product-accordion-intro {
  margin-bottom: 1.25rem;
}

.accordion-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FEF2F2;
  color: #DB010A;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 150, 57, 0.15);
  margin-bottom: 0.5rem;
}

.accordion-intro-title {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  margin: 0;
}

.accordion-intro-desc {
  font-size: 0.875rem;
  color: #64748B;
  margin-top: 0.375rem;
  margin-bottom: 0;
}

.product-accordion-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 2px 6px -1px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.product-accordion-item:hover {
  border-color: #CBD5E1;
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.08);
}

.product-accordion-item[open] {
  border-color: #DB010A;
  box-shadow: 0 10px 25px -4px rgba(0, 150, 57, 0.12);
}

.product-accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  background: #FFFFFF;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  outline: none;
  box-sizing: border-box;
  gap: 1rem;
}

.product-accordion-summary:hover {
  background-color: #F8FAFC;
}

.product-accordion-item[open] > .product-accordion-summary {
  background-color: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}

.accordion-left-side {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.accordion-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.accordion-icon-deskripsi {
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #DBEAFE;
}

.accordion-icon-fitur {
  background: #FEF3C7;
  color: #D97706;
  border: 1px solid #FDE68A;
}

.accordion-icon-parameter {
  background: #EEF2FF;
  color: #4F46E5;
  border: 1px solid #E0E7FF;
}

.accordion-icon-garansi {
  background: #FEF2F2;
  color: #059669;
  border: 1px solid #FEE2E2;
}

.accordion-header-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.3;
  min-width: 0;
}

.accordion-main-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.01em;
}

.product-accordion-item[open] .accordion-main-title {
  color: #DB010A;
}

.accordion-sub-title {
  font-size: 0.8125rem;
  color: #64748B;
  font-weight: 500;
  margin-top: 2px;
}

.accordion-right-action {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.accordion-action-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748B;
  background: #F1F5F9;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.product-accordion-item[open] .accordion-action-pill {
  background: #FEE2E2;
  color: #DB010A;
}

.accordion-chevron-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.product-accordion-item[open] .accordion-chevron-circle {
  background: #DB010A;
  border-color: #DB010A;
  color: #FFFFFF;
  transform: rotate(180deg);
}

.product-accordion-content {
  padding: 1.5rem 1.5rem 2rem 1.5rem;
  background: #FFFFFF;
  box-sizing: border-box;
}

/* Callout highlighted excerpt */
.detail-callout-excerpt {
  background: #FFF8F8;
  border-left: 4px solid #DB010A;
  padding: 1.25rem 1.5rem;
  border-radius: 0 12px 12px 0;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #1E293B;
}

/* Modern Features List Cards */
.features-modern-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.feature-modern-card {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #334155;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.feature-modern-card:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

.feature-check-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #DEF7EC;
  color: #0E9F6E;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Modern Warranty Cards Grid */
.warranty-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.warranty-card-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.125rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.warranty-card-item:hover {
  border-color: #059669;
  background: #F0FDF4;
}

.warranty-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #FEF2F2;
  color: #059669;
  border: 1px solid #FEE2E2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.warranty-card-text {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #475569;
}

.warranty-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 2px;
}

@media (max-width: 640px) {
  .accordion-action-pill {
    display: none !important;
  }
  .accordion-sub-title {
    display: none !important;
  }
  .accordion-icon-box {
    width: 38px !important;
    height: 38px !important;
  }
  .product-accordion-summary {
    padding: 0.95rem 1rem !important;
  }
  .product-accordion-content {
    padding: 1.125rem 1rem !important;
  }
  .warranty-cards-grid {
    grid-template-columns: 1fr !important;
  }
}

.prose-content {
  overflow-wrap: break-word;
  word-wrap: break-word;
  width: 100%;
}

.prose-content h3 {
  font-size: clamp(1.15rem, 2vw, 1.375rem);
  font-weight: 800;
  color: var(--hc-text-heading);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.prose-content h3:first-child {
  margin-top: 0;
}

.prose-content p {
  margin-bottom: 1.25rem;
  color: var(--hc-text-main);
  line-height: 1.75;
}

.prose-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
}

.prose-content li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
  color: var(--hc-text-main);
}

/* Tabel Responsif: Anti Blowout Horizontal via Internal Scroll */
.table-responsive {
  width: 100%;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--hc-border-light);
  border-radius: var(--hc-radius-md);
  margin-top: 1rem;
}

.spec-table {
  width: 100%;
  min-width: 480px; /* Lebar minimum terjamin untuk keterbacaan kolom */
  margin: 0;
  font-size: 0.875rem;
}

.spec-table thead th {
  background-color: var(--hc-bg-dark);
  color: #FFFFFF;
  text-align: left;
  padding: 0.875rem 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.8125rem;
  text-transform: uppercase;
}

.spec-table tbody tr {
  border-bottom: 1px solid var(--hc-border-light);
  transition: background-color var(--transition-speed);
}

.spec-table tbody tr:last-child {
  border-bottom: none;
}

.spec-table tbody tr:nth-child(even) {
  background-color: var(--hc-bg-subtle);
}

.spec-table tbody tr:hover {
  background-color: #FEE2E2;
}

.spec-table td {
  padding: 0.875rem 1.25rem;
  vertical-align: middle;
}

.spec-table td.param-label {
  font-weight: 600;
  color: var(--hc-text-heading);
  width: 42%;
}

.spec-table td.param-value {
  color: var(--hc-text-main);
}

/* ------------------------------------------------------------------------------
   11. FOOTER PERUSAHAAN (CORPORATE DARK FOOTER)
   ------------------------------------------------------------------------------ */
.site-footer {
  background-color: var(--hc-bg-dark);
  color: #CBD5E1;
  border-top: 4px solid var(--hc-red-primary);
  padding: clamp(3rem, 5vw, 4.5rem) 0 2rem 0;
  width: 100%;
  overflow-x: hidden;
}

.site-footer .brand-emblem {
  color: #FFFFFF !important;
}

.site-footer .brand-emblem span {
  color: var(--hc-red-primary) !important;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 3.5rem;
  width: 100%;
}

.footer-col-title {
  color: #FFFFFF;
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--hc-red-primary);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-link-item a {
  font-size: 0.875rem;
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-link-item a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  font-size: 0.875rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.footer-contact-item svg {
  color: var(--hc-red-primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-bottom-row {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #64748B;
  width: 100%;
}

.footer-bottom-row a:hover {
  color: #FFFFFF;
}

/* ------------------------------------------------------------------------------
   12. WIDGET TOMBOL WHATSAPP MENGAPUNG & MODAL RFQ
   ------------------------------------------------------------------------------ */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  right: calc(20px + env(safe-area-inset-right, 0px));
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
}

.floating-whatsapp-tooltip {
  background-color: #1F2937;
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.4rem 0.875rem;
  border-radius: var(--hc-radius-pill);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: none;
  pointer-events: none;
  white-space: nowrap;
}

.floating-whatsapp-btn {
  width: clamp(48px, 12vw, 56px);
  height: clamp(48px, 12vw, 56px);
  border-radius: 50%;
  background-color: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-speed);
  flex-shrink: 0;
}

.floating-whatsapp-btn:hover {
  background-color: #1EBE5D;
  transform: scale(1.08);
}

.floating-whatsapp-btn svg {
  width: clamp(24px, 6vw, 30px);
  height: clamp(24px, 6vw, 30px);
}

/* RFQ Modal */
.rfq-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  padding-top: calc(1rem + env(safe-area-inset-top, 0px));
  padding-right: calc(1rem + env(safe-area-inset-right, 0px));
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  padding-left: calc(1rem + env(safe-area-inset-left, 0px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-speed);
}

.rfq-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rfq-modal-dialog {
  background: #FFFFFF;
  border-radius: var(--hc-radius-lg);
  max-width: 540px;
  width: 100%;
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--hc-border-light);
}

.rfq-modal-header {
  background: var(--hc-bg-dark);
  color: #FFFFFF;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: var(--hc-radius-lg);
  border-top-right-radius: var(--hc-radius-lg);
  border-bottom: 3px solid var(--hc-red-primary);
}

.rfq-modal-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

.rfq-modal-close {
  background: none;
  border: none;
  color: #CBD5E1;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.rfq-modal-close:hover {
  color: #FFFFFF;
}

.rfq-modal-body {
  padding: 1.5rem;
}

.rfq-form-group {
  margin-bottom: 1.125rem;
}

.rfq-form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hc-text-heading);
  margin-bottom: 0.35rem;
}

.rfq-form-input, .rfq-form-textarea {
  width: 100%;
  padding: 0.65rem 0.875rem;
  font-size: 0.875rem;
  border: 1px solid var(--hc-border-light);
  border-radius: var(--hc-radius-sm);
  background: var(--hc-bg-subtle);
  transition: all var(--transition-speed);
}

.rfq-form-input:focus, .rfq-form-textarea:focus {
  background: #FFFFFF;
  border-color: var(--hc-red-primary);
  box-shadow: 0 0 0 3px rgba(0, 150, 57, 0.1);
}

.rfq-form-textarea {
  resize: vertical;
  min-height: 80px;
}

/* ------------------------------------------------------------------------------
   13. RESPONSIVE BREAKPOINTS (ZERO-BREAKAGE VIEWPORT RULES)
   ------------------------------------------------------------------------------ */

/* ------------------------------------------------------------------------------
   A. PONSEL DALAM ORIENTASI HORIZONTAL / LANDSCAPE (TINGGI LAYAR <= 550px)
   Kompatibel 100% untuk Semua Merek: iPhone (Semua Seri), Samsung Galaxy, Xiaomi,
   Oppo, Vivo, Realme, Google Pixel saat layar diputar horizontal.
   ------------------------------------------------------------------------------ */
@media (orientation: landscape) and (max-height: 550px) {
  :root {
    --header-height: 54px;
    --topbar-height: 0px;
  }

  .top-bar {
    display: none;
  }

  .nav-menu {
    display: none;
  }

  .mobile-toggle-btn {
    display: block;
  }

  .btn-header-cta {
    display: none;
  }

  .hero-banner {
    padding: 1.5rem 0 2rem 0;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    text-align: left;
    gap: 1.5rem;
  }

  .hero-caption {
    align-items: flex-start;
    text-align: left;
  }

  .hero-title {
    font-size: clamp(1.25rem, 3.5vw, 1.65rem);
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 0.8125rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: flex-start;
    margin-bottom: 1rem;
    gap: 0.5rem;
  }

  .hero-buttons a {
    padding: 0.55rem 1.125rem;
    font-size: 0.8125rem;
  }

  .hero-features-list {
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 0.75rem;
  }

  .hero-feature-item {
    font-size: 0.75rem;
  }

  .hero-img-wrap, .hero-image-wrap {
    max-width: 280px;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
  }

  /* Grid 2 Kolom Seimbang di Layar Horizontal Ponsel */
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem;
  }

  .category-showcase-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem;
  }

  .about-addresses-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem;
  }

  /* Drawer Mobile di Landscape: Tetap Ringkas & Dapat Digulir Mulus */
  .mobile-nav {
    width: min(340px, 75vw);
    padding: 1rem;
  }

  .mobile-nav-header {
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .mobile-nav-links a {
    padding: 0.4rem 0.625rem;
    font-size: 0.8125rem;
  }

  .mobile-nav-footer {
    padding-top: 0.75rem;
  }

  /* Halaman Detail di Landscape Ponsel */
  .detail-main-grid {
    grid-template-columns: 1fr 1.1fr !important;
    gap: 1rem !important;
    align-items: start !important;
    margin-bottom: 1.5rem !important;
  }

  .gallery-stage, .detail-gallery-main {
    height: 200px !important;
    max-height: 200px !important;
    padding: 0.5rem !important;
  }

  .gallery-thumb-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }

  .detail-product-title {
    font-size: 1.15rem !important;
    margin-bottom: 0.25rem !important;
  }

  .detail-meta-row {
    padding-bottom: 0.4rem !important;
    margin-bottom: 0.4rem !important;
    font-size: 0.75rem !important;
  }

  .detail-key-specs-matrix {
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 0.5rem !important;
    gap: 0.35rem !important;
    margin-bottom: 0.5rem !important;
  }

  .spec-cell-label {
    font-size: 0.65rem !important;
  }

  .spec-cell-val {
    font-size: 0.8125rem !important;
  }

  .detail-cta-lead-box {
    padding: 0.625rem !important;
    gap: 0.5rem !important;
  }

  .cta-box-desc {
    display: none !important;
  }

  .cta-buttons-row {
    flex-direction: row !important;
    gap: 0.5rem !important;
  }

  .btn-whatsapp-cta, .btn-rfq-cta {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.75rem !important;
    min-width: 0 !important;
    flex: 1 !important;
  }

  .detail-tabs-section {
    min-height: 280px !important;
    margin-bottom: 2rem !important;
  }

  .tab-nav-btn {
    padding: 0.5rem 0.875rem !important;
    font-size: 0.8125rem !important;
    min-height: 40px !important;
  }
}

/* ------------------------------------------------------------------------------
   B. LAYAR LAPTOP KECIL & TABLET LANDSCAPE (<= 1024px)
   ------------------------------------------------------------------------------ */
@media (max-width: 1024px) {
  .top-bar {
    display: none; /* Sembunyikan topbar pada layar touch/tablet */
  }

  .nav-menu {
    display: none;
  }

  .mobile-toggle-btn {
    display: inline-flex !important;
  }

  .brand-subtitle,
  .brand-badge {
    font-size: 0.5625rem;
  }

  /* Toolbar Grid Tablet */
  .catalog-toolbar-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 1rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-features-list, .hero-buttons {
    justify-content: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-img-wrap, .hero-image-wrap {
    margin: 0 auto;
    max-width: 440px;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .category-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .split-feature-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .detail-main-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.5rem;
    align-items: start;
  }

  .gallery-stage, .detail-gallery-main {
    max-height: 380px;
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* ------------------------------------------------------------------------------
   C. LAYAR TABLET PORTRAIT (<= 768px)
   ------------------------------------------------------------------------------ */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .btn-header-cta {
    display: none; /* Hemat ruang navbar mobile */
  }

  .catalog-toolbar {
    padding: 0.75rem;
    border-radius: 14px;
    margin-bottom: 1.5rem;
  }

  .catalog-toolbar-wrapper,
  .catalog-toolbar-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .toolbar-search-field,
  .toolbar-category-field,
  .search-box-wrap,
  .category-select-wrap {
    height: 48px;
    border-radius: 11px;
    padding: 0 6px 0 8px;
  }

  .toolbar-input,
  .toolbar-select,
  .search-box-input,
  .category-select {
    font-size: 0.875rem;
  }

  .toolbar-input::placeholder,
  .search-box-input::placeholder {
    font-size: 0.8125rem;
  }

  .toolbar-icon-box,
  .toolbar-arrow-box,
  .search-box-icon-badge,
  .category-select-icon-badge,
  .category-select-arrow-badge {
    width: 30px;
    height: 30px;
    border-radius: 7px;
  }

  .toolbar-clear-btn,
  .search-box-clear-btn {
    width: 24px;
    height: 24px;
  }

  .hero-features-list {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    text-align: left;
  }

  .cta-banner-box {
    padding: 2.25rem 1.5rem;
  }

  .cta-banner-box h2 {
    font-size: 1.5rem !important;
  }

  .cta-banner-box p {
    font-size: 0.9375rem !important;
    margin-bottom: 1.5rem !important;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ------------------------------------------------------------------------------
   D. LAYAR PONSEL UMUM / PORTRAIT (<= 640px)
   ------------------------------------------------------------------------------ */
@media (max-width: 640px) {
  .brand-emblem {
    font-size: 1.15rem;
  }

  .brand-subtitle,
  .brand-badge {
    font-size: 0.5rem;
    letter-spacing: 0.01em;
  }

  /* Grid Produk Tepat 1 Kolom Penuh pada Ponsel Portrait */
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .product-card-footer {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .btn-card-detail, .btn-card-quote {
    white-space: normal;
    min-height: 38px;
    line-height: 1.2;
    padding: 0.45rem 0.35rem;
    font-size: 0.75rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .category-showcase-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-addresses-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons a {
    width: 100%;
    justify-content: center;
  }

  .search-box-wrap,
  .category-select-wrap {
    width: 100%;
    min-width: 100%;
  }

  /* Tata Letak Detail Produk pada Layar Tablet Portrait (<= 768px) */
  .detail-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
  }

  .gallery-stage, .detail-gallery-main {
    max-height: 320px;
    padding: 0.75rem;
  }

  .gallery-thumb-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }

  .detail-product-title {
    font-size: clamp(1.2rem, 3.5vw, 1.45rem);
  }

  .detail-cta-lead-box {
    padding: 1.125rem;
  }

  .cta-buttons-row {
    flex-direction: column;
    width: 100%;
    gap: 0.625rem;
  }

  .btn-whatsapp-cta, .btn-rfq-cta {
    width: 100% !important;
    justify-content: center;
    white-space: normal !important;
    text-align: center;
  }

  .detail-key-specs-matrix {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.875rem;
  }

  .detail-tabs-section {
    min-height: 340px;
  }

  .tab-nav-btn {
    padding: 0.75rem 1.125rem;
    font-size: 0.84375rem;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}

/* ------------------------------------------------------------------------------
   D. LAYAR PONSEL PORTRAIT (<= 680px)
   Transisi dari 2 Kolom ke 1 Kolom Penuh untuk Ponsel Vertikal
   ------------------------------------------------------------------------------ */
@media (max-width: 680px) {
  .detail-main-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    margin-bottom: 2rem !important;
  }

  .gallery-stage, .detail-gallery-main {
    max-height: 300px !important;
  }

  .detail-key-specs-matrix {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ------------------------------------------------------------------------------
   E. LAYAR PONSEL MUNGIL (<= 480px)
   ------------------------------------------------------------------------------ */
@media (max-width: 480px) {
  .site-container {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
    padding-left: calc(0.875rem + env(safe-area-inset-left, 0px));
    padding-right: calc(0.875rem + env(safe-area-inset-right, 0px));
  }

  .product-card-body {
    padding: 0.875rem;
  }

  .product-card-title {
    font-size: 0.95rem;
    min-height: auto;
  }

  .gallery-stage, .detail-gallery-main {
    max-height: 260px !important;
    padding: 0.5rem;
  }

  .gallery-thumb-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .detail-key-specs-matrix {
    grid-template-columns: 1fr !important;
    padding: 0.75rem;
    gap: 0.5rem;
  }

  .floating-whatsapp {
    bottom: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: calc(16px + env(safe-area-inset-right, 0px));
  }

  .floating-whatsapp-btn {
    width: 48px;
    height: 48px;
  }
}

/* ------------------------------------------------------------------------------
   F. LAYAR SANGAT SEMPIT (<= 360px - e.g. Galaxy Z Fold Outer 280-320px, iPhone SE)
   ------------------------------------------------------------------------------ */
@media (max-width: 360px) {
  .site-container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .product-card-footer {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .btn-card-detail, .btn-card-quote {
    width: 100%;
    min-height: 40px;
    font-size: 0.8125rem;
  }

  .brand-emblem {
    font-size: 1.05rem;
  }

  .brand-subtitle,
  .brand-badge {
    font-size: 0.475rem;
    letter-spacing: 0;
  }

  .hero-title {
    font-size: 1.45rem;
  }
}

/* ------------------------------------------------------------------------------
   8B. REKOMENDASI UTAMA (4-BOX CENTERED GRID)
   ------------------------------------------------------------------------------ */
.featured-product-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: clamp(1rem, 2vw, 1.5rem);
  width: 100%;
  max-width: 1240px;
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: center;
}

@media (max-width: 1100px) and (min-width: 641px) {
  .featured-product-grid {
    grid-template-columns: repeat(2, minmax(280px, 360px)) !important;
    justify-content: center;
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .featured-product-grid {
    grid-template-columns: minmax(0, 420px) !important;
    justify-content: center;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 1.25rem;
  }
}

/* ------------------------------------------------------------------------------
   FAQ ACCORDION & DEALER SEO SECTION (SEO OPTIMIZED & ACCESSIBLE)
   ------------------------------------------------------------------------------ */
.faq-section {
  padding: clamp(3rem, 5vw, 5rem) 0;
  background-color: #F8FAFC;
  border-top: 1px solid var(--hc-border-light);
  border-bottom: 1px solid var(--hc-border-light);
}

.faq-list {
  max-width: 920px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1.5px solid var(--hc-border-light);
  border-radius: var(--hc-radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.faq-item:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.faq-item[open] {
  border-color: var(--hc-red-border);
  box-shadow: 0 4px 14px rgba(0, 150, 57, 0.06);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--hc-text-heading);
  cursor: pointer;
  user-select: none;
  list-style: none;
  position: relative;
  transition: color 0.2s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: var(--hc-red-primary);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 150, 57, 0.08);
  color: var(--hc-red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  background: var(--hc-red-primary);
  color: #FFFFFF;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--hc-text-main);
  border-top: 1px solid #F1F5F9;
  padding-top: 1rem;
}

.faq-answer p:not(:last-child) {
  margin-bottom: 0.75rem;
}

.faq-answer strong {
  color: var(--hc-text-heading);
}

/* Dealer SEO Content Block in Catalog & Home */
.dealer-seo-section {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  background: #FFFFFF;
  border-top: 1px solid var(--hc-border-light);
  margin-top: 3.5rem;
}

.dealer-seo-container {
  max-width: 1100px;
  margin: 0 auto;
}

.dealer-seo-header {
  margin-bottom: 2rem;
}

.dealer-seo-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--hc-text-heading);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.dealer-seo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (max-width: 860px) {
  .dealer-seo-grid {
    grid-template-columns: 1fr;
  }
  .faq-question {
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
  }
  .faq-answer {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.875rem;
  }
}

.dealer-seo-card {
  background: #FAFAFC;
  border: 1px solid var(--hc-border-light);
  border-radius: var(--hc-radius-lg);
  padding: 1.5rem;
  transition: all 0.2s ease;
}

.dealer-seo-card:hover {
  transform: translateY(-2px);
  border-color: #CBD5E1;
  box-shadow: var(--hc-shadow-sm);
}

.dealer-seo-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--hc-text-heading);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dealer-seo-card-desc {
  font-size: 0.875rem;
  color: var(--hc-text-muted);
  line-height: 1.65;
}

/* ------------------------------------------------------------------------------
   G. PRINT STYLESHEET
   ------------------------------------------------------------------------------ */
@media print {
  .top-bar, .main-header, .site-footer, .floating-whatsapp, .btn-header-cta, .detail-cta-lead-box, .mobile-toggle-btn {
    display: none !important;
  }

  body {
    background: #FFFFFF;
    color: #000000;
  }

  .gallery-stage {
    height: auto;
    border: none;
  }
}

/* ==============================================================================
   HANGCHA MODERN UI/UX ENHANCEMENTS (STANDARDIZED WITH EP EQUIVALENT)
   ============================================================================== */

/* 1. Permanent Removal of Floating WhatsApp Widget */
.floating-whatsapp,
.floating-whatsapp-wrap,
.floating-whatsapp-btn {
  display: none !important;
}

/* 2. Hide Accordion Action Pill (Removed "klik untuk buka/tutup") */
.accordion-action-pill {
  display: none !important;
}

/* 3. Horizontal Trust Badges & Brochure Pill Alignment */
.btn-download-brochure {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  color: #DB010A !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  margin-top: 0.85rem !important;
  margin-bottom: 0.5rem !important;
  transition: color 0.2s ease !important;
}
.btn-download-brochure:hover {
  color: #005A22 !important;
  text-decoration: underline !important;
}
.btn-download-brochure svg {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  margin: 0 !important;
}

.detail-trust-pills {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.65rem !important;
  margin-top: 1rem !important;
}
.trust-pill-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.5rem !important;
  font-size: 0.875rem !important;
  color: #334155 !important;
  line-height: 1.4 !important;
}
.trust-pill-item svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  color: #DB010A !important;
  margin: 0 !important;
}
.trust-pill-item span {
  display: inline-block !important;
}

/* 4. Quick-Specs Grid Spacing & Detail Callout Separation */
.detail-quick-specs-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.75rem !important;
  margin-top: 1.25rem !important;
  margin-bottom: 1.5rem !important;
}
.detail-summary-box .detail-callout-excerpt {
  margin-top: 0.5rem !important;
  margin-bottom: 1.5rem !important;
}

/* 5. 3-Box Side-by-Side Related Products Grid */
.related-products-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(1rem, 2.5vw, 1.75rem) !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}
.related-products-grid .product-card {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}
@media (max-width: 960px) and (min-width: 641px) {
  .related-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 640px) {
  .related-products-grid {
    grid-template-columns: 1fr !important;
  }
}

/* 6. Footer Brand Spacing & Horizontal Authorized Shield Badge */
.site-footer .brand-emblem {
  color: #FFFFFF !important;
}
.site-footer .brand-emblem span {
  color: #DB010A !important;
}
.footer-brand-col .brand-identity,
.site-footer .brand-identity {
  margin-bottom: 1.5rem !important;
  display: inline-flex !important;
}
.footer-brand-col .footer-desc,
.site-footer .footer-desc {
  margin-top: 0 !important;
  margin-bottom: 1.5rem !important;
  font-size: 0.875rem !important;
  color: #94A3B8 !important;
  line-height: 1.65 !important;
}
.footer-badge-auth {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.625rem !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  color: #FEE2E2 !important;
  background: rgba(0, 150, 57, 0.15) !important;
  border: 1px solid rgba(0, 150, 57, 0.35) !important;
  padding: 0.4rem 0.85rem !important;
  border-radius: 9999px !important;
  letter-spacing: 0.02em !important;
  width: fit-content !important;
  margin-top: 0.5rem !important;
}
.footer-badge-auth svg {
  width: 18px !important;
  height: 18px !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  color: #DB010A !important;
}
.footer-badge-auth span {
  display: inline-block !important;
  white-space: nowrap !important;
}
