/* Kestrel Trail Outfitters: styles shared by every page (tokens, header, buttons, footer). */
:root {
  --green: #1f3d2b;
  --green-2: #2c5a46;
  --night: #0f2a2a;
  --cream: #faf7f2;
  --line: #e4ddd1;
  --text: #1d241f;
  --muted: #5d665f;
  --orange: #c4511f;
  --orange-dark: #a3411a;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
/* Announcement, header, main (fills the rest), footer. */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; font-family: var(--sans); color: var(--text); background: var(--cream); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
svg { display: block; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }

.announce { background: var(--green); color: #e9efe9; font-size: .82rem; text-align: center; padding: 7px 16px; }

.header { background: var(--cream); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 32px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); }
.logo b { font-family: var(--serif); font-size: 1.2rem; line-height: 1.05; display: block; white-space: nowrap; }
.logo small { display: block; font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.menu { display: flex; gap: 24px; list-style: none; }
.menu a { text-decoration: none; font-size: .93rem; font-weight: 500; }
.menu a:hover { color: var(--orange); }
.tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; width: 38px; height: 38px; border-radius: 10px; border: 0; background: transparent; color: var(--green); display: grid; place-items: center; cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: #f1ebe1; }
.icon-btn[aria-current="page"] { background: #ece4d6; }
.count { position: absolute; top: 2px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--orange); color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; }
.lang { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 5px 10px; font: 600 .78rem var(--sans); color: var(--green); cursor: pointer; margin-left: 6px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 22px; font: 600 .93rem var(--sans); text-decoration: none; cursor: pointer; transition: background .15s ease; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-primary:disabled { background: #d9a58c; cursor: not-allowed; }
.btn-light { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.btn-light:hover { background: rgba(255, 255, 255, .24); }
.btn-outline { background: #fff; color: var(--green); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--green); }
.btn-sm { padding: 7px 14px; font-size: .84rem; }

/* Product thumbnails */
.thumb { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.thumb svg { width: 34px; height: 34px; }
.t1 { background: #e7eee9; } .t2 { background: #f1e6dc; } .t3 { background: #f4e3da; }
.t4 { background: #e3ebf0; } .t5 { background: #f4ead6; } .t6 { background: #e5e8f3; }

/* Footer: one compact strip */
.footer { background: #12261c; color: #b9c7bd; font-size: .82rem; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-top: 14px; padding-bottom: 14px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer a, .footer button { color: #dfe8e4; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.footer a:hover, .footer button:hover { color: #fff; text-decoration: underline; }
.footer .officer a { color: #f3c9a8; }

/* Kept near the top so the bottom of the screen stays clear for the Clym widget. */
.toast { position: fixed; top: 80px; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: .9rem; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); z-index: 30; }

/* Presenter panel (?demo=1): which consent level this page is, which services ran, which cookies are set. */
.demo-panel { position: fixed; top: 112px; right: 12px; z-index: 40; width: 300px; max-width: calc(100vw - 24px); background: #fff; color: var(--text); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 12px; box-shadow: 0 14px 34px rgba(0, 0, 0, .2); font-size: .8rem; line-height: 1.4; }
.demo-panel header { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--green); }
.demo-panel header button { border: 0; background: none; font: 600 .78rem var(--sans); color: var(--muted); cursor: pointer; }
.demo-panel .body { padding: 8px 12px 10px; }
.demo-panel h4 { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 8px 0 4px; }
.demo-panel ul { list-style: none; }
.demo-panel li { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; }
.demo-panel code { font-size: .74rem; word-break: break-all; }
.demo-panel .on { color: #1d7a45; font-weight: 600; }
.demo-panel .off { color: #9a3b18; font-weight: 600; }
.demo-panel .actions { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.demo-panel .actions button { border: 1px solid var(--line); background: var(--cream); border-radius: 8px; padding: 4px 8px; font: 600 .74rem var(--sans); color: var(--green); cursor: pointer; }
.demo-panel.collapsed .body { display: none; }

@media (max-width: 900px) {
  .menu { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .announce { display: none; }
  .header .wrap { height: 56px; gap: 12px; }
  .logo small, .tools .search { display: none; }
  .footer { font-size: .76rem; line-height: 1.45; }
  .footer .wrap { padding-top: 10px; padding-bottom: 10px; gap: 4px 16px; }
  .footer nav { gap: 2px 14px; }
}
