:root {
  --nose-piece-primary: #00a7dc;
  --nose-piece-secondary: #62bde2;
  --nose-piece-table-heading: #666666;
  --nose-piece-border: #333333;
  --nose-piece-text: #222222;
}

.nose-piece-comparison {
  color: var(--nose-piece-text);
}

.nose-piece-card {
  min-width: 0;
}

.nose-piece-card > .nose-piece-product-title,
.nose-piece-card > .nose-piece-overview,
.nose-piece-card > .nose-piece-parts-area,
.nose-piece-card > .table-responsive {
  margin-top: -1px;
}

.nose-piece-card > .nose-piece-group-title + .nose-piece-product-title {
  margin-top: -1px;
}

.nose-piece-group-title {
  margin: 0;
  padding: 0.5rem 1rem;
  border: 1px solid var(--nose-piece-border);
  color: #ffffff;
  background-color: var(--nose-piece-primary);
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.3;
  text-align: center;
}

.nose-piece-product-title {
  margin: 0;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--nose-piece-border);
  color: #ffffff;
  background-color: var(--nose-piece-secondary);
  font-size: clamp(1.25rem, 1.7vw, 1.75rem);
  line-height: 1.3;
  text-align: center;
}

.nose-piece-overview {
  min-height: 14rem;
  border: 1px solid var(--nose-piece-border);
  border-top: 0;
}

.nose-piece-main-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
}

.nose-piece-description {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 14rem;
  margin: 0;
  padding: 0.5rem 0.625rem;
  border-left: 1px solid var(--nose-piece-border);
  /* font-size: clamp(1rem, 1.35vw, 1.5rem); */
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.nose-piece-parts-area {
  min-height: 8.625rem;
  padding: 0.75rem 1.125rem;
  border: 1px solid var(--nose-piece-border);
  background-color: #ffffff;
}

.nose-piece-parts-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 7.2rem;
  object-fit: contain;
}

.nose-piece-table {
  /* margin-bottom: 0; */
  border-color: var(--nose-piece-border);
  table-layout: fixed;
  font-size: clamp(1rem, 1.25vw, 1.4rem);
}

.nose-piece-table > :not(caption) > * > * {
  padding: 0.45rem 0.625rem;
  border-width: 1px;
  border-color: var(--nose-piece-border);
  text-align: center;
  line-height: 1.25;
  vertical-align: middle;
}

.nose-piece-table thead th {
  color: #ffffff;
  background-color: var(--nose-piece-table-heading);
  font-weight: 700;
  white-space: nowrap;
}

.nose-piece-table thead th:first-child,
.nose-piece-table tbody th {
  width: 32%;
}

.nose-piece-table tbody th {
  background-color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
}

.nose-piece-table tbody td {
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .nose-piece-comparison > .row:first-of-type {
    margin-bottom: 0;
  }

  .nose-piece-comparison > .row:nth-of-type(2) {
    --bs-gutter-y: 0;
  }

  .nose-piece-overview {
    height: 22rem;
  }

  .nose-piece-parts-area {
    height: 8.625rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .nose-piece-overview {
    height: auto;
    min-height: 0;
  }

  .nose-piece-main-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .nose-piece-description {
    min-height: 9rem;
    border-top: 1px solid var(--nose-piece-border);
    border-left: 0;
    /* font-size: 0.95rem; */
  }

  .nose-piece-table {
    font-size: 1rem;
  }

  .nose-piece-table > :not(caption) > * > * {
    padding: 0.45rem 0.25rem;
  }

  .nose-piece-table thead th {
    white-space: normal;
  }
}

@media (max-width: 767.98px) {
  .nose-piece-overview {
    height: auto;
    min-height: 0;
  }

  .nose-piece-main-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .nose-piece-description {
    min-height: 0;
    padding: 0.75rem 0.875rem;
    border-top: 1px solid var(--nose-piece-border);
    border-left: 0;
    /* font-size: 1rem; */
    line-height: 1.7;
  }

  .nose-piece-parts-area {
    min-height: 7.5rem;
    padding: 0.75rem;
  }

  .nose-piece-parts-image {
    max-height: 6rem;
  }

  .nose-piece-table {
    font-size: 1rem;
  }

  .nose-piece-table > :not(caption) > * > * {
    padding: 0.5rem 0.375rem;
  }

  .nose-piece-table thead th {
    white-space: normal;
  }

  .nose-piece-table thead th:first-child,
  .nose-piece-table tbody th {
    width: 35%;
  }
}

@media (max-width: 399.98px) {
  .nose-piece-table {
    font-size: 1rem;
  }

  .nose-piece-table > :not(caption) > * > * {
    padding: 0.45rem 0.25rem;
  }
}

.nose-piece-desktop-headings {
  display: flex;
}

@media (max-width: 767.98px) {
  .nose-piece-desktop-headings {
    display: none !important;
  }
}

.nose-piece-table {
  width: 100%;
  /* margin-bottom: 0; */
  border-collapse: collapse;
  border: 1px solid var(--nose-piece-border);
  table-layout: fixed;
}

.nose-piece-table > :not(caption) > * > * {
  border: 1px solid var(--nose-piece-border);
}

.nose-piece-table tbody tr:last-child > th,
.nose-piece-table tbody tr:last-child > td {
  border-bottom: 1px solid var(--nose-piece-border) !important;
}

@media (max-width: 767.98px) {
  .nose-piece-comparison .table-responsive,
  .nose-piece-comparison .table-responsive.scroll-hint {
    width: 100%;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    border-bottom: 0 !important;
  }

  .nose-piece-comparison .nose-piece-table {
    width: 100%;
    min-width: 100%;
    /* margin-bottom: 0; */
    border-bottom: 1px solid var(--nose-piece-border) !important;
  }

  .nose-piece-comparison .nose-piece-table tbody tr:last-child > th,
  .nose-piece-comparison .nose-piece-table tbody tr:last-child > td {
    border-bottom: 1px solid var(--nose-piece-border) !important;
  }
}

.nose-piece-comparison .table-responsive .nose-piece-table {
  box-shadow: inset 0 -1px 0 #cccccc !important;
}

.nose-piece-table tbody tr:last-child > th,
.nose-piece-table tbody tr:last-child > td {
  border-bottom: 1px solid var(--nose-piece-border) !important;
}

.nose-piece-table tbody tr:last-child > th,
.nose-piece-table tbody tr:last-child > td {
  border-bottom: 1px solid #ccc !important;
}

@media (max-width: 767.98px) {
  .nose-piece-comparison .nose-piece-table {
    border-bottom: 1px solid #ccc !important;
  }

  .nose-piece-comparison .nose-piece-table tbody tr:last-child > th,
  .nose-piece-comparison .nose-piece-table tbody tr:last-child > td {
    border-bottom: 1px solid #ccc !important;
  }
}