/* ============================================
   PT OMKJ RAYMAX MACHINERY TOOLS
   Global Styles v2.0
   Primary: #ffffff (white)
   Secondary: #e8f4fd (soft sky blue — enak di mata)
   Accent: #3b9ede (calm blue)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Roboto+Mono:wght@400;500&display=swap');

/* ---- Root Variables ---- */
:root {
  /* Core Palette — Putih & Biru Muda Lembut */
  --color-primary:        #ffffff;
  --color-secondary:      #e8f4fd;           /* biru langit sangat lembut */
  --color-secondary-mid:  #cce8fa;           /* biru mid untuk hover/border */
  --color-accent:         #2196c4;           /* biru tenang — tidak terlalu terang */
  --color-accent-light:   #5bbee0;           /* biru terang untuk hover */
  --color-accent-pale:    #daeef8;           /* biru pucat untuk bg badge */
  --color-steel:          #b3d9ef;           /* biru baja lembut */

  /* Text Colors */
  --color-text:           #1a3a4a;           /* dark navy — mudah dibaca */
  --color-text-muted:     #4a7c96;           /* biru-abu muted */
  --color-text-light:     #6b9aad;           /* lighter muted */

  /* Borders & Backgrounds */
  --color-border:         #c5e0f0;
  --color-bg-page:        #f7fbfe;           /* off-white dengan hint biru — tidak menyilaukan */
  --color-bg-section:     #eef6fc;
  --color-card-bg:        #ffffff;

  /* Shadows */
  --shadow-card:  0 1px 3px rgba(33,150,196,0.06), 0 4px 16px rgba(33,150,196,0.07);
  --shadow-hover: 0 6px 20px rgba(33,150,196,0.14), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-nav:   0 1px 0 rgba(33,150,196,0.1), 0 4px 20px rgba(0,0,0,0.05);

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

/* ---- Base Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--color-text);
  background: var(--color-bg-page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* Padding bottom for mobile bottom nav */
  padding-bottom: 0;
}
@media (max-width: 768px) {
  body { padding-bottom: 68px; }
}

/* ---- Page Transition Overlay ---- */
#page-transition {
  position: fixed;
  inset: 0;
  background: var(--color-secondary);
  z-index: 9999;
  transform: translateY(100%);
  pointer-events: none;
}
#page-transition.slide-in { animation: slideIn 0.4s cubic-bezier(0.76,0,0.24,1) forwards; }
#page-transition.slide-out { animation: slideOut 0.4s cubic-bezier(0.76,0,0.24,1) forwards; }
@keyframes slideIn { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes slideOut { from { transform: translateY(0); } to { transform: translateY(-100%); } }

/* ---- Hero Section — Dikecilkan dari 100vh ke 65vh ---- */
.hero-section {
  position: relative;
  min-height: 65vh;            /* WAS: 100vh — dikecilkan agar tidak terlalu makan layar */
  max-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero_factory.jpg');
  background-size: cover;
  background-position: center;
  animation: kenBurns 20s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.06) translate(-1%, -0.5%); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(232, 244, 253, 0.82) 50%,
    rgba(200, 232, 250, 0.50) 100%
  );
}

/* ---- Hero Text Animation ---- */
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  opacity: 0; transform: translateY(12px);
  animation: fadeSlideUp 0.65s ease forwards 0.3s;
}
.hero-title {
  opacity: 0; transform: translateY(16px);
  animation: fadeSlideUp 0.65s ease forwards 0.5s;
}
.hero-subtitle {
  opacity: 0; transform: translateY(12px);
  animation: fadeSlideUp 0.65s ease forwards 0.75s;
}
.hero-cta-group {
  opacity: 0; transform: translateY(12px);
  animation: fadeSlideUp 0.65s ease forwards 1.0s;
}
.hero-stats {
  opacity: 0; transform: translateY(12px);
  animation: fadeSlideUp 0.65s ease forwards 1.2s;
}
@keyframes fadeSlideUp { to { opacity: 1; transform: translateY(0); } }

/* ---- Language Specific Adjustments for Hero Spacing ---- */
html[lang="en"] .hero-title,
html[lang="zh-CN"] .hero-title,
html[lang="zh"] .hero-title {
  line-height: 1.12 !important;
  margin-bottom: 0.35rem !important;
  letter-spacing: -0.02em !important;
}
html[lang="en"] .hero-subtitle,
html[lang="zh-CN"] .hero-subtitle,
html[lang="zh"] .hero-subtitle {
  margin-top: 0.6rem !important;
  line-height: 1.5 !important;
  max-width: 580px !important;
}

