.rent-final {
  --rent-text: #101828;
  --rent-secondary: #475467;
  --rent-muted: #667085;
  --rent-border: #e7ebf0;
  --rent-border-light: #edf0f4;
  --rent-background: transparent;
  --rent-orange: #ff5a00;
  --rent-orange-hover: #e94f00;
  --rent-orange-light: #fff3e8;
  --rent-blue: #1473e6;
  --rent-footer: #071427;
  max-width: 100%;
  margin: 0;
  padding: 16px 0 0;
  background: var(--rent-background);
  color: var(--rent-text);
}

.rent-final__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rent-final__section {
  width: 100%;
  padding: 22px 28px;
  background: #ffffff;
  border: 1px solid var(--rent-border);
  border-radius: 14px;
  box-shadow: 0 5px 20px rgba(15, 23, 42, 0.035);
}

.rent-final__section-title {
  margin: 0;
  font-size: 21px;
  line-height: 27px;
  font-weight: 700;
  color: var(--rent-text);
}

.rent-final__icon-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Delivery & payment */
.rent-delivery-payment {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 20px;
}

.rent-contract-column__button {
  width: 100%;
  height: 46px;
  margin-top: 14px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--rent-text);
  border-radius: 9px;
  background: var(--rent-text);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
  box-sizing: border-box;
}

.rent-contract-column__button:hover {
  border-color: #243041;
  background: #243041;
  color: #ffffff;
}

.rent-contract-column__button .rent-contract-column__icon--button {
  filter: brightness(0) invert(1);
}

.rent-contract-column__icon {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.rent-contract-column__icon--heading {
  width: 21px;
  height: 21px;
  max-width: 21px;
  max-height: 21px;
}

.rent-contract-column__icon--button {
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
}

.rent-delivery-payment__column--contract .rent-delivery-payment__heading-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
}

.rent-delivery-payment__column {
  min-width: 0;
  padding: 0 32px;
  border-right: 1px solid var(--rent-border-light);
}

.rent-delivery-payment__column:first-child {
  padding-left: 0;
}

.rent-delivery-payment__column:last-child {
  padding-right: 0;
  border-right: none;
}

.rent-delivery-payment__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--rent-text);
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
}

.rent-delivery-payment__heading-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--rent-orange-light);
}

.rent-delivery-payment__text {
  margin: 0;
  font-size: 14px;
  line-height: 23px;
  color: #344054;
}

.rent-delivery-payment__list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rent-delivery-payment__list li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 23px;
  color: #344054;
}

.rent-delivery-payment__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--rent-orange);
}

.rent-delivery-calc__field {
  position: relative;
}

.rent-delivery-calc__input {
  width: 100%;
  height: 48px;
  margin-top: 14px;
  padding: 0 44px 0 14px;
  border: 1px solid #d8dee8;
  border-radius: 9px;
  background: #ffffff;
  color: var(--rent-text);
  font-size: 14px;
}

.rent-delivery-calc__input:focus {
  outline: none;
  border-color: var(--rent-orange);
  box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.12);
}

.rent-delivery-calc__geo {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 7px;
  width: 18px;
  height: 18px;
  pointer-events: none;
  opacity: 0.7;
}

.rent-delivery-calc__button {
  width: 100%;
  height: 46px;
  margin-top: 10px;
  border: none;
  border-radius: 9px;
  background: var(--rent-orange);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(255, 90, 0, 0.18);
  cursor: pointer;
  transition: background 0.15s ease;
}

.rent-delivery-calc__button:hover {
  background: var(--rent-orange-hover);
}

.rent-delivery-calc__hint {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 18px;
  color: var(--rent-muted);
}

.rent-delivery-calc__result {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  background: #f8fafc;
  font-size: 13px;
  line-height: 20px;
  color: var(--rent-text);
}

/* Included */
.rent-included__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 20px;
}

.rent-included__item {
  min-width: 0;
  padding: 0 22px;
  text-align: center;
  border-right: 1px solid var(--rent-border-light);
}

.rent-included__item:first-child {
  padding-left: 0;
}

.rent-included__item:last-child {
  padding-right: 0;
  border-right: none;
}

.rent-included__icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--rent-orange-light);
}

.rent-included__title {
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  color: var(--rent-text);
  min-height: 36px;
}

.rent-included__text {
  font-size: 11px;
  line-height: 17px;
  font-weight: 400;
  color: var(--rent-muted);
  margin-top: 8px;
}

/* Contract row */
.rent-contract {
  min-height: 84px;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--rent-border);
  border-radius: 13px;
}

.rent-contract__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--rent-orange-light);
}

.rent-contract__title {
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  color: var(--rent-text);
}

.rent-contract__subtitle {
  font-size: 12px;
  line-height: 18px;
  color: var(--rent-muted);
  margin-top: 3px;
}

.rent-contract__button {
  min-width: 230px;
  height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #d8dee8;
  border-radius: 9px;
  background: #ffffff;
  color: var(--rent-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
}

.rent-contract__button:hover {
  border-color: var(--rent-orange);
  color: var(--rent-orange);
}

/* Reviews */
.rent-reviews__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}

.rent-reviews__title {
  margin: 0;
  font-size: 21px;
  line-height: 27px;
  font-weight: 700;
}

