/* Tick & Tackle — shared store chrome (utility bar, dark header, category nav, footer).
   Layout: outdoor-retailer storefront — dark bark header, white shelves, hunter-orange calls to action.
   Single committed light look; every color is set explicitly. */
:root {
  --bark: #2e2a20;         /* header + footer */
  --bark-2: #3b3629;
  --paper: #ffffff;
  --shelf: #f3f2ee;        /* card / band background */
  --ink: #1d1b16;
  --muted: #5f5b50;
  --rule: #e2e0d8;
  --blaze: #e8601c;        /* hunter orange */
  --blaze-dark: #c44b10;
  --cream: #f1e3cf;        /* hero lettering */
  --display: "Bowlby One", "Arial Black", Impact, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { background: var(--paper); color: var(--ink); }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.55; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; margin: 0; line-height: 1.1; }
p { margin: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, label:focus-within { outline: 3px solid var(--blaze); outline-offset: 2px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* Utility bar */
.utility { background: var(--paper); border-bottom: 1px solid var(--rule); font-size: 14px; }
.utility .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 8px; }
.utility nav { display: flex; gap: 22px; flex-wrap: wrap; }
.utility a { text-decoration: none; }
.utility a:hover { text-decoration: underline; }
.utility .phone { font-weight: 600; }

/* Store header */
.store-head { background: var(--bark); color: #fff; }
.store-head .top { display: flex; align-items: center; gap: 28px; padding-block: 18px; flex-wrap: wrap; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: .9; }
.logo b { font-family: var(--display); font-weight: 400; font-size: 34px; color: var(--blaze); letter-spacing: .01em; -webkit-text-stroke: 1.5px #b3260f; paint-order: stroke fill; text-shadow: 0 2px 0 #8f1d0b; }
.logo small { font-family: var(--display); font-size: 11px; letter-spacing: .32em; color: #e8d9c3; margin-top: 4px; padding-left: 2px; }
.search { flex: 1 1 280px; min-width: 0; display: flex; align-items: center; gap: 10px; border: 1px solid #6b6455; border-radius: 999px; padding: 10px 18px; color: #bdb5a4; }
.search input { all: unset; flex: 1; min-width: 0; color: #fff; font: inherit; }
.search input::placeholder { color: #a39b89; }
.head-icons { display: flex; gap: 18px; align-items: center; }
.head-icons a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; text-decoration: none; }
.head-icons a.cart { background: #3f4c5c; position: relative; }
.head-icons .count { position: absolute; top: -2px; right: -2px; background: var(--blaze); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.cats { display: flex; gap: 6px 30px; flex-wrap: wrap; padding-block: 4px 18px; font-size: 16px; font-weight: 500; }
.cats a { text-decoration: none; color: #f2ede4; padding-block: 4px; border-bottom: 2px solid transparent; }
.cats a:hover, .cats a[aria-current="page"] { border-color: var(--blaze); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 15px/1 var(--body); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer; background: var(--blaze); color: #fff; }
.btn:hover { background: var(--blaze-dark); }
.pill { display: inline-block; background: var(--blaze); color: #fff; font-family: var(--display); font-size: 20px; letter-spacing: .03em; padding: 8px 22px; border-radius: 999px; }

/* Footer */
.store-foot { background: var(--bark); color: #e9e3d6; margin-top: 72px; }
.store-foot .help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-block: 36px; border-bottom: 1px solid #4a4436; }
.store-foot .help div { display: grid; gap: 2px; }
.store-foot .help b { font-size: 17px; color: #fff; }
.store-foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-block: 36px; }
.store-foot h4 { margin: 0 0 12px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.store-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.store-foot a { text-decoration: none; }
.store-foot a:hover { text-decoration: underline; }
.store-foot .news p { font-size: 15px; margin-bottom: 12px; }
.store-foot .news form { display: flex; gap: 8px; flex-wrap: wrap; }
.store-foot .news input { flex: 1 1 180px; min-width: 0; padding: 12px 16px; border-radius: 999px; border: 1px solid #6b6455; background: var(--bark-2); color: #fff; font: inherit; }
.store-foot .legal { border-top: 1px solid #4a4436; padding-block: 18px; font-size: 13px; color: #b9b19f; }

/* Placeholder text John still needs to fill in */
.todo { background: #fff1c2; color: #5a4300; border-radius: 3px; padding: 0 4px; }

/* Toast used by "Add to cart" until checkout is live */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 10px; font-size: 15px; max-width: calc(100% - 32px); box-shadow: 0 8px 30px rgb(0 0 0 / .25); z-index: 20; }

@media (max-width: 760px) {
  .logo b { font-size: 28px; }
  .store-head .top { gap: 16px; }
  .search { order: 3; flex-basis: 100%; }
  .head-icons { margin-left: auto; }
  .cats { gap: 4px 20px; font-size: 15px; }
  .store-foot .help, .store-foot .cols { grid-template-columns: 1fr; }
}