/* ---- Navigation ---- */
#main-nav {
  transition: var(--transition-base);
  backdrop-filter: blur(0px);
}
#main-nav.scrolled {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-nav);
}
.nav-link {
  position: relative;
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s ease;
  letter-spacing: 0.01em;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--color-accent); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* ---- Mobile Menu ---- */
#mobile-menu {
  display: none;
  flex-direction: column;
  background: #ffffff;
  position: absolute;
  top: 100%; left: 0; right: 0;
  border-top: 2px solid var(--color-accent-pale);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 8px 24px rgba(33,150,196,0.1);
  z-index: 999;
  overflow: hidden;
}
#mobile-menu.open { display: flex; }
#mobile-menu ul { list-style: none; padding: 0; margin: 0; width: 100%; }
#mobile-menu ul li { border-bottom: 1px solid var(--color-secondary); }
#mobile-menu ul li:last-child { border-bottom: none; }
#mobile-menu ul li a {
  display: block;
  padding: 0.9rem 1.5rem;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
}
#mobile-menu ul li a:hover {
  color: var(--color-accent);
  background: var(--color-secondary);
  padding-left: 2rem;
}
/* Language bar inside mobile menu */
#mobile-menu .mobile-lang-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-bg-section);
  border-top: 1px solid var(--color-border);
}

/* ---- Section Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.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; }

/* ---- Cards ---- */
.card-industrial {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-base);
  box-shadow: var(--shadow-card);
}
.card-industrial:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
  border-color: var(--color-secondary-mid);
}
.card-industrial .card-img-wrap {
  overflow: hidden;
  aspect-ratio: 16/10;
}
.card-industrial .card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.card-industrial:hover .card-img-wrap img { transform: scale(1.05); }

/* ---- Accent Line ---- */
.accent-line {
  width: 40px; height: 3px;
  background: var(--color-accent);
  border-radius: 3px;
  margin-bottom: 1rem;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: #ffffff;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  border: 2px solid var(--color-accent);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(33,150,196,0.25);
}
.btn-primary:hover {
  background: #1a7fa8;
  border-color: #1a7fa8;
  box-shadow: 0 4px 16px rgba(33,150,196,0.35);
  transform: translateY(-1px);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--color-accent);
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  border: 2px solid var(--color-accent);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
}
.btn-outline:hover {
  background: var(--color-accent);
  color: #ffffff;
}
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-text);
  color: #ffffff;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  border: 2px solid var(--color-text);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
}
.btn-dark:hover {
  background: #0d2d3b;
  border-color: #0d2d3b;
}

/* ---- Section Headers ---- */
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-family: 'Roboto Mono', monospace;
}
.section-title {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-text);
}

/* ---- Divider ---- */
.ruled-divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
}

/* ---- Gallery Lightbox ---- */
#lightbox {
  position: fixed; inset: 0;
  background: rgba(20,40,55,0.96);
  z-index: 8888; display: none;
  align-items: center; justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 90vw; max-height: 85vh;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
}
#lightbox-close {
  position: absolute; top: 1.5rem; right: 2rem;
  color: rgba(255,255,255,0.8); font-size: 2rem;
  cursor: pointer; transition: color 0.2s;
  background: none; border: none; line-height: 1;
}
#lightbox-close:hover { color: #ffffff; }
#lightbox-caption {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6); font-size: 0.85rem;
  letter-spacing: 0.05em; text-align: center;
}

/* ---- Gallery Grid ---- */
.gallery-item {
  position: relative; overflow: hidden;
  cursor: pointer; aspect-ratio: 4/3;
  border-radius: 8px;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,58,74,0.85) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.35s ease;
  display: flex; align-items: flex-end; padding: 1.25rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: #ffffff; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---- Forms ---- */
.form-input, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  background: #f7fbfe;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--color-text);
  border-radius: 8px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--color-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(33,150,196,0.12);
}
.form-label {
  display: block;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.04em; color: var(--color-text-muted);
  text-transform: uppercase; margin-bottom: 0.4rem;
}

/* ---- FOOTER — Fixed warna teks ---- */
footer {
  background: var(--color-secondary);
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
}
footer h3 {
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
footer p, footer li, footer address {
  color: var(--color-text-muted);
  font-style: normal;
}
footer a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
footer a:hover { color: var(--color-accent); }
footer .footer-logo-name {
  color: var(--color-text);
  font-weight: 800;
}
footer .footer-logo-sub {
  color: var(--color-text-muted);
}
footer .footer-copyright {
  color: var(--color-text-light);
  font-size: 0.8rem;
}
footer .footer-divider {
  border-color: var(--color-border);
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin-bottom: 0.6rem; }
footer ul li a { font-size: 0.875rem; }

/* ---- Multi-Channel Contact Hub (Floating) ---- */
#contact-hub {
  position: fixed;
  bottom: 5.5rem; right: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}
