/* NordicForma - Scandinavian Wellness Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --nf-forest: #143226;
  --nf-pine: #1f4a38;
  --nf-moss: #2f6b52;
  --nf-sage: #45886b;
  --nf-accent-soft: #63a387;
  --nf-mint-light: #eef6f2;
  --nf-sand: #f5f2eb;
  --nf-ivory: #faf9f6;
  --nf-white: #ffffff;
  --nf-charcoal: #19221d;
  --nf-slate: #526259;
  --nf-muted: #798b82;
  --nf-border: #e1e9e4;
  --nf-border-subtle: #edf3f0;
  --nf-gold: #c59b4e;
  --nf-gold-light: #fdf8ed;
  --nf-success: #208753;
  --nf-danger: #c23934;

  --nf-font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --nf-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --nf-radius-xs: 4px;
  --nf-radius-sm: 8px;
  --nf-radius-md: 14px;
  --nf-radius-lg: 22px;
  --nf-radius-pill: 9999px;

  --nf-shadow-sm: 0 2px 6px rgba(20, 50, 38, 0.05);
  --nf-shadow-md: 0 8px 24px rgba(20, 50, 38, 0.08);
  --nf-shadow-lg: 0 16px 40px rgba(20, 50, 38, 0.12);

  --nf-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --nf-touch-target: 44px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--nf-font-body);
  color: var(--nf-charcoal);
  background-color: var(--nf-ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--nf-transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--nf-transition);
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 880px;
}

/* Announcement Bar */
.top-notice-bar {
  background-color: var(--nf-forest);
  color: var(--nf-mint-light);
  font-size: 0.84rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 105;
}

.notice-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.notice-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.notice-badge {
  display: inline-block;
  background: var(--nf-sage);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: var(--nf-radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: var(--nf-radius-pill);
}

.lang-btn {
  padding: 3px 8px;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: var(--nf-radius-pill);
  color: var(--nf-mint-light);
  min-height: 28px;
  min-width: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-btn.active {
  background-color: var(--nf-white);
  color: var(--nf-forest);
}

/* Header */
.site-header {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--nf-border);
  box-shadow: var(--nf-shadow-sm);
  transition: var(--nf-transition);
}

.header-grid {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  height: 76px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-symbol {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--nf-pine), var(--nf-moss));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--nf-font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 4px 10px rgba(31, 74, 56, 0.25);
}

.brand-text {
  font-family: var(--nf-font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--nf-forest);
  letter-spacing: -0.3px;
  line-height: 1;
}

.brand-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--nf-sage);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Navigation */
.main-nav ul {
  display: flex;
  list-style: none;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--nf-slate);
  padding: 8px 4px;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--nf-forest);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--nf-pine);
  border-radius: 2px;
}

/* Header Right Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-toggle-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--nf-touch-target);
  min-height: var(--nf-touch-target);
  padding: 8px 14px;
  background: var(--nf-mint-light);
  border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius-pill);
  color: var(--nf-forest);
  font-weight: 700;
  font-size: 0.9rem;
  gap: 8px;
}

.cart-toggle-btn:hover {
  background: #e2f0e8;
  border-color: var(--nf-sage);
}

.cart-count-badge {
  background: var(--nf-forest);
  color: #fff;
  font-size: 0.75rem;
  min-width: 20px;
  height: 20px;
  border-radius: var(--nf-radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.mobile-menu-trigger {
  display: none;
  min-width: var(--nf-touch-target);
  min-height: var(--nf-touch-target);
  align-items: center;
  justify-content: center;
  color: var(--nf-forest);
  background: var(--nf-mint-light);
  border-radius: var(--nf-radius-sm);
}

/* Mobile Nav Drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 30, 24, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: var(--nf-transition);
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: var(--nf-white);
  z-index: 210;
  box-shadow: var(--nf-shadow-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-nav-panel.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--nf-border);
  margin-bottom: 20px;
}

.close-btn {
  min-width: var(--nf-touch-target);
  min-height: var(--nf-touch-target);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--nf-slate);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-links a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--nf-radius-sm);
  font-weight: 600;
  font-size: 1rem;
  color: var(--nf-forest);
  min-height: var(--nf-touch-target);
  display: flex;
  align-items: center;
}

.mobile-nav-links a:hover, .mobile-nav-links a.active {
  background: var(--nf-mint-light);
  color: var(--nf-pine);
}

/* Typography & General Components */
h1, h2, h3, h4, h5 {
  font-family: var(--nf-font-heading);
  color: var(--nf-forest);
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4vw + 0.5rem, 3.2rem);
  letter-spacing: -0.5px;
}

