:root {
  --rs-ink: #24312b;
  --rs-forest: #334d3f;
  --rs-sage: #82927d;
  --rs-sage-soft: #e7ebe1;
  --rs-clay: #a86643;
  --rs-oat: #e7dccb;
  --rs-linen: #f5efe5;
  --rs-paper: #fffdf8;
  --rs-line: #d8cdbc;
  --rs-muted: #6e746f;
  --rs-shadow: 0 18px 48px rgba(51, 42, 31, .10);
}

.entry-content > .rs-answer,
.entry-content > .rs-disclosure,
.entry-content > .rs-next-step,
.entry-content > .rs-decision-grid {
  width: min(calc(100% - 2rem), 760px);
  margin-right: auto;
  margin-left: auto;
}

.entry-content > .rs-article-image,
.entry-content > .rs-product-card,
.entry-content > .rs-product-grid,
.entry-content > .rs-configurator,
.entry-content > .rs-amazon-gallery {
  width: min(calc(100% - 2rem), 1180px);
  margin-right: auto;
  margin-left: auto;
}

.rs-article-image {
  margin: 2.25rem 0;
}

.rs-article-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--rs-shadow);
}

.rs-article-image figcaption {
  margin: .65rem .25rem 0;
  color: var(--rs-muted);
  font-size: .78rem;
  line-height: 1.45;
}

.rs-kicker,
.rs-product-card .rs-kicker {
  display: block;
  color: var(--rs-clay);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.rs-disclosure,
.rs-answer {
  margin: 1.7rem 0;
  padding: 1.15rem 1.25rem;
  color: var(--rs-ink);
  background: var(--rs-linen);
  border: 1px solid var(--rs-line);
  border-left: 4px solid var(--rs-clay);
  border-radius: 12px;
}

.rs-disclosure {
  font-size: .9rem;
}

.rs-decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.rs-decision-grid section {
  padding: 1.15rem;
  background: var(--rs-linen);
  border: 1px solid var(--rs-line);
  border-radius: 14px;
}

.rs-decision-grid h3,
.rs-decision-grid p {
  margin-top: 0;
}

.rs-decision-grid p {
  margin-bottom: 0;
}

.rs-next-step {
  display: block;
  margin: 2.4rem 0;
  padding: 1.25rem 1.4rem;
  background: var(--rs-sage-soft);
  border: 1px solid #c9d1c3;
  border-radius: 14px;
}

.rs-next-step > span {
  display: block;
  margin-bottom: .35rem;
  color: var(--rs-clay);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.rs-next-step > strong {
  display: block;
  margin-bottom: .35rem;
  color: var(--rs-forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
}

.rs-next-step p {
  margin: 0;
}

.rs-product-card {
  margin: 3rem 0;
  padding: clamp(1.2rem, 3vw, 2.2rem);
  color: var(--rs-ink);
  background:
    linear-gradient(135deg, rgba(255,255,255,.75), rgba(255,255,255,.25)),
    var(--rs-linen);
  border: 1px solid var(--rs-line);
  border-radius: 22px;
  box-shadow: var(--rs-shadow);
}

.rs-product-card > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 2rem;
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rs-line);
}

.rs-product-card h2,
.rs-product-card h3 {
  color: var(--rs-forest);
}

.rs-product-card h2 {
  margin: .35rem 0 0;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.rs-product-signals {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .65rem 0 .85rem;
}

.rs-product-signals span {
  display: inline-flex;
  align-items: center;
  padding: .36rem .6rem;
  color: var(--rs-forest);
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--rs-line);
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 750;
  line-height: 1.25;
}

.rs-product-hook {
  max-width: 760px;
  margin: .8rem 0 0;
  color: #455047;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.45;
}

.rs-product-card h3 {
  margin-top: 0;
  font-size: 1rem;
}

.rs-product-columns {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: 1.6rem 0;
}

.rs-check-list {
  display: grid;
  gap: .55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.rs-check-list li {
  position: relative;
  padding-left: 1.35rem;
}

.rs-check-list li::before {
  position: absolute;
  left: 0;
  color: var(--rs-clay);
  content: "✓";
  font-weight: 900;
}

.rs-product-card dl {
  margin: 1rem 0 0;
}

.rs-product-card dl div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: .75rem;
  padding: .65rem 0;
  border-top: 1px solid var(--rs-line);
}

.rs-product-card dt {
  color: var(--rs-muted);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.rs-product-card dd {
  margin: 0;
}

.rs-product-card > footer {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.35rem;
  border-top: 1px solid var(--rs-line);
}

.rs-product-card > footer > div,
.rs-result-actions > div {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  align-items: flex-end;
}

.rs-paid {
  display: block;
  color: var(--rs-muted);
  font-size: .72rem;
}

.rs-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: .82rem 1.15rem;
  color: #fff !important;
  background: var(--rs-forest);
  border: 2px solid var(--rs-forest);
  border-radius: 10px;
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease;
}

.rs-button:hover {
  color: #fff;
  background: #263c31;
  transform: translateY(-1px);
}

.rs-button:focus-visible,
.rs-cookie-button:focus-visible,
.rs-text-link:focus-visible {
  outline: 3px solid #d89b66;
  outline-offset: 3px;
}

.rs-text-link {
  color: var(--rs-forest);
  font-weight: 780;
  text-underline-offset: 3px;
}

.rs-editor-score {
  padding: 1rem;
  background: rgba(255, 253, 248, .72);
  border: 1px solid var(--rs-line);
  border-radius: 14px;
}

.rs-editor-score > div:first-child {
  display: flex;
  gap: .75rem;
  align-items: baseline;
  justify-content: space-between;
}

.rs-editor-score small {
  color: var(--rs-muted);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .07em;
}

.rs-editor-score strong {
  color: var(--rs-forest);
  font-size: 1.3rem;
}

.rs-editor-score p {
  margin: .45rem 0 0;
  color: var(--rs-muted);
  font-size: .72rem;
  line-height: 1.35;
}

.rs-stars {
  position: relative;
  display: inline-block;
  margin-top: .2rem;
  color: #d8cfc0;
  font-size: 1.1rem;
  letter-spacing: .12em;
  line-height: 1;
}

.rs-stars-fill {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  color: #a86643;
  white-space: nowrap;
}

.rs-amazon-gallery {
  margin: 0 0 1.5rem;
}

.rs-gallery-stage {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rs-line);
  border-radius: 16px;
}