@media (max-width: 768px) {
  #contact-hub { bottom: 5.5rem; right: 1rem; }
}

/* Channel Items */
.contact-channel {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: white;
  color: var(--color-text);
  padding: 0.5rem 1rem 0.5rem 0.65rem;
  border-radius: 50px;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.06);
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  transform: translateX(20px) scale(0.85);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  border: 1px solid rgba(0,0,0,0.05);
}
.contact-channel.visible {
  transform: translateX(0) scale(1);
  opacity: 1;
  pointer-events: all;
}
.contact-channel:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,0.18);
  transform: translateX(-4px) scale(1) !important;
}
.contact-channel .ch-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-channel .ch-icon svg { width: 16px; height: 16px; }

/* Channel Colors */
.ch-wa   .ch-icon { background: #25d366; color: white; }
.ch-wc   .ch-icon { background: #07c160; color: white; }
.ch-line .ch-icon { background: #00b900; color: white; }
.ch-email .ch-icon { background: #2196c4; color: white; }

/* Channel label group (nama + nomor/email) */
.ch-label-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
}
.ch-label-main {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.02em;
}
.ch-label-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
  font-family: 'Roboto Mono', monospace;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Toggle Button */
#contact-hub-toggle {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2196c4, #1a7fa8);
  color: white;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(33,150,196,0.42), 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  animation: hubPulse 3s ease-in-out infinite 3s;
}
#contact-hub-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(33,150,196,0.5);
  animation: none;
}
#contact-hub-toggle svg {
  width: 24px; height: 24px;
  position: absolute;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
#contact-hub-toggle .icon-main  { opacity: 1; transform: rotate(0deg) scale(1); }
#contact-hub-toggle .icon-close { opacity: 0; transform: rotate(-90deg) scale(0.4); }
#contact-hub-toggle.open {
  background: linear-gradient(135deg, #374151, #1f2937);
  box-shadow: 0 4px 18px rgba(0,0,0,0.28);
  animation: none;
}
#contact-hub-toggle.open .icon-main  { opacity: 0; transform: rotate(90deg) scale(0.4); }
#contact-hub-toggle.open .icon-close { opacity: 1; transform: rotate(0deg) scale(1); }

@keyframes hubPulse {
  0%   { box-shadow: 0 4px 18px rgba(33,150,196,0.42); }
  50%  { box-shadow: 0 4px 26px rgba(33,150,196,0.65), 0 0 0 10px rgba(33,150,196,0.08); }
  100% { box-shadow: 0 4px 18px rgba(33,150,196,0.42); }
}

/* Hub Label with Shiny Shimmer Animation */
@keyframes shinyShimmer {
  0% { left: -100%; opacity: 0; }
  20% { opacity: 1; }
  50%, 100% { left: 200%; opacity: 0; }
}

@keyframes hubLabelPulse {
  0%, 100% { border-color: rgba(33,150,196,0.35); box-shadow: 0 2px 10px rgba(33,150,196,0.25); transform: scale(1); }
  50% { border-color: rgba(33,150,196,0.95); box-shadow: 0 4px 20px rgba(33,150,196,0.65), 0 0 12px rgba(56,189,248,0.4); transform: scale(1.03); }
}

#contact-hub-label {
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(240,249,255,0.96));
  backdrop-filter: blur(8px);
  color: #0f2a38;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(33,150,196,0.25);
  border: 1.5px solid rgba(33,150,196,0.45);
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: hubLabelPulse 3s infinite ease-in-out;
}

#contact-hub-label::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,0.6), rgba(255,255,255,0.9), rgba(56,189,248,0.6), transparent);
  transform: skewX(-25deg);
  animation: shinyShimmer 2.5s infinite ease-in-out;
}

/* Channel delay stagger */
.contact-channel:nth-child(1) { transition-delay: 0s; }
.contact-channel:nth-child(2) { transition-delay: 0.04s; }
.contact-channel:nth-child(3) { transition-delay: 0.08s; }
.contact-channel:nth-child(4) { transition-delay: 0.12s; }

/* ---- MOBILE BOTTOM NAVIGATION BAR ---- */
#mobile-bottom-nav {
  display: none; /* Hidden on desktop */
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(33,150,196,0.12);
  z-index: 900;
  padding: 0;
}
@media (max-width: 768px) {
  #mobile-bottom-nav { display: flex; }
}
.mobile-nav-tabs {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 100%;
}
.mobile-nav-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.mobile-nav-tab:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--color-border);
}
.mobile-nav-tab svg {
  width: 22px; height: 22px;
  transition: transform 0.2s, color 0.2s;
}
.mobile-nav-tab:hover,
.mobile-nav-tab.active {
  color: var(--color-accent);
  background: var(--color-accent-pale);
}
.mobile-nav-tab:hover svg,
.mobile-nav-tab.active svg {
  transform: translateY(-2px);
  color: var(--color-accent);
}
.mobile-nav-tab .tab-dot {
  position: absolute;
  top: 8px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0;
  transition: opacity 0.2s;
}
.mobile-nav-tab.active .tab-dot { opacity: 1; }

