:root {
  color-scheme: light;
  --eti-red: #eb1730;
  --eti-red-active: #e22946;
  --eti-dark-slate: #2e3b47;
  --eti-slate: #344552;
  --eti-teal: #09718f;
  --eti-mid-gray: #565f66;
  --eti-light-gray: #99a0a5;
  --eti-bg-soft: #f7f9fa;
  --line: rgba(153, 160, 165, 0.38);
  --panel: #ffffff;
  --font-display: "Barlow Condensed", "Franklin Gothic Medium", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --container: min(1180px, calc(100vw - 2.4rem));
  --radius-sm: 0.35rem;
  --radius-md: 0.65rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--eti-dark-slate);
  background: linear-gradient(180deg, #fafbfc 0%, #f4f6f8 48%, #eef4f6 100%);
  font-family: var(--font-body);
  line-height: 1.45;
}

a {
  color: var(--eti-teal);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--eti-teal);
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--eti-dark-slate);
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

p {
  margin: 0;
  color: var(--eti-mid-gray);
  line-height: 1.58;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.page-wrap {
  min-height: 100vh;
}

.top-strip {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #303234;
  box-shadow: 0 10px 24px rgba(13, 20, 27, 0.2);
}

.site-header .container {
  display: grid;
  grid-template-columns: auto minmax(18rem, 1fr) auto auto;
  align-items: center;
  gap: 1.35rem;
  min-height: 5.15rem;
  padding: 0.7rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 17.6rem;
}

.brand-logo {
  height: 3.65rem;
  width: auto;
}

.site-header-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.2rem;
  min-height: 3.5rem;
  overflow: hidden;
  border-radius: 0.16rem;
  background: #fff;
}

.site-header-search input,
.site-header-search button {
  min-width: 0;
  border: 0;
  font: inherit;
}

.site-header-search input {
  padding: 0 1.25rem;
  color: #202b35;
  font-size: 1.03rem;
}

.site-header-search button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--eti-red);
  color: #fff;
  cursor: pointer;
}

.site-header-search button::before {
  content: "";
  width: 1.45rem;
  height: 1.45rem;
  border: 0.18rem solid currentColor;
  border-radius: 999px;
}

.site-header-search button::after {
  content: "";
  width: 0.68rem;
  height: 0.18rem;
  margin-top: 1.1rem;
  margin-left: -0.22rem;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.main-nav a,
.header-actions .btn {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  min-height: 3.5rem;
}

.header-actions .btn {
  padding: 0 1.2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.btn,
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 2.6rem;
  padding: 0.78rem 1.1rem;
  border: 0;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--eti-red);
  color: white;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--eti-red-active);
  color: white;
  text-decoration: none;
}

.btn-secondary {
  border: 1px solid rgba(11, 114, 133, 0.32);
  background: rgba(11, 114, 133, 0.1);
  color: var(--eti-teal);
}

.btn-block {
  width: 100%;
}

.page-title {
  padding: 3.3rem 0 3rem;
  border-bottom: 1px solid rgba(35, 50, 65, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f3f6f8 100%);
}

.product-reference-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  color: var(--eti-mid-gray);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.kicker,
.eyebrow {
  width: fit-content;
  padding: 0.32rem 0.64rem;
  border-radius: 999px;
  background: var(--eti-red);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(237, 23, 53, 0.18);
}

.page-title h1 {
  max-width: 980px;
  margin: 0;
  color: #15222e;
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 0.98;
}

.product-status {
  color: var(--eti-teal);
  font-size: 0.9rem;
  font-weight: 800;
}

.product-summary {
  max-width: 60rem;
  color: var(--eti-slate);
  font-size: 1.125rem;
  line-height: 1.6;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.badge {
  min-height: auto;
  border: 1px solid rgba(35, 50, 65, 0.1);
  background: #ffffff;
  color: var(--eti-red);
  font-size: 0.76rem;
  padding: 0.44rem 0.78rem;
  box-shadow: 0 0.75rem 1.55rem rgba(35, 50, 65, 0.09);
}

section {
  padding: 2rem 0;
}

.stack {
  display: grid;
  gap: var(--space-4);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: var(--space-5);
  align-items: start;
}

.card,
.product-card,
.gallery {
  border: 1px solid rgba(35, 50, 65, 0.1);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 38px rgba(35, 50, 65, 0.06);
}

.card {
  padding: var(--space-4);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
  padding: var(--space-3);
}

.gallery img,
.product-photo-empty {
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  background: linear-gradient(45deg, rgba(46, 59, 71, 0.16), rgba(9, 113, 143, 0.2));
  object-fit: cover;
}

.gallery img:first-child,
.gallery .product-photo-empty {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}

.product-photo-empty {
  display: grid;
  place-items: center;
  padding: var(--space-4);
  color: var(--eti-mid-gray);
  font-weight: 700;
  text-align: center;
}

.section-head h2 {
  font-size: 2.25rem;
  line-height: 0.95;
}

.spec-table {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(153, 160, 165, 0.4);
  border-radius: var(--radius-sm);
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 0.72rem;
  border-bottom: 1px solid rgba(153, 160, 165, 0.3);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 35%;
  background: rgba(153, 160, 165, 0.12);
  color: var(--eti-dark-slate);
  font-weight: 800;
}

.spec-table td {
  white-space: pre-wrap;
}

.helper {
  color: var(--eti-mid-gray);
  font-size: 0.95rem;
}

.purchase-mode {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
}

.purchase-mode span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  border: 1px solid rgba(153, 160, 165, 0.5);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--eti-slate);
  font-weight: 800;
}

.purchase-mode span.active {
  border-color: rgba(235, 23, 48, 0.45);
  background: rgba(235, 23, 48, 0.1);
  color: var(--eti-red);
}

.price {
  color: var(--eti-dark-slate);
  font-size: 1.75rem;
  font-weight: 900;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}

.product-card {
  overflow: hidden;
}

.product-card-media {
  display: block;
  background: rgba(153, 160, 165, 0.14);
}

.product-card img,
.product-card .product-photo-empty {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card-body {
  display: grid;
  gap: 0.45rem;
  padding: 0.95rem;
}

.product-card h3 {
  font-size: 1.2rem;
  line-height: 1.15;
}

.mini-specs {
  display: grid;
  gap: 0.25rem;
  color: var(--eti-mid-gray);
  font-size: 0.88rem;
}

.site-footer {
  margin-top: 1.75rem;
  padding: 1.75rem 0;
  background: #26313a;
  color: #d9e2ea;
}

.site-footer p,
.site-footer a {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.1rem;
}

details {
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header .container {
    grid-template-columns: auto 1fr;
  }

  .brand {
    min-width: 0;
  }

  .site-header-search,
  .main-nav {
    grid-column: 1 / -1;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 1.2rem, 1180px);
  }

  .site-header {
    position: static;
  }

  .site-header .container {
    gap: 0.75rem;
    min-height: auto;
    padding: 0.75rem 0;
  }

  .brand-logo {
    height: 2.8rem;
  }

  .site-header-search {
    grid-template-columns: minmax(0, 1fr) 4rem;
    min-height: 3rem;
  }

  .main-nav ul {
    flex-wrap: wrap;
    gap: 0.85rem;
  }

  .page-title {
    padding: 2rem 0;
  }

  .page-title h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
  }
}