.rs-amazon-slide {
  margin: 0;
}

.rs-amazon-slide a {
  display: grid;
  min-height: 280px;
  place-items: center;
}

.rs-amazon-slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 520px;
  padding: 1rem;
  object-fit: contain;
}

.rs-gallery-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--rs-forest);
  background: rgba(255, 253, 248, .92);
  border: 1px solid var(--rs-line);
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(51, 42, 31, .12);
  font: inherit;
  font-size: 1.7rem;
  cursor: pointer;
  transform: translateY(-50%);
  place-items: center;
}

.rs-gallery-arrow--prev {
  left: .75rem;
}

.rs-gallery-arrow--next {
  right: .75rem;
}

.rs-gallery-dots {
  position: absolute;
  right: 0;
  bottom: .75rem;
  left: 0;
  z-index: 2;
  display: flex;
  gap: .38rem;
  justify-content: center;
}

.rs-gallery-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  background: #c9c1b4;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.rs-gallery-dot[aria-current="true"] {
  background: var(--rs-clay);
}

.rs-gallery-arrow:focus-visible,
.rs-gallery-dot:focus-visible {
  outline: 3px solid #d89b66;
  outline-offset: 3px;
}

.rs-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2.25rem 0;
}

.rs-product-grid .rs-product-card {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.rs-product-grid .rs-product-card > header {
  grid-template-columns: 1fr;
}

.rs-product-grid .rs-product-columns {
  grid-template-columns: 1fr;
}

.rs-product-grid .rs-product-card > footer {
  align-items: flex-start;
  margin-top: auto;
}

.rs-configurator {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 1.5rem;
  margin: 2rem 0 4rem;
}

.rs-fields,
.rs-result {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 20px;
}

.rs-fields {
  display: grid;
  gap: 1rem;
  background: var(--rs-paper);
  border: 1px solid var(--rs-line);
}

.rs-result {
  position: sticky;
  top: 1rem;
  align-self: start;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.7), transparent 45%),
    var(--rs-sage-soft);
  border: 1px solid #c9d1c3;
  box-shadow: var(--rs-shadow);
}

.rs-result > h2 {
  margin: .35rem 0 1rem;
  color: var(--rs-forest);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.08;
}

.rs-result-facts {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  background: rgba(255,255,255,.55);
  border-radius: 12px;
}

.rs-result-facts p {
  margin: .55rem 0;
}

.rs-step {
  display: flex;
  gap: .7rem;
  align-items: center;
  margin-top: .75rem;
}

.rs-step:first-child {
  margin-top: 0;
}