/* ---- Language Switcher ---- */
#lang-switcher {
  display: flex;
  align-items: center;
  gap: 1px;
  background: var(--color-secondary);
  border-radius: 8px;
  padding: 3px;
  border: 1.5px solid var(--color-border);
}
.lang-btn {
  padding: 0.28rem 0.7rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  cursor: pointer;
  background: transparent;
  border: none;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}
.lang-btn:hover { color: var(--color-text); background: rgba(33,150,196,0.1); }
.lang-btn.active {
  background: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(33,150,196,0.3);
}

/* ---- Product Detail ---- */
.product-gallery-main {
  aspect-ratio: 4/3; overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.spec-table tr { border-bottom: 1px solid var(--color-border); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 0.75rem 0; vertical-align: top; line-height: 1.5; }
.spec-table td:first-child { width: 45%; color: var(--color-text-muted); font-weight: 500; padding-right: 1rem; }
.spec-table td:last-child { color: var(--color-text); font-weight: 600; }
.thumb-container { display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
.thumb-img { width: 70px; height: 55px; object-fit: cover; border: 2px solid transparent; cursor: pointer; transition: border-color 0.2s; border-radius: 6px; }
.thumb-img.active { border-color: var(--color-accent); }

/* ---- News Cards ---- */
.news-card { display: flex; flex-direction: column; height: 100%; }
.news-card .cat-badge {
  display: inline-block; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  background: var(--color-accent-pale);
  color: var(--color-accent);
  margin-bottom: 0.5rem; border-radius: 50px;
}

/* ---- About Page Timeline ---- */
.timeline-item { position: relative; padding-left: 2rem; }
.timeline-item::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--color-accent); border: 2px solid white;
  box-shadow: 0 0 0 3px rgba(33,150,196,0.2);
}
.timeline-item::after {
  content: ''; position: absolute; left: 4.5px; top: 20px;
  width: 1px; height: calc(100% - 12px);
  background: var(--color-border);
}
.timeline-item:last-child::after { display: none; }

/* ---- Gallery Viewer ---- */
.gallery-viewer { background: #f0f7fc; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 40px rgba(33,150,196,0.12); border: 1px solid var(--color-border); }
.gallery-main-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #e8f4fd; }
.gallery-main-wrap img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.gallery-main-wrap img.fading { opacity: 0; transform: scale(1.03); }
.gallery-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  color: var(--color-text);
  border: 1px solid var(--color-border); border-radius: 50%;
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.25s ease;
  backdrop-filter: blur(8px); z-index: 10;
}
.gallery-nav-btn:hover { background: var(--color-accent); color: white; border-color: var(--color-accent); transform: translateY(-50%) scale(1.08); }
.gallery-nav-btn.prev { left: 1rem; }
.gallery-nav-btn.next { right: 1rem; }
.gallery-nav-btn svg { width: 16px; height: 16px; pointer-events: none; }
.gallery-caption-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,58,74,0.7) 0%, transparent 100%);
  padding: 1.5rem 1.25rem 1rem;
  display: flex; align-items: flex-end; justify-content: space-between;
}
.gallery-caption-text { color: #ffffff; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.gallery-counter { color: rgba(255,255,255,0.6); font-size: 0.72rem; font-family: 'Roboto Mono', monospace; letter-spacing: 0.08em; }
.gallery-strip { padding: 0.75rem 1rem; background: var(--color-secondary); display: flex; gap: 0.5rem; overflow-x: auto; scroll-behavior: smooth; }
.gallery-strip::-webkit-scrollbar { height: 4px; }
.gallery-strip::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 2px; }
.gallery-thumb { flex-shrink: 0; width: 80px; height: 54px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; transition: all 0.25s ease; opacity: 0.6; }
.gallery-thumb:hover { opacity: 0.9; }
.gallery-thumb.active { border-color: var(--color-accent); opacity: 1; box-shadow: 0 0 0 1px var(--color-accent); }

/* ---- Marquee / Ticker ---- */
.marquee-wrap { overflow: hidden; background: var(--color-accent); padding: 0.6rem 0; }
.marquee-track { display: flex; gap: 3rem; animation: marquee 30s linear infinite; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #ffffff; }
.marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.5); }

/* ---- Stat Divider ---- */
.stat-divider { width: 1px; height: 40px; background: var(--color-border); margin: 0 1.5rem; }

