:root {
  --black: #0f172a;
  --dark: #f7fafc;
  --dark2: #eef3f8;
  --dark3: #e4ebf3;
  --surface: #ffffff;
  --border: rgba(15, 23, 42, 0.10);
  --border2: rgba(15, 23, 42, 0.16);
  --accent: #ff8a00;
  --accent2: #ffb547;
  --accent-dim: rgba(255, 138, 0, 0.10);
  --accent-dim2: rgba(255, 138, 0, 0.05);
  --white: #0b1a33;
  --gray: #5f6b7e;
  --gray2: #95a1b5;
  --text: #1f2f46;
  --text-dim: #5c6d85;
  --nav-h: 68px;
  --radius: 10px;
  --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Prompt', sans-serif;
  background:
    radial-gradient(1200px 700px at 90% -10%, rgba(255, 138, 0, 0.12), transparent 60%),
    radial-gradient(900px 540px at -10% 110%, rgba(16, 185, 129, 0.10), transparent 55%),
    var(--dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: var(--nav-h);
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gray2); border-radius: 4px; }

.product-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
  border-bottom: 1px solid var(--border);
}

.product-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform .2s;
}

.product-logo:hover img { transform: scale(1.05); }

.product-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-nav-link,
.product-lang-toggle {
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gray);
  text-decoration: none;
  border-radius: 6px;
  transition: color .2s, background .2s;
  background: none;
  border: none;
  cursor: pointer;
}

.product-nav-link:hover,
.product-lang-toggle:hover,
.product-mobile-link:hover,
.product-mobile-lang:hover {
  color: var(--white);
  background: rgba(15, 23, 42, 0.06);
}

.product-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.product-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

.product-mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 2000;
  transition: right .3s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  padding: 24px;
  box-shadow: -4px 0 20px rgba(15, 23, 42, 0.1);
}

.product-mobile-drawer.open { right: 0; }

.product-mobile-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--gray);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  margin-bottom: 24px;
}

.product-mobile-link,
.product-mobile-lang {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text);
  text-decoration: none;
  border-radius: 6px;
  transition: background .2s, color .2s;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

.product-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.product-mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.product-breadcrumb-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 20px auto 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.product-breadcrumb {
  color: var(--text-dim);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}

.product-breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.product-breadcrumb-sep { color: var(--gray2); }
.product-breadcrumb-current { color: var(--gray); }

.product-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--border2);
  color: var(--accent);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 14px var(--accent-dim);
  white-space: nowrap;
}

.product-back-btn:hover {
  background: var(--accent-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-dim);
}

.product-back-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px var(--accent-dim);
}

.product-shell {
  flex: 1;
  padding: 32px 24px 60px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.product-card,
.product-tabs {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.product-card {
  padding: 40px;
  margin-bottom: 24px;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.product-gallery-frame {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.product-main-image {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  transition: opacity .2s;
}

.product-thumbs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}

.product-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid var(--border);
  transition: all .2s;
  background: var(--surface);
}

.product-thumb.active {
  border-color: var(--accent);
}

.product-thumb:hover {
  transform: translateY(-2px);
}

.product-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.product-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .06em;
  width: fit-content;
  margin-bottom: 6px;
}

.product-title {
  font-family: 'Prompt', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0;
  line-height: 1.25;
}

.product-divider {
  height: 1px;
  background: var(--border);
  margin: 2px 0 10px;
}

.product-subtitle {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 24px;
  line-height: 1.7;
}

.product-summary {
  background: var(--dark);
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  border-left: 3px solid var(--accent);
}

.product-summary-title {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 8px;
  font-weight: 500;
}

.product-summary ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text);
  line-height: 1.8;
}

.product-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-cta {
  padding: 11px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .9rem;
}

.product-cta img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 4px;
}

.product-cta.lazada {
  background: #f60;
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.25);
}

.product-cta.lazada:hover {
  background: #e05500;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 102, 0, 0.35);
}

.product-cta.shopee {
  background: #EE4D2D;
  color: #fff;
  box-shadow: 0 4px 14px rgba(238, 77, 45, 0.25);
}

.product-cta.shopee:hover {
  background: #d63e1f;
  transform: translateY(-2px);
}

.product-cta.spec {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px var(--accent-dim);
}

.product-cta.spec:hover {
  background: var(--accent2);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 181, 71, 0.35);
}

.product-tabs {
  padding: 32px 40px;
}

.product-tab-list {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.product-tab {
  padding: 10px 20px;
  font-size: .9rem;
  color: var(--gray);
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .2s, background .2s, border-color .2s;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
}

.product-tab:hover {
  color: var(--text);
  background: var(--dark);
}

.product-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: var(--accent-dim2);
}

.product-tab-panel { display: none; }
.product-tab-panel.active { display: block; }

.product-detail-block {
  margin-bottom: 20px;
  line-height: 1.8;
}

.product-detail-label {
  font-weight: 700;
  color: var(--accent);
}

.product-description-paragraph {
  line-height: 1.8;
  margin-bottom: 14px;
}

.product-inline-label {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .01em;
}

.product-info-table {
  width: 100%;
  max-width: 700px;
  border-collapse: collapse;
}

.product-info-table td {
  padding: 16px 12px;
  border-top: 1px solid var(--dark2);
}

.product-info-table tr {
  transition: background .18s ease;
}

.product-info-table tr:hover {
  background: linear-gradient(90deg, var(--accent-dim2), transparent 62%);
}

.product-info-table td:first-child {
  width: 220px;
  font-weight: 600;
  color: color-mix(in srgb, var(--accent) 72%, var(--text));
}

.product-info-table td:last-child {
  color: var(--text-dim);
}

.product-description-section {
  margin-bottom: 24px;
  padding-bottom: 10px;
}

.product-description-section .product-description-paragraph {
  line-height: 1.8;
  margin-bottom: 14px;
}

.product-additional-info {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  padding: 32px 40px;
}

.product-additional-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 24px;
}

.product-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(255, 138, 0, 0.30);
  z-index: 900;
  transition: transform .2s, box-shadow .2s;
}

.product-fab:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 20px 36px rgba(255, 138, 0, 0.34);
}

@media (max-width: 900px) {
  .product-nav { padding: 0 20px; }
  .product-nav-links { display: none; }
  .product-hamburger { display: flex; }
  .product-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-card { padding: 24px; }
  .product-additional-info { padding: 24px; }
}

@media (max-width: 600px) {
  body { padding-top: 60px; }
  .product-nav { height: 60px; }
  .product-logo img { height: 36px; }
  .product-breadcrumb-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .product-back-btn {
    width: 100%;
    justify-content: center;
  }
  .product-shell { padding: 24px 16px 48px; }
  .product-card,
  .product-additional-info { padding: 20px; }
  .product-gallery-frame { padding: 20px; }
  .product-title { font-size: 2rem; }
  .product-thumb { width: 54px; height: 54px; }
  .product-fab { right: 18px; bottom: 18px; width: 52px; height: 52px; }
}
