/* Rental page CSS: catalogue, price calculator, calendar, booking form. */

.hero-link:hover { text-decoration: underline; }

.hero { padding-top: clamp(60px, 9vw, 122px); padding-bottom: clamp(68px, 8vw, 110px); }

.hero p { max-width: 650px; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.7; color: #536258; }
.hero-link {
  display: inline-flex; align-items: center; gap: 18px;
  margin-top: 18px; padding: 16px 24px; border-radius: 40px;
  background: #315c45; color: #fff; text-decoration: none; font-weight: 700;
}
.hero-link:hover { background: #264c38; text-decoration: none; }

.catalog-section { background: #f0f4ee; padding: 80px 0 96px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 26px; margin-bottom: 30px; }
.section-head h2, .booking-info h2 { font-size: clamp(2.5rem, 4vw, 4rem); margin: 13px 0 0; line-height: 1.13; }
.section-head p { max-width: 360px; font-size: .97rem; line-height: 1.65; color: #58685c; margin-bottom: 2px; }
.catalog-message { padding: 24px; border-radius: 12px; background: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.product-card {
  background: #fff; min-width: 0; border: 1px solid #e3eae2;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(21, 51, 30, .045);
  display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s;
}
.product-card.is-selected { border-color: #4b9362; box-shadow: 0 0 0 2px #75a78344; }
.product-media { position: relative; aspect-ratio: 4 / 3; background: #e8eee8; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.no-photo {
  height: 100%; display: grid; place-items: center;
  font-size: .9rem; color: #687d6c;
  background: linear-gradient(125deg, #e4eae4, #f4f7f3);
}
.gallery-controls {
  position: absolute; bottom: 12px; right: 12px;
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.94); border-radius: 40px; padding: 4px;
}
.gallery-controls button {
  width: 29px; height: 29px; border: 0; border-radius: 50%;
  background: #f2f5f0; color: #253b2c; font-size: 1.4rem; line-height: 1;
}
.gallery-controls button:hover { background: #dfe9df; }
.gallery-count { font-size: .73rem; min-width: 34px; text-align: center; font-weight: 700; }
.product-content { display: flex; flex: 1; flex-direction: column; padding: 22px; gap: 16px; }
.product-title-row { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.product-title-row h3 { font-size: 1.24rem; letter-spacing: -.025em; line-height: 1.3; margin: 0; }
.price { text-align: right; white-space: nowrap; font-weight: 800; font-size: 1.03rem; }
.price small { display: block; font-weight: 400; font-size: .71rem; color: #68766a; margin-top: 3px; }
.product-description { color: #526355; font-size: .91rem; line-height: 1.65; }
.product-description summary { cursor: pointer; color: #375d40; font-weight: 700; }
.product-description-body { padding-top: 12px; }
.product-description-body h3 { font-size: .99rem; color: #23382a; margin: 18px 0 6px; }
.product-description-body h3:first-child { margin-top: 0; }
.product-description-body p { margin: 0 0 12px; }
.product-description-body ul { padding-left: 19px; margin: 4px 0 12px; }
.choose-button {
  width: 100%; margin-top: auto; border: 1px solid #345e44;
  background: #fff; color: #315b43; border-radius: 10px;
  padding: 13px 16px; display: flex; align-items: center; justify-content: space-between;
  font-weight: 750;
}
.choose-button:hover { background: #eaf2eb; }
.is-selected .choose-button { background: #315c45; color: white; }

.booking-section { padding: 100px 0; }
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); align-items: start; }
.booking-info { padding-top: 22px; }
.booking-info h2 { margin-bottom: 25px; }
.booking-info > p { line-height: 1.8; font-size: 1.08rem; color: #5c695e; max-width: 500px; }
.rule { border-top: 1px solid #dce5dc; padding: 20px 0; display: flex; gap: 20px; font-size: .93rem; line-height: 1.6; }
.rule-num { color: #4d7e58; font-weight: 800; }
.calculator {
  border-radius: 22px; background: #fff; border: 1px solid #e3eae3;
  padding: clamp(22px, 4vw, 40px);
  box-shadow: 0 25px 75px rgba(25, 63, 34, .08);
}
.calculator h3 { font-size: 1.6rem; margin-bottom: 26px; }
.date-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.date-grid label { display: block; font-weight: 700; font-size: .86rem; }
.date-grid input {
  display: block; width: 100%; margin-top: 9px;
  padding: 13px 12px; border: 1px solid #cfd9d0; border-radius: 9px; background: #fff;
}
.date-grid input:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid #82b695; outline-offset: 3px;
}
.date-note { color: #687769; font-size: .78rem; line-height: 1.5; margin-top: 12px; }
.field-error { color: #b32222; font-weight: 700; font-size: .85rem; }
.selection-title { font-weight: 800; border-top: 1px solid #e4eae3; margin-top: 30px; padding-top: 24px; }
.selected-items { margin: 16px 0; padding: 0; list-style: none; }
.selected-items li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid #edf0ec; font-size: .92rem; }
.selected-items li strong { white-space: nowrap; }
.selected-items .empty { color: #7b867c; font-style: italic; }
.totals { margin-top: 28px; }
.totals > div { display: flex; justify-content: space-between; gap: 18px; margin: 14px 0; color: #607163; font-size: .92rem; }
.totals strong { color: #1b2f20; }
.totals .total-row { border-top: 1px solid #dce6de; padding-top: 24px; margin-top: 22px; color: #1b2f20; font-weight: 800; font-size: 1.08rem; align-items: center; }
.total-row strong { font-size: 1.65rem; }
.submit-button { background: #b7c8b9; color: #fdfefd; font-weight: 750; cursor: not-allowed; border: 0; border-radius: 10px; padding: 16px; width: 100%; }
.submit-note { color: #6a796d; line-height: 1.6; text-align: center; font-size: .8rem; margin: 15px 0 0; }
.selection-message { min-height: 1em; font-size: .86rem; color: #466e4a; margin-top: 15px; }

@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .booking-grid { grid-template-columns: 1fr; }
  .booking-info { padding-top: 0; }
  .booking-info > p { max-width: 730px; }
}

@media (max-width: 620px) {
  .hero { padding-top: 65px; padding-bottom: 70px; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .section-head { display: block; }
  .section-head p { margin-top: 18px; }
  .catalog-section { padding: 65px 0; }
  .product-grid { grid-template-columns: 1fr; gap: 20px; }
  .booking-section { padding: 70px 0; }
  .date-grid { grid-template-columns: 1fr; }
}

/* Compact read-only availability calendar; retain every date and occupancy cue. */
.availability-panel { max-width: 430px; margin: 14px auto 17px; padding: 12px 14px; border: 1px solid #dfe7de; background: #f9fbf8; border-radius: 12px; }
.calendar-header { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 7px; margin-bottom: 9px; }
.calendar-header h4 { margin: 0; font-size: .9rem; }
.calendar-navigation { display: flex; align-items: center; gap: 4px; }
.calendar-navigation strong { font-size: .8rem; min-width: 92px; text-align: center; text-transform: capitalize; }
.calendar-navigation button { border: 1px solid #d1dfd0; background: #fff; color: #294b32; border-radius: 7px; width: 30px; height: 30px; font-size: 1.18rem; line-height: 1; }
.calendar-navigation button:disabled { opacity: .35; cursor: default; }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 4px; text-align: center; }
.calendar-weekdays { padding-bottom: 5px; color: #637568; font-size: .72rem; font-weight: 700; }
.calendar-date { display: grid; place-items: center; width: 100%; height: 36px; padding: 0; border: 1px solid #b5d6bc; border-radius: 7px; background: #e8f4e9; color: #1f6032; font-size: .82rem; font-weight: 650; }
.calendar-date:hover:not(:disabled) { background: #cbe9d0; }
.calendar-date:disabled { cursor: default; }
.calendar-date-occupied, .calendar-date-occupied:disabled { background: #fae4e1; border-color: #edbbb6; color: #9c342f; opacity: 1; }
.calendar-date-selected:not(.calendar-date-occupied) { outline: 2px solid #3b8554; outline-offset: -3px; }
.calendar-date-today { box-shadow: inset 0 0 0 1px #34583d; }
.calendar-date:disabled:not(.calendar-date-occupied) { opacity: .4; }
.calendar-empty { min-height: 1px; }
.availability-status { font-size: .8rem; color: #647268; line-height: 1.4; margin: 9px 0 0; }
.status-success { color: #27633e; font-weight: 700; }
.status-warning { color: #a2432d; font-weight: 700; }
@media (max-width: 620px) {
  .availability-panel { padding: 11px; }
  .calendar-header h4 { font-size: .82rem; }
  .calendar-navigation strong { min-width: 85px; font-size: .75rem; }
  .calendar-date { height: 40px; }
}

/* Inline rental inquiry and separately expandable contact panel */

.inline-request { margin-top: 25px; padding-top: 23px; border-top: 2px solid #dce8dc; }
.inline-request-heading h4 { margin: 0 0 7px; font-size: 1.18rem; color: #213e27; }
.inline-request-heading p { margin: 0 0 10px; line-height: 1.55; font-size: .88rem; color: #526455; }
.inline-request-heading .inline-request-summary { font-weight: 700; color: #294d32; overflow-wrap: anywhere; }
.inline-request-heading .form-note { color: #365d3e; }

.compact-form { padding: 0; box-shadow: none; border: 0; border-radius: 0; margin-top: 18px; }

@media (max-width: 620px) {
  .inline-request { margin-top: 18px; }
}
