/* Shetach Deals · camping checklist · created by Eldan Ben Ami */
:root {
  --forest: #1C3126;
  --forest-2: #24402F;
  --ember: #D8742A;
  --cream: #F1E3C2;
}

/* header */
.ck-top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 58px; padding: 0 var(--gutter);
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.ck-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; }
.ck-pill {
  display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px;
  background: var(--forest); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none;
}

/* hero */
.ck-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--forest); }
.ck-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 22% 58%; z-index: -2; }
.ck-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(14, 27, 20, .94) 0%, rgba(14, 27, 20, .7) 55%, rgba(14, 27, 20, .3) 100%);
}
.ck-hero__in { max-width: 860px; margin: 0 auto; padding: 120px var(--gutter) 30px; }
.ck-hero h1 { margin: 0; font-weight: 800; font-size: clamp(34px, 8.5vw, 60px); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.ck-lede { margin: 12px 0 0; font-size: clamp(17px, 2.4vw, 20px); line-height: 1.5; max-width: 56ch; color: #F6EEDB; }
.ck-meta { margin: 10px 0 0; font-size: 14px; color: var(--cream); opacity: .85; }

/* progress bar */
.ck-bar { position: sticky; top: 58px; z-index: 20; background: var(--chalk); border-bottom: 1px solid var(--line); }
.ck-bar__in { max-width: 860px; margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ck-progress { margin: 0; font-size: 15px; font-variant-numeric: tabular-nums; }
.ck-progress b { font-size: 20px; }
.ck-meter { flex: 1 1 120px; height: 8px; border-radius: 99px; background: var(--dust); overflow: hidden; min-width: 80px; }
.ck-meter i { display: block; height: 100%; width: 0; background: var(--ember); border-radius: 99px; transition: width .25s; }
.ck-reset { background: none; border: 0; padding: 6px 0; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }

/* list */
.ck-main { max-width: 860px; margin: 0 auto; padding: 18px var(--gutter) 48px; }
.ck-how { margin: 4px 0 18px; color: var(--ink-2); max-width: 66ch; }
.toc ul { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 13px; border-radius: 999px;
  background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); text-decoration: none; font-size: 14.5px; font-weight: 600;
}
.ck-sec { margin-top: 30px; scroll-margin-top: 120px; }
.ck-sec h2 { margin: 0 0 6px; font-size: 23px; line-height: 1.25; display: flex; align-items: baseline; gap: 10px; }
.ck-sec h2::before { content: ''; width: 10px; height: 10px; border-radius: 2px; background: var(--ember); flex: none; transform: translateY(-2px); }
.ck-count { font-size: 14px; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ck-intro { margin: 0 0 10px; color: var(--ink-2); max-width: 66ch; }
.ck-list { list-style: none; margin: 0; padding: 0; background: var(--paper); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.ck-item { position: relative; padding: 12px 14px; border-top: 1px solid var(--line); }
.ck-item:first-child { border-top: 0; }
.ck-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ck-item label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; min-height: 28px; }
.ck-box {
  flex: none; width: 24px; height: 24px; border-radius: 6px; margin-top: 1px;
  box-shadow: inset 0 0 0 2px #9BA08F; background: var(--paper); display: grid; place-items: center;
}
.ck-box::after { content: ''; width: 12px; height: 7px; border: 3px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.ck-item input:checked + label .ck-box { background: var(--forest); box-shadow: none; }
.ck-item input:checked + label .ck-box::after { opacity: 1; }
.ck-item input:focus-visible + label .ck-box { outline: 3px solid var(--ember); outline-offset: 2px; }
.ck-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ck-text b { font-size: 16.5px; font-weight: 600; }
.ck-note { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.ck-item input:checked + label .ck-text b { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--ink-2); }
.ck-prods { display: flex; gap: 8px; margin: 10px 36px 2px 0; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.ck-prods::-webkit-scrollbar { display: none; }
.ck-prod {
  flex: none; display: grid; grid-template-columns: 44px auto; grid-template-rows: auto auto; column-gap: 9px; align-items: center;
  max-width: 250px; padding: 6px 10px 6px 6px; border-radius: 10px; background: var(--chalk); text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--line);
}
.ck-prod img { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 7px; object-fit: cover; background: #fff; }
.ck-prod span { font-size: 13.5px; font-weight: 600; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.ck-prod b { font-size: 13px; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ck-prod:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

.ck-tips { margin-top: 36px; padding: 18px 20px; background: var(--forest); color: #F3EDE0; border-radius: 12px; }
.ck-tips h2 { margin: 0 0 8px; font-size: 22px; color: #fff; }
.ck-tips ul { margin: 0; padding-inline-start: 20px; }
.ck-tips li { margin: 8px 0; line-height: 1.6; max-width: 66ch; }
.ck-tips b { color: var(--cream); }

/* footer, same as the product sites */
.foot { background: var(--ink); color: #E3E5DC; padding: 32px var(--gutter) 44px; margin-top: 8px; }
.foot > * { max-width: 1120px; margin-inline: auto; }
.foot__disclose { margin: 0 auto 10px; font-size: 14px; line-height: 1.6; max-width: 62ch; color: #C9CDBF; }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 14px auto 12px; }
.foot__links a { color: #fff; font-size: 14.5px; min-height: 32px; display: inline-flex; align-items: center; }
.foot__meta { margin: 0 auto; font-size: 13px; color: #A9AE9E; }

@media (min-width: 760px) {
  .ck-hero__in { padding-top: 170px; padding-bottom: 40px; }
}
