.tiannis-products-body {
  margin: 0;
  color: #f4f0e8;
  background: #070909;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.tiannis-products-body a { color: inherit; text-decoration: none; }
.tiannis-products-body img { display: block; max-width: 100%; }

.tiannis-product-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 30px 48px 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0));
}

.tiannis-product-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.tiannis-product-nav a {
  position: relative;
  padding: 10px 0;
  color: rgba(255, 255, 255, .86);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.tiannis-product-nav a.active::after,
.tiannis-product-nav a:hover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 34px;
  height: 2px;
  transform: translateX(-50%);
  background: #d2aa72;
  box-shadow: 0 0 14px rgba(210, 170, 114, .7);
}

.product-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.product-header-actions a {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 0 26px;
  border: 1px solid rgba(255, 255, 255, .55);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.product-header-actions button,
.product-menu {
  border: 0;
  color: #fff;
  background: transparent;
  font: inherit;
}

.product-header-actions button {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.product-menu { display: none; }

.product-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(90deg, rgba(0,0,0,.84), rgba(0,0,0,.36) 44%, rgba(0,0,0,.08)),
    #080909;
}

.product-hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.28) 45%, rgba(0,0,0,.05)),
    url("/assets/b2b/products-hero.png") center right / cover no-repeat,
    url("/assets/b2b/hero-shower-factory.svg") center right / cover no-repeat;
  transform: scale(1.015);
  transform-origin: 70% 52%;
  animation: productHeroDrift 20s ease-in-out infinite alternate;
  will-change: transform, filter;
}

@keyframes productHeroDrift {
  from { transform: scale(1.015) translate3d(0, 0, 0); filter: saturate(.98) contrast(1.03); }
  to { transform: scale(1.04) translate3d(-9px, -4px, 0); filter: saturate(1.08) contrast(1.08); }
}

@supports (background-image: image-set(url("/assets/b2b/optimized/products-hero-1440.webp") 1x)) {
  .product-hero-image {
    background:
      linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.28) 45%, rgba(0,0,0,.05)),
      image-set(url("/assets/b2b/optimized/products-hero-960.webp") 1x, url("/assets/b2b/optimized/products-hero-1440.webp") 2x) center right / cover no-repeat,
      url("/assets/b2b/hero-shower-factory.svg") center right / cover no-repeat;
  }
}

.product-hero-copy {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: min(620px, calc(100% - 48px));
  padding: 170px 0 0 clamp(48px, 6vw, 72px);
}

.product-hero-copy p,
.manufacturing-copy p,
.materials-copy p,
.comparison-dialog header p {
  margin: 0 0 22px;
  color: #d0aa70;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.product-hero-copy h1,
.manufacturing-copy h2,
.materials-copy h2 {
  margin: 0;
  font-size: clamp(42px, 3.3vw, 62px);
  font-weight: 300;
  line-height: 1.13;
}

.product-hero-copy > span,
.manufacturing-copy > span,
.materials-copy > span {
  display: block;
  margin-top: 28px;
  color: rgba(244, 240, 232, .74);
  font-size: 15px;
  line-height: 1.9;
}

.product-hero-icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(72px, 1fr));
  gap: 18px;
  margin-top: 54px;
}

.product-hero-icons article {
  display: grid;
  gap: 15px;
  justify-items: center;
  text-align: center;
}

.product-hero-icons i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  font-size: 30px;
  font-style: normal;
}

.product-hero-icons strong {
  color: rgba(255,255,255,.9);
  font-size: 11px;
  font-weight: 700;
}

.product-catalog-section {
  padding: 44px 58px 66px;
  background: linear-gradient(180deg, #080a0a, #111515);
}

.product-tabs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
}

.product-tabs button,
.comparison-trigger {
  position: relative;
  height: 46px;
  border: 0;
  color: rgba(255,255,255,.72);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.product-tabs button.active {
  color: #fff;
}

.product-tabs button.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 45px;
  height: 2px;
  background: #d0aa70;
}

