:root {
  --bg: #f2f5fa;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #4b5563;
  --brand: #1d4ed8;
  --brand-2: #111827;
  --line: #cbd5e1;
  --gray: #e5e7eb;
  --max: 1120px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #eef3fb 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(100% - 2rem, var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}
.brand {
  font-weight: 800;
  letter-spacing: 0.03em;
  font-size: 1.2rem;
}
.brand span { color: var(--brand); }
.nav {
  display: flex;
  gap: 1rem;
  font-weight: 600;
  color: #2f332d;
}
.nav a { padding: 0.4rem 0.2rem; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { border-color: var(--brand-2); }
.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.35rem 0.6rem;
}

.hero {
  padding: 5.5rem 0 4rem;
  background: radial-gradient(circle at 15% 10%, #dbeafe 0%, #f8fbff 55%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: #eff6ff;
  color: var(--brand);
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0 0 0.8rem; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
p { color: var(--muted); line-height: 1.6; }

.btn-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.2rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 10px;
  border: 1px solid #94a3b8;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.btn.primary {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}
.btn.secondary { background: white; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
}

.section { padding: 3.8rem 0; }
.section-title { margin-bottom: 1.2rem; }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.tile {
  padding: 1rem;
  min-height: 180px;
}
.tile h3 { margin-top: 0.2rem; }
.price {
  margin: 0.5rem 0 0.8rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
}
.meta {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
}
.notice {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #1f2937;
  padding: 0.8rem;
  border-radius: 12px;
}

.product-media {
  width: 100%;
  height: 180px;
  margin-bottom: 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(145deg, #f3f4f6 0%, #e5e7eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-media.link {
  cursor: pointer;
}
.product-title-link {
  color: var(--ink);
}
.product-title-link:hover {
  color: var(--brand);
}

.product-hero {
  padding: 2.2rem 0 1.2rem;
}
.crumbs {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 0.7rem;
}
.crumbs a:hover { color: var(--brand); }
.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}
.product-gallery-main {
  height: 380px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #f3f4f6 0%, #e5e7eb 100%);
}
.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-summary.card {
  padding: 1rem;
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-top: 1rem;
}
.spec-item {
  border: 1px solid #dbe2ee;
  border-radius: 10px;
  padding: 0.65rem;
  background: #f8fbff;
}
.spec-item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 0.25rem;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #475569;
  font-size: 0.82rem;
  padding: 0.6rem;
}

.footer {
  margin-top: 2.5rem;
  background: #0b1220;
  color: #dbe3ef;
  padding: 2.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
}
.footer a { color: #dbe3ef; opacity: 0.9; }
.footer small { display: block; margin-top: 1.5rem; opacity: 0.7; }

.list { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.list li { margin: 0.4rem 0; }

.form {
  display: grid;
  gap: 0.8rem;
}
.input, textarea, select {
  width: 100%;
  border: 1px solid #cfd7cd;
  border-radius: 10px;
  padding: 0.72rem;
  font: inherit;
  background: #fff;
}
textarea { min-height: 120px; resize: vertical; }

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-2, .footer-grid, .product-layout, .spec-grid { grid-template-columns: 1fr; }
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 1rem;
    right: 1rem;
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.8rem;
    flex-direction: column;
  }
  .nav.open { display: flex; }
  .menu-btn { display: inline-flex; }
}
