/* ==========================================================================
   Product Page — Voice & Telephony (and future product pages)
   Inherits all variables and base styles from style.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   Quick Navigation Bar
   -------------------------------------------------------------------------- */
.prod-quicknav {
  position: sticky;
  top: 84px; /* matches header height */
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--ink-05);
  box-shadow: 0 2px 16px rgba(10,10,10,0.05);
}
.pqn-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.pqn-inner::-webkit-scrollbar { display: none; }
.pqn-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-30);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-right: 4px;
  flex-shrink: 0;
}
.pqn-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.pqn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-55);
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: all var(--dur) var(--ease);
  border: 1px solid transparent;
}
.pqn-link .bi { font-size: 0.78rem; }
.pqn-link:hover {
  color: var(--ink);
  background: var(--ink-02);
}
.pqn-link.active {
  color: var(--brand);
  background: var(--brand-soft);
  border-color: var(--brand-line);
}
.pqn-cta {
  flex-shrink: 0;
  margin-left: auto;
  font-size: 0.82rem !important;
  padding: 8px 18px !important;
}

@media (max-width: 767.98px) {
  /*.pqn-label { display: none; }*/
  /*.pqn-cta { display: none; }*/
}

/* --------------------------------------------------------------------------
   Products Listing Section
   -------------------------------------------------------------------------- */
.prod-listing {
  padding: 80px 0 96px;
  background: var(--white);
}
@media (max-width: 991.98px) { .prod-listing { padding: 56px 0 72px; } }

/* --------------------------------------------------------------------------
   Product Card — Image + Content layout
   -------------------------------------------------------------------------- */
.prod-card {
  display: grid;
  grid-template-columns: 420px 1fr;
  border: 1px solid var(--ink-05);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 32px;
  background: var(--white);
  transition: box-shadow 300ms ease, border-color 300ms ease, transform 300ms ease;
}
.prod-card:hover {
  box-shadow: 0 12px 48px rgba(10,10,10,0.09);
  border-color: var(--ink-10);
  transform: translateY(-2px);
}
.prod-card:last-child { margin-bottom: 0; }

/* Reverse layout — image on right */
.prod-card--reverse {
  grid-template-columns: 1fr 420px;
}
.prod-card--reverse .pc-img-col  { order: 2; }
.prod-card--reverse .pc-content-col { order: 1; }

/* Image column */
.pc-img-col {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background: var(--ink-02);
}
.pc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 500ms ease;
}
.prod-card:hover .pc-img { transform: scale(1.04); }

.pc-img-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: var(--ink);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  z-index: 2;
}

/* Content column */
.pc-content-col {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.pc-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}

.pc-title {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 14px;
}

.pc-desc {
  font-size: 0.95rem;
  color: var(--ink-40);
  line-height: 1.65;
  margin-bottom: 22px;
}

/* Features grid */
.pc-feats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  margin-bottom: 28px;
}
.pc-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--ink-55);
  font-weight: 500;
  line-height: 1.4;
}
.pc-check {
  color: var(--brand);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Card footer */
.pc-foot {
  padding-top: 22px;
  border-top: 1px solid var(--ink-05);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pc-brands-lbl {
  display: block;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-30);
  margin-bottom: 8px;
}
.pc-brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pc-brand-tags span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-55);
  background: var(--ink-02);
  border: 1px solid var(--ink-05);
  border-radius: 6px;
  padding: 4px 10px;
  letter-spacing: 0.01em;
}
.pc-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pc-actions .btn { font-size: 0.90rem; padding: 11px 22px; }

/* Responsive */
@media (max-width: 1199.98px) {
  .prod-card,
  /*.prod-card--reverse { grid-template-columns: 380px 1fr; }*/
}
@media (max-width: 991.98px) {
  .prod-card,
  .prod-card--reverse {
    grid-template-columns: 1fr;
  }
  .prod-card--reverse .pc-img-col  { order: 1; }
  .prod-card--reverse .pc-content-col { order: 2; }
  .pc-img-col { min-height: 260px; }
  .pc-content-col { padding: 28px 28px 32px; }
  .pc-feats-grid { gap: 6px 16px; }
}
@media (max-width: 575.98px) {
  .prod-card { border-radius: 14px; margin-bottom: 20px; }
  .pc-img-col { min-height: 220px; }
  .pc-content-col { padding: 22px 20px 26px; }
  .pc-feats-grid { grid-template-columns: 1fr; }
  .pc-actions .btn { flex: 1; justify-content: center; }
}
