/* Product Details page specific styles */

.pd-hero {
  position: relative;
  padding: 86px 0 54px;
  color: #fff;
  background: #0b1220;
  overflow: hidden;
}
.pd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pd-hero-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  transform: scale(1.02);
  filter: saturate(1.05);
}
.pd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11,18,32,0.92), rgba(13,71,161,0.42));
}
.pd-hero .container { position: relative; z-index: 1; }
.pd-breadcrumbs a { color: rgba(252,194,0,0.96); text-decoration: none; }
.pd-breadcrumbs a:hover { text-decoration: underline; }
.pd-breadcrumbs .text-muted { color: rgba(252,194,0,0.82) !important; }
.pd-title {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #f5fbff;
  display: inline;
  padding: 0.12rem 0.42rem;
  background: rgba(6, 26, 38, 0.60);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-left: 4px solid rgba(252, 194, 0, 0.95);
}
.pd-subtitle { color: rgba(255,230,140,0.96); font-size: 1.02rem; text-shadow: 0 6px 16px rgba(0,0,0,0.35); }
.pd-hero .text-muted { color: rgba(252,218,102,0.86) !important; }
.pd-meta .badge { border-radius: 0; }
.pd-meta-item { color: rgba(252,218,102,0.92) !important; }
.pd-hero-panel {
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(11,18,32,0.42);
  backdrop-filter: blur(8px);
  padding: 12px;
}
.pd-hero-panel-title {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  margin-bottom: 8px;
  font-weight: 800;
}
.pd-hero-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pd-hero-facts {
  border-top: 1px dashed rgba(255,255,255,0.30);
  padding-top: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 0.86rem;
  display: grid;
  gap: 6px;
}

.pd-subnav-wrap {
  position: sticky;
  top: 0;
  z-index: 9;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17,24,39,0.08);
}
.pd-subnav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
  -webkit-overflow-scrolling: touch;
}
.pd-subnav-link {
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 0;
  border: 1px solid rgba(17,24,39,0.14);
  color: #111827;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  background: #fff;
}
.pd-subnav-link:hover { border-color: rgba(13,71,161,0.55); color: #0d47a1; }
.pd-subnav-link.is-active { background: #0d47a1; border-color: #0d47a1; color: #fff; }

.pd-section { padding: 56px 0; }
.pd-section-alt { background: rgba(13,71,161,0.03); }
.pd-kicker {
  display: inline-flex;
  font-weight: 800;
  color: #0d47a1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}
.pd-h2 { font-weight: 900; letter-spacing: -0.02em; margin-top: 10px; }
.pd-lead { color: #374151; margin-top: 10px; }

.pd-card {
  border: 1px solid rgba(17,24,39,0.10);
  background: #fff;
  border-radius: 0;
  padding: 16px;
}
.pd-card-title { font-weight: 900; color: #111827; margin-bottom: 10px; }
.pd-desc { color: #111827; line-height: 1.7; font-size: 0.96rem; }
.pd-desc code, .pd-desc pre { white-space: pre-wrap; }
.pd-overview-grid {
  border-top: 1px solid rgba(17,24,39,0.10);
  padding-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.pd-overview-item {
  border: 1px solid rgba(13,71,161,0.14);
  background: rgba(13,71,161,0.03);
  padding: 9px 10px;
}
.pd-overview-k { font-size: 0.75rem; font-weight: 800; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; }
.pd-overview-v { font-size: 0.9rem; color: #111827; font-weight: 700; margin-top: 2px; }

.pd-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.pd-thumb {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(17,24,39,0.10);
  background: rgba(13,71,161,0.03);
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 250ms ease; }
.pd-thumb:hover img { transform: scale(1.04); }
.pd-more {
  aspect-ratio: 4 / 3;
  border: 1px dashed rgba(17,24,39,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #0d47a1;
  background: rgba(13,71,161,0.02);
}

.pd-spec-table td { border-top: 0; border-bottom: 1px solid rgba(17,24,39,0.08); padding: 0.75rem 0.5rem; }
.pd-spec-k { width: 32%; color: #6b7280; font-weight: 900; }
.pd-spec-v { color: #111827; }

.pd-mini { padding: 14px; }
.pd-mini-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(17,24,39,0.08); }
.pd-mini-row:last-child { border-bottom: 0; }
.pd-mini-k { color: #6b7280; font-weight: 800; }
.pd-mini-v { color: #111827; font-weight: 900; }
.pd-doc-item { transition: background 160ms ease; }
.pd-doc-item:hover { background: rgba(13,71,161,0.03); }

@media (max-width: 991.98px) {
  .pd-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-overview-grid { grid-template-columns: 1fr; }
  .pd-hero-panel { margin-top: 8px; }
}

@media (max-width: 575.98px) {
  .pd-section { padding: 44px 0; }
  .pd-meta { gap: 6px !important; }
  .pd-meta .badge { font-size: 0.75rem; }
  .pd-subnav-link { padding: 7px 10px; font-size: 0.83rem; }
  .pd-btn-mobile { width: 100%; justify-content: center; display: inline-flex; }
}

