/* ==========================================================================
   EcomHolistic Cookie Policy Page
   Clean legal text page: centered column, generous spacing, quiet typography
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.eh-cookies-hero {
  padding: 140px 24px 48px;
  background-color: var(--eh-drip-cream);
  text-align: center;
}

.eh-cookies-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.eh-cookies-hero h1 {
  font-family: var(--eh-font-heading);
  font-size: 38px;
  font-weight: 700;
  color: var(--eh-folk-dark);
  margin-bottom: 0;
  line-height: 1.2;
}

/* Fade-in on load */
.eh-cookies-fade-in {
  animation: eh-cookies-fade 0.5s ease-out both;
}

@keyframes eh-cookies-fade {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .eh-cookies-fade-in {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Content Body
   -------------------------------------------------------------------------- */
.eh-cookies-content {
  padding: 60px 24px 100px;
  background-color: var(--eh-drip-cream);
}

.eh-cookies-content-inner {
  max-width: 720px;
  margin: 0 auto;
}

/* Intro paragraph */
.eh-cookies-intro {
  font-family: var(--eh-font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--eh-folk-dark);
  margin-bottom: 40px;
}

/* Section headings */
.eh-cookies-content h2 {
  font-family: var(--eh-font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--eh-folk-dark);
  margin-top: 48px;
  margin-bottom: 16px;
  line-height: 1.3;
}

/* Body paragraphs */
.eh-cookies-content p {
  font-family: var(--eh-font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--eh-folk-mid);
  margin-bottom: 16px;
}

.eh-cookies-content p:last-child {
  margin-bottom: 0;
}

/* Bold text */
.eh-cookies-content strong {
  font-weight: 600;
  color: var(--eh-folk-dark);
}

/* Links */
.eh-cookies-content a {
  color: var(--eh-sage);
  text-decoration: none;
  transition: color 0.2s ease;
}

.eh-cookies-content a:hover {
  text-decoration: underline;
}

/* Browser settings lines */
.eh-cookies-browser {
  margin-bottom: 6px;
}

/* --------------------------------------------------------------------------
   Cookie Table
   -------------------------------------------------------------------------- */
.eh-cookies-table-wrap {
  border: 1px solid #E0D8D2;
  border-radius: 8px;
  overflow: hidden;
  overflow-x: auto;
  margin-bottom: 16px;
  -webkit-overflow-scrolling: touch;
}

.eh-cookies-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
}

.eh-cookies-table thead th {
  font-family: var(--eh-font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--eh-folk-dark);
  background-color: #FAFAF8;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #E0D8D2;
  white-space: nowrap;
}

.eh-cookies-table tbody td {
  font-family: var(--eh-font-body);
  font-size: 14px;
  color: var(--eh-folk-mid);
  padding: 12px 16px;
  border-bottom: 1px solid #E0D8D2;
}

.eh-cookies-table tbody tr:last-child td {
  border-bottom: none;
}

.eh-cookies-table tbody tr:nth-child(even) {
  background-color: #FAFAF8;
}

/* --------------------------------------------------------------------------
   Responsive: Tablet (768-1199px)
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .eh-cookies-hero {
    padding: 120px 24px 40px;
  }

  .eh-cookies-content {
    padding: 48px 24px 80px;
  }
}

/* --------------------------------------------------------------------------
   Responsive: Mobile (< 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .eh-cookies-hero {
    padding: 100px 20px 36px;
  }

  .eh-cookies-hero h1 {
    font-size: 30px;
  }

  .eh-cookies-content {
    padding: 40px 20px 64px;
  }

  .eh-cookies-content h2 {
    font-size: 19px;
    margin-top: 40px;
  }
}

/* --------------------------------------------------------------------------
   Responsive: Small Mobile (< 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 479px) {
  .eh-cookies-hero {
    padding: 100px 20px 32px;
  }

  .eh-cookies-hero h1 {
    font-size: 28px;
  }

  .eh-cookies-content {
    padding: 36px 20px 56px;
  }

  .eh-cookies-content h2 {
    font-size: 19px;
  }

  .eh-cookies-content p {
    font-size: 15px;
  }

  .eh-cookies-intro {
    font-size: 16px;
  }
}
