/* ========================================
   GLOBAL FONT AND BASE STYLES
   ======================================== */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #6b6b70;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  color: #1d1d1f;
}

p, a, button, input, textarea, label, span {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  z-index: 9999;
  border-bottom: 1px solid rgba(220, 215, 230, 0.3);
  box-sizing: border-box;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-link:hover,
.logo-link:visited {
  text-decoration: none;
}

.logo-img {
  width: 32px;
  height: 32px;
  display: block;
}

.logo-text {
  font-size: 17px;
  font-weight: 600;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #5a5a5f;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}

.nav-links a:hover {
  color: #1d1d1f;
}

.cart-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #1d1d1f;
  text-decoration: none;
  transition: opacity 0.3s;
}

.cart-button:hover {
  opacity: 0.7;
}

.cart-button svg {
  width: 20px;
  height: 20px;
}

.menu-icon {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-icon span {
  width: 22px;
  height: 2px;
  background: #1d1d1f;
  transition: 0.3s;
}

/* Mobile Menu */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 16px;
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f7;
  }

  .menu-icon {
    display: flex;
  }

  .menu-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-icon.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* ========================================
   FOOTER (BLACK BACKGROUND)
   ======================================== */
footer {
  background: #000;
  color: #fff;
  padding: 20px 12px 18px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
}

.footer-copy {
  margin: 0;
  line-height: 1.5;
}

.footer-copy p {
  margin: 0;
  line-height: 1.5;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}

.footer-links-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.footer-links-row a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}

.footer-links-row a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-sep {
  color: rgba(255, 255, 255, 0.65);
  display: inline-block;
  line-height: 1;
  padding: 0 6px;
}

/* Ensure footer text is vertically centered */
footer, .footer-inner, .footer-copy, .footer-links-row {
  vertical-align: middle;
}