/* Product pages – visual refresh for products, product-overview, product-detail */

body.products,
body.product-overview,
body.product-detail,
body.jobs {
  --tz-slate: #484B5D;
  --tz-slate-dark: #353847;
  --tz-orange: #FC4C02;
  --tz-orange-hover: #F19500;
  --tz-bg: #eef0f4;
  --tz-card: #ffffff;
  --tz-text: #2c2e38;
  --tz-muted: #6b6e7a;
  --tz-line: rgba(72, 75, 93, 0.12);
  background: var(--tz-bg);
}

body.products main,
body.product-overview main,
body.product-detail main,
body.jobs main {
  background: var(--tz-bg);
  margin-top: 0;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

@media print, screen and (min-width: 40em) {
  body.products main.noheaderimg .row > article,
  body.product-overview main.noheaderimg .row > article,
  body.product-detail main.noheaderimg .row > article,
  body.jobs main.noheaderimg .row > article {
    max-width: 74rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.25rem;
  }

  body.jobs main.noheaderimg .job-card,
  body.product-overview main.noheaderimg .product-variant,
  body.product-detail main.noheaderimg .product-variant {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

@media screen and (min-width: 120em) {
  body.products main,
  body.product-overview main,
  body.product-detail main,
  body.jobs main {
    padding-top: 3rem;
  }
}

@media screen and (min-height: 1200px) {
  body.products footer,
  body.product-overview footer,
  body.product-detail footer {
    position: relative;
  }
}

.product-page {
  color: var(--tz-text);
}

.product-kicker {
  margin: 0 0 0.45rem;
  font-family: "Exo 2", Roboto, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tz-orange);
}

.product-kicker--light {
  color: var(--tz-orange-hover);
}

.product-hero {
  position: relative;
  background: var(--tz-card);
  border: 1px solid var(--tz-line);
  border-radius: 10px;
  padding: 1.75rem 1.5rem 1.6rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(72, 75, 93, 0.06);
  overflow: hidden;
}

.product-hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--tz-orange);
}

.product-hero__title {
  font-family: "Exo 2", Roboto, sans-serif;
  font-size: 1.85rem;
  line-height: 1.2;
  color: var(--tz-slate);
  margin: 0 0 0.85rem;
}

.product-hero__intro {
  max-width: 46rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--tz-text);
}

.product-hero__intro p:last-child {
  margin-bottom: 0;
}

.product-hero__intro strong {
  color: var(--tz-slate);
}

.product-page .product-hero__intro a,
.product-page .product-variant__body a {
  color: var(--tz-orange);
}

.product-page .product-hero__intro a:hover,
.product-page .product-hero__intro a:focus,
.product-page .product-variant__body a:hover,
.product-page .product-variant__body a:focus {
  color: var(--tz-orange-hover);
}

@media print, screen and (min-width: 40em) {
  .product-hero {
    padding: 2.25rem 2.5rem 2rem 2.65rem;
  }

  .product-hero__title {
    font-size: 2.35rem;
  }
}

.product-models {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  position: sticky;
  top: 0.6rem;
  z-index: 4;
  margin: 0 0 1.25rem;
  padding: 0.45rem 0;
  background: rgba(238, 240, 244, 0.92);
  backdrop-filter: blur(8px);
}

