:root {
  --black: #050505;
  --red: #f20f1f;
  --red-dark: #a90914;
  --gold: #d9a858;
  --text: #f8f4ee;
  --muted: rgba(248, 244, 238, 0.68);
  --line: rgba(255, 255, 255, 0.12);
  --font-body: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 16% 2%, rgba(217, 168, 88, 0.18), transparent 30%),
    radial-gradient(circle at 88% 7%, rgba(242, 15, 31, 0.14), transparent 31%),
    linear-gradient(180deg, #130909 0%, #080707 42%, #030303 100%);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(circle at 50% 56%, rgba(242, 15, 31, 0.24), transparent 30%),
    radial-gradient(circle at 16% 72%, rgba(217, 168, 88, 0.16), transparent 34%),
    radial-gradient(circle at 86% 28%, rgba(242, 15, 31, 0.16), transparent 32%),
    url('../ChatGPT Image 14 mag 2026, 18_40_10.png');
  background-position: center, left bottom, right top, center 58%;
  background-size: auto, auto, auto, min(940px, 88vw) auto;
  background-repeat: no-repeat;
  opacity: 0.42;
  filter: drop-shadow(0 0 42px rgba(242, 15, 31, 0.46)) drop-shadow(0 0 82px rgba(217, 168, 88, 0.22));
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.58), rgba(5, 5, 5, 0.18) 50%, rgba(5, 5, 5, 0.58)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.46), rgba(5, 5, 5, 0.16) 45%, rgba(5, 5, 5, 0.48));
  pointer-events: none;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

main,
.catalog-sticky-header {
  position: relative;
  z-index: 1;
}

.catalog-sticky-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.catalog-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 36px));
  min-height: 74px;
  margin: 0 auto;
}

.catalog-sticky-brand,
.catalog-sticky-nav a,
.catalog-sticky-cta {
  color: var(--text);
  text-decoration: none;
}

.catalog-sticky-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.catalog-sticky-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
}

.catalog-sticky-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.catalog-sticky-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(248, 244, 238, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.catalog-sticky-nav a:hover,
.catalog-sticky-nav a.is-active {
  color: #fff;
  background: rgba(242, 15, 31, 0.22);
}

.catalog-sticky-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 14px 34px rgba(242, 15, 31, 0.28);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.catalog-main,
.detail-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 70px 0;
}

.catalog-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.catalog-back,
.back-link {
  display: inline-flex;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.back-link {
  margin-bottom: 28px;
}

.preview-hero,
.category-section,
.detail-copy,
.detail-panel {
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(8, 7, 7, 0.92), rgba(8, 7, 7, 0.72)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 92% 12%, rgba(217, 168, 88, 0.12), transparent 32%);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(5px);
}

.preview-hero {
  position: relative;
  display: grid;
  gap: 20px;
  margin-bottom: 52px;
  padding: 44px;
  overflow: hidden;
}

.eyebrow,
.category,
.section-title p,
.product-category {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  gap: 10px;
  align-items: center;
}

.eyebrow::before {
  content: '';
  width: 42px;
  height: 3px;
  border-radius: 99px;
  background: var(--red);
}

h1,
h2,
.section-title h2 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.preview-hero h1,
.detail-copy h1 {
  max-width: 860px;
  font-size: clamp(2.8rem, 7vw, 6.8rem);
}

.preview-hero p,
.description,
.product-body > p:not(.product-category) {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.preview-hero p {
  max-width: 760px;
  font-size: 1.04rem;
}

.catalog-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.catalog-shortcuts a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(217, 168, 88, 0.42);
  border-radius: 999px;
  color: #fff;
  background: rgba(242, 15, 31, 0.22);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.category-section {
  display: grid;
  gap: 24px;
  margin-top: 64px;
  padding: 28px;
  overflow: hidden;
  scroll-margin-top: 96px;
}

.category-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.category-heading p {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.category-heading h2,
.section-title h2 {
  font-size: clamp(2rem, 5vw, 4.6rem);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.068), rgba(255, 255, 255, 0.03));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(217, 168, 88, 0.42);
  box-shadow: 0 36px 120px rgba(242, 15, 31, 0.16);
}

.product-media {
  position: relative;
  display: block;
  aspect-ratio: 1.08 / 1;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: #161616;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.09);
  filter: saturate(1.08) contrast(1.04);
}

.product-media span,
.hero-image span {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(12px);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-body {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto auto;
  gap: 14px;
  padding: 22px;
  flex: 1;
}

.product-body h2 {
  font-size: 2rem;
}

.product-body h3,
.detail-copy h2 {
  margin: -6px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.5;
}

.finish-list,
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.finish-list span,
.chip-list span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.72rem;
  font-weight: 800;
}

.product-cta,
.product-detail-link,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 900;
}

.product-cta,
.btn {
  min-height: 52px;
  padding: 0 18px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 16px 38px rgba(242, 15, 31, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-detail-link {
  justify-content: start;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-detail-link:hover {
  color: #fff;
}

.product-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(242, 15, 31, 0.4);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.detail-shell {
  width: min(1220px, calc(100% - 36px));
  padding-top: 34px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.hero-image {
  position: relative;
  display: block;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #161616;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.42);
}

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 34px;
}

.category {
  margin: 0;
}

.description {
  font-size: 1rem;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.detail-panel {
  margin-top: 28px;
  padding: 28px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-title p {
  margin: 0 0 8px;
}

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

.spec-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
}

.spec-card span {
  display: block;
  margin-bottom: 8px;
  color: rgba(248, 244, 238, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spec-card strong {
  display: block;
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.35;
}

.tech-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tech-list li {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: rgba(248, 244, 238, 0.8);
  background: rgba(255, 255, 255, 0.04);
  line-height: 1.7;
}

@media (max-width: 980px) {
  .catalog-sticky-inner {
    align-items: stretch;
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .catalog-sticky-nav {
    order: 3;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .catalog-sticky-nav::-webkit-scrollbar {
    display: none;
  }

  .catalog-grid,
  .detail-hero,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .detail-shell,
  .catalog-main {
    width: min(100% - 28px, 640px);
    padding: 46px 0;
  }

  .hero-image {
    min-height: 360px;
  }

  .category-heading,
  .section-title {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .catalog-sticky-inner {
    width: calc(100% - 22px);
    gap: 10px;
  }

  .catalog-sticky-brand span,
  .catalog-sticky-cta {
    display: none;
  }

  .catalog-sticky-nav a {
    padding: 9px 10px;
    font-size: 0.7rem;
    white-space: nowrap;
  }

  .detail-shell,
  .catalog-main {
    width: calc(100% - 20px);
    padding: 32px 0;
  }

  .preview-hero,
  .category-section,
  .detail-copy,
  .detail-panel {
    padding: 20px;
    border-radius: 26px;
  }

  .preview-hero h1,
  .detail-copy h1 {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .hero-image {
    min-height: 280px;
    border-radius: 26px;
  }

  .product-body {
    padding: 18px;
  }

  .btn,
  .product-cta {
    width: 100%;
    padding: 12px 18px;
    text-align: center;
  }
}
