:root {
  color-scheme: light;
  --blue-950: #082b52;
  --blue-800: #0a4f93;
  --blue-700: #126ab8;
  --blue-100: #e8f3ff;
  --blue-050: #f5faff;
  --ink: #102033;
  --muted: #64758a;
  --line: #d6e7f6;
  --panel: #ffffff;
  --shadow: 0 22px 60px rgba(8, 43, 82, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(18, 106, 184, 0.16) 0%, rgba(245, 250, 255, 0) 360px),
    var(--blue-050);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

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

.product-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 28px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(8, 43, 82, 0.08);
}

.brand-logo {
  width: 164px;
  height: auto;
  flex: 0 0 auto;
}

.topbar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: 22px;
  align-items: start;
}

.product-media,
.instruction-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.product-media {
  position: sticky;
  top: 18px;
  overflow: hidden;
  min-height: 680px;
  background: #f2f5f8;
}

.product-media img {
  width: 100%;
  height: 100%;
  min-height: 680px;
  object-fit: cover;
  object-position: center 70%;
  transform: scale(1.14);
  transform-origin: center 63%;
}

.instruction-panel {
  padding: 34px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-800);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  color: var(--blue-950);
  font-size: 3rem;
  line-height: 1;
  letter-spacing: 0;
}

.subtitle {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 1.06rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.meta-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-950);
  font-size: 0.82rem;
  font-weight: 700;
}

.instruction-block {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.instruction-block h2,
.safety-note h2 {
  margin-bottom: 12px;
  color: var(--blue-950);
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.instruction-block ul {
  margin: 0;
  padding-left: 1.25rem;
}

.instruction-block li {
  margin: 0 0 10px;
  padding-left: 4px;
}

.instruction-block li:last-child {
  margin-bottom: 0;
}

.safety-note {
  margin-top: 6px;
  padding: 20px;
  border: 1px solid #b8d8f5;
  border-radius: 8px;
  background: var(--blue-100);
}

.safety-note p {
  margin-bottom: 0;
  color: #264665;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 28px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-media {
    position: static;
    min-height: 420px;
  }

  .product-media img {
    min-height: 420px;
    object-position: center 72%;
  }
}

@media (max-width: 640px) {
  .product-page {
    width: min(100% - 24px, 1080px);
    padding-top: 12px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .instruction-panel {
    padding: 24px 20px;
  }

  .product-media {
    min-height: 340px;
  }

  .product-media img {
    min-height: 340px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 0.98rem;
  }
}
