/* A short route from a real need to a relevant product category. */
body.hs-commerce-compare .commerce-decision,
body.hs-commerce-compare .commerce-next {
  box-sizing: border-box;
  min-width: 0;
  margin: 26px auto 38px;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid #d7e3d9;
  border-radius: 22px;
  background: #f5f7ef;
  color: #17352f;
}
.commerce-decision__heading { max-width: 760px; }
body.hs-commerce-compare .commerce-decision h2,
body.hs-commerce-compare .commerce-next h2 {
  margin: 8px 0 12px;
  color: #17352f;
  font: 700 clamp(1.5rem, 3.4vw, 2.2rem)/1.15 Georgia, serif;
}
.commerce-decision__heading p,
.commerce-next p { color: #40584d; line-height: 1.65; }
.commerce-decision__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 22px;
}
body.hs-commerce-compare a.commerce-decision__option {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 20px;
  border: 1px solid #c7d7c9;
  border-radius: 16px;
  background: #fffefb;
  color: #40584d;
  text-decoration: none;
  line-height: 1.5;
  box-shadow: 0 5px 16px #183d2b06;
}
body.hs-commerce-compare a.commerce-decision__option:hover {
  border-color: #3b6d50;
  background: #fff;
}
.commerce-decision__case { color: #365a42; font-size: .78rem; font-weight: 750; }
body.hs-commerce-compare .commerce-decision__option > strong {
  color: #17352f;
  font-size: 1.17rem;
  line-height: 1.25;
}
.commerce-decision__limit { padding-top: 12px; border-top: 1px solid #e5e8df; font-size: .86rem; }
.commerce-decision__link { margin-top: auto; color: #165337; font-weight: 800; }
.commerce-decision__foot { margin: 20px 0 0; }
.commerce-decision__foot a,
.commerce-next__actions > a:not(.commerce-next__button) { color: #215b3d; font-weight: 750; text-underline-offset: 3px; }
.commerce-next__actions { display: grid; gap: 16px; min-width: 0; align-content: center; }
body.hs-commerce-compare a.commerce-next__button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 52px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #174b36;
  color: #fff;
  font-weight: 800;
  line-height: 1.45;
  text-decoration: none;
  white-space: normal;
}
body.hs-commerce-compare a.commerce-next__button:hover { background: #103c2a; }
body.hs-commerce-compare .commerce-store-note {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-left: 3px solid #49754e;
  border-radius: 0 10px 10px 0;
  background: #f5f7ef;
  color: #40584d;
  font-size: .83rem;
  line-height: 1.6;
}
body.hs-commerce-compare :where(.commerce-decision__option, .commerce-next__button, .compare-nav a):focus-visible {
  outline: 3px solid #b56d00;
  outline-offset: 4px;
}
body.hs-commerce-compare :where(.choice, #decision-rapida) { scroll-margin-top: 125px; }
body.hs-commerce-compare .choice-grid { grid-template-columns: minmax(0, 1fr) !important; }
body.hs-commerce-compare .choice { display: flex; flex-direction: column; min-width: 0; }
body.hs-commerce-compare .choice > :not(img) { margin-inline: 0 !important; }
body.hs-commerce-compare .choice-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 18px; }
body.hs-commerce-compare .choice-copy h3 { margin: 0 0 12px !important; }
body.hs-commerce-compare .choice-copy > p { margin-bottom: 18px; }
body.hs-commerce-compare .choice-copy > a { display: flex; align-items: center; justify-content: center; min-height: 48px; margin: 8px 0 0; white-space: normal; }
body.hs-commerce-compare .choice-copy .affiliate-choice { margin-top: auto !important; grid-template-columns: minmax(0, 1fr); }
body.hs-commerce-compare .choice img { aspect-ratio: 4 / 3; object-fit: contain !important; background: #f7f5ef; }
body.hs-commerce-compare table.decision-table { min-width: 0; width: 100%; table-layout: fixed; }
body.hs-commerce-compare .decision-table :where(th, td) { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 700px) {
  .commerce-decision__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.hs-commerce-compare .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (min-width: 1040px) {
  .commerce-decision__grid:has(> :last-child:nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .commerce-decision__grid:has(> :last-child:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body.hs-commerce-compare .commerce-next { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 30px; align-items: center; }
  body.hs-commerce-compare .choice-grid:has(> :last-child:nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 599px) {
  body.hs-commerce-compare table.decision-table,
  body.hs-commerce-compare .decision-table :where(tbody, tr, td) { display: block; width: 100%; }
  body.hs-commerce-compare .decision-table { border: 0; background: transparent; }
  body.hs-commerce-compare .decision-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  body.hs-commerce-compare .decision-table tr { margin-bottom: 16px; border: 1px solid #d7e3d9; border-radius: 12px; background: #fff; overflow: hidden; }
  body.hs-commerce-compare .decision-table td { box-sizing: border-box; border: 0; }
  body.hs-commerce-compare .decision-table td:last-child { border-bottom: 0 !important; }
  body.hs-commerce-compare .decision-table td::before { content: attr(data-label); display: block; margin-bottom: 5px; color: #17352f; font-weight: 800; font-size: .78rem; }
}

/* Documented bed options: one readable column first, then a compact grid. */
body.hs-commerce-compare .bed-model-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin: 22px 0 30px;
}
body.hs-commerce-compare .bed-model-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d6e0d6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 26px #183d2b0d;
  scroll-margin-top: 125px;
}
body.hs-commerce-compare .bed-model-card figure { margin: 0; background: #f5f4ee; }
body.hs-commerce-compare .bed-model-card figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
body.hs-commerce-compare .bed-model-card figcaption {
  padding: 7px 14px 10px;
  color: #4b5b50;
  font-size: .76rem;
  line-height: 1.4;
}
body.hs-commerce-compare .bed-model-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  gap: 13px;
  padding: clamp(16px, 2.3vw, 23px);
}
body.hs-commerce-compare .bed-model-card__case {
  color: #24543b;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .02em;
}
body.hs-commerce-compare .bed-model-card__body h3 {
  margin: 0;
  color: #17352f;
  font-size: clamp(1.17rem, 2vw, 1.37rem);
  line-height: 1.28;
  overflow-wrap: anywhere;
}
body.hs-commerce-compare .bed-model-card__body p { margin: 0; color: #354940; line-height: 1.6; }
body.hs-commerce-compare .bed-model-card__specs { display: grid; gap: 0; margin: 0; }
body.hs-commerce-compare .bed-model-card__specs > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
  padding: 9px 0;
  border-top: 1px solid #e6ece4;
}
body.hs-commerce-compare .bed-model-card__specs dt { color: #17352f; font-weight: 800; }
body.hs-commerce-compare .bed-model-card__specs dd { min-width: 0; margin: 0; color: #40584d; overflow-wrap: anywhere; }
body.hs-commerce-compare .bed-model-card__limit {
  padding: 12px 14px;
  border-radius: 10px;
  background: #f5f7ef;
}
body.hs-commerce-compare a.bed-model-card__source {
  align-self: flex-start;
  color: #165337;
  font-size: .88rem;
  font-weight: 750;
  text-underline-offset: 3px;
}
body.hs-commerce-compare .bed-model-card__stores { display: grid; min-width: 0; gap: 8px; margin-top: auto; }
body.hs-commerce-compare .bed-model-card__stores .affiliate-choice { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; min-width: 0; width: 100%; }
body.hs-commerce-compare .bed-model-card__stores a.bed-model-card__store {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 47px;
  padding: 10px 13px;
  border-radius: 10px;
  color: #fff;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
}
body.hs-commerce-compare .bed-model-card__store--amazon { background: #b95700; }
body.hs-commerce-compare .bed-model-card__store--zooplus { background: #197342; }
body.hs-commerce-compare .bed-model-card__body > small { color: #40584d; font-size: .76rem; line-height: 1.45; }
body.hs-commerce-compare .bed-model-method {
  padding: 20px;
  border: 1px solid #d7e3d9;
  border-radius: 16px;
  background: #f5f7ef;
}
body.hs-commerce-compare .bed-model-method h3 { margin-top: 0; color: #17352f; }
body.hs-commerce-compare .bed-model-method p { color: #354940; }
body.hs-commerce-compare :where(.bed-model-card__store, .bed-model-card__source):focus-visible { outline: 3px solid #b56d00; outline-offset: 3px; }
@media (min-width: 900px) {
  body.hs-commerce-compare .bed-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