.rent-reviews__summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 12px;
}

.rent-reviews__rating-value {
  font-size: 22px;
  line-height: 28px;
  font-weight: 800;
  color: var(--rent-text);
}

.rent-reviews__stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 2px;
}

.rent-reviews__star {
  color: #ffd6bf;
}

.rent-reviews__star--full,
.rent-reviews__star--half {
  color: var(--rent-orange);
}

.rent-reviews__count {
  font-size: 13px;
  color: var(--rent-blue);
  text-decoration: none !important;
}

.rent-reviews__count:hover {
  text-decoration: underline !important;
}

.rent-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rent-review {
  min-width: 0;
  padding: 0 30px;
  border-right: 1px solid var(--rent-border-light);
}

.rent-review:first-child {
  padding-left: 0;
}

.rent-review:last-child {
  padding-right: 0;
  border-right: none;
}

.rent-review__head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.rent-review__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eef2f6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rent-review__name {
  font-size: 14px;
  line-height: 19px;
  font-weight: 700;
}

.rent-review__company {
  font-size: 11px;
  line-height: 16px;
  color: var(--rent-muted);
}

.rent-review__rating {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 1px;
}

.rent-review__rating .rent-reviews__star {
  font-size: 13px;
}

.rent-review__text {
  font-size: 12px;
  line-height: 19px;
  color: #344054;
  margin: 10px 0 0;
}

.rent-review__date {
  font-size: 11px;
  line-height: 16px;
  color: var(--rent-muted);
  margin-top: 8px;
}

.rent-reviews__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.rent-reviews__all,
.rent-reviews__add {
  min-width: 200px;
  height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
  color: var(--rent-text);
  text-decoration: none !important;
  box-sizing: border-box;
}

.rent-reviews__add {
  border-color: #ffd7bf;
  background: #fff7f0;
  color: var(--rent-orange);
}

.rent-reviews__all:hover,
.rent-reviews__add:hover {
  border-color: var(--rent-orange);
  color: var(--rent-orange);
}

/* Final CTA */
.rent-final-cta {
  min-height: 104px;
  padding: 18px 26px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 160px 190px 210px;
  gap: 14px;
  align-items: center;
  background: linear-gradient(90deg, #fff8f2 0%, #fff1e5 100%);
  border: 1px solid #fde3cd;
  border-radius: 14px;
}

.rent-final-cta__icon {
  width: 64px;
  height: 64px;
  border: 2px solid #ff9a5c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rent-orange);
}

.rent-final-cta__title {
  font-size: 21px;
  line-height: 27px;
  font-weight: 700;
  color: var(--rent-text);
}

.rent-final-cta__desc {
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--rent-muted);
}

.rent-final-cta__btn {
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
  padding: 0 14px;
}

.rent-final-cta__btn--secondary {
  border: 1px solid #d8dee8;
  background: #ffffff;
  color: var(--rent-text);
}

.rent-final-cta__btn--primary {
  border: 1px solid var(--rent-orange);
  background: var(--rent-orange);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(255, 90, 0, 0.18);
}

.rent-final-cta__btn--primary:hover {
  background: var(--rent-orange-hover);
  border-color: var(--rent-orange-hover);
  color: #ffffff;
}

/* Responsive */
@media (max-width: 1199px) {
  .rent-delivery-payment {
    grid-template-columns: 1fr 1fr;
  }

  .rent-delivery-payment__column:nth-child(2) {
    border-right: none;
  }

  .rent-delivery-payment__column:last-child {
    grid-column: 1 / -1;
    padding: 24px 0 0;
    border-right: none;
    border-top: 1px solid var(--rent-border-light);
  }

  .rent-included__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 24px;
  }

  .rent-included__item:nth-child(3n) {
    border-right: none;
  }

  .rent-included__item:nth-child(3n + 1) {
    padding-left: 0;
  }

  .rent-final-cta {
    grid-template-columns: 64px 1fr 1fr 1fr;
  }

  .rent-final-cta__btn--primary {
    grid-column: 2 / -1;
  }
}

@media (max-width: 767px) {
  .rent-final {
    padding-left: 14px;
    padding-right: 14px;
  }

  .rent-final__section {
    padding: 18px 16px;
  }

  .rent-delivery-payment {
    grid-template-columns: 1fr;
  }

  .rent-delivery-payment__column {
    padding: 0 0 20px;
    border-right: none;
    border-bottom: 1px solid var(--rent-border-light);
  }

  .rent-delivery-payment__column:last-child {
    padding-bottom: 0;
    border-bottom: none;
    border-top: none;
  }

  .rent-included__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 20px;
  }

  .rent-included__item {
    border-right: none;
    padding: 0 8px;
  }

  .rent-included__item:nth-child(odd) {
    padding-left: 0;
  }

  .rent-reviews__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
    padding-bottom: 4px;
  }

  .rent-review {
    min-width: 84%;
    scroll-snap-align: start;
    padding: 0 16px 0 0;
    border-right: none;
  }

  .rent-contract {
    grid-template-columns: 44px 1fr;
  }

  .rent-contract__button {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }

  .rent-final-cta {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .rent-final-cta__icon {
    display: none;
  }

  .rent-final-cta__btn {
    width: 100%;
    min-height: 46px;
  }
}
