:root {
  --accent: #e5a158;
  --bg: #0d0f14;
  --bg-soft: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f5f5f5;
  --text-muted: rgba(245, 245, 245, 0.65);
}

* {
  box-sizing: border-box;
}

/* i18n: content is duplicated per-language in the markup; only the active
   language's blocks are shown. Defaults to English before i18n.js runs. */
:root:not([data-lang]) .is,
:root[data-lang="en"] .is {
  display: none;
}
:root[data-lang="is"] .en {
  display: none;
}

.lang-switch {
  display: inline-flex;
  gap: 4px;
  margin-left: 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}

.lang-switch button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-switch button.active {
  background: var(--accent);
  color: #fff;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

.wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

header.site nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

header.site a.brand {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

header.site a.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 20px;
}

main {
  padding: 64px 0;
}

h1 {
  font-size: 2.4rem;
  margin: 0 0 16px;
}

h2 {
  font-size: 1.6rem;
  margin: 48px 0 16px;
}

p.lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 640px;
}

.card {
  border: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  overflow: hidden;
}

.card h3 {
  margin: 0 0 8px;
}

.card p {
  color: var(--text-muted);
  margin: 0 0 16px;
}

.card-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  margin: -24px -24px 20px;
  width: calc(100% + 48px);
  display: block;
}

.product-cover {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.price {
  color: var(--accent);
  font-weight: 700;
}

.status-msg {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.profile-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}

.profile-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  box-shadow: 0 0 32px rgba(229, 161, 88, 0.25);
  flex-shrink: 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.btn-outline {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-outline:hover {
  opacity: 0.8;
}

.highlight {
  color: var(--accent);
  font-weight: 700;
}

footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}
