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

:root {
  --yellow: #fce477;
  --gray-light: #f5f5f5;
  --gray-mid: #e0e0e0;
  --gray-text: #555;
  --text: #1a1a1a;
  --radius: 12px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--gray-mid);
  padding: 0 24px;
}

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

.logo { text-decoration: none; }

.nav-logo {
  height: 40px;
  width: auto;
  display: block;
}

.shop-link {
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}

/* POLICY CONTENT */
.policy-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.policy-page h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 32px;
}

.policy-page h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 32px 0 8px;
}

.policy-page p {
  margin-bottom: 12px;
  color: #333;
}

.policy-page ul {
  margin: 8px 0 16px 24px;
  color: #333;
}

.policy-page ul li {
  margin-bottom: 6px;
}

.policy-page a {
  color: var(--text);
  text-decoration: underline;
}

.last-updated {
  color: var(--gray-text);
  font-size: 0.875rem;
  margin-bottom: 24px !important;
}

/* CONTACT PAGE */
.contact-block {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0 32px;
}

.contact-block h2 {
  margin-top: 16px;
  font-size: 1rem;
}

.contact-block h2:first-child { margin-top: 0; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.875rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  background: #fff;
}

.contact-form textarea { resize: vertical; }

.submit-btn {
  align-self: flex-start;
  background: var(--yellow);
  border: 2px solid #999999;
  border-radius: 8px;
  padding: 10px 24px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 8px;
}

.submit-btn:hover { background: #f5d230; }

/* COOKIE TOGGLES */
.cookie-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-mid);
}

.cookie-info { flex: 1; }
.cookie-info p { font-size: 0.875rem; color: var(--gray-text); margin-top: 4px; }

.cookie-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.always-on {
  background: var(--gray-mid);
  color: var(--gray-text);
  margin-top: 2px;
}

.toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.toggle input { display: none; }

.slider {
  position: absolute;
  inset: 0;
  background: var(--gray-mid);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s;
}

.slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}

.toggle input:checked + .slider { background: #1a1a1a; }
.toggle input:checked + .slider::before { transform: translateX(20px); }

/* FOOTER */
footer {
  border-top: 1px solid var(--gray-mid);
  padding: 40px 24px;
  text-align: center;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--gray-text);
  text-decoration: none;
}

.footer-links a:hover { text-decoration: underline; }

.footer-copy { font-size: 0.75rem; color: #999; }