.product-models a {
  display: inline-block;
  padding: 0.42rem 0.95rem;
  border: 1px solid var(--tz-line);
  border-radius: 999px;
  background: var(--tz-card);
  color: var(--tz-slate);
  font-size: 0.88rem;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(72, 75, 93, 0.04);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.product-models a:hover,
.product-models a:focus {
  background: #000;
  border-color: #000;
  color: var(--tz-orange-hover);
}

.product-variants {
  display: grid;
  gap: 1.25rem;
}

.product-variant {
  display: grid;
  gap: 1.25rem;
  background: var(--tz-card);
  border: 1px solid var(--tz-line);
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(72, 75, 93, 0.06);
  scroll-margin-top: 4.5rem;
}

.product-variant:target {
  box-shadow: 0 0 0 2px var(--tz-orange), 0 12px 32px rgba(252, 76, 2, 0.14);
}

@media print, screen and (min-width: 40em) {
  .product-variant {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    padding: 1.75rem;
  }

  .product-variant--alt .product-variant__media {
    order: 2;
  }

  .product-variant--detail {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

.product-variant__media {
  background: linear-gradient(160deg, #f3f5f8 0%, #e7eaef 100%);
  border-radius: 8px;
  padding: 1rem;
}

.product-variant__photo {
  display: block;
  overflow: hidden;
  border-radius: 6px;
}

.product-variant__photo img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  transition: transform 0.35s ease;
}

.product-variant__photo:hover img {
  transform: scale(1.04);
}

.product-variant__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.product-variant__thumbs a {
  display: block;
  width: 4.5rem;
  height: 3.1rem;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--tz-line);
  background: #fff;
}

.product-variant__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-variant__content h3,
.product-variant__content .product-hero__title {
  font-family: "Exo 2", Roboto, sans-serif;
  color: var(--tz-slate);
  font-size: 1.35rem;
  margin: 0 0 0.85rem;
}

.product-variant__body {
  font-size: 0.98rem;
  line-height: 1.65;
}

.product-variant__body p:last-child,
.product-variant__body ul:last-child {
  margin-bottom: 0;
}

.product-page .product-variant__body ul,
.product-page .product-hero__intro ul {
  margin: 0.75rem 0 0;
  padding: 0;
}

.product-page .product-variant__body li,
.product-page .product-hero__intro li {
  position: relative;
  list-style: none;
  margin: 0 0 0.55rem;
  padding: 0.15rem 0 0.15rem 1.85rem;
  line-height: 1.5;
}

.product-page .product-variant__body li:before,
.product-page .product-hero__intro li:before {
  font-family: "FontAwesome";
  content: "\f058";
  position: absolute;
  left: 0;
  top: 0.18rem;
  margin: 0;
  color: var(--tz-orange);
}

.product-siblings {
  margin-top: 2rem;
}

.product-siblings h3 {
  font-family: "Exo 2", Roboto, sans-serif;
  font-size: 1rem;
  color: var(--tz-slate);
  margin: 0 0 0.75rem;
}

.product-siblings__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-siblings__list a {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background: var(--tz-card);
  border: 1px solid var(--tz-line);
  border-radius: 6px;
  color: var(--tz-slate);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.product-siblings__list a:hover,
.product-siblings__list a:focus {
  background: #000;
  border-color: #000;
  color: var(--tz-orange-hover);
}

.product-cta {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.75rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--tz-slate) 0%, var(--tz-slate-dark) 100%);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(53, 56, 71, 0.22);
}

.product-cta h3 {
  font-family: "Exo 2", Roboto, sans-serif;
  font-size: 1.4rem;
  color: #fff;
  margin: 0 0 0.4rem;
}

.product-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.product-cta__button {
  display: inline-block;
  align-self: flex-start;
  padding: 0.7rem 1.35rem;
  background: var(--tz-orange);
  color: #fff;
  font-family: "Exo 2", Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.product-cta__button:hover,
.product-cta__button:focus {
  background: var(--tz-orange-hover);
  color: #fff;
  transform: translateY(-1px);
}

.product-cta__button--inline {
  margin-top: 1.25rem;
}

@media print, screen and (min-width: 40em) {
  .product-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 2rem;
  }
}

.product-grid {
  display: grid;
  gap: 1.1rem;
}

@media print, screen and (min-width: 40em) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media print, screen and (min-width: 64em) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--tz-card);
  border: 1px solid var(--tz-line);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(72, 75, 93, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover,
.product-card:focus {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(72, 75, 93, 0.14);
  color: inherit;
}

.product-card__image {
  background: linear-gradient(160deg, #f3f5f8 0%, #e7eaef 100%);
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  transition: transform 0.35s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.1rem 1.15rem;
  border-top: 3px solid var(--tz-orange);
}

.product-card__body h3 {
  font-family: "Exo 2", Roboto, sans-serif;
  font-size: 1.05rem;
  color: var(--tz-slate);
  margin: 0 0 0.4rem;
}

.product-card__body p {
  flex: 1;
  margin: 0 0 0.75rem;
  color: var(--tz-muted);
  font-size: 0.9rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__more {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tz-orange);
}

.product-card:hover .product-card__more,
.product-card:focus .product-card__more {
  color: var(--tz-orange-hover);
}

html:has(body.products),
html:has(body.product-overview),
html:has(body.product-detail),
html:has(body.jobs) {
  scroll-behavior: smooth;
}

.jobs-page {
  color: var(--tz-text);
  width: 100%;
}

.jobs-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  gap: 1.25rem;
}

.job-card {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  background: var(--tz-card);
  border: 1px solid var(--tz-line);
  border-radius: 10px;
  padding: 1.5rem 1.35rem 2rem;
  box-shadow: 0 10px 30px rgba(72, 75, 93, 0.06);
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--tz-orange);
}