/* ---- Dropdown Nav ---- */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 200px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-accent);
  border-radius: 8px;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease; z-index: 100;
  box-shadow: 0 8px 32px rgba(33,150,196,0.12);
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a { display: block; padding: 0.6rem 1.25rem; font-size: 0.825rem; color: var(--color-text-muted); text-decoration: none; transition: all 0.2s; border-bottom: 1px solid var(--color-secondary); letter-spacing: 0.02em; }
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { color: var(--color-accent); background: var(--color-secondary); padding-left: 1.5rem; }

/* ---- Filter Pills ---- */
.gallery-pill { padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border: 1.5px solid; cursor: pointer; transition: all 0.22s ease; font-family: 'Inter', sans-serif; }
.gallery-pill.inactive { background: transparent; border-color: var(--color-border); color: var(--color-text-muted); }
.gallery-pill.inactive:hover { border-color: var(--color-accent); color: var(--color-accent); background: var(--color-accent-pale); }
.gallery-pill.active { background: var(--color-accent); border-color: var(--color-accent); color: white; }

/* ---- Level Breadcrumb ---- */
.level-breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--color-text-muted); font-weight: 500; letter-spacing: 0.02em; }
.level-breadcrumb .bc-sep { color: var(--color-border); }
.level-breadcrumb .bc-active { color: var(--color-text); font-weight: 600; }
.level-breadcrumb .bc-link { cursor: pointer; transition: color 0.2s; text-decoration: none; }
.level-breadcrumb .bc-link:hover { color: var(--color-accent); }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-secondary); }
::-webkit-scrollbar-thumb { background: var(--color-steel); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-accent); }

/* ---- Responsive Utilities ---- */
@media (max-width: 768px) {
  .hero-section { min-height: 55vh; }
  .hero-title { font-size: clamp(1.7rem, 6vw, 2.5rem) !important; }
  .contact-channel span { display: none; }
  .contact-channel { padding: 0.6rem; border-radius: 50%; }
  .contact-channel .ch-icon { margin: 0; }
}

/* ---- Utility Classes ---- */
.text-accent   { color: var(--color-accent); }
.text-muted-c  { color: var(--color-text-muted); }
.bg-section    { background: var(--color-bg-section); }
.bg-page       { background: var(--color-bg-page); }
.border-accent { border-color: var(--color-accent); }
.font-mono     { font-family: 'Roboto Mono', monospace; }

/* ============================================================
   LOGO — Company name beside logo image
   ============================================================ */
.raymax-logo-link { text-decoration: none; }
.raymax-logo-text { display: flex; flex-direction: column; justify-content: center; }
.raymax-logo-company {
  font-size: 0.78rem;
  font-weight: 800;
  color: #1a3a4a;
  line-height: 1.3;
  letter-spacing: 0.01em;
  max-width: 180px;
  word-break: break-word;
}
footer .raymax-logo-company { color: #1a3a4a; font-size: 0.75rem; }

/* ============================================================
   HERO — Stats Bar (ensure visibility)
   ============================================================ */
.hero-stat-num {
  font-size: 1.7rem;
  font-weight: 900;
  color: #1a3a4a;
  line-height: 1;
  display: block;
}
.hero-stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #4a7c96;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 3px;
  display: block;
}

/* ============================================================
   CATEGORIES SLIDER — Overlap below hero
   ============================================================ */
