/* --- scope + reset --- */
.pv,
.pv * { box-sizing: border-box; }
.pv [hidden] { display: none !important; }

.pv {
  /* spalvos - visos iš prufio.com */
  --ink: #181D27;
  --mut: #535862;
  --note: #797979;
  --faint: #C7C7C7;
  --line: #E5E5E5;
  --line2: #DDDDDD;
  --tint: #F7F7F7;
  --deep: #06352D;
  --green: #31542A;
  --dgreen: #1C3D15;
  --okbg: #C1F5BB;
  --nobg: #FFC2C2;
  --nobd: #E24E4E;

  font-family: "Aeonik", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  max-width: 100%;
  width: 100%;
  margin: 2.5rem 0;
  -webkit-font-smoothing: antialiased;
}

.pv p,
.pv h3,
.pv h4,
.pv label { margin: 0; padding: 0; font-family: inherit; }

.pv button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  color: inherit;
}

/* tik ekrano skaitytuvams */
.pv .pv-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --- indikatorius: matomas tik tada, kai JS neįkeltas --- */
.pv-diag {
  border: .5px solid var(--nobd);
  background: var(--nobg);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 14.2px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
}

html.pv-js .pv-diag { display: none; }

/* --- tipografija: tik prufio.com dydžiai --- */
.pv h3 {
  font-size: 32px;
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--ink);
}

.pv h4 {
  font-size: 21.3px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

.pv p.pv-lead {
  font-size: 17.8px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--mut);
  margin-top: 12px;
}

/* --- kortelė --- */
.pv-card {
  border: .5px solid var(--line2);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.pv-sec {
  padding: 24px;
  border-top: .5px solid var(--line);
}

.pv-sec:first-child { border-top: 0; }

/* --- įvedimo laukas --- */
.pv-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.pv-field {
  flex: 1 1 260px;
  position: relative;
}

.pv input.pv-input {
  width: 100%;
  padding: 13px 62px 13px 16px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  border: .5px solid var(--line2);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color .15s;
}

.pv input.pv-input:focus { border-color: var(--green); }

.pv input.pv-input::placeholder {
  color: var(--faint);
  font-weight: 400;
  letter-spacing: .08em;
}

.pv-count {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12.4px;
  line-height: 1.5;
  color: var(--mut);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.pv-count.is-full {
  color: var(--green);
  font-weight: 500;
}

.pv button.pv-btn {
  background: var(--deep);
  color: #fff;
  padding: 13px 28px;
  border-radius: 100px;
  font-size: 15.1px;
  font-weight: 600;
  line-height: 1.5;
  transition: opacity .15s;
}

.pv button.pv-btn:hover { opacity: .85; }

/* --- klaida ir būsena --- */
.pv-msg {
  margin-top: 18px;
  border: .5px solid var(--nobd);
  background: var(--nobg);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14.2px;
  line-height: 1.5;
  color: var(--ink);
}

.pv-msg b { font-weight: 700; }

.pv button.pv-fix {
  margin-top: 10px;
  border: .5px solid var(--dgreen);
  background: #fff;
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 14.2px;
  line-height: 1.5;
  font-weight: 500;
}

.pv-state {
  display: inline-block;
  border-radius: 100px;
  border: .5px solid;
  padding: 6px 16px;
  font-size: 14.2px;
  font-weight: 500;
  line-height: 1.5;
}

.pv-state.ok {
  background: var(--okbg);
  border-color: var(--dgreen);
  color: var(--ink);
}

.pv-state.no {
  background: var(--nobg);
  border-color: var(--nobd);
  color: var(--ink);
}

/* --- VIN juosta --- */
.pv-striphead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin: 22px 0 10px;
}

.pv-striphead span {
  font-size: 10.7px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--mut);
}

.pv button.pv-copy {
  font-size: 14.2px;
  line-height: 1.5;
  color: var(--mut);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pv button.pv-copy:hover { color: var(--green); }

.pv-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 10px;
}

.pv-grp {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  border-radius: 4px;
}

