/* Cookie Policy Page Styles */

.cookie-policy-page {
  padding-top: var(--spacing-48);
  padding-bottom: var(--spacing-48);
}

.cookie-policy-section {
  padding: var(--spacing-48) 0;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--container-padding-x);
}

/* Botanical divider */
.botanical-divider {
  height: 1px;
  background: var(--color-borderSubtle);
  margin: var(--spacing-32) 0;
  position: relative;
}

.botanical-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 20px;
  background: var(--color-background);
  /* Simple leaf-like shape using CSS */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C87D55'%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8zm-2-9c0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2-2 .9-2 2z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Section Intro */
.section-intro h1 {
  margin-bottom: var(--spacing-24);
}

.section-intro h2 {
  margin-top: var(--spacing-32);
  margin-bottom: var(--spacing-16);
}

.section-intro p {
  max-width: 70ch;
  margin-bottom: var(--spacing-24);
}

.highlight-box {
  background: var(--color-surface);
  padding: var(--spacing-24);
  margin-top: var(--spacing-32);
  margin-bottom: var(--spacing-32);
}

.highlight-box h2 {
  margin-top: 0;
}

.highlight-box p {
  max-width: 70ch;
  margin-bottom: 0;
}

/* Section Types */
.section-types h2 {
  margin-bottom: var(--spacing-32);
}

.cookie-type-card {
  background: var(--color-background);
  border: 1px solid var(--color-borderSubtle);
  border-radius: 0;
  padding: var(--spacing-24);
  margin-bottom: var(--spacing-24);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cookie-type-card:last-child {
  margin-bottom: 0;
}

.cookie-type-card h3 {
  margin-bottom: var(--spacing-16);
}

.cookie-type-card p {
  max-width: 70ch;
  margin-bottom: 0;
}

/* Section Manage */
.section-manage h2 {
  margin-bottom: var(--spacing-24);
}

.section-manage h3 {
  margin-bottom: var(--spacing-16);
}

.section-manage p {
  max-width: 70ch;
  margin-bottom: var(--spacing-24);
}

.browser-instructions-card {
  background: var(--color-surface);
  padding: var(--spacing-24);
  margin-bottom: var(--spacing-32);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.browser-instructions-card ul {
  list-style: none !important;
  padding-left: 0;
  margin-bottom: 0;
}

.browser-instructions-card li {
  margin-bottom: var(--spacing-8);
}

.browser-instructions-card li:last-child {
  margin-bottom: 0;
}

.browser-instructions-card strong {
  font-weight: 600;
}

.consent-trigger {
  margin-top: var(--spacing-16);
  display: inline-block;
}

/* Section List */
.section-list h2 {
  margin-bottom: var(--spacing-24);
}

.section-list p {
  max-width: 70ch;
  margin-bottom: var(--spacing-24);
}

.cookie-table-card {
  background: var(--color-background);
  border: 1px solid var(--color-borderSubtle);
  border-radius: 0;
  padding: var(--spacing-24);
  overflow-x: auto;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cookie-table-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--small-size);
  line-height: var(--small-line-height);
}

.cookie-table-card th,
.cookie-table-card td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--color-borderSubtle);
  text-align: left;
}

.cookie-table-card th {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: var(--letter-spacing-heading);
}

.cookie-table-card tr:nth-child(even) {
  background-color: var(--color-surface);
}

/* Section Contact */
.section-contact h2 {
  margin-bottom: var(--spacing-16);
}

.section-contact p {
  max-width: 70ch;
  margin-bottom: var(--spacing-24);
}

.contact-details {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contact-details p {
  margin-bottom: var(--spacing-8);
}

.contact-details a {
  color: var(--color-accent);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-policy-page {
    padding-top: var(--spacing-32);
    padding-bottom: var(--spacing-32);
  }

  .cookie-policy-section {
    padding: var(--spacing-32) 0;
  }

  .content-wrapper {
    padding: 0 var(--spacing-16);
  }

  .cookie-type-card,
  .browser-instructions-card,
  .cookie-table-card {
    padding: var(--spacing-16);
  }

  .cookie-table-card table {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .cookie-table-card th,
  .cookie-table-card td {
    padding: 0.5rem;
  }

  .botanical-divider {
    margin: var(--spacing-24) 0;
  }

  .botanical-divider::after {
    width: 30px;
    height: 15px;
  }
}