h2 {
  font-size: clamp(1.6rem, 2.5vw + 0.5rem, 2.3rem);
  letter-spacing: -0.3px;
}

h3 {
  font-size: 1.35rem;
}

p {
  margin-bottom: 1.1rem;
}

p:last-child {
  margin-bottom: 0;
}

.text-muted {
  color: var(--nf-slate);
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--nf-touch-target);
  padding: 12px 24px;
  font-size: 0.96rem;
  font-weight: 700;
  border-radius: var(--nf-radius-pill);
  cursor: pointer;
  transition: var(--nf-transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--nf-pine);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(31, 74, 56, 0.25);
}

.btn-primary:hover {
  background-color: var(--nf-forest);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(20, 50, 38, 0.35);
}

.btn-secondary {
  background-color: var(--nf-white);
  color: var(--nf-forest);
  border: 1.5px solid var(--nf-border);
}

.btn-secondary:hover {
  border-color: var(--nf-sage);
  background-color: var(--nf-mint-light);
}

.btn-gold {
  background: linear-gradient(135deg, #d3a759, #b98e40);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(197, 155, 78, 0.3);
}

.btn-gold:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* Trust Badges Bar */
.trust-strip {
  background: var(--nf-white);
  border-top: 1px solid var(--nf-border-subtle);
  border-bottom: 1px solid var(--nf-border);
  padding: 24px 0;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  align-items: center;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-badge-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.trust-badge-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--nf-forest);
  line-height: 1.2;
}

.trust-badge-sub {
  font-size: 0.78rem;
  color: var(--nf-slate);
}

/* Sections */
.section {
  padding: 70px 0;
  position: relative;
}

.section-alt {
  background-color: var(--nf-sand);
}

.section-white {
  background-color: var(--nf-white);
}

.section-header {
  margin-bottom: 46px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--nf-mint-light);
  color: var(--nf-pine);
  padding: 4px 14px;
  border-radius: var(--nf-radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.section-desc {
  max-width: 660px;
  margin: 14px auto 0;
  color: var(--nf-slate);
  font-size: 1.05rem;
}

/* Cards */
.card {
  background: var(--nf-white);
  border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius-md);
  padding: 28px;
  box-shadow: var(--nf-shadow-sm);
  transition: var(--nf-transition);
}

.card:hover {
  box-shadow: var(--nf-shadow-md);
  border-color: #c9d8cf;
}

/* Footer */
.site-footer {
  background-color: var(--nf-forest);
  color: #e0eae4;
  padding-top: 60px;
  margin-top: auto;
  font-size: 0.92rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h4 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.footer-col h5 {
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Mandatory Medical Disclaimer */
.medical-disclaimer-box {
  background: rgba(0, 0, 0, 0.2);
  border-left: 3px solid var(--nf-sage);
  padding: 16px 20px;
  margin: 30px 0;
  border-radius: var(--nf-radius-xs);
  font-size: 0.82rem;
  line-height: 1.55;
  color: #b9d0c5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
  font-size: 0.82rem;
  color: #9db5aa;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-cookie-btn {
  color: #9db5aa;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  text-decoration: underline;
}

.footer-cookie-btn:hover {
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .header-grid {
    grid-template-columns: 1fr auto;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-trigger {
    display: inline-flex;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 45px 0;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .notice-flex {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}
