.rwpk-compare{margin:24px 0;padding:clamp(14px,3vw,28px);border:1px solid #d7dfd7;border-radius:16px;background:#f9f6ee;color:#21473e}
.rwpk-compare h2,.rwpk-compare h3{color:inherit;line-height:1.2;margin:0}
.rwpk-compare h2{font-size:clamp(22px,3vw,32px)}
.rwpk-compare h3{font-size:18px}
.rwpk-compare p{margin:6px 0 13px;line-height:1.45}
.rwpk-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.rwpk-options>div{display:flex;flex-direction:column;align-items:stretch;padding:16px;border:1px solid #d7dfd7;border-radius:12px;background:#fff}
.rwpk-options dl{display:flex;gap:28px;margin:auto 0 14px}
.rwpk-options dt{font-size:14px}.rwpk-options dd{margin:0;font-size:21px;font-weight:700}
.rwpk-options a,.rwpk-current{display:block;padding:11px 14px;line-height:1.4;border-radius:8px;text-align:center}
.rwpk-options a{background:#244f46;color:white;text-decoration:none;font-weight:700}.rwpk-options a:focus-visible{outline:3px solid #926f3e;outline-offset:2px}
.rwpk-current{background:#ecf2ed;color:#305349}
#rentalForm .availability[data-rwpk]{padding:8px 12px;border-radius:8px;line-height:1.45;background:#f3f1e9;color:#35443c}
#rentalForm .availability[data-rwpk=available]{background:#e8f4ec;color:#1c573b}
@media(max-width:560px){.rwpk-options{grid-template-columns:1fr}}

/* Jané Matrix: show the rental action in the opening viewport. */
@media (min-width: 701px) {
  .rwm-product-detail .rwm-seo-product:has([data-seo-book="combi"]) {
    display: grid;
    grid-template-columns: minmax(0, 46%) minmax(0, 1fr) max-content;
    grid-template-areas:
      "photo summary summary"
      "photo price price"
      "photo deposit deposit"
      "photo rent favorite"
      "photo extras extras"
      "photo care care"
      "photo note note"
      "photo fallback fallback";
    gap: 0 16px;
    align-items: start;
    align-content: start;
  }
  .rwm-seo-product:has([data-seo-book="combi"]) > .rwm-product-primary,
  .rwm-seo-product .rwm-rental-booking:has([data-seo-book="combi"]) {
    display: contents;
  }
  .rwm-seo-product:has([data-seo-book="combi"]) .rwm-seo-photo-frame {
    grid-area: photo;
    justify-self: stretch;
    margin-right: clamp(0px, 1.2vw, 20px);
  }
  .rwm-seo-product:has([data-seo-book="combi"]) > .rwm-product-summary {
    grid-area: summary;
    margin: 0 0 12px;
  }
  .rwm-seo-product .rwm-rental-booking:has([data-seo-book="combi"]) > .rwm-seo-price {
    grid-area: price;
  }
  .rwm-seo-product .rwm-rental-booking:has([data-seo-book="combi"]) > .rwm-rental-deposit {
    grid-area: deposit;
    margin-top: 3px;
  }
  .rwm-product-detail .rwm-rental-booking > [data-seo-book="combi"] {
    grid-area: rent;
    align-self: center;
    margin: 10px 0 0;
  }
  html body .rwm-product-primary .rwm-rental-booking:has([data-seo-book="combi"]) > .rwfav26-detail {
    grid-area: favorite;
    align-self: center;
    margin: 10px 0 0;
  }
  .rwm-seo-product .rwm-rental-booking:has([data-seo-book="combi"]) > .rwm-matrix-extras { grid-area: extras; }
  .rwm-seo-product .rwm-rental-booking:has([data-seo-book="combi"]) > .rwm-rental-care { grid-area: care; }
  .rwm-seo-product .rwm-rental-booking:has([data-seo-book="combi"]) > .deposit-help { grid-area: note; }
  .rwm-seo-product .rwm-rental-booking:has([data-seo-book="combi"]) > noscript { grid-area: fallback; }
}
@media (min-width: 701px) and (max-height: 750px) {
  .rwm-product-detail .rwm-seo-product:has([data-seo-book="combi"]) {
    grid-template-areas:
      "photo price price"
      "photo deposit deposit"
      "photo rent favorite"
      "photo summary summary"
      "photo extras extras"
      "photo care care"
      "photo note note"
      "photo fallback fallback";
  }
  .rwm-seo-product:has([data-seo-book="combi"]) > .rwm-product-summary { margin: 16px 0 0; }
}
@media (max-width: 700px) and (max-height: 690px) {
  .rwm-seo-product:has([data-seo-book="combi"]) .rwm-seo-photo-frame,
  .rwm-seo-product:has([data-seo-book="combi"]) .rwm-seo-photo-frame > .rwm-seo-photo {
    height: clamp(88px, 20svh, 136px);
    object-fit: contain;
  }
}

@media (max-width: 700px) and (max-height: 610px) {
  .rwm-seo-product:has([data-seo-book="combi"]) > .rwm-product-primary {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .rwm-product-primary .rwm-rental-booking:has([data-seo-book="combi"]) { display: contents; }
  .rwm-product-primary .rwm-rental-booking:has([data-seo-book="combi"]) > * { order: 2; }
  .rwm-product-primary .rwm-rental-booking:has([data-seo-book="combi"]) > :is(.rwm-seo-price,.rwm-rental-deposit,.btn,.rwfav26-detail) { order: 0; }
  .rwm-seo-product:has([data-seo-book="combi"]) .rwm-seo-photo-frame { order: 1; }
}

.rwm-product-detail .rwm-rental-booking:has([data-seo-book="combi"]) > .rwm-rental-deposit {
  font-size: 13px;
  line-height: 1.6;
  color: #607268;
}
