/* Product pages (GOVARI 4K and future models) — built on connected.css + inner.css tokens. */
.pdp-new {
  display: inline-block;
  margin-inline-end: 8px;
  padding: 2px 10px;
  border-radius: 99px;
  background: var(--tech);
  color: var(--surface);
  font-size: 11px;
  font-weight: 700;
}
.pdp-4k {
  color: var(--tech);
}
.pdp-stage img {
  filter: drop-shadow(0 30px 40px #0b1a1f40);
}

/* Highlights */
.pdp-features {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}
.pdp-features li {
  display: grid;
  gap: 4px;
  padding: 24px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.pdp-features svg {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  fill: none;
  stroke: var(--tech);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pdp-features strong {
  font-size: 17px;
}
.pdp-features span {
  font-size: 14px;
  color: var(--muted);
}

.pdp-duo {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.pdp-duo .part img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}
.pdp-copy {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.8;
  max-width: 520px;
}
.pdp-app {
  align-items: center;
}

/* Order configurator */
.pdp-buy h2 {
  max-width: 18ch;
}
.pdp-order {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 32px;
  align-items: start;
  margin-top: 40px;
}
.pdp-steps {
  display: grid;
  gap: 18px;
}
.pdp-step {
  margin: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  min-width: 0;
}
.pdp-step legend {
  float: right;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 17px;
  font-weight: 700;
}
.pdp-step legend b,
.pdp-next b {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--tech);
  font-size: 13px;
}
.pdp-options {
  clear: both;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pdp-option {
  position: relative;
  cursor: pointer;
}
.pdp-option input,
.pdp-seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pdp-option-body {
  display: grid;
  gap: 8px;
  height: 100%;
  padding: 18px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: var(--bg);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pdp-option-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--ink);
}
.pdp-option-head strong {
  font-size: 16px;
}
.pdp-option-head em {
  font-style: normal;
  font-weight: 700;
  color: var(--tech);
  white-space: nowrap;
}
.pdp-option input:checked + .pdp-option-body {
  border-color: var(--tech);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tech) 18%, transparent);
}
.pdp-option input:focus-visible + .pdp-option-body,
.pdp-seg input:focus-visible + span {
  outline: 2px solid var(--tech);
  outline-offset: 2px;
}
.pdp-support {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  font-size: 14px;
}
.pdp-seg {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}
.pdp-seg label {
  position: relative;
  cursor: pointer;
}
.pdp-seg span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 9px;
  font-weight: 600;
}
.pdp-seg input:checked + span {
  background: var(--surface);
  color: var(--tech);
  box-shadow: 0 2px 8px #0000001a;
}
.pdp-qty {
  clear: both;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
}
.pdp-qty button {
  width: 48px;
  height: 48px;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}
.pdp-qty input {
  width: 48px;
  border: 0;
  background: none;
  color: var(--ink);
  text-align: center;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  -moz-appearance: textfield;
}
.pdp-qty input::-webkit-inner-spin-button,
.pdp-qty input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}
.pdp-fields {
  clear: both;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pdp-fields label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
}
.pdp-fields small {
  color: var(--muted);
  font-weight: 400;
}
.pdp-fields input,
.pdp-fields textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.pdp-fields input[dir="ltr"] {
  text-align: right;
}
.pdp-fields [aria-invalid="true"] {
  border-color: #c2413b;
}
.pdp-wide {
  grid-column: 1 / -1;
}
[data-when][hidden] {
  display: none !important;
}

.pdp-summary {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.pdp-summary img {
  width: 70%;
  margin-inline: auto;
}
.pdp-summary h3 {
  font-size: 20px;
}
.pdp-summary dl {
  margin: 0;
  display: grid;
}
.pdp-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.pdp-summary dt {
  color: var(--muted);
}
.pdp-summary dd {
  margin: 0;
  font-weight: 600;
}
.pdp-summary .pdp-total {
  border-bottom: 0;
  font-size: 18px;
}
.pdp-summary .pdp-total dt {
  color: var(--ink);
  font-weight: 700;
}
.pdp-summary .pdp-total dd {
  font-weight: 800;
}
.pdp-summary .button {
  width: 100%;
  font-family: inherit;
}
.pdp-summary button:disabled {
  opacity: 0.7;
  cursor: wait;
}
.pdp-pending {
  font-size: 13px;
  color: var(--muted);
}
.pdp-status:empty {
  display: none;
}
.pdp-status {
  font-size: 14px;
  line-height: 1.6;
  color: #c2413b;
}
html[data-theme="dark"] .pdp-status {
  color: #ff9d97;
}
.pdp-assure {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.pdp-assure a {
  text-decoration: underline;
}

.pdp-next {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pdp-next li {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.pdp-next span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 1180px) {
  .pdp-features {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 980px) {
  .pdp-order {
    grid-template-columns: 1fr;
  }
  .pdp-summary {
    position: static;
  }
  .pdp-summary img {
    width: 50%;
  }
  .pdp-next {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .pdp-options,
  .pdp-fields,
  .pdp-duo {
    grid-template-columns: 1fr;
  }
  .pdp-step,
  .pdp-summary {
    padding: 20px;
  }
  .pdp-features {
    grid-template-columns: 1fr 1fr;
  }
  .pdp-features li {
    padding: 18px 16px;
  }
}

/* Order confirmation */
.pdp-done-sheet {
  grid-template-columns: 1fr;
  margin-top: 28px;
  max-width: 560px;
}
.pdp-done .button:not(.primary):not(.whatsapp) {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.offer-line strong.is-pending {
  font-size: 24px;
}

/* Add-ons */
.pdp-addons {
  clear: both;
  display: grid;
  gap: 18px;
}
.pdp-addon {
  display: grid;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}
.pdp-addon .pdp-seg {
  flex-wrap: wrap;
  justify-self: start;
}
.pdp-check {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  cursor: pointer;
}
.pdp-check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--tech);
  flex: none;
}
.pdp-check span {
  display: grid;
  gap: 4px;
  font-size: 15px;
}
.pdp-check small {
  color: var(--muted);
  font-size: 13px;
}
.pdp-summary [data-sum-addons] > div,
.pdp-summary dl > div[hidden] {
  display: flex;
}
.pdp-summary dl > div[hidden] {
  display: none;
}
@media (max-width: 600px) {
  .pdp-seg span {
    padding: 0 12px;
    font-size: 14px;
  }
}
.pdp-addon .pdp-seg {
  display: grid;
  grid-template-columns: repeat(3, auto);
}
.pdp-addon .pdp-seg span {
  justify-content: center;
  text-align: center;
}
@media (max-width: 600px) {
  .pdp-addon .pdp-seg {
    justify-self: stretch;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .pdp-addon .pdp-seg span {
    min-height: 48px;
    padding: 4px 6px;
    font-size: 13px;
    line-height: 1.3;
  }
}
