:root {
  --hf-white:       #ffffff;
  --hf-text:        #5F5959;
  --hf-orange:      #FF9F46;
  --hf-green:       #94AD9B;
  --hf-border:      #5F5959;
  --hf-divider:     rgba(95, 89, 89, 0.12);
  --hf-muted:       rgba(95, 89, 89, 0.45);
  --hf-bg-locked:   rgba(95, 89, 89, 0.02);
  --hf-font:        'Helvetica Neue', Helvetica, Arial, sans-serif;
  --hf-max:         1100px;
  --hf-pad-page:    32px 20px;
  --hf-radius:      0 10px 0 10px;
  --hf-border-w:    2px;
  --hf-card-pad:    28px;
  --hf-gap:         14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--hf-font);
  background: var(--hf-white);
  color: var(--hf-text);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hf-font);
  font-weight: 700;
  color: var(--hf-text);
  font-style: normal;
}

nav {
  font-family: var(--hf-font);
  max-width: var(--hf-max);
  margin: 0 auto;
  padding: 24px 20px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--hf-border);
  margin-bottom: 36px;
}

#app-content {
  max-width: var(--hf-max);
  margin: 0 auto;
  padding: 0 20px 60px;
}

.wrap { max-width: var(--hf-max); margin: 0 auto; }

.section-label, p.section-label {
  font-family: var(--hf-font) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: var(--hf-text) !important;
  opacity: 0.4 !important;
  margin-bottom: 14px !important;
  margin-top: 32px !important;
  display: block !important;
}

.btn-primary {
  font-family: var(--hf-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--hf-white);
  background: var(--hf-orange);
  border: var(--hf-border-w) solid var(--hf-orange);
  border-radius: var(--hf-radius);
  padding: 10px 22px;
  cursor: pointer;
  transition: opacity 0.15s;
  display: inline-block;
}
.btn-primary:hover { opacity: 0.85; }

.btn-secondary {
  font-family: var(--hf-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--hf-orange);
  background: transparent;
  border: var(--hf-border-w) solid var(--hf-orange);
  border-radius: var(--hf-radius);
  padding: 10px 22px;
  cursor: pointer;
  transition: opacity 0.15s;
  display: inline-block;
}
.btn-secondary:hover { opacity: 0.75; }

.hf-divider {
  border: none;
  border-top: 1.5px solid rgba(95, 89, 89, 0.1);
  margin: 32px 0 24px;
}

.konto-meny { position: relative; }

.konto-trigger {
  font-family: var(--hf-font);
  font-size: 12px;
  font-weight: 700;
  color: var(--hf-text);
  background: transparent;
  border: var(--hf-border-w) solid var(--hf-border);
  border-radius: var(--hf-radius);
  padding: 7px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.15s;
}
.konto-trigger:hover { opacity: 0.7; }
.konto-pil { font-size: 10px; transition: transform 0.2s; }
.konto-pil.open { transform: rotate(180deg); }

.konto-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--hf-white);
  border: var(--hf-border-w) solid var(--hf-border);
  border-radius: var(--hf-radius);
  padding: 6px 0;
  min-width: 180px;
  z-index: 200;
}
.konto-dropdown.open { display: block; }

.konto-item {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--hf-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--hf-text);
  padding: 10px 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px solid rgba(95,89,89,0.08);
  transition: background 0.12s;
}
.konto-item:last-child { border-bottom: none; }
.konto-item:hover { background: rgba(95,89,89,0.04); }
.konto-logga-ut { color: var(--hf-orange); }

[style*="font-family:'Crimson Pro'"],
[style*='font-family:"Crimson Pro"'],
[style*="font-family:'Playfair Display'"],
[style*='font-family:"Playfair Display"'],
[style*="font-family:'DM Sans'"],
[style*='font-family:"DM Sans"'] {
  font-family: var(--hf-font) !important;
  font-style: normal !important;
}

[style*="color:#c8996a"],
[style*="color: #c8996a"] { color: var(--hf-orange) !important; }

[style*="background:#faf9f7"],
[style*="background: #faf9f7"] { background: var(--hf-white) !important; }

@media (max-width: 700px) {
  nav { padding: 20px 16px; }
  #app-content { padding: 0 16px 60px; }
}
