/* ── Tokens ── */
:root {
  --orange      : #ff6b00;
  --orange-dark : #e85d00;
  --navy        : #071d49;
  --gray        : #5d6678;
  --bg          : #f5f7fb;
  --white       : #fff;
  --border      : #e5e7eb;
  --radius-md   : 12px;
  --radius-lg   : 16px;
  --radius-xl   : 24px;
  --shadow-sm   : 0 4px 15px rgba(0,0,0,.05);
  --shadow-md   : 0 8px 30px rgba(0,0,0,.07);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--bg);
  overflow-x: hidden;
}

/* ── Header ── */
#header {
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0,0,0,.05);
  z-index: 999;
}
.navmenu ul {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navmenu a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  transition: color .3s;
}

.navmenu a:hover,
.navmenu a.active {
  color: var(--orange);
}

.btn-getstarted {
  background: var(--orange);
  color: var(--white) !important;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  transition: background .3s;
}

.btn-getstarted:hover {
  background: var(--orange-dark);
}

/* ── Breadcrumb ── */
.breadcrumb-section {

  padding: 14px 0;
}

.breadcrumb-section ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}

.breadcrumb-section li a {
  color: var(--gray);
  text-decoration: none;
  transition: color .2s;
}

.breadcrumb-section li a:hover {
  color: var(--orange);
}

.breadcrumb-section li.active {
  color: var(--gray);
  font-weight: 700;
}

.breadcrumb-section li + li::before {
  content: '›';
  margin: 0 10px;
  color: #999 ;
  font-size: 16px;
}

/* ── Detail Section ── */
.detail-section {
  padding: 40px 0 60px;
}

/* ── Gallery ── */
.gallery-wrap {
  display: flex;
  gap: 16px;
}

.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 90px;
  flex-shrink: 0;
}

.thumb-item {
  width: 90px;
  height: 90px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  background: #f4f6fb;
  transition: border-color .25s;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.thumb-item:hover,
.thumb-item.is-active {
  border-color: var(--orange);
}

.gallery-main {
  flex: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 480px;
  transition: opacity .4s;
}

.gallery-zoom {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(255,255,255,.9);
  border: none;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: box-shadow .2s;
}

.gallery-zoom:hover {
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

.gallery-badges {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.gallery-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: var(--shadow-sm);
  flex: 1;
  min-width: 130px;
}

.gallery-badge-item .badge-icon {
  color: var(--orange);
  font-size: 20px;
}

.gallery-badge-item span {
  font-size: 12px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
}

/* ── Product Info ── */
.product-info {
  padding-left: 20px;
}

.info-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff1e7;
  color: var(--orange);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 16px;
}

.product-title {
  font-size: 28px;
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 16px;
}

.product-short-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 24px;
}

.product-highlights {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.highlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.highlight-tag i {
  color: var(--orange);
}

.info-divider {
  height: 1px;
  background: #eee;
  margin: 24px 0;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin-bottom: 28px;
}

.spec-item label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #9aa0ad;
  margin-bottom: 4px;
}

.spec-item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white) !important;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  transition: background .3s, transform .3s, box-shadow .3s;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,211,102,.3);
}

.btn-datasheet {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--navy) !important;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  border: 1.5px solid var(--border);
  transition: border-color .3s, transform .3s;
}

.btn-datasheet:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}

/* ── Detail Bottom ── */
.detail-bottom {
  padding: 0 0 60px;
}

.detail-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.detail-card-title {
  font-size: 22px;
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
  margin-bottom: 8px;
}

.detail-card-line {
  width: 40px;
  height: 3px;
  background: var(--orange);
  border-radius: 10px;
  margin-bottom: 20px;
}

.keunggulan-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 20px;
}

.keunggulan-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.keunggulan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--navy);
  font-weight: 600;
}

.keunggulan-list li i {
  color: var(--orange);
  font-size: 16px;
  margin-top: 1px;
  flex-shrink: 0;
}

.spek-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.spek-table tr {
  border-bottom: 1px solid #f0f0f0;
}

.spek-table tr:last-child {
  border-bottom: none;
}

.spek-table td {
  padding: 10px 8px;
  vertical-align: top;
}

.spek-table td:first-child {
  color: #9aa0ad;
  font-weight: 700;
  width: 40%;
}

.spek-table td:last-child {
  color: var(--navy);
  font-weight: 600;
}

/* ── Aplikasi ── */
.aplikasi-section {
  background: var(--navy);
  padding: 50px 0;
}

.aplikasi-section .sec-title {
  font-size: 22px;
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
  color: var(--white);
  margin-bottom: 6px;
}

.aplikasi-section .sec-line {
  width: 40px;
  height: 3px;
  background: var(--orange);
  border-radius: 10px;
  margin-bottom: 14px;
}

.aplikasi-section .sec-desc {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
}

.aplikasi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.aplikasi-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 24px 16px;
  text-align: center;
  transition: background .3s, border-color .3s, transform .3s;
}

.aplikasi-item:hover {
  background: rgba(255,107,0,.15);
  border-color: var(--orange);
  transform: translateY(-4px);
}

.aplikasi-item i {
  font-size: 28px;
  color: var(--orange);
  display: block;
  margin-bottom: 10px;
}

.aplikasi-item span {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.4;
}

/* ── Produk Terkait ── */
.terkait-section {
  padding: 60px 0;
}

.terkait-section .sec-title {
  font-size: 28px;
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
  margin-bottom: 8px;
}

.terkait-section .sec-line {
  width: 40px;
  height: 3px;
  background: var(--orange);
  border-radius: 10px;
  margin-bottom: 35px;
}

.terkait-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0,0,0,.05);
  transition: transform .3s, box-shadow .3s;
}

.terkait-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(0,0,0,.09);
}

.terkait-img {
  height: 180px;
  overflow: hidden;
  background: #f4f6fb;
}

.terkait-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

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

.terkait-body {
  padding: 18px;
}

.terkait-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}

.terkait-body h5 {
  font-size: 16px;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.terkait-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: gap .2s;
}

.terkait-link:hover {
  gap: 10px;
}

/* ── Lightbox ── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay.is-open {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .gallery-wrap {
    flex-direction: column;
  }
  .gallery-thumbs {
    flex-direction: row;
    width: 100%;
  }
  .thumb-item {
    width: 70px;
    height: 70px;
  }
  .product-info {
    padding-left: 0;
    margin-top: 30px;
  }
  .product-title {
    font-size: 30px;
  }
  .aplikasi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .keunggulan-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .product-title {
    font-size: 24px;
  }
  .specs-grid {
    grid-template-columns: 1fr;
  }
  .aplikasi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-buttons {
    flex-direction: column;
  }
  .gallery-badges {
    flex-direction: column;
  }
  .detail-card {
    padding: 24px;
  }
}