:root {
  color: #101111;
  background: #fafafa;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.4;
}
* { box-sizing: border-box; }
body { margin: 0; }
main {
  max-width: 47.5rem;
  margin-inline: auto;
  padding: 1.65em 2.65em 0.55em 1.55em;
  font-size: clamp(0.75rem, 1.96vw, 0.95rem);
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-size: 1em; line-height: 1.35; }
a {
  color: inherit;
  text-decoration: underline dotted #666;
  text-underline-offset: 0.22em;
}
a:hover { text-decoration-style: solid; }
a:focus-visible {
  outline: 2px solid #315ba4;
  outline-offset: 3px;
  border-radius: 2px;
}
.intro { line-height: 1.6; }
.source { display: inline-block; vertical-align: middle; }
.source img { display: block; width: 3.6em; height: auto; }
.shortlist {
  margin-top: 1.42em;
  padding: 1.05em 0.96em 0.92em;
  border: 1px solid #dedede;
  border-radius: 1em;
  background: #fff;
}
.legend, .details, .note { color: #5d5d5d; font-size: 0.86em; }
.legend { display: flex; flex-wrap: wrap; gap: 1em; margin: 0.9em 0 0.8em; }
.legend span::before {
  content: "";
  display: inline-block;
  width: 0.74em;
  height: 0.74em;
  margin-right: 0.27em;
  border-radius: 50%;
}
.legend-sale::before { background: #536fa8; }
.legend-saving::before { background: #568f78; }
.deal + .deal { margin-top: 1.35em; padding-top: 1.35em; border-top: 1px solid #e1e1e1; }
.truncate { display: block; width: fit-content; max-width: min(100%, 29em); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-bottom: 0.23em; }
.details { margin-top: 0.25em; }
.price-row, .saving-row { display: flex; justify-content: space-between; align-items: baseline; gap: 0.65em; }
.price-row { margin-top: 0.24em; }
.price-row del { font-size: 0.85em; }
.price-row strong { font-size: 1.14em; }
.bar {
  width: var(--total);
  height: 1.17em;
  margin-top: 0.4em;
  border-radius: 0.36em 0 0 0.36em;
  background: linear-gradient(to right, #536ea8 var(--sale), #568f78 var(--sale));
}
.deal:nth-of-type(2) .bar { border-radius: 0.36em; }
.saving-row { margin-top: 0.36em; font-size: 0.86em; }
.saving-row span:first-child, .saving { color: #256831; }
.action { display: inline-block; margin-top: 0.25em; }
/* Draw the screenshot's external-link mark without depending on a symbol font. */
.action::after {
  content: "";
  display: inline-block;
  width: 0.47em;
  height: 0.47em;
  margin-left: 0.56em;
  margin-bottom: 0.16em;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  background: linear-gradient(135deg, transparent 41%, currentColor 42% 57%, transparent 58%);
}
.note { margin-top: 0.95em; line-height: 1.35; }
.followup { margin-top: 1.5em; }
.followup > h2 { margin-bottom: 0.6em; font-size: 1.12em; }
.product { display: flex; align-items: flex-start; gap: 0.54em; margin-top: 1.02em; }
.product img { display: block; width: 6.85em; height: auto; border-radius: 0.8em; }
.extra-price { margin-top: 0.16em; }
.extra-price strong { font-size: 1.27em; }
.extra-price del { margin-left: 0.28em; color: #505050; }
.saving { margin-top: 0.17em; font-size: 0.86em; }
.extra-specs { margin-top: 0.26em; font-size: 0.94em; }
.recommendation .product img { width: 7.27em; }
.recommendation-price { margin-top: 0.17em; font-size: 1.55em; }
.recommendation .saving { font-size: 1em; }
.recommendation p + p { margin-top: 0.34em; }
.recommendation .product p { line-height: 1.58; }
@media (max-width: 33rem) {
  main { padding-inline: 1em; }
}
@media (max-width: 24rem) {
  main { font-size: 0.85rem; }
  .product img, .recommendation .product img { width: 5.3em; }
}

.deal-product { margin: 0 0 0.55em; align-items: center; }
.deal-product > a { flex: none; }
.deal-product > div { min-width: 0; }
.deal-product img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
  border: 1px solid #eaeaea;
}

.legend-net::before { background: #536ea8; }
.legend-gst::before { background: #8e704d; }
.tax-legend { margin-bottom: 0.95em; }
.tax-chart { margin: 0; padding: 0; list-style: none; }
.tax-chart > li + li { margin-top: 1.02em; padding-top: 1.02em; border-top: 1px solid #e1e1e1; }
.chart-price { margin-top: 0.2em; color: #505050; font-size: 0.91em; }
.chart-price strong { color: #101111; }
.tax-bar {
  border-radius: 0.36em;
  background: linear-gradient(to right, #536ea8 68.182%, #568f78 68.182% 90.909%, #8e704d 90.909%);
}
.tax-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55em;
  margin: 0.5em 0 0;
  font-size: 0.88em;
  font-variant-numeric: tabular-nums;
}
.tax-values dt { color: #505050; }
.tax-values dd { margin: 0.1em 0 0; font-weight: bold; }
@media (max-width: 30rem) {
  .deal-product .truncate { white-space: normal; }
  .tax-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
