.plx-rental-request {
  background: #ffffff;
  border: 1px solid #d9e8e1;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(13, 53, 43, 0.08);
  color: #172522;
  margin: 42px auto;
  max-width: 1180px;
  padding: 42px;
}

.plx-rental-request__intro {
  max-width: 760px;
}

.plx-rental-request__label {
  color: #119464;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.plx-rental-request h2 {
  color: #0b5138;
  font-size: 2rem;
  line-height: 1.15;
  margin: 0 0 14px;
}

.plx-rental-request p {
  color: #60706c;
  line-height: 1.7;
}

.plx-rental-notice {
  border-radius: 6px;
  font-weight: 800;
  margin: 24px 0;
  padding: 14px 16px;
}

.plx-rental-notice--success {
  background: #eef8f2;
  color: #0b5138;
}

.plx-rental-notice--error {
  background: #fff1f1;
  color: #a12626;
}

.plx-rental-form {
  margin-top: 28px;
}

.plx-rental-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plx-rental-grid label {
  display: grid;
  gap: 8px;
}

.plx-rental-grid span {
  color: #263b36;
  font-weight: 900;
}

.plx-rental-grid small {
  color: #60706c;
  font-size: 0.88rem;
  line-height: 1.5;
}

.plx-rental-grid input,
.plx-rental-grid select,
.plx-rental-grid textarea {
  background: #f7faf8;
  border: 1px solid #cbded6;
  border-radius: 6px;
  color: #172522;
  font: inherit;
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

.plx-rental-grid textarea {
  resize: vertical;
}

.plx-rental-grid__wide {
  grid-column: 1 / -1;
}

.plx-rental-form button {
  background: #0b5138;
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  margin-top: 22px;
  padding: 15px 20px;
}

.plx-rental-form button:hover {
  background: #119464;
}

.plx-rental-products {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.plx-rental-product {
  background: #ffffff;
  border: 1px solid #d9e8e1;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.plx-rental-product__image {
  align-items: center;
  background: #f2f7f4;
  display: flex;
  justify-content: center;
  min-height: 190px;
  padding: 18px;
}

.plx-rental-product__image img {
  aspect-ratio: 1 / 1;
  display: block;
  height: auto;
  max-height: 170px;
  object-fit: contain;
  width: 100%;
}

.plx-rental-product__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.plx-rental-product h3 {
  color: #0b5138;
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 0;
}

.plx-rental-product h3 a {
  text-decoration: none;
}

.plx-rental-product p {
  color: #60706c;
  font-size: 0.94rem;
  line-height: 1.55;
  margin: 0;
}

.plx-rental-product__price {
  color: #116b8f;
  display: block;
  font-weight: 900;
  margin-top: auto;
}

.plx-rental-product__button {
  background: #0b5138;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 10px 13px;
  text-decoration: none;
}

.plx-rental-product__button:hover {
  background: #119464;
}

.plx-rental-product__unavailable {
  align-self: end;
  background: #f2f4f3;
  border: 1px solid #d9e8e1;
  border-radius: 6px;
  color: #60706c;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 42px;
  padding: 10px 13px;
  text-align: center;
  width: 100%;
}

.plx-rental-product__actions {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(86px, 0.42fr) 1fr;
}

.plx-rental-product__actions label {
  display: grid;
  gap: 5px;
}

.plx-rental-product__actions span {
  color: #263b36;
  font-size: 0.82rem;
  font-weight: 900;
}

.plx-rental-product__actions input {
  background: #f7faf8;
  border: 1px solid #cbded6;
  border-radius: 6px;
  color: #172522;
  font: inherit;
  min-height: 42px;
  padding: 8px 10px;
  width: 100%;
}

.plx-rental-cart {
  background: #f7faf8;
  border: 1px solid #d9e8e1;
  border-radius: 8px;
  margin-top: 28px;
  padding: 20px;
}

.plx-rental-cart__head {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.plx-rental-cart--compact {
  max-width: 1180px;
}

.plx-rental-cart h3 {
  color: #0b5138;
  font-size: 1.2rem;
  margin: 0;
}

.plx-rental-cart__clear,
.plx-rental-cart__remove {
  background: transparent;
  border: 0;
  color: #a12626;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0;
}

.plx-rental-cart__empty {
  color: #60706c;
}

.plx-rental-cart__items {
  display: grid;
  gap: 10px;
}

.plx-rental-cart__item {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d9e8e1;
  border-radius: 6px;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 92px auto;
  padding: 12px;
}

.plx-rental-cart__item strong {
  color: #172522;
}

.plx-rental-cart__item a {
  color: #0b5138;
  text-decoration: none;
}

.plx-rental-cart__item input {
  background: #f7faf8;
  border: 1px solid #cbded6;
  border-radius: 6px;
  color: #172522;
  font: inherit;
  padding: 8px 10px;
  width: 100%;
}

.plx-rental-cart__cta {
  background: #0b5138;
  border-radius: 6px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 900;
  margin-top: 16px;
  padding: 12px 15px;
  text-decoration: none;
}

.plx-rental-cart__cta:hover {
  background: #119464;
}

.plx-rental-floating-button {
  background: #0b5138;
  border-radius: 999px;
  bottom: 22px;
  box-shadow: 0 18px 45px rgba(13, 53, 43, 0.2);
  color: #ffffff;
  font-weight: 900;
  padding: 14px 18px;
  position: fixed;
  right: 22px;
  text-decoration: none;
  z-index: 50;
}

.plx-rental-floating-button:hover {
  background: #119464;
}

.plx-rental-popup[hidden] {
  display: none;
}

.plx-rental-popup {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 99999;
}

.plx-rental-popup__backdrop {
  background: rgba(12, 35, 30, 0.64);
  inset: 0;
  position: absolute;
}

.plx-rental-popup__dialog {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(13, 53, 43, 0.28);
  color: #172522;
  max-width: 560px;
  padding: 34px;
  position: relative;
  width: min(100%, 560px);
}

.plx-rental-popup__close {
  align-items: center;
  background: #eef8f2;
  border: 0;
  border-radius: 999px;
  color: #0b5138;
  cursor: pointer;
  display: inline-flex;
  font-size: 1.5rem;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 38px;
}

.plx-rental-popup__label {
  color: #119464;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.plx-rental-popup h2 {
  color: #0b5138;
  font-size: 1.75rem;
  line-height: 1.2;
  margin: 0 44px 14px 0;
}

.plx-rental-popup p {
  color: #60706c;
  line-height: 1.65;
  margin: 0 0 14px;
}

.plx-rental-popup__ref {
  background: #f7faf8;
  border: 1px solid #d9e8e1;
  border-radius: 6px;
  padding: 12px 14px;
}

.plx-rental-popup__button {
  background: #0b5138;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 12px 16px;
}

.plx-rental-popup__button:hover {
  background: #119464;
}

.plx-rental-popup-open {
  overflow: hidden;
}

@media (max-width: 880px) {
  .plx-rental-request {
    padding: 28px 20px;
  }

  .plx-rental-grid {
    grid-template-columns: 1fr;
  }

  .plx-rental-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plx-rental-cart__item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .plx-rental-products {
    grid-template-columns: 1fr;
  }

  .plx-rental-product__actions {
    grid-template-columns: 1fr;
  }
}
