/* ============================================
   PT Pelita Inti Sejahtera (PT PIS)
   Industrial Lubricants & Spare Parts
   ============================================ */

:root {
  --primary:       #003087;
  --primary-dark:  #001f5b;
  --accent:        #f5a623;
  --surface:       #ffffff;
  --surface-2:     #f0f4fb;
  --surface-3:     #e6edf8;
  --border:        #dce4f0;
  --text:          #1e293b;
  --text-muted:    #64748b;
}

/* ============================================
   GLOBAL LIGHT-SLATE THEME
   Easy on the eyes: soft blue-gray, not white
   ============================================ */

html { scroll-behavior: smooth; }

body {
  background-color: #eef2f9;
  background-image:
    radial-gradient(circle, rgba(0,48,135,.05) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--text);
}

/* Sections */
section.py-5,
section.py-4 { position: relative; }

section.py-5:nth-of-type(odd)  { background: #ffffff; }
section.py-5:nth-of-type(even) { background: var(--surface-2); }

.bg-light { background-color: var(--surface-2) !important; }

/* Cards */
.card {
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 2px 12px rgba(0,48,135,.07) !important;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(0,48,135,.13) !important;
  border-color: rgba(0,48,135,.2) !important;
  transform: translateY(-2px);
}

/* Form controls */
.form-control, .form-select, .input-group-text {
  background: #ffffff;
  border-color: #c8d6ea;
  color: var(--text);
}
.form-control:focus, .form-select:focus {
  background: #ffffff;
  border-color: var(--primary);
  color: var(--text);
  box-shadow: 0 0 0 .2rem rgba(0,48,135,.12);
}
.form-control::placeholder { color: #94a3b8; }
.form-label { color: var(--text); font-weight: 500; }
.form-check-label { color: var(--text); }

/* Table */
.table { color: var(--text); }
.table-light { background: var(--surface-2) !important; color: var(--text) !important; }
.table-hover > tbody > tr:hover { background: rgba(0,48,135,.04); }
.table > :not(caption) > * > * { border-color: var(--border); }

/* Alerts */
.alert-success { background: #d1fae5; border-color: #6ee7b7; color: #064e3b; }
.alert-danger  { background: #fee2e2; border-color: #fca5a5; color: #7f1d1d; }

/* Badges */
.bg-success-subtle   { background: #d1fae5 !important; }
.bg-danger-subtle    { background: #fee2e2 !important; }
.bg-warning-subtle   { background: #fef3c7 !important; }
.bg-secondary-subtle { background: #f1f5f9 !important; }
.text-success  { color: #059669 !important; }
.text-danger   { color: #dc2626 !important; }
.text-warning  { color: #d97706 !important; }
.text-muted    { color: var(--text-muted) !important; }

/* Pagination */
.page-link { background: #ffffff; border-color: var(--border); color: var(--text); }
.page-link:hover { background: var(--surface-2); color: var(--primary); }
.page-item.active .page-link { background: var(--primary); border-color: var(--primary); }

/* List groups */
.list-group-item { background: #ffffff; border-color: var(--border); color: var(--text); }
.list-group-item-action:hover { background: var(--surface-2) !important; }
.list-group-item-warning { background: #fef9e7 !important; }

/* Tabs */
.nav-tabs { border-color: var(--border); }
.nav-tabs .nav-link { color: var(--text-muted); border-color: transparent; }
.nav-tabs .nav-link:hover { color: var(--primary); border-color: var(--border); }
.nav-tabs .nav-link.active { background: #ffffff; border-color: var(--border); border-bottom-color: #ffffff; color: var(--primary); font-weight: 600; }
.border { border-color: var(--border) !important; }
hr { border-color: var(--border); opacity: 1; }

/* Override Bootstrap primary */
.btn-primary        { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover  { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); }
.text-primary       { color: var(--primary) !important; }
.bg-primary         { background-color: var(--primary) !important; }
.border-primary     { border-color: var(--primary) !important; }
.bg-primary-subtle  { background-color: #e8edf8 !important; }

/* ============================================
   HERO CAROUSEL
   ============================================ */
.hero-carousel-section { position: relative; }
.hero-carousel-section::after {
  content: '';
  display: block;
  height: 4px;
  background: var(--accent);
}

/* ── Carousel items — prevent bleed-through ── */
.hero-carousel-section .carousel-inner { overflow: hidden; }
.hero-carousel-section .carousel-item  { background: #0d1117; }

/* ── Base slide ── */
.hero-slide {
  width: 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Photo slides */
.hero-slide--photo {
  background-size: cover;
  background-repeat: no-repeat;
  /* images are ~2.9:1 ratio — ensure enough height to look good */
  min-height: max(560px, 36vw);
}

/* ── SVG decorative background ── */
.hero-svg-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ── Per-slide gradient backgrounds ── */

/* ── Photo slides shared ── */

/* ──────────────────────────────────────────
   SLIDE 1: Food Grade
   Image: LEFT=white fade, RIGHT=bearing+food
   Text on LEFT → need VERY strong dark overlay on left
   ────────────────────────────────────────── */
.hero-slide--food {
  background-color: #003d33;               /* fallback */
  background-position: right center;       /* show bearing+food on right */
}
.hero-overlay--food-photo {
  position: absolute; inset: 0; z-index: 2;
  /* heavy teal-dark left side, fades to transparent on right */
  background: linear-gradient(
    95deg,
    rgba(0, 55, 40, .97)  0%,
    rgba(0, 60, 45, .93) 25%,
    rgba(0, 65, 50, .80) 45%,
    rgba(0, 50, 40, .45) 65%,
    rgba(0, 0,  0,  .05) 100%
  );
}

/* ──────────────────────────────────────────
   SLIDE 2: Mining / Oil
   Image: LEFT=dark bearing/gear, CENTER=gold oil, RIGHT=excavator+sunset
   Left already dark → subtle overlay, show full drama
   ────────────────────────────────────────── */
.hero-slide--mining {
  background-color: #0d1117;               /* fallback */
  background-position: center center;      /* show full scene */
}
.hero-overlay--mining {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    95deg,
    rgba(0, 8, 20, .88) 0%,
    rgba(0, 8, 18, .75) 35%,
    rgba(0, 5, 10, .50) 60%,
    rgba(0, 0,  5, .20) 100%
  );
}

/* Certification badge chips */
.hero-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .85rem;
  border-radius: 2rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: rgba(178,223,219,.15);
  color: #b2dfdb;
  border: 1px solid rgba(178,223,219,.35);
  backdrop-filter: blur(4px);
}
.hero-cert-badge--aimol {
  background: rgba(245,166,35,.15);
  color: #ffe082;
  border-color: rgba(245,166,35,.35);
}

/* CTA button food theme */
.btn-food-primary {
  background: #00897b;
  border-color: #00897b;
  color: #ffffff;
}
.btn-food-primary:hover {
  background: #00796b;
  border-color: #00796b;
  color: #ffffff;
}

.hero-slide--lube {
  background: linear-gradient(135deg, #001233 0%, #003087 55%, #0050c8 100%);
}
.hero-slide--grease {
  background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 45%, #16213e 100%);
}
.hero-slide--parts {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 50%, #0a1628 100%);
}

/* ── Overlay keeps left side darker for text legibility ── */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.hero-overlay--lube {
  background: linear-gradient(95deg, rgba(0,18,51,.85) 0%, rgba(0,30,80,.6) 55%, transparent 100%);
}
.hero-overlay--grease {
  background: linear-gradient(95deg, rgba(5,5,20,.9) 0%, rgba(20,20,50,.65) 55%, transparent 100%);
}
.hero-overlay--parts {
  background: linear-gradient(95deg, rgba(8,14,26,.9) 0%, rgba(15,25,45,.65) 55%, transparent 100%);
}

/* ── Slide content above overlay ── */
.hero-slide-content {
  position: relative;
  z-index: 3;
  padding-top: 4rem;
  padding-bottom: 4rem;
  width: 100%;
}

/* ── Label chip above title ── */
.hero-label {
  display: inline-flex;
  align-items: center;
  background: rgba(245,166,35,.15);
  border: 1px solid rgba(245,166,35,.35);
  color: rgba(255,255,255,.9);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  padding: .35rem .85rem;
  border-radius: 2rem;
  text-transform: uppercase;
}

/* ── Description text ── */
.hero-desc {
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 520px;
}

/* ── Sector tags ── */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.hero-tags span {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .25rem .7rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
}

/* ── Indicators ── */
.hero-indicators { bottom: 1.5rem !important; z-index: 10; }
.hero-indicators [data-bs-target] {
  width: 28px !important;
  height: 3px !important;
  border-radius: 2px !important;
  background: rgba(255,255,255,.3) !important;
  border: none !important;
  margin: 0 4px !important;
  transition: background .3s, width .3s !important;
}
.hero-indicators .active {
  background: var(--accent) !important;
  width: 52px !important;
}

/* ── Controls ── */
.carousel-control-prev,
.carousel-control-next {
  width: 52px;
  opacity: .7;
  transition: opacity .25s;
  z-index: 10;
}
.carousel-control-prev:hover,
.carousel-control-next:hover { opacity: 1 !important; }
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2.2rem;
  height: 2.2rem;
  background-color: rgba(0,0,0,.35);
  border-radius: 50%;
  background-size: 55%;
  backdrop-filter: blur(4px);
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .hero-slide { min-height: 480px; }
}
@media (max-width: 768px) {
  .hero-slide { min-height: 400px; }
  .hero-slide-content { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .hero-desc { font-size: .95rem; }
  .hero-svg-bg { opacity: .5; }
}
@media (max-width: 480px) {
  .hero-slide { min-height: 340px; }
  .hero-indicators [data-bs-target] { width: 20px !important; }
  .hero-indicators .active { width: 36px !important; }
}

/* === HERO (legacy - kept for fallback) === */
.hero-section {
  min-height: 600px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-gradient {
  background: linear-gradient(135deg, #001f5b 0%, #003087 50%, #004db3 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 10, 40, .55);
}
.min-vh-60 { min-height: 60vh; }
.text-white-75 { color: rgba(255,255,255,.80) !important; }

/* Accent strip on hero */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
}

/* === PAGE HEADER === */
.page-header, .bg-gradient-primary {
  background: linear-gradient(135deg, #001f5b 0%, #003087 100%);
}

/* ============================================
   SECTION-SPECIFIC BACKGROUNDS — Light Slate
   ============================================ */

/* Brand strip */
.brand-strip {
  background: #f7faff !important;
  border-top: 1px solid #dce8f8 !important;
  border-bottom: 1px solid #dce8f8 !important;
}

/* Stats bar — keep navy */
section.stats-section {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(-60deg, transparent, transparent 24px,
      rgba(255,255,255,.04) 24px, rgba(255,255,255,.04) 25px),
    var(--primary) !important;
}

/* Solutions — very light blue tint with subtle diagonal */
.section-solutions {
  background:
    repeating-linear-gradient(-45deg, transparent, transparent 20px,
      rgba(0,48,135,.02) 20px, rgba(0,48,135,.02) 21px),
    #f0f5ff;
}

/* Featured products — clean white + shimmer */
.section-products {
  background: #ffffff;
  position: relative;
}
.section-products::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* About — soft blue radial glow */
.section-about {
  background-color: #f4f8ff;
  background-image:
    radial-gradient(ellipse at 10% 50%, rgba(0,48,135,.06) 0%, transparent 60%),
    radial-gradient(ellipse at 90% 20%, rgba(245,166,35,.06) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23003087' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Industries — subtle dot pattern */
.section-industries {
  background:
    radial-gradient(circle, rgba(0,48,135,.06) 1px, transparent 1px),
    #eef3fc;
  background-size: 28px 28px;
}

/* CTA — keep dark navy (contrast with light page) */
.cta-section {
  background:
    repeating-linear-gradient(-55deg, transparent, transparent 30px,
      rgba(255,255,255,.025) 30px, rgba(255,255,255,.025) 31px),
    linear-gradient(135deg, #001030 0%, #001f5b 40%, #003087 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  right: -120px; top: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  left: -80px; bottom: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,80,200,.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h1, .cta-section h2, .cta-section h3,
.cta-section p, .cta-section .lead { color: #fff !important; }

/* Industry card */
.industry-card {
  background: #ffffff;
  border-left: 3px solid var(--primary);
  border-radius: .5rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0,48,135,.06);
  transition: transform .2s, box-shadow .2s, border-left-color .2s;
}
.industry-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0,48,135,.12) !important;
  border-left-color: var(--accent) !important;
}

/* Page header — keep dark for contrast */
.page-header {
  background:
    repeating-linear-gradient(-45deg, transparent, transparent 20px,
      rgba(255,255,255,.02) 20px, rgba(255,255,255,.02) 21px),
    linear-gradient(135deg, #001233 0%, #001f5b 40%, #003087 100%);
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  right: 0; bottom: 0;
  width: 35%; height: 100%;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,.04));
  pointer-events: none;
}

/* === PRODUCT CARDS === */
.product-card {
  border-radius: .75rem !important;
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,48,135,.12) !important;
}
.product-img-wrap {
  height: 220px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 8px;
  transition: transform .4s ease;
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}
.product-img-placeholder {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef2ff 0%, #f5f8ff 60%, #fef9ec 100%);
  flex-direction: column;
  gap: .5rem;
  position: relative;
  overflow: hidden;
}
.product-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1.5' fill='%23003087' fill-opacity='0.05'/%3E%3C/svg%3E");
}
.product-img-placeholder i {
  width: 72px;
  height: 72px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,48,135,.12);
  font-size: 2rem !important;
  position: relative;
  z-index: 1;
}
.product-img-placeholder span {
  font-size: .75rem;
  color: var(--primary);
  font-weight: 600;
  text-align: center;
  padding: 0 1rem;
}

/* === PRODUCT CARD HELPERS === */

/* Product title link */
.product-title-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: color .15s;
}
.product-title-link:hover { color: var(--primary); }

/* Category badge on card */
.cat-badge {
  display: inline-block;
  padding: .2rem .7rem;
  border-radius: 2rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  background: #e8f0fe;
  color: var(--primary);
  border: 1px solid #c5d8fb;
}

/* Section label badges */
.section-badge {
  display: inline-block;
  padding: .3rem .9rem;
  border-radius: 2rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: #e8f0fe;
  color: var(--primary);
  border: 1px solid #c5d8fb;
}

/* Sidebar category links */
.sidebar-link {
  display: flex;
  align-items: center;
  padding: .35rem .5rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: .875rem;
  border-radius: .375rem;
  transition: color .15s, background .15s;
}
.sidebar-link:hover {
  color: var(--primary);
  background: #eef3fd;
}
.sidebar-link--active {
  color: var(--primary) !important;
  background: #e8f0fe;
  font-weight: 600;
}

/* === ICONS === */
.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* === STATS BAR + ANIMATION === */
.stats-bar { background: var(--accent); color: #1a1a1a; }

/* Stat item card feel */
.stat-item {
  padding: 1rem .5rem;
  border-radius: 1rem;
  transition: transform .3s;
}
.stat-item:hover { transform: translateY(-4px); }

/* Animated icon */
.stat-icon {
  font-size: 1.75rem;
  color: rgba(245,166,35,.7);
  animation: statPulse 2.5s ease-in-out infinite;
}
.stat-item:nth-child(1) .stat-icon { animation-delay: 0s; }
.stat-item:nth-child(2) .stat-icon { animation-delay: .4s; }
.stat-item:nth-child(3) .stat-icon { animation-delay: .8s; }
.stat-item:nth-child(4) .stat-icon { animation-delay: 1.2s; }

@keyframes statPulse {
  0%, 100% { transform: scale(1);   opacity: .7; }
  50%       { transform: scale(1.2); opacity: 1;  }
}

/* Counter number */
.stat-number {
  color: var(--accent) !important;
  font-size: 2.25rem !important;
  letter-spacing: -.02em;
  line-height: 1;
  transition: color .2s;
}

/* Progress bar under each stat */
.stat-bar {
  height: 3px;
  background: rgba(255,255,255,.15);
  border-radius: 2px;
  overflow: hidden;
  margin: .4rem auto 0;
  width: 60%;
}
.stat-bar-fill {
  height: 100%;
  width: 0;                      /* starts at 0, JS sets to --pct */
  background: linear-gradient(90deg, var(--accent), #ffcc60);
  border-radius: 2px;
  transition: width 1.8s cubic-bezier(.16,1,.3,1);
}

.stats-section {
  background-image:
    repeating-linear-gradient(
      -60deg,
      transparent,
      transparent 24px,
      rgba(255,255,255,.04) 24px,
      rgba(255,255,255,.04) 25px
    ) !important;
}

/* === SECTOR BADGES === */
.sector-badge {
  display: inline-block;
  padding: .35rem .85rem;
  border-radius: 2rem;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  border: 1px solid rgba(255,255,255,.2);
}

/* === BRAND LOGOS STRIP — items === */
.brand-item {
  padding: 1.25rem 2rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  letter-spacing: .03em;
  border-right: 1px solid #d4dcf0;
}
.brand-item:last-child { border-right: none; }

/* ============================================
   MEGA MENU — Bootstrap 5 compatible
   Uses data-bs-display="static" to disable
   Popper.js and rely on pure CSS positioning
   ============================================ */

/* Step 1: Make the li.dropdown position: static
   so .dropdown-menu positions relative to navbar */
.mm-item {
  position: static !important;
}

/* Step 2: The .mm-panel fills navbar width.
   Because .mm-item is static, nearest positioned
   ancestor = .navbar (position: sticky/relative) */
.mm-panel {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  transform: none !important;  /* kill Popper.js transform */
  border-radius: 0 0 .75rem .75rem !important;
  border-top: 2px solid var(--accent) !important;
  margin-top: 0 !important;
  z-index: 1030;
}

/* Step 3: Inner row — equal-height columns */
.mm-row {
  min-height: 260px;
}

/* Step 4: Each column */
.mm-col {
  padding: 1.5rem 1.5rem;
  border-right: 1px solid #f0f4f8;
  display: flex;
  flex-direction: column;
}
.mm-col:last-child { border-right: none; }

/* Brands column background */
.mm-col-alt {
  background: #f8faff;
}

/* Step 5: Column heading */
.mm-heading {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--primary);
  margin-bottom: .85rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid #e8edf8;
}
.mm-heading i {
  color: var(--accent);
  margin-right: .3rem;
}

/* Step 6: Link list */
.mm-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}
.mm-list li { margin-bottom: .15rem; }
.mm-list a {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .4rem;
  color: #495057;
  font-size: .85rem;
  text-decoration: none;
  border-radius: .3rem;
  transition: color .15s ease, background .15s ease;
}
.mm-list a:hover {
  color: var(--primary);
  background: #edf1fb;
}
.mm-list a i {
  font-size: .65rem;
  opacity: .45;
  flex-shrink: 0;
}

/* "View All" link at bottom of column */
.mm-view-all {
  display: inline-flex;
  align-items: center;
  margin-top: .75rem;
  padding: .35rem .6rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  background: #edf1fb;
  border-radius: .35rem;
  text-decoration: none;
  transition: background .15s;
}
.mm-view-all:hover { background: #dce5f7; color: var(--primary); }

/* Step 7: Brand cards */
.mm-brands {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.mm-brand-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem .85rem;
  background: #fff;
  border: 1px solid #e3e9f5;
  border-radius: .5rem;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.mm-brand-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 10px rgba(0,48,135,.1);
}
.mm-brand-card img {
  height: 26px;
  width: 56px;
  object-fit: contain;
  flex-shrink: 0;
}
.mm-brand-initial {
  height: 26px;
  width: 56px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  border-radius: 4px;
}
.mm-brand-card strong {
  display: block;
  font-size: .83rem;
  color: #212529;
  line-height: 1.2;
}
.mm-brand-card small {
  font-size: .7rem;
  color: #6c757d;
}

/* ── Mobile (< 992px) ── */
@media (max-width: 991.98px) {
  .mm-item { position: relative !important; }

  .mm-panel {
    position: static !important;
    width: 100% !important;
    transform: none !important;
    border-radius: 0 !important;
    border-top: none !important;
    box-shadow: none !important;
    border: 1px solid #e9ecef !important;
    margin-top: .25rem !important;
  }

  .mm-row { min-height: unset; }

  .mm-col {
    border-right: none;
    border-bottom: 1px solid #f0f4f8;
    padding: 1rem 1.25rem;
  }
  .mm-col:last-child { border-bottom: none; }

  .mm-brands { flex-direction: row; flex-wrap: wrap; }
  .mm-brand-card { flex: 1 1 140px; }
}

/* === WHATSAPP FLOAT === */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #25D366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 9999;
  transition: transform .3s, box-shadow .3s;
}
.wa-float:hover {
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}

/* === NAVBAR — clean white === */
.navbar {
  background: #ffffff !important;
  border-bottom: 1px solid #e2eaf6 !important;
  box-shadow: 0 2px 16px rgba(0,48,135,.08) !important;
}
.navbar-brand span { color: var(--primary) !important; }
.nav-link { font-weight: 500; padding: .5rem .85rem !important; color: #475569 !important; }
.nav-link:hover { color: var(--primary) !important; }
.nav-link.active { color: var(--primary) !important; font-weight: 600; }
.nav-link.active::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  margin-top: 2px;
}
.form-control.navbar-search {
  background: #f0f5ff;
  border-color: #c8d6ea;
  color: var(--text);
}
.form-control.navbar-search::placeholder { color: #94a3b8; }
.form-control.navbar-search:focus { background: #fff; border-color: var(--primary); }

/* Mega menu — clean white */
.mm-panel {
  background: #ffffff !important;
  border-top-color: var(--accent) !important;
  box-shadow: 0 8px 32px rgba(0,48,135,.12) !important;
}
.mm-col { border-right-color: #edf2fc !important; }
.mm-col-alt { background: #f7faff !important; }
.mm-heading { color: var(--primary) !important; border-bottom-color: #e8edf8 !important; }
.mm-list a { color: #475569 !important; }
.mm-list a:hover { color: var(--primary) !important; background: #f0f5ff !important; }
.mm-view-all { color: var(--primary) !important; background: #edf2fc !important; }
.mm-view-all:hover { background: #dce8f8 !important; }
.mm-brand-card { background: #ffffff !important; border-color: #e2eaf6 !important; }
.mm-brand-card:hover { border-color: var(--primary) !important; }
.mm-brand-card strong { color: var(--text) !important; }

/* Brand strip items */
.brand-item { color: var(--primary) !important; border-right-color: #dce8f8 !important; font-weight: 700; }

/* Search input in navbar */
#navbarMain .form-control {
  background: #f0f5ff;
  border-color: #c8d6ea;
  color: var(--text);
}
#navbarMain .form-control::placeholder { color: #94a3b8; }
#navbarMain .form-control:focus { background: #fff; border-color: var(--primary); }

/* === MISC === */
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }
.about-content h2 { font-size: 1.75rem; font-weight: 700; color: var(--primary); }
.about-content h3 { font-size: 1.25rem; font-weight: 600; color: var(--primary); }
.about-content p, .about-content li { color: var(--text-muted); }

/* Product img placeholder */
.product-img-wrap { background: #ffffff !important; }
.product-img-placeholder { background: #f0f5ff !important; }
.product-img-placeholder span { color: var(--primary); }

/* Badges */
.bg-primary-subtle { background: #e8f0fe !important; }
.bg-success-subtle { background: #d1fae5 !important; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .product-img-wrap { height: 180px; }
  .product-img-placeholder { height: 180px; }
  .brand-item { border-right: none; border-bottom: 1px solid #dce8f8; }
  .mm-brands { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 991px) {
  .navbar-collapse {
    background: #ffffff;
    padding: 1rem;
    border-top: 1px solid #e2eaf6;
    box-shadow: 0 8px 20px rgba(0,48,135,.08);
    max-height: 85vh;
    overflow-y: auto;
  }
}

/* Brand dropdown hover */
.hover-bg-light:hover {
  background-color: #f0f5ff !important;
}

/* ── Brand Mega Menu Panel ── */
.mm-panel-brands {
  width: 560px;
  left: 50%;
  transform: translateX(-60%);
}
.mm-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem;
}
.mm-brand-tile {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .65rem .9rem;
  background: #fff;
  border: 1.5px solid #e8edf5;
  border-radius: .6rem;
  text-decoration: none;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.mm-brand-tile:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,48,135,.12);
  transform: translateY(-2px);
}
.mm-brand-tile-logo {
  width: 64px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7faff;
  border-radius: .4rem;
  padding: 4px;
}
.mm-brand-tile-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.mm-brand-tile-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.mm-brand-tile-info strong {
  font-size: .84rem;
  color: #1a2340;
  font-weight: 600;
}
.mm-brand-tile-info small {
  font-size: .72rem;
  color: #6c757d;
}
@media (max-width: 991.98px) {
  .mm-panel-brands {
    width: 100% !important;
    transform: none !important;
    left: 0 !important;
    right: 0 !important;
    position: static !important;
  }
  .mm-brand-grid { grid-template-columns: repeat(2, 1fr); }
  .mm-brands-header {
    flex-wrap: wrap;
    gap: .5rem;
  }
  .mm-brands-header .mm-view-all {
    font-size: .78rem;
  }
}
@media (max-width: 480px) {
  .mm-brand-grid { grid-template-columns: 1fr; }
  .mm-brand-tile { padding: .5rem .75rem; }
}

/* Brand nav label — distinct font */
.nav-brand-label {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  letter-spacing: .02em;
}
