.product-categories .product-photo {
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
}
.product-categories .product-panel {
  min-height: 238px;
  flex: 1;
}
.product-categories .col-lg-4 { display: flex; }
.product-categories article { width: 100%; }
.product-categories article > .relative {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-image-label {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  padding: 3px 8px;
  background: #fff;
  color: #163563;
  font-size: 12px;
  line-height: 1.5;
  pointer-events: none;
}
.product-categories .product-title {
  font-size: var(--h4-font-size);
  font-weight: var(--h4-font-weight);
  line-height: var(--h4-line-height);
  margin-bottom: var(--h4-margin-bottom);
}
.product-categories .product-title a { color: inherit; }
.product-categories .product-title a:hover { color: var(--bg-dark-1); }
.product-languages {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}
.product-languages a { color: var(--bg-dark-1); }
.product-languages a[aria-current="true"] { font-weight: 700; text-decoration: underline; }
.product-categories[dir="rtl"] .product-panel { text-align: right; }
.product-categories[dir="rtl"] .product-arrow { right: auto !important; left: 0; margin-right: 0 !important; margin-left: 1.5rem; }
.product-page-header {
  background: var(--bg-dark-1);
  color: #fff;
  padding: 24px 0;
}
.product-page-header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.product-page-header .product-languages { margin: 0; }
.product-page-header a { color: #fff; }
.product-detail-photo { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.product-page .quote-links { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.product-page .btn-main, .product-categories .btn-main { color: #000 !important; }
.product-page .btn-main:hover span, .product-categories .btn-main:hover span { color: #000 !important; }
.product-page .btn-main:hover:before, .product-categories .btn-main:hover:before { background: var(--primary-color); }
.product-page footer { padding: 30px 0; }
.product-page-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
@media (max-width: 575px) {
  .product-categories .product-panel { min-height: 0; }
}

/* Match selected-model borders to the rest of the specification table. */
#product-specifications :is(.table-bordered, .table-bordered th, .table-bordered td) {
  border-color: var(--theme-border, #202220);
}