.pv-grp:focus-visible {
  outline: 1px solid var(--green);
  outline-offset: 4px;
}

.pv-grp em {
  font-style: normal;
  font-size: 10.7px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--faint);
}

.pv-grp span { display: flex; gap: 4px; }

.pv-ch {
  width: clamp(23px, 5.6vw, 32px);
  height: clamp(32px, 7.2vw, 42px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  border: .5px solid var(--line2);
  border-radius: 4px;
  background: #fff;
  transition: background .15s, border-color .15s;
}

.pv-grp:hover .pv-ch,
.pv-grp.is-on .pv-ch {
  background: var(--tint);
  border-color: var(--green);
}

.pv-grp:hover em,
.pv-grp.is-on em { color: var(--green); }

/* --- rezultatų eilutės --- */
.pv-rows {
  margin-top: 24px;
  border-top: .5px solid var(--line);
}

.pv-row {
  display: grid;
  grid-template-columns: 158px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: .5px solid var(--line);
  transition: background .3s;
}

.pv-row.is-hi { background: var(--tint); }

.pv-k {
  font-size: 14.2px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--mut);
}

.pv-k em {
  display: block;
  font-style: normal;
  font-size: 10.7px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 4px;
}

.pv-v {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}

.pv-v .pv-soft {
  font-weight: 400;
  color: var(--mut);
}

.pv-code {
  display: inline-block;
  border: .5px solid var(--line2);
  border-radius: 4px;
  padding: 2px 9px;
  font-size: 12.4px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .05em;
  font-variant-numeric: tabular-nums;
}

.pv-note {
  display: block;
  font-size: 14.2px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--note);
  margin-top: 8px;
}

.pv-note b {
  font-weight: 700;
  color: var(--note);
}

.pv-tag {
  display: inline-block;
  font-size: 10.7px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 100px;
  border: .5px solid;
  margin-left: 8px;
  vertical-align: 2px;
  color: #000;
}

.pv-tag.ok {
  background: var(--okbg);
  border-color: var(--dgreen);
}

.pv-tag.no {
  background: var(--nobg);
  border-color: var(--nobd);
}

.pv-tag.na {
  background: var(--tint);
  border-color: var(--line2);
  color: var(--mut);
}

/* --- palyginimas su skelbimu --- */
.pv-cmp { background: var(--tint); }

.pv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.pv-grid label {
  display: block;
  font-size: 12.4px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--mut);
  margin-bottom: 6px;
}

.pv input.pv-i2 {
  width: 100%;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14.2px;
  font-weight: 400;
  line-height: 1.5;
  border: .5px solid var(--line2);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.pv input.pv-i2:focus { border-color: var(--green); }
.pv input.pv-i2::placeholder { color: var(--faint); }

.pv button.pv-cmp-btn {
  margin-top: 14px;
  border: .5px solid var(--ink);
  background: #fff;
  border-radius: 100px;
  padding: 10px 24px;
  font-size: 15.1px;
  font-weight: 600;
  line-height: 1.5;
}

.pv button.pv-cmp-btn:hover {
  border-color: var(--green);
  color: var(--green);
}

.pv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pv-chip {
  border: .5px solid;
  border-radius: 4px;
  padding: 8px 15px;
  font-size: 14.2px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
}

.pv-chip b {
  display: block;
  font-size: 10.7px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 1px;
}

.pv-chip.ok {
  background: var(--okbg);
  border-color: var(--dgreen);
}

.pv-chip.no {
  background: var(--nobg);
  border-color: var(--nobd);
}

.pv-chip.na {
  background: #fff;
  border-color: var(--line2);
}

/* --- mobile --- */
@media (max-width: 600px) {
  .pv { font-size: 16px; }
  .pv h3 { font-size: 21.3px; line-height: 1.2; }
  .pv p.pv-lead { font-size: 16px; }
  .pv-sec { padding: 20px 18px; }
  .pv-row { grid-template-columns: 1fr; gap: 6px; }
  .pv button.pv-btn { width: 100%; }
  .pv-grid { grid-template-columns: 1fr; }
}
