/* ============================================================
   BOOKSBYAMA — COOKIE POLICY PAGE
   ============================================================ */

/* ── HERO ─────────────────────────────────────────────────── */
.cookie-hero {
  background: var(--bg-page);
  padding: 110px 0 70px;
  border-bottom: 1px solid var(--border);
}
.cookie-hero__inner { text-align: center; }
.cookie-hero__text {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.cookie-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0;
}
.cookie-hero__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
  margin: 0;
}

/* ── CONTENT ──────────────────────────────────────────────── */
.cookie-content { background: var(--bg-surface); padding: 80px 0; }
.cookie-content__layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.cookie-content__card {
  background: var(--bg-page);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 48px 56px;
}
.cookie-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.cookie-visual__img {
  width: 100%;
  max-width: 336px;
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(45, 42, 74, .16));
}
.cookie-content__body h2,
.cookie-content__body h3 {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin: 36px 0 14px;
}
.cookie-content__body h2 { font-size: 1.55rem; }
.cookie-content__body h3 { font-size: 1.25rem; }
.cookie-content__body h2:first-child,
.cookie-content__body h3:first-child { margin-top: 0; }
.cookie-content__body p,
.cookie-content__body li {
  font-size: .97rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 14px;
}
.cookie-content__body ul,
.cookie-content__body ol { padding-left: 1.25rem; margin: 0 0 18px; }
.cookie-content__body a { color: var(--purple); font-weight: 600; text-decoration: none; }
.cookie-content__body a:hover { text-decoration: underline; }
.cookie-content__body strong { color: var(--text-primary); }

.cookie-content__empty { text-align: center; padding: 24px 0; }
.cookie-content__empty h2 {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 12px;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cookie-content__layout { grid-template-columns: 1fr; gap: 40px; }
  .cookie-visual { max-width: 300px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .cookie-hero { padding: 80px 0 48px; }
  .cookie-content { padding: 56px 0; }
  .cookie-content__card { padding: 32px 24px; }
  .cookie-content__body h2 { font-size: 1.35rem; }
  .cookie-visual { max-width: 260px; }
}
