* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

button, input, select, textarea {
  font-family: inherit;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* Typografi – stabil rytm */
h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 12px;
}

p { margin: 0 0 16px; }

/* UL blir lätt att råka stylea fel i komponenter, men detta är en safe default */
ul {
  margin: 0 0 16px 18px;
  padding: 0;
}

/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a1a;
  color: white;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-content {
  flex: 1;
  min-width: 0;
}

.cookie-title {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.cookie-description {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.9;
}

.cookie-link {
  color: #b5d045;
  text-decoration: none;
  font-weight: 500;
}

.cookie-link:hover {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cookie-btn:focus {
  outline: 2px solid #b5d045;
  outline-offset: 2px;
}

.cookie-btn-accept {
  background: #b5d045;
  color: #1a1a1a;
}

.cookie-btn-accept:hover {
  background: #8da435;
}

.cookie-btn-reject {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}

.cookie-btn-reject:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.footer-link-button {
  background: none;
  border: none;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  padding: 0;
}

.footer-link-button:hover {
  color: #b5d045;
}

.inline-cookie-settings {
  background: none;
  border: none;
  color: #b5d045;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  padding: 0;
  font-weight: 500;
}

.inline-cookie-settings:hover {
  text-decoration: none;
}

/* =========================
   CONTACT POPUP (Desktop)
   ========================= */

.contact-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.contact-popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.contact-popup__content {
  background: white;
  border-radius: 16px;
  padding: 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #9D9D9C;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.contact-popup__close:hover {
  background: #f5f5f5;
  color: #333;
}

.contact-popup__icon {
  margin-bottom: 20px;
}

.contact-popup__title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0 0 12px 0;
}

.contact-popup__value {
  font-size: 28px;
  font-weight: 800;
  color: #2D5A27;
  margin: 0 0 24px 0;
  letter-spacing: 0.5px;
}

.contact-popup__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.contact-popup__hint {
  font-size: 14px;
  color: #9D9D9C;
  margin: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-btn {
    flex: 1;
    max-width: 120px;
  }
}