.job-card h3 {
  font-family: "Exo 2", Roboto, sans-serif;
  font-size: 1.45rem;
  line-height: 1.25;
  color: var(--tz-slate);
  margin: 0 0 0.7rem;
}

.job-card__teaser {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--tz-text);
  margin: 0;
}

.job-popup {
  max-width: 46rem;
  padding: 2rem 1.75rem 1.75rem;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(53, 56, 71, 0.28);
}

.job-popup h3 {
  font-family: "Exo 2", Roboto, sans-serif;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--tz-slate);
  margin: 0 0 1rem;
}

.job-popup__body {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--tz-text);
}

.job-popup__body h3,
.job-popup__body h4,
.job-popup__body h5 {
  font-family: "Exo 2", Roboto, sans-serif;
  color: var(--tz-slate);
  margin: 1.35rem 0 0.55rem;
}

.job-popup__body h3 {
  font-size: 1.15rem;
}

.job-popup__body h4,
.job-popup__body h5 {
  font-size: 1.02rem;
}

.job-popup__body p:last-child,
.job-popup__body ul:last-child {
  margin-bottom: 0;
}

.jobs-page .product-hero__intro ul,
.job-popup__body ul {
  margin: 0.6rem 0 0;
  padding: 0;
}

.jobs-page .product-hero__intro li,
.job-popup__body li {
  position: relative;
  list-style: none;
  margin: 0 0 0.45rem;
  padding: 0.1rem 0 0.1rem 1.85rem;
  line-height: 1.5;
}

.jobs-page .product-hero__intro li:before,
.job-popup__body li:before {
  font-family: "FontAwesome";
  content: "\f058";
  position: absolute;
  left: 0;
  top: 0.18rem;
  margin: 0;
  color: var(--tz-orange);
}

.jobs-page a,
.job-popup a {
  color: var(--tz-orange);
}

.jobs-page a:hover,
.jobs-page a:focus,
.job-popup a:hover,
.job-popup a:focus {
  color: var(--tz-orange-hover);
}

.jobs-page .product-cta__button,
.jobs-page .product-cta__button:hover,
.jobs-page .product-cta__button:focus,
.job-popup .product-cta__button,
.job-popup .product-cta__button:hover,
.job-popup .product-cta__button:focus,
.jobs-page .job-card__details:hover,
.jobs-page .job-card__details:focus {
  color: #fff;
}

.job-popup .product-cta__button {
  margin-top: 1.35rem;
}

.job-card__apply {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--tz-line);
}

.job-card__apply p {
  margin: 0;
  color: var(--tz-muted);
  font-size: 0.95rem;
}

.job-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.job-card__details {
  display: inline-block;
  padding: 0.62rem 1.15rem;
  border: 1px solid var(--tz-orange);
  border-radius: 6px;
  color: var(--tz-orange);
  font-family: "Exo 2", Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.job-card__details:hover,
.job-card__details:focus {
  background: var(--tz-orange);
  color: #fff;
}

@media print, screen and (min-width: 40em) {
  .job-card {
    padding: 1.85rem 2rem 2.25rem 2.15rem;
  }

  .job-popup {
    padding: 2.35rem 2.4rem 2rem;
  }

  .job-card__apply {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
