/* =========================================================
   COOKIE POLICY PAGE — add-ons on top of privacy.css
   (hero + body layout are inherited from .privacy_* in privacy.css;
    this file only styles the cookie table, category list and extras)
   ========================================================= */

/* ----- "Last updated" line under the title ----- */
.privacy__updated {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 130%;
  color: #9A9A9A;
  margin: 0 auto 32px;
}

/* ----- Category list (reuses banner labels) ----- */
.cookie-cats {
  list-style: none;
  margin: 8px 0 24px;
  padding: 0;
  display: grid;
  gap: 20px;
}
.cookie-cat {
  border-left: 2px solid #232323;
  padding: 4px 0 4px 24px;
}
.cookie-cat__name {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 130%;
  color: #010101;
  margin-bottom: 6px;
}
.cookie-cat__desc {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 140%;
  color: #3C3C3B;
}

/* ----- Specific-cookies table ----- */
.cookie-table-wrap {
  margin: 8px 0 24px;
  overflow-x: auto;
}
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 140%;
  color: #3C3C3B;
}
.cookie-table thead th {
  text-align: left;
  font-weight: 500;
  font-size: 18px;
  color: #010101;
  background: #F4F4F2;
  padding: 14px 16px;
  border-bottom: 1.6px solid #232323;
  white-space: nowrap;
}
.cookie-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #E2E2E0;
  vertical-align: top;
}
.cookie-table tbody tr:last-child td { border-bottom: none; }
.cookie-table code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 15px;
  background: #F4F4F2;
  border-radius: 4px;
  padding: 2px 6px;
  color: #010101;
  white-space: nowrap;
}

/* ----- "Manage cookies" button (extends .privacy__back-btn) ----- */
.cookie-manage-btn {
  margin: 4px 0 8px;
}

/* ----- Contact channels ----- */
.cookie-contact {
  list-style: none;
  margin: 8px 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}
.cookie-contact a {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 130%;
  color: #010101;
  text-decoration: none;
  border-bottom: 1px solid #232323;
  transition: opacity .2s;
}
.cookie-contact a:hover { opacity: .6; }

/* ----- Inline link (cross-link to privacy policy) ----- */
.cookie-inline-link {
  color: #010101;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity .2s;
}
.cookie-inline-link:hover { opacity: .6; }

/* =========================================================
   ADAPTIVE — 1200px
   ========================================================= */
@media (max-width: 1200px) {
  .privacy__updated { font-size: 15px; margin-bottom: 24px; }
  .cookie-cat__name { font-size: 18px; }
  .cookie-cat__desc { font-size: 16px; }
  .cookie-table { font-size: 16px; }
  .cookie-table thead th { font-size: 16px; padding: 12px 14px; }
  .cookie-table tbody td { padding: 12px 14px; }
  .cookie-contact a { font-size: 18px; }
}

/* =========================================================
   ADAPTIVE — 768px : the table collapses into stacked cards
   ========================================================= */
@media (max-width: 768px) {
  .privacy__updated { font-size: 13px; }
  .cookie-cats { gap: 16px; }
  .cookie-cat { padding-left: 16px; }
  .cookie-cat__name { font-size: 16px; }
  .cookie-cat__desc { font-size: 14px; }

  .cookie-table-wrap { overflow-x: visible; }
  .cookie-table thead { display: none; }
  .cookie-table,
  .cookie-table tbody,
  .cookie-table tr,
  .cookie-table td { display: block; width: 100%; }
  .cookie-table tr {
    border: 1px solid #E2E2E0;
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 4px 0;
  }
  .cookie-table tbody td {
    border-bottom: 1px solid #F0F0EE;
    padding: 10px 14px;
    font-size: 14px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: flex-start;
  }
  .cookie-table tbody tr td:last-child { border-bottom: none; }
  .cookie-table tbody td::before {
    content: attr(data-th);
    font-weight: 500;
    color: #010101;
    flex: 0 0 38%;
  }
  .cookie-table td > code { white-space: normal; word-break: break-word; }
  .cookie-contact a { font-size: 16px; }
}

/* =========================================================
   ADAPTIVE — 360px
   ========================================================= */
@media (max-width: 360px) {
  .cookie-table tbody td { flex-direction: column; gap: 2px; }
  .cookie-table tbody td::before { flex-basis: auto; }
}
