/* =========================================================================
   ZEN Z — cookie notice.

   Self-contained on purpose. This bar renders on /privacy and /terms, which
   still use the old zenz.css navy system, as well as on every page built on
   zenz-order.css — so it carries its own colours rather than inheriting two
   different ones. Nothing here relies on a variable defined elsewhere.

   Every rule lives in this file because zenzindia.com serves
   `style-src 'self'`: a style attribute on this host is dropped silently and
   the bar would render unstyled across the whole page.
   ========================================================================= */

.ck-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #FFFBF5;
  border-top: 1px solid #E2D3C2;
  box-shadow: 0 -18px 44px -24px rgba(23, 18, 14, .45);
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  animation: ck-rise .28s cubic-bezier(.22, .61, .36, 1) both;
}

@keyframes ck-rise {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .ck-bar { animation: none; }
}

.ck-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.ck-text { flex: 1 1 auto; min-width: 0; }

.ck-head {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #17120E;
  letter-spacing: -.01em;
}

.ck-body {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #4B4038;
  max-width: 78ch;
}

/* Scoped to .ck-bar deliberately. zenzindia.com ships `.zenz a{color:inherit;
   text-decoration:none}`, which outranks a bare .ck-link and rendered the one
   link in the notice as plain body text — a cookie policy nobody can see they
   can click. Any site stylesheet with an element-plus-class `a` rule does the
   same, so every copy of this file carries the stronger selector. */
.ck-bar .ck-link {
  color: #E8500F;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ck-bar .ck-link:hover { color: #FF6B2C; }

.ck-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
}

.ck-btn {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 20px;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.ck-btn:focus-visible {
  outline: 2px solid #FF6B2C;
  outline-offset: 2px;
}

/* Refuse and accept are the same size and the same weight. The only
   difference is fill, and that is as far as the nudge is allowed to go. */
.ck-btn-solid {
  background: #FF6B2C;
  border: 1px solid #FF6B2C;
  color: #fff;
}

.ck-btn-solid:hover { background: #E8500F; border-color: #E8500F; }

.ck-btn-ghost {
  background: #fff;
  border: 1px solid #E2D3C2;
  color: #2A211A;
}

.ck-btn-ghost:hover { border-color: #8A7A6C; }

@media (max-width: 720px) {
  .ck-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .ck-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .ck-btn { width: 100%; padding: 13px 12px; }
  .ck-body { font-size: 13px; }
}

/* ------------------------------------------------------ policy page bits */

.ck-state {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #FDF4E8;
  border: 1px solid #E2D3C2;
  font-size: 13px;
  font-weight: 600;
  color: #2A211A;
}

.ck-change {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 12px;
  background: #17120E;
  border: 1px solid #17120E;
  color: #fff;
  cursor: pointer;
}

.ck-change:hover { background: #2A211A; }

/* --------------------------------------------------- cookie table (/cookies)
   zenz.css carries no table styling — the legal pages have never needed one —
   so the table the policy is built around lives here with the rest of the
   consent UI rather than being bolted onto the site stylesheet. */

.ck-table-wrap {
  overflow-x: auto;
  border: 1px solid #E2D3C2;
  border-radius: 12px;
  margin-top: 1rem;
}

.ck-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.5;
  color: #4B4038;
}

.ck-table th,
.ck-table td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid #EFE4D8;
  vertical-align: top;
}

.ck-table tr:last-child td { border-bottom: 0; }

.ck-table th {
  background: #FDF4E8;
  color: #17120E;
  font-weight: 700;
  white-space: nowrap;
}

.ck-table code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  background: #FFFBF5;
  border: 1px solid #EFE4D8;
  border-radius: 5px;
  padding: 1px 5px;
}

.ck-choice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 1rem;
}