.categories-overlap-section {
  position: relative;
  z-index: 10;
  margin-top: -56px;
  padding: 0 1rem 1rem;
}
.categories-slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.categories-nav-buttons { display: flex; gap: 0.4rem; }
.cat-nav-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-card);
}
.cat-nav-btn svg { width: 16px; height: 16px; pointer-events: none; }
.cat-nav-btn:hover { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.categories-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 0.75rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.categories-track::-webkit-scrollbar { display: none; }
.category-card {
  flex: 0 0 200px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(33,150,196,0.1);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(33,150,196,0.18); border-color: var(--color-accent); }
.category-card-img {
  height: 120px;
  background: var(--color-bg-section);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.category-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.category-card:hover .category-card-img img { transform: scale(1.06); }
.category-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,58,74,0.2) 0%, transparent 60%);
}
.category-card-icon { font-size: 2.5rem; }
.category-card-body {
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}
.category-card-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1a3a4a;
  line-height: 1.3;
}
.category-card-count {
  font-size: 0.7rem;
  color: var(--color-accent);
  font-family: 'Roboto Mono', monospace;
  font-weight: 600;
}
.category-card-arrow {
  margin-top: auto;
  padding-top: 0.4rem;
  color: var(--color-accent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.category-card-arrow svg { width: 14px; height: 14px; }
.category-card:hover .category-card-arrow { opacity: 1; }
@media (max-width: 768px) {
  .categories-overlap-section { margin-top: -24px; }
  .category-card { flex: 0 0 150px; }
  .category-card-img { height: 90px; }
}

/* ============================================================
   FOOTER — Social icon buttons & column titles
   ============================================================ */
.footer-col-title {
  color: #1a3a4a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.social-icon-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: #cce8fa;
  color: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.social-icon-btn svg { width: 18px; height: 18px; pointer-events: none; }
.social-icon-btn:hover { background: var(--color-accent); color: #fff; transform: translateY(-2px); }

/* ============================================================
   PRODUCT SINGLE PAGE — 2-Column layout with tabs
   ============================================================ */
.product-gallery-col { position: sticky; top: 100px; }
.product-main-img-wrap {
  position: relative;
  background: #f7fbfe;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.product-main-img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease;
  mix-blend-mode: multiply;
}
.product-category-badge-img {
  position: absolute;
  top: 0.85rem; left: 0.85rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-family: 'Roboto Mono', monospace;
}
.product-thumbs-row {
  display: flex; gap: 0.6rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}
.product-thumb {
  width: 72px; height: 72px;
  border-radius: 10px;
  border: 2px solid var(--color-border);
  overflow: hidden;
  cursor: pointer;
  background: #f7fbfe;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s ease;
  padding: 4px;
  flex-shrink: 0;
}
.product-thumb:hover { border-color: var(--color-accent-light); }
.product-thumb.active { border-color: var(--color-accent); box-shadow: 0 0 0 2px rgba(33,150,196,0.25); }
.product-thumb-img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }

/* Product info column */
.product-category-tag {
  display: inline-block;
  background: var(--color-accent-pale);
  color: var(--color-accent);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-family: 'Roboto Mono', monospace;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(33,150,196,0.2);
}
.product-page-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #1a3a4a;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.product-sku { display: flex; align-items: center; margin-bottom: 1.25rem; }

/* CTA Buttons */
.product-cta-buttons { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.25rem; }
.product-btn-wa {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #25D366; color: #fff;
  font-weight: 700; font-size: 0.875rem;
  padding: 0.7rem 1.4rem; border-radius: 8px;
  text-decoration: none; transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(37,211,102,0.3);
}
.product-btn-wa:hover { background: #1ebe5d; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
.product-btn-quote {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--color-accent);
  border: 2px solid var(--color-accent);
  font-weight: 700; font-size: 0.875rem;
  padding: 0.7rem 1.4rem; border-radius: 8px;
  text-decoration: none; transition: all 0.25s ease;
}
.product-btn-quote:hover { background: var(--color-accent); color: #fff; }
.product-btn-brochure {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: #f0f8ff; color: #1a3a4a;
  border: 1.5px solid var(--color-border);
  font-weight: 600; font-size: 0.8rem;
  padding: 0.6rem 1.1rem; border-radius: 8px;
  text-decoration: none; transition: all 0.25s ease;
}
.product-btn-brochure:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* Feature Badges */
.product-feature-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.feature-badge {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.72rem; font-weight: 600;
  padding: 0.3rem 0.75rem; border-radius: 50px;
  border: 1.5px solid; white-space: nowrap;
}
.badge-green  { background: #f0fdf4; color: #16a34a; border-color: #bbf7d0; }
.badge-blue   { background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }
.badge-purple { background: #faf5ff; color: #7c3aed; border-color: #ddd6fe; }
.badge-orange { background: #fff7ed; color: #ea580c; border-color: #fed7aa; }
.badge-cyan   { background: #ecfeff; color: #0891b2; border-color: #a5f3fc; }
.badge-gray   { background: #f9fafb; color: #4b5563; border-color: #e5e7eb; }

/* Tabs */
.product-tabs-wrap { border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; background: #fff; }
.product-tab-nav { display: flex; border-bottom: 1px solid var(--color-border); background: var(--color-bg-section); }
.product-tab-btn {
  flex: 1;
  padding: 0.85rem 0.5rem;
  background: transparent; border: none;
  border-bottom: 2.5px solid transparent;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem; font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer; transition: all 0.25s ease;
  letter-spacing: 0.02em; text-align: center;
}
.product-tab-btn:hover { color: var(--color-accent); }
.product-tab-btn.active { color: var(--color-accent); border-bottom-color: var(--color-accent); background: #fff; }
.product-tab-panel { padding: 1.5rem; }
.product-tab-prose { color: #4a7c96; font-size: 0.9rem; line-height: 1.8; }
.product-tab-prose p { margin-bottom: 0.85rem; }
.product-tab-prose strong { color: #1a3a4a; }

/* Specs table */
.product-specs-table { border-radius: 10px; overflow: hidden; border: 1px solid var(--color-border); }
.spec-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--color-secondary); }
.spec-row:last-child { border-bottom: none; }
.spec-row:nth-child(even) { background: var(--color-bg-section); }
.spec-name { padding: 0.7rem 1rem; font-size: 0.825rem; font-weight: 600; color: #1a3a4a; border-right: 1px solid var(--color-border); }
.spec-value { padding: 0.7rem 1rem; font-size: 0.825rem; color: var(--color-text-muted); }

/* Features list */
.product-features-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.product-feature-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: #4a7c96; line-height: 1.6; }
.feature-check-icon {
  width: 20px; height: 20px;
  background: var(--color-accent); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.feature-check-icon svg { width: 11px; height: 11px; }

/* Responsive */
@media (max-width: 1024px) { .product-gallery-col { position: static; } }
@media (max-width: 768px) {
  .product-cta-buttons { flex-direction: column; }
  .product-btn-wa, .product-btn-quote { width: 100%; justify-content: center; }
  .product-tab-btn { font-size: 0.72rem; padding: 0.7rem 0.35rem; }
  .product-main-img-wrap { aspect-ratio: 1/1; }
}

/* ============================================================
   GALLERY LIGHTBOX — Enhanced with title
   ============================================================ */
#lightbox {
  position: fixed; inset: 0;
  background: rgba(10,25,40,0.97);
  z-index: 8888; display: none;
  align-items: center; justify-content: center;
  flex-direction: column;
}
#lightbox.open { display: flex; }
#lightbox-title {
  color: #fff; font-size: 1rem; font-weight: 700;
  letter-spacing: 0.04em; text-align: center;
  padding: 1rem 4rem 0.5rem; max-width: 700px; width: 100%;
}
#lightbox img {
  max-width: 90vw; max-height: 72vh;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
}
#lightbox-caption {
  color: rgba(255,255,255,0.5); font-size: 0.8rem;
  letter-spacing: 0.05em; text-align: center;
  padding: 0.5rem 2rem 1rem; max-width: 600px;
}
#lightbox-close {
  position: absolute; top: 1.25rem; right: 1.5rem;
  color: rgba(255,255,255,0.8); font-size: 1.5rem;
  cursor: pointer; transition: all 0.2s;
  background: rgba(255,255,255,0.1); border: none; line-height: 1;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
#lightbox-close:hover { color: #fff; background: rgba(255,255,255,0.2); }
#lightbox-prev, #lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; border-radius: 50%;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}
#lightbox-prev:hover, #lightbox-next:hover { background: rgba(33,150,196,0.5); border-color: var(--color-accent); }
#lightbox-prev svg, #lightbox-next svg { width: 18px; height: 18px; pointer-events: none; }
#lightbox-prev { left: 1.25rem; }
#lightbox-next { right: 1.25rem; }

/* ================================================
   LANGUAGE SWITCHER CSS (Global Translasi Murni)
   ================================================ */

.lang-content { display: block; }

/* Sembunyikan elemen jika html lang TIDAK cocok dengan kelas elemen tersebut */
html:not([lang="id"]) .lang-content.lang-id { display: none !important; }
html:not([lang="en"]) .lang-content.lang-en { display: none !important; }
html:not([lang="zh-CN"]) .lang-content.lang-zh { display: none !important; }

/* ================================================
   RESPONSIVE PRODUCT CAROUSEL (3 ITEMS PER ROW)
   ================================================ */
.product-carousel-container {
  position: relative;
  width: 100%;
  padding: 0.5rem 0;
}

.product-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  padding-bottom: 0.75rem;
}
.product-carousel-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.product-carousel-item {
  flex: 0 0 calc((100% - 3rem) / 3);
  width: calc((100% - 3rem) / 3);
  scroll-snap-align: start;
}

/* Tombol Navigasi Kiri / Kanan */
.carousel-nav-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 20;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #2196c4;
  color: #2196c4;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(33, 150, 196, 0.25);
  transition: all 0.25s ease;
}
.carousel-nav-btn:hover {
  background: #2196c4;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}
.carousel-nav-btn.prev { left: -16px; }
.carousel-nav-btn.next { right: -16px; }

/* Khusus Mobile & Tablet (< 768px): Tampilkan 3 kotak produk kecil dalam 1 baris! */
@media (max-width: 768px) {
  .product-carousel-track {
    gap: 0.5rem;
  }
  .product-carousel-item {
    flex: 0 0 calc((100% - 1rem) / 3);
    width: calc((100% - 1rem) / 3);
  }
  .product-carousel-item .card-industrial {
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .product-carousel-item .card-img-wrap {
    height: 110px !important;
    padding: 0.5rem !important;
  }
  .product-carousel-item .card-img-wrap img {
    max-height: 90px !important;
  }
  .product-carousel-item .card-info-wrap {
    padding: 0.6rem !important;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .product-carousel-item .card-cat-label {
    font-size: 0.52rem !important;
    margin-bottom: 0.25rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .product-carousel-item .card-title {
    font-size: 0.75rem !important;
    line-height: 1.25 !important;
    max-height: 2.5em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 0.35rem !important;
  }
  .product-carousel-item .card-excerpt {
    display: none !important; /* Sembunyikan excerpt agar kotak padat 1 baris ada 3 */
  }
  .product-carousel-item .card-cta {
    margin-top: auto !important;
    font-size: 0.62rem !important;
    padding-top: 0.35rem;
  }
  .carousel-nav-btn {
    width: 32px;
    height: 32px;
    top: 40%;
  }
  .carousel-nav-btn.prev { left: -6px; }
  .carousel-nav-btn.next { right: -6px; }
}

/* ========================================================
   PRODUCT GALLERY ZOOM / LIGHTBOX MODAL
   ======================================================== */
.product-main-img-wrap {
  cursor: zoom-in;
}
.product-zoom-hint {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  background: rgba(26, 58, 74, 0.88);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  backdrop-filter: blur(4px);
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.product-main-img-wrap:hover .product-zoom-hint {
  opacity: 1;
  transform: scale(1.04);
}

.raymax-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.raymax-lightbox-overlay.active {
  opacity: 1;
}
.raymax-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 36, 0.92);
  backdrop-filter: blur(8px);
}
.raymax-lightbox-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 86vh;
}
.raymax-lightbox-content img {
  max-width: 88vw;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
  transition: opacity 0.2s ease, transform 0.25s ease;
}
.raymax-lightbox-close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.raymax-lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}
.raymax-lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.35rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.raymax-lightbox-nav-btn:hover {
  background: var(--color-accent, #2196c4);
  border-color: transparent;
  transform: translateY(-50%) scale(1.08);
}
.raymax-lightbox-nav-btn.prev-btn {
  left: 25px;
}
.raymax-lightbox-nav-btn.next-btn {
  right: 25px;
}
.raymax-lightbox-info {
  margin-top: 15px;
  text-align: center;
  color: #fff;
  z-index: 2;
}
.raymax-lightbox-title {
  font-size: 1rem;
  font-weight: 600;
  color: #f1f5f9;
}
.raymax-lightbox-counter {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-top: 3px;
}
@media (max-width: 640px) {
  .raymax-lightbox-nav-btn {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  .raymax-lightbox-nav-btn.prev-btn { left: 10px; }
  .raymax-lightbox-nav-btn.next-btn { right: 10px; }
  .raymax-lightbox-close-btn { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 1.4rem; }
}

/* ========================================================
   VERTICAL STACK PRODUCT SECTIONS & COLLAPSIBLE BLUR EFFECTS
   ======================================================== */
.product-vertical-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem; /* Jarak antar section dikecilkan agar tidak terlalu jauh */
  margin-top: 1rem;
}

.product-section-block {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem; /* Padding lebih ringkas */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  position: relative;
  transition: box-shadow 0.3s ease;
}

.product-section-block:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.section-block-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem; /* Jarak dari judul ke konten lebih rapat */
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-block-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--color-accent, #2196c4);
  border-radius: 2px;
}

/* ========================================================
   CUSTOM DYNAMIC TABLE BUILDER STYLES (FRONTEND)
   ======================================================== */
.custom-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 0.5rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.raymax-dynamic-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px; /* Keeps table structured with horizontal scrolling on mobile */
  border: 1px solid #cbd5e1;
}

.raymax-dynamic-table th {
  background: #f1f5f9;
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  padding: 0.85rem 0.75rem;
  border: 1px solid #cbd5e1;
  vertical-align: middle;
}

.raymax-dynamic-table td {
  padding: 0.85rem 0.75rem;
  font-size: 0.88rem;
  color: #334155;
  text-align: center;
  border: 1px solid #e2e8f0;
  line-height: 1.5;
  vertical-align: middle;
}

.raymax-dynamic-table tr:nth-child(even) td {
  background: #f8fafc;
}

.raymax-dynamic-table tr:hover td {
  background: #f1f5f9;
  color: #0f172a;
}

@media (max-width: 640px) {
  .product-section-block {
    padding: 0.95rem;
  }
  .section-block-title {
    font-size: 1.05rem;
    margin-bottom: 0.65rem;
  }
  .raymax-dynamic-table th,
  .raymax-dynamic-table td {
    padding: 0.6rem 0.7rem;
    font-size: 0.85rem;
  }
}



