/* Dev & Devi Puja Vidhi â€” scoped styles (pv-) */

/* Picker row */
.pv-form {
  padding: 1rem 1.1rem 0;
}

.pv-picker {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pv-picker__field {
  flex: 1 1 240px;
  margin: 0;
}

.pv-picker__field select {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid #d9c7a8;
  border-radius: 9px;
  background: #fff;
  color: #3a2c26;
  font: inherit;
}

.pv-picker__btn {
  flex: none;
  margin: 0;
}

.pv-body {
  padding: 1.1rem;
}

/* Hero */
.pv-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  color: #fff;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #5a2233, #7a1834);
}

.pv-hero__mark {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.18);
}

.pv-hero__label {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.pv-hero__hi {
  font-weight: 600;
  font-size: 1.05rem;
  color: #e8d9a8;
  margin-left: 0.3rem;
}

.pv-hero__head {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

/* Key facts — one single card with a row per item */
.pv-chips {
  display: flex;
  flex-direction: column;
  margin: 0 0 1.1rem;
  border: 1px solid #e6d6c4;
  border-radius: 12px;
  background: #fbf5ee;
  overflow: hidden;
}

.pv-chip {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  align-items: baseline;
  gap: 0.2rem 0.8rem;
  padding: 0.6rem 0.95rem;
}

.pv-chip + .pv-chip {
  border-top: 1px solid #f0e3d3;
}

@media (max-width: 480px) {
  .pv-chip {
    grid-template-columns: 1fr;
  }
}

.pv-chip__k {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8a6b52;
}

.pv-chip__v {
  font-size: 0.93rem;
  font-weight: 600;
  color: #4a0e1f;
}

/* Mantra box */
.pv-mantra {
  border: 1px solid #e6d6c4;
  border-left: 4px solid #c9a227;
  border-radius: 12px;
  background: #fffaf0;
  padding: 0.9rem 1.1rem;
  margin: 0 0 1.2rem;
  text-align: center;
}

.pv-mantra__k {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8a6b52;
}

.pv-mantra__hi {
  margin: 0 0 0.3rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.5;
  color: #7a1834;
}

.pv-mantra__en {
  margin: 0;
  font-size: 0.92rem;
  color: #4d3d34;
}

/* Subheads */
.pv-subhead {
  font-size: 1.1rem;
  font-weight: 700;
  color: #7a1834;
  border-bottom: 2px solid #eadfce;
  padding-bottom: 0.35rem;
  margin: 1.4rem 0 0.9rem;
}

.pv-intro {
  margin: 0 0 0.7rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #4d3d34;
}

/* Samagri list */
.pv-samagri {
  margin: 0 0 0.8rem;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.45rem;
}

.pv-samagri li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ece1d2;
  border-radius: 9px;
  background: #fbf5ee;
  font-size: 0.9rem;
  color: #3a2c26;
}

.pv-samagri__hi {
  color: #7a1834;
  font-weight: 600;
  flex: none;
}

.pv-samagri-link {
  display: inline-block;
  padding: 0.55rem 0.95rem;
  border: 1px solid #d9c7a8;
  border-radius: 9px;
  background: #fff;
  color: #7a1834;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  min-height: 2.75rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.pv-samagri-link:hover {
  background: #7a1834;
  color: #fff;
}

/* Steps */
.pv-steps {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 0.5rem;
}

.pv-step {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.7rem 0.85rem;
  border: 1px solid #ece1d2;
  border-radius: 10px;
  background: #fbf5ee;
}

.pv-step__n {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  background: #7a1834;
}

.pv-step__t {
  margin: 0 0 0.15rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #4a0e1f;
}

.pv-step__d {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #4d3d34;
}

/* Rules */
.pv-rules {
  margin: 0 0 0.5rem;
  padding-left: 1.1rem;
}

.pv-rules li {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #3a2c26;
}

.pv-disclaimer {
  margin: 1.2rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px dashed #e0d4c4;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #6b5e58;
}

/* Deity quick-pick grid (empty state) */
.pv-deity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.55rem;
  margin: 1rem 0 0.3rem;
}

.pv-deity {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #e6d6c4;
  border-left: 4px solid #c9a227;
  border-radius: 10px;
  background: #fffaf0;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.pv-deity:hover {
  background: #fbf2e2;
  border-color: #c9a227;
}

.pv-deity__en {
  font-weight: 700;
  font-size: 0.95rem;
  color: #4a0e1f;
}

.pv-deity__hi {
  font-size: 0.85rem;
  color: #8a6b52;
}

@media (max-width: 480px) {
  .pv-hero {
    flex-direction: column;
    text-align: center;
  }

  .pv-picker__btn {
    width: 100%;
  }
}

/* English / Hindi toggle */
.pv-langs {
  display: flex;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

.pv-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.3rem 1.1rem;
  border: 1px solid var(--color-border, #e2e6ea);
  border-radius: 999px;
  background: #fff;
  color: var(--color-primary, #8b2942);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}

.pv-lang.is-active {
  background: var(--color-primary, #8b2942);
  border-color: var(--color-primary, #8b2942);
  color: #fff;
}

.pv-lang:not(.is-active):hover {
  background: var(--color-beige-light, #fffaef);
  border-color: var(--color-accent, #c9a227);
}
