/* ==========================================================================
   Layout Styles (Header, Container, Footer)
   Upgraded Premium Danish Design
   ========================================================================== */

#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   Site Header (Clean, Pure Text, No Background Boxes)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  transition: all var(--transition-fast);
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

/* Pure Text Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
  user-select: none;
  text-decoration: none;
}

.brand-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0F172A;
}

.brand-text-sub {
  color: #64748B;
  font-weight: 600;
}

/* Pure Text Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  background: transparent;
  border: none;
  padding: 0;
}

.site-nav-link {
  padding: 6px 0;
  font-size: 14.5px;
  font-weight: 500;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.site-nav-link:hover {
  color: #0F172A;
  background: transparent;
  text-decoration: none;
}

.site-nav-link.active {
  background: transparent;
  color: #0F172A;
  font-weight: 700;
  border-bottom-color: #0F172A;
  box-shadow: none;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.cart-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.cart-text-link:hover {
  color: #0F172A;
  text-decoration: none;
}

.cart-count-pill {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #0F172A;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-studio-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  font-weight: 600;
  border-radius: 8px;
}


/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  font-size: 13.5px;
  color: #64748B;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: #0F172A;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(18, 50, 77, 0.06);
  padding: 18px 24px;
  background: #F8FAFC;
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #64748B;
}

/* ==========================================================================
   Responsive Header Breakpoints
   ========================================================================== */
@media (max-width: 860px) {
  .site-header-inner {
    padding: 0 16px;
  }
  .site-nav {
    display: none; /* Collapses to quick actions on tablet */
  }
}

@media (max-width: 640px) {
  .site-header-inner {
    padding: 0 14px;
    height: 58px;
  }
  .brand-text {
    font-size: 16px;
  }
  .cart-nav-label {
    display: none; /* Shows icon + badge on mobile */
  }
  .cart-nav-btn {
    padding: 0 10px;
    height: 36px;
  }
  .header-studio-cta {
    height: 36px;
    padding: 0 12px;
    font-size: 12.5px;
  }
  .site-footer-inner {
    padding: 32px 16px;
    gap: 24px;
  }
}
