/*
Theme Name: Custom Theme
Description: A minimal custom theme
Version: 1.0
*/

:root {
  --bg: #050505;
  --surface: #0f0f0f;
  --text: #f5f1eb;
  --text-muted: #c7c1b7;
  --gold: #d7a84f;
  --gold-soft: rgba(215, 168, 79, 0.18);
  --border: rgba(255, 255, 255, 0.08);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

footer {
  margin-top: auto;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* Header */
.site-header {
  background: #070707;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 20;
}

.header-inner {
  max-width: 1200px;
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--text);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-tag {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.8rem;
}

.brand-name {
  white-space: nowrap;
}

.main-navigation {
  margin-left: auto;
}

.main-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.main-menu li {
  margin: 0;
}

.main-menu li a {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.6rem 0;
  transition: color 180ms ease, transform 180ms ease;
}

.main-menu li a:hover,
.main-menu li a:focus {
  color: var(--gold);
  transform: translateY(-1px);
}

@media (max-width: 820px) {
  .header-inner {
    justify-content: center;
  }

  .main-navigation {
    width: 100%;
  }

  .main-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}

/* Products grid */
.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.product {
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
  text-align: center;
}

.product img {
  border-radius: 14px;
  max-height: 220px;
  object-fit: contain;
  margin: 0 auto;
}

.product strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  margin-top: 0.65rem;
}

.product span {
  color: var(--gold);
  font-weight: 700;
}

.product .button {
  margin-top: 1rem;
}

@media (max-width: 960px) {
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .products {
    grid-template-columns: 1fr;
  }
}

/* Table styles */
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.page-content table th,
.page-content table td {
  border: 1px solid rgba(214, 168, 79, 0.16);
  padding: 14px 16px;
}

.page-content table th {
  color: var(--gold);
}

.page-content table td {
  color: var(--text);
}