.comparison-trigger {
  cursor: pointer;
}

.product-status {
  min-height: 20px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.5);
}

.product-status.is-empty,
.product-status.is-error {
  display: grid;
  min-height: 130px;
  place-items: center;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.035);
  text-align: center;
}

.product-status.is-error {
  border-color: rgba(255,130,110,.24);
  color: #ffb5a9;
}

.tiannis-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.tiannis-product-card {
  position: relative;
  overflow: hidden;
  background: #181d1e;
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .34s ease, border-color .34s ease, box-shadow .34s ease;
}

.tiannis-product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(208,170,112,.55);
  box-shadow: 0 30px 70px rgba(0,0,0,.34), 0 0 0 1px rgba(208,170,112,.1);
}

.tiannis-product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(120deg, transparent 0 42%, rgba(255,255,255,.28) 49%, rgba(208,170,112,.18) 52%, transparent 64%),
    radial-gradient(circle at 84% 10%, rgba(208,170,112,.16), transparent 13rem);
  opacity: 0;
  transform: translateX(-42%) skewX(-12deg);
  transition: opacity .45s ease, transform .78s ease;
  pointer-events: none;
}

.tiannis-product-card:hover::before {
  opacity: 1;
  transform: translateX(42%) skewX(-12deg);
}

.tiannis-product-card img {
  width: 100%;
  aspect-ratio: 1 / 1.16;
  object-fit: cover;
  background: #222;
  filter: saturate(.92) contrast(1.03);
  transform: scale(1.001);
  transition: transform .68s cubic-bezier(.2,.8,.2,1), filter .68s ease;
  will-change: transform, filter;
}

.tiannis-product-card:hover img {
  filter: saturate(1.08) contrast(1.08);
  transform: scale(1.055);
}

.tiannis-product-card div {
  min-height: 150px;
  padding: 20px 22px 24px;
}

.tiannis-product-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 500;
}

.tiannis-product-card span {
  display: block;
  margin-bottom: 16px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
}

.tiannis-product-card p {
  min-height: 48px;
  margin: 0 0 22px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.65;
}

.tiannis-product-card a,
.materials-copy a,
.manufacturing-copy a,
.custom-cta a {
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.manufacturing-band {
  position: relative;
  display: grid;
  grid-template-columns: 310px 1fr;
  min-height: 340px;
  overflow: hidden;
  padding: 74px 58px 56px;
  background: #090b0c;
}

.manufacturing-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,7,8,.94), rgba(6,7,8,.62) 33%, rgba(6,7,8,.18) 100%),
    url("/assets/b2b/robot-line.svg") center right / cover no-repeat;
  opacity: .95;
  transform: scale(1.01);
  animation: manufacturingMediaDrift 18s ease-in-out infinite alternate;
  will-change: transform, filter;
}

@keyframes manufacturingMediaDrift {
  from { transform: scale(1.01) translate3d(0, 0, 0); filter: saturate(.96) contrast(1.04); }
  to { transform: scale(1.035) translate3d(-10px, 0, 0); filter: saturate(1.07) contrast(1.08); }
}

.materials-grid article {
  position: relative;
  overflow: hidden;
}

.materials-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 0%, rgba(208,170,112,.14), transparent 9rem);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.materials-grid article:hover::after {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .product-hero-image,
  .manufacturing-media,
  .tiannis-product-card,
  .tiannis-product-card img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .tiannis-product-card::before,
  .materials-grid article::after {
    display: none;
  }
}

.manufacturing-copy {
  position: relative;
  z-index: 2;
  grid-column: 1;
}

.manufacturing-copy h2,
.materials-copy h2 {
  font-size: clamp(34px, 3vw, 48px);
}

.manufacturing-copy a,
.materials-copy a,
.custom-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 34px;
  padding: 0 28px;
  border: 1px solid rgba(255,255,255,.46);
}

.manufacturing-stats {
  position: relative;
  z-index: 2;
  grid-column: 2;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.manufacturing-stats article {
  padding: 0 24px;
  border-left: 1px solid rgba(255,255,255,.18);
}

.manufacturing-stats strong {
  display: block;
  font-size: 32px;
  font-weight: 300;
}

.manufacturing-stats span {
  color: rgba(255,255,255,.62);
  font-size: 12px;
}

.materials-section {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 76px;
  padding: 72px 58px 66px;
  background: linear-gradient(90deg, #101516, #0a0c0c);
}

.materials-copy ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.materials-copy li::before {
  content: "◎";
  margin-right: 10px;
  color: #d0aa70;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.materials-grid article {
  background: #171b1c;
  border: 1px solid rgba(255,255,255,.08);
}

.materials-grid img {
  width: 100%;
  aspect-ratio: 1 / .92;
  object-fit: cover;
}

.materials-grid div {
  padding: 18px 18px 22px;
}

.materials-grid h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 500;
}

.materials-grid p {
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: 13px;
  line-height: 1.7;
}

.custom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 58px;
  border-top: 1px solid rgba(255,255,255,.1);
  background: #080909;
}

.custom-cta div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.custom-cta i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #d0aa70;
  color: #d0aa70;
  font-style: normal;
}

.custom-cta strong,
.custom-cta small {
  display: block;
}

.custom-cta small {
  margin-top: 5px;
  color: rgba(255,255,255,.58);
}

.custom-cta a {
  margin: 0;
}

.comparison-dialog {
  width: min(1040px, calc(100% - 32px));
  border: 1px solid rgba(255,255,255,.16);
  color: #f4f0e8;
  background: #0c0f10;
  padding: 0;
}

.comparison-dialog::backdrop {
  background: rgba(0,0,0,.74);
}

.comparison-dialog form {
  position: relative;
  padding: 34px;
}

.comparison-close {
  position: absolute;
  right: 22px;
  top: 18px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  background: transparent;
  font-size: 24px;
}

.comparison-dialog h2 {
  margin: 0 0 26px;
  font-size: 34px;
  font-weight: 300;
}

.comparison-table {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.comparison-table article {
  padding: 20px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}

.comparison-table h3 {
  margin: 0 0 14px;
}

.comparison-table span,
.comparison-table b,
.comparison-table small {
  display: block;
}

.comparison-table span {
  color: #d0aa70;
  font-size: 12px;
  text-transform: uppercase;
}

.comparison-table b {
  margin: 14px 0;
}

.comparison-table small {
  color: rgba(255,255,255,.62);
  line-height: 1.6;
}

@media (max-width: 1120px) {
  .tiannis-product-header {
    grid-template-columns: 180px auto auto;
    padding: 22px;
  }

  .product-menu {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    justify-self: end;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.22);
  }

  .product-menu span {
    width: 18px;
    height: 2px;
    background: #fff;
  }

  .tiannis-product-nav {
    position: fixed;
    display: none;
    flex-direction: column;
    top: 78px;
    left: 18px;
    right: 18px;
    padding: 18px;
    background: rgba(8,10,10,.98);
    border: 1px solid rgba(255,255,255,.14);
  }

  .tiannis-product-nav.open { display: flex; }
  .tiannis-product-grid,
  .materials-grid,
  .comparison-table { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .manufacturing-band,
  .materials-section { grid-template-columns: 1fr; }
  .manufacturing-stats { grid-column: 1; margin-top: 56px; }
}

@media (max-width: 720px) {
  .tiannis-product-header {
    grid-template-columns: 1fr auto;
  }

  .product-header-actions {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .product-hero-copy {
    padding: 150px 24px 54px;
  }

  .product-hero-icons,
  .tiannis-product-grid,
  .materials-grid,
  .manufacturing-stats,
  .comparison-table { grid-template-columns: 1fr; }

  .product-catalog-section,
  .manufacturing-band,
  .materials-section,
  .custom-cta { padding-left: 22px; padding-right: 22px; }

  .product-tabs-row,
  .custom-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}
