/* VAJRA — Product pages (Loggin-inspired showcase layout) */

.pd-showcase {
  position: relative;
}

.pd-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.25rem);
}

.pd-showcase__card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.35s ease, transform 0.4s var(--ease, ease), box-shadow 0.4s ease;
}

.pd-showcase__card:hover {
  border-color: rgba(110, 181, 255, 0.28);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
}

.pd-showcase__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #060a12;
  margin: 0;
}

.pd-showcase__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s var(--ease, ease);
}

.pd-showcase__card:hover .pd-showcase__media img {
  transform: scale(1.05);
}

.pd-showcase__body {
  padding: 1.15rem 1.2rem 1.25rem;
  flex: 1;
}

.pd-showcase__body h3 {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.4rem;
}

.pd-showcase__body p {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--silver);
  margin: 0;
}

.pd-app-strip {
  position: relative;
  overflow: hidden;
}

.pd-app-strip__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.pd-app-strip__copy .pd-section-lead {
  max-width: 34rem;
}

.pd-app-strip__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.pd-app-strip__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(59, 139, 255, 0.1);
  border: 1px solid rgba(110, 181, 255, 0.22);
}

.pd-app-strip__badge i {
  color: var(--blue-bright);
}

.pd-app-strip__visual {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
}

.pd-app-strip__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.pd-overview__figure {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
}

.pd-overview__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

html[data-theme="light"] .pd-showcase__card {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .pd-showcase__body h3 {
  color: #1a1a1e;
}

@media (max-width: 900px) {
  .pd-showcase__grid {
    grid-template-columns: 1fr;
  }

  .pd-app-strip__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pd-showcase__grid {
    grid-template-columns: 1fr;
  }
}
