.rental .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 24px 0;
  font-size: 11px;
  color: #777d70;
  line-height: 1.7;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.rental .model-category,
.rental .product-section,
.rental .full-catalog {
  padding-top: 28px;
}
.rental .model-category h1,
.rental .product-section h1,
.rental .full-catalog h1 {
  font-size: 34px;
  margin-bottom: 30px;
  line-height: 1.25;
}
.category-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.category-title > span {
  font-size: 11px;
  color: #777d70;
}
.model-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding: 32px 0;
  border-top: 1px solid #e5e7df;
  align-items: start;
}
.rental .model-photos h2 {
  font-size: 21px;
  margin-bottom: 22px;
}
.model-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.photo-trigger {
  border: 0;
  background: #f7f8f4;
  padding: 0;
  cursor: zoom-in;
  overflow: hidden;
  display: block;
  min-width: 0;
}
.photo-trigger img {
  display: block;
  width: 100%;
  height: 245px;
  object-fit: cover;
  transition: transform 0.2s;
}
.photo-trigger:hover img {
  transform: scale(1.025);
}
.model-specs {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  line-height: 1.65;
}
.model-specs caption {
  text-align: left;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.model-specs th,
.model-specs td {
  padding: 10px 14px;
  border: 1px solid #e0e3d8;
  vertical-align: top;
  text-align: left;
}
.model-specs th {
  width: 40%;
  background: #f7f8f4;
  font-weight: 700;
}
.model-actions {
  display: flex;
  justify-content: end;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.model-actions .button:last-child {
  background: white;
  border-color: #dfe3d6;
}
.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}
.product-main {
  width: 100%;
}
.product-main img {
  height: 420px;
  object-fit: contain;
}
.product-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding: 2px 2px 8px;
}
.product-thumbnails button {
  background: #fff;
  border: 2px solid transparent;
  flex: 0 0 85px;
  padding: 3px;
  cursor: pointer;
}
.product-thumbnails button[aria-pressed="true"] {
  border-color: #d3ae00;
}
.product-thumbnails img {
  width: 100%;
  height: 70px;
  object-fit: cover;
}
.product-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 25px;
}
.product-actions .text-link {
  font-size: 11px;
}
.product-description {
  max-width: 850px;
  margin: 45px 0 30px;
  font-size: 14px;
  line-height: 1.8;
  color: #666c60;
}
.rental .product-description h2 {
  font-size: 23px;
  margin: 28px 0 15px;
  color: var(--ink);
}
.product-description li {
  margin-bottom: 13px;
}
.product-description li p {
  margin: 0;
}
.equipment-lightbox {
  border: 0;
  padding: 45px 18px 14px;
  background: #fff;
  max-width: 95vw;
  max-height: 95vh;
  overflow: auto;
}
.equipment-lightbox::backdrop {
  background: #000c;
}
.equipment-lightbox > img {
  max-width: 85vw;
  max-height: 76vh;
  width: auto;
  height: auto;
  margin: auto;
  object-fit: contain;
}
.equipment-lightbox > p {
  font-size: 11px;
  margin-top: 10px;
  text-align: center;
  color: #666c60;
}
.lightbox-close {
  position: absolute;
  right: 15px;
  top: 10px;
  background: white;
  border: 1px solid #ddd;
  padding: 5px 12px;
  font-size: 12px;
  cursor: pointer;
}
.catalog-family-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}
.catalog-family {
  border: 1px solid #e5e7df;
  text-align: center;
  padding-bottom: 25px;
}
.catalog-family img {
  width: 100%;
  height: 220px;
  object-fit: contain;
}
.rental .catalog-family h2 {
  font-size: 19px;
  margin: 20px 0 14px;
}
.catalog-family span {
  font-size: 12px;
  font-weight: 700;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 5px;
}
@media (max-width: 900px) {
  .model-row {
    gap: 24px;
  }
  .model-photo-grid {
    gap: 8px;
  }
  .photo-trigger img {
    height: 190px;
  }
  .model-specs {
    font-size: 11px;
  }
  .product-layout {
    gap: 25px;
  }
  .product-main img {
    height: 350px;
  }
  .catalog-family-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .rental .breadcrumbs {
    font-size: 10px;
    padding-top: 18px;
  }
  .rental .model-category h1,
  .rental .product-section h1,
  .rental .full-catalog h1 {
    font-size: 27px;
    margin-bottom: 22px;
  }
  .model-row {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 27px 0;
  }
  .rental .model-photos h2 {
    font-size: 19px;
  }
  .photo-trigger img {
    height: 170px;
  }
  .model-specs th,
  .model-specs td {
    padding: 9px 10px;
  }
  .model-actions {
    justify-content: start;
  }
  .product-layout {
    grid-template-columns: 1fr;
  }
  .product-main img {
    height: 300px;
  }
  .product-description {
    font-size: 13px;
    margin-top: 30px;
  }
  .catalog-family-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .equipment-lightbox > img {
    max-width: 85vw;
    max-height: 75vh;
  }
  .category-title {
    gap: 10px;
  }
  .category-title > span {
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .photo-trigger img {
    transition: none;
  }
}
.quote-dialog {
  border: 0;
  padding: 32px;
  width: min(660px, calc(100% - 28px));
  max-height: 90dvh;
  overflow: auto;
  background: #fff;
  color: var(--ink);
}
.quote-dialog::backdrop {
  background: #0009;
}
.quote-dialog-close {
  position: absolute;
  top: 10px;
  right: 13px;
  background: none;
  border: 0;
  padding: 4px 10px;
  font-size: 27px;
  color: #555;
  cursor: pointer;
}
.rental .quote-dialog h2 {
  font-size: 25px;
  margin: 0 0 9px;
  padding-right: 20px;
}
.quote-dialog-heading > p {
  font-size: 12px;
  color: #73776d;
}
.quote-dialog-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 15px 0 20px;
  font-size: 11px;
  font-weight: 700;
}
.quote-dialog-contact a {
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.quote-dialog-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 16px;
}
.quote-dialog-form label {
  font-size: 11px;
  font-weight: 700;
}
.quote-dialog-form input,
.quote-dialog-form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d9ddcf;
  background: #fff;
  border-radius: 0;
  margin-top: 5px;
  padding: 10px 11px;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
}
.quote-dialog-form input[readonly] {
  background: #f7f8f4;
  font-weight: 700;
}
.quote-dialog-form textarea {
  resize: vertical;
  min-height: 75px;
}
.quote-dialog-note {
  font-size: 10px;
  color: #73776d;
}
.quote-dialog-form > .button {
  justify-content: space-between;
}
.quote-dialog-status {
  font-size: 11px;
  color: #555;
}
.quote-dialog:open {
  overscroll-behavior: contain;
}
body:has(.quote-dialog[open]) {
  overflow: hidden;
}
@media (max-width: 600px) {
  .quote-dialog {
    padding: 28px 20px 20px;
    max-height: 92dvh;
  }
  .quote-dialog-form {
    gap: 12px;
  }
  .quote-dialog-contact {
    flex-direction: column;
    gap: 7px;
  }
  .rental .quote-dialog h2 {
    font-size: 23px;
  }
  .quote-dialog-form label {
    font-size: 10px;
  }
}

/* Shared enlarged-photo navigation for sales, categories and model pages. */
.gallery-lightbox-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
  color: #34392f;
  font-size: 12px;
}
.gallery-lightbox-controls[hidden] { display: none; }
.gallery-lightbox-controls button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #d7dbcf;
  background: #fff;
  color: #191c17;
  cursor: pointer;
  font: inherit;
  font-size: 22px;
}
.gallery-lightbox-controls button:hover { background: #fed100; }
.equipment-lightbox > img { max-height: 66vh; }
.rental .sale-original-lightbox img { max-height: calc(100dvh - 200px); }
