/* Products page */

.products-page-hero {
  background: url("../images/products-hero.jpg") 62% 50% / cover no-repeat;
}

.products-page-text {
  color: var(--color-muted-foreground);
  font-size: 1rem;
  line-height: 1.75;
}

.product-card {
  overflow: hidden;
}

.product-card-media {
  height: 14rem;
  background: var(--bs-white);
}

.product-card-media img,
.product-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card-title {
  color: var(--color-foreground);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.product-card-title:hover {
  color: var(--brand-color);
}

.product-card-summary {
  color: var(--color-muted-foreground);
  font-size: 0.875rem;
  line-height: 1.65;
}

.products-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 13px;
}

.products-link i {
  font-size: 20px;
}

.product-detail-media {
  min-height: 28rem;
  background: rgb(var(--brand-blue-color-rgb) / 4%);
}

.product-detail-title {
  color: var(--brand-blue-color);
  font-size: 2.625rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.product-detail-section-title {
  color: var(--brand-blue-color);
  font-size: 2.25rem;
  line-height: 1.2;
}

.product-detail-card-title {
  color: var(--brand-blue-color);
  font-size: 1.5rem;
  line-height: 1.25;
}

.product-detail-list li + li {
  margin-top: 0.75rem;
}

.product-feature-box {
  overflow: hidden;
  background: var(--bs-light);
}

.product-feature-column {
  padding: 1.75rem 2rem;
}

.product-spec-table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  background: var(--bs-white);
  border-radius: var(--radius-md);
  scrollbar-color: var(--brand-blue-color) rgb(var(--brand-blue-color-rgb) / 10%);
  scrollbar-width: thin;
}

.product-spec-table-wrap::-webkit-scrollbar {
  height: 0.625rem;
}

.product-spec-table-wrap::-webkit-scrollbar-track {
  border-radius: 50rem;
  background: rgb(var(--brand-blue-color-rgb) / 10%);
}

.product-spec-table-wrap::-webkit-scrollbar-thumb {
  border: 0.125rem solid rgb(var(--brand-blue-color-rgb) / 10%);
  border-radius: 50rem;
  background: var(--brand-blue-color);
}

.product-spec-table {
  --bs-table-border-color: rgb(var(--brand-blue-color-rgb) / 18%);

  border-collapse: collapse;
  border-color: var(--bs-table-border-color);
}

.product-spec-table thead th {
  border-bottom-width: 0.0625rem;
  background: rgb(var(--brand-blue-color-rgb) / 7%);
  color: var(--brand-blue-color);
  font-weight: 700;
  white-space: nowrap;
}

.product-spec-table th,
.product-spec-table td {
  padding: 0.75rem 1rem;
  border: 0.0625rem solid var(--bs-table-border-color);
}

.product-spec-table tbody tr:nth-child(even) th,
.product-spec-table tbody tr:nth-child(even) td {
  background: var(--bs-white);
}

.product-spec-table tbody th {
  color: var(--bs-body-color);
  font-weight: 500;
  min-width: 12rem;
}

.product-spec-table tbody td {
  color: var(--color-muted-foreground);
}

.product-spec-points {
  margin: -0.75rem -1rem;
  white-space: normal;
}

.product-spec-point {
  padding: 0.75rem 1rem;
}

.product-spec-point + .product-spec-point {
  border-top: 0.0625rem solid var(--bs-table-border-color);
}

.product-spec-groups {
  display: grid;
  gap: 1.5rem;
}

.product-spec-group-title {
  margin: 0 0 0.75rem;
  color: var(--brand-blue-color);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.product-spec-group-list {
  margin: 0;
  padding-left: 1.25rem;
}

.product-spec-group-list li + li {
  margin-top: 0.5rem;
}

@media (width < 768px) {
  .product-card-media {
    height: 12rem;
  }

  .product-detail-media {
    min-height: 18rem;
  }
}

@media (width >= 576px) {
  .product-detail-title {
    font-size: 3.25rem;
  }
}

@media (width >= 992px) {
  .products-page-hero {
    background-position: right 50%;
  }

  .product-detail-title {
    font-size: 3.5rem;
  }

  .product-feature-column + .product-feature-column {
    border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
  }
}

@media (width < 992px) {
  .product-feature-column {
    padding: 1.25rem 1.5rem;
  }

  .product-feature-column + .product-feature-column {
    padding-top: 0;
  }

  .product-feature-column:first-child {
    padding-bottom: 0.5rem;
  }

  .product-feature-box .product-detail-list li + li {
    margin-top: 0.5rem;
  }

  .product-spec-table {
    min-width: 58rem;
  }
}