.rs-step span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  color: #fff;
  background: var(--rs-clay);
  border-radius: 50%;
  font-weight: 800;
  place-items: center;
}

.rs-step h2 {
  margin: 0;
  color: var(--rs-forest);
  font-size: 1.15rem;
}

.rs-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}

.rs-fields label {
  display: block;
  color: var(--rs-ink);
  font-size: .92rem;
  font-weight: 680;
}

.rs-fields select,
.rs-fields input[type="number"] {
  box-sizing: border-box;
  width: 100%;
  margin-top: .38rem;
  padding: .72rem .78rem;
  color: var(--rs-ink);
  background: #fff;
  border: 1px solid #afa694;
  border-radius: 8px;
  font: inherit;
}

.rs-fields input[type="checkbox"] {
  width: auto;
  margin-right: .42rem;
  accent-color: var(--rs-forest);
}

.rs-fields fieldset {
  display: grid;
  gap: .58rem;
  padding: 1rem;
  border: 1px solid var(--rs-line);
  border-radius: 12px;
}

.rs-fields legend {
  padding: 0 .35rem;
  color: var(--rs-forest);
  font-weight: 760;
}

.rs-fields .rs-check,
.rs-fields .rs-safety {
  padding: .9rem 1rem;
  border-radius: 10px;
}

.rs-fields .rs-check {
  background: var(--rs-linen);
}

.rs-fields .rs-safety {
  background: #f4e7d8;
  border: 1px solid #ddc0a3;
}

.rs-result-product {
  margin-top: 1rem;
  padding: 1.1rem;
  background: var(--rs-paper);
  border: 1px solid #cad2c5;
  border-radius: 14px;
}

.rs-result-product-image {
  margin: -1.1rem -1.1rem 1rem;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--rs-line);
  border-radius: 14px 14px 0 0;
}

.rs-result-product-image a {
  display: grid;
  min-height: 220px;
  place-items: center;
}

.rs-result-product-image img {
  display: block;
  width: 100%;
  height: 260px;
  padding: .9rem;
  object-fit: contain;
}

.rs-result-product h3 {
  margin: .25rem 0 .6rem;
  color: var(--rs-forest);
  font-size: 1.12rem;
}

.rs-result-product p {
  margin: .45rem 0;
}

.rs-result-score {
  color: var(--rs-clay);
  font-size: .78rem;
  font-weight: 800;
}

.rs-result-actions {
  display: flex;
  gap: .7rem;
  align-items: center;
  justify-content: space-between;
  margin-top: .9rem;
}

.rs-config-note {
  margin-top: 1.25rem;
  color: var(--rs-muted);
  font-size: .76rem;
  line-height: 1.45;
}

.rs-site-disclosure {
  padding: .8rem 1rem;
  color: #ded8cb;
  background: #24312b;
  font-size: .76rem;
  text-align: center;
}

.rs-site-disclosure p {
  max-width: 1180px;
  margin: 0 auto;
}

.rs-cookie {
  position: fixed;
  z-index: 9999;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: center;
  max-width: 880px;
  margin: auto;
  padding: 1.25rem;
  color: var(--rs-ink);
  background: var(--rs-paper);
  border: 1px solid var(--rs-line);
  border-radius: 16px;
  box-shadow: 0 20px 65px rgba(38, 32, 24, .24);
}

.rs-cookie[hidden] {
  display: none;
}

.rs-cookie h2,
.rs-cookie p {
  margin: .2rem 0;
}

.rs-cookie h2 {
  color: var(--rs-forest);
  font-size: 1.15rem;
}

.rs-cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}

.rs-cookie-button {
  min-width: 112px;
  min-height: 44px;
  padding: .65rem .9rem;
  color: var(--rs-forest);
  background: #fff;
  border: 2px solid var(--rs-forest);
  border-radius: 9px;
  font: inherit;
  font-weight: 780;
  cursor: pointer;
}

.rs-cookie-button:hover {
  color: #fff;
  background: var(--rs-forest);
}

@media (max-width: 860px) {
  .rs-product-card > header,
  .rs-product-columns,
  .rs-configurator {
    grid-template-columns: 1fr;
  }

  .rs-result {
    position: static;
  }

  .rs-product-grid {
    grid-template-columns: 1fr;
  }

  .rs-decision-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .rs-product-card > footer,
  .rs-result-actions,
  .rs-cookie {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .rs-product-card > footer > div,
  .rs-result-actions > div {
    align-items: stretch;
  }

  .rs-field-row {
    grid-template-columns: 1fr;
  }

  .rs-cookie-actions {
    width: 100%;
  }
}
