.prw-wizard {
  --prw-ink: #111111;
  --prw-muted: #818a91;
  --prw-line: #d9d9d9;
  --prw-panel: #ffffff;
  --prw-soft: #f7f7f7;
  --prw-accent: #000000;
  --prw-accent-strong: #333333;
  --prw-sale: #cf2e2e;
  --prw-warning: #c62828;
  --prw-radius: 12px;
  --prw-radius-sm: 8px;
  color: var(--prw-ink);
  font-family: Roboto, Arial, Helvetica, sans-serif;
  margin: 32px auto;
  max-width: 1180px;
}

.prw-shell {
  background: var(--prw-panel);
  border: 1px solid var(--prw-line);
  border-radius: var(--prw-radius);
  box-shadow: none;
  overflow: hidden;
}

.prw-intro {
  background: #ffffff;
  border-bottom: 1px solid var(--prw-line);
  padding: 30px 30px 24px;
  position: relative;
}

.prw-intro::before {
  background: var(--prw-sale);
  content: "";
  height: 4px;
  left: 30px;
  position: absolute;
  right: 30px;
  top: 0;
}

.prw-intro h2,
.prw-results h3,
.prw-question legend,
.prw-product h4 {
  letter-spacing: 0;
  margin: 0;
}

.prw-intro h2 {
  color: #000;
  font-size: clamp(1.8rem, 2.4vw, 2.7rem);
  font-weight: 600;
  line-height: 1.15;
  text-transform: none;
}

.prw-intro p {
  color: var(--prw-muted);
  font-size: 1rem;
  margin: 10px 0 0;
  max-width: 760px;
}

.prw-intro .prw-disclaimer {
  color: var(--prw-muted);
  font-size: 0.88rem;
  max-width: 900px;
}

.prw-app {
  padding: 28px;
}

.prw-progress {
  background: #ececec;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.prw-progress span {
  background: var(--prw-sale);
  display: block;
  height: 100%;
  transition: width 180ms ease;
}

.prw-step-count {
  color: var(--prw-muted);
  font-size: 0.9rem;
  margin: 18px 0 8px;
}

.prw-question {
  border: 0;
  margin: 0;
  padding: 0;
}

.prw-question legend {
  display: block;
  float: left;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.25;
  width: 100%;
}

.prw-question legend + * {
  clear: both;
}

.prw-help {
  color: var(--prw-muted);
  margin: 8px 0 0;
}

.prw-error {
  color: var(--prw-warning);
  font-weight: 700;
  margin: 12px 0 0;
}

.prw-options {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.prw-option {
  align-items: center;
  background: var(--prw-soft);
  border: 1px solid var(--prw-line);
  border-radius: var(--prw-radius-sm);
  color: var(--prw-ink) !important;
  cursor: pointer;
  display: flex;
  font: inherit;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
  text-align: left;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
  width: 100%;
}

.prw-option:hover,
.prw-option:focus-visible {
  background: #ffffff;
  border-color: #000000;
  box-shadow: none;
  color: #000000 !important;
  outline: none;
}

.prw-option.is-selected {
  background: #ffffff;
  border-color: #000000;
  color: #000000 !important;
}

.prw-control {
  border: 2px solid var(--prw-line);
  display: inline-block;
  flex: 0 0 20px;
  height: 20px;
  position: relative;
  width: 20px;
}

.prw-control[data-type="radio"] {
  border-radius: 50%;
}

.prw-control[data-type="checkbox"] {
  border-radius: 5px;
}

.prw-option.is-selected .prw-control {
  background: #000000;
  border-color: #000000;
}

.prw-option.is-selected .prw-control::after {
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: "";
  height: 9px;
  left: 6px;
  position: absolute;
  top: 3px;
  transform: rotate(45deg);
  width: 5px;
}

.prw-option-label {
  color: inherit !important;
  display: block;
  font-weight: 650;
  line-height: 1.35;
}

.prw-actions {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

.prw-button,
.prw-product-link {
  align-items: center;
  background: var(--prw-sale);
  border: 1px solid var(--prw-sale);
  border-radius: var(--prw-radius-sm);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  text-decoration: none;
  text-transform: uppercase;
}

.prw-button:hover,
.prw-button:focus-visible,
.prw-product-link:hover,
.prw-product-link:focus-visible {
  background: #000000;
  border-color: #000000;
  color: #fff;
}

.prw-back,
.prw-start-over {
  background: #fff;
  border-color: #000000;
  color: #000000;
}

.prw-back:hover,
.prw-back:focus-visible,
.prw-start-over:hover,
.prw-start-over:focus-visible {
  background: var(--prw-soft);
  color: #000000;
}

.prw-results h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 600;
  text-transform: none;
}

.prw-result-list {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.prw-product {
  border: 1px solid var(--prw-line);
  border-radius: var(--prw-radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.prw-product:hover {
  box-shadow: none;
  transform: none;
}

.prw-product-media {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid var(--prw-line);
  display: flex;
  justify-content: center;
  min-height: 250px;
  padding: 18px;
  position: relative;
}

.prw-product-media img {
  aspect-ratio: 1 / 1;
  display: block;
  max-height: 260px;
  object-fit: contain;
  width: 100%;
}

.prw-product-placeholder {
  align-items: center;
  background: #000000;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 3rem;
  font-weight: 800;
  height: 120px;
  justify-content: center;
  width: 120px;
}

.prw-product-badge {
  background: var(--prw-sale);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  left: 12px;
  letter-spacing: 0;
  padding: 7px 9px;
  position: absolute;
  text-transform: uppercase;
  top: 12px;
}

.prw-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.prw-product h4 {
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.25;
}

.prw-product p {
  color: var(--prw-muted);
  margin: 8px 0 0;
}

.prw-price {
  color: var(--prw-sale) !important;
  font-weight: 600;
}

.prw-matches {
  font-size: 0.92rem;
}

.prw-product-link {
  align-self: flex-start;
  border-radius: 999px !important;
  margin-top: 14px;
  padding-left: 18px;
  padding-right: 18px;
}

.prw-empty {
  color: var(--prw-muted);
}

@media (max-width: 640px) {
  .prw-intro,
  .prw-app {
    padding: 20px;
  }

  .prw-actions {
    align-items: stretch;
    flex-direction: column-reverse;
    gap: 10px;
  }

  .prw-actions span {
    display: none;
  }

  .prw-button {
    width: 100%;
  }

  .prw-product {
    min-width: 0;
  }

  .prw-result-list {
    grid-template-columns: 1fr;
  }

  .prw-product-media {
    min-height: 220px;
  }
}

@media (min-width: 641px) and (max-width: 980px) {
  .prw-result-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
