/* === Custom Fonts === */
@font-face {
  font-family: "Alternate Gothic No. 3 D";
  src: url("fonts/AlternateGothicNo3D-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("fonts/Oswald-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* === Root Variables === */
:root {
  --bg: #0f1113;
  --fg: #e8e8ea;
  --muted: #a0a3a7;
  --accent: #111;
  --brand: #111;
  --border: #1b1e22;
  --card-bg: #15181c;
}

/* === Global Resets === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Oswald", system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  line-height: 1.5;
}

/* === Typography === */
h1,
h2,
h3,
.logo,
.btn {
  font-family: "Alternate Gothic No. 3 D", "Oswald", system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  letter-spacing: 0.5px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* === Layout === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

/* === Navigation === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

.nav a.logo {
  font-weight: 800;
  letter-spacing: 0.5px;
}

.nav .links a {
  margin-left: 16px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.nav .links a:hover {
  opacity: 1;
}

/* === Hero Section === */
.hero {
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 56px);
  margin: 0 0 10px 0;
}

.hero p {
  margin: 0 auto;
  max-width: 760px;
  color: var(--muted);
}

/* === Buttons === */
.btn {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  margin-top: 18px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* === Grid Layout === */
.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 700px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* === Cards === */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--muted);
}

.card .body {
  padding: 14px;
}

.card h3 {
  margin: 6px 0 4px;
}

/* === Price === */
.price {
  color: var(--muted);
  font-size: 14px;
}

/* === Footer === */
.footer {
  padding: 40px 24px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}

/* === Sections === */
.section {
  padding: 40px 0;
}

/* === Prose/Content === */
.prose {
  color: var(--fg);
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.7;
}

.prose h2,
.prose h3 {
  margin-top: 28px;
  margin-bottom: 12px;
}

/* === Kicker Text === */
.kicker {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

/* === Breadcrumbs === */
.breadcrumbs {
  font-size: 14px;
  color: var(--muted);
  margin: 14px 0;
}

/* === Product Hero === */
.product-hero {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

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

/* === Buy Row === */
.buyrow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* === Badge === */
.badge {
  display: inline-block;
  background: var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
}

/* === Table === */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.table td,
.table th {
  border: 1px solid var(--border);
  padding: 10px;
  text-align: left;
}

/* === Notice === */
.notice {
  background: #101418;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  color: var(--muted);
  margin: 16px 0;
}

/* === Small Text === */
.small {
  font-size: 14px;
  color: var(--muted);
}

/* === Utility Classes === */
.highlight {
  color: var(--fg);
  font-weight: 700;
}