/* Mountain Ranger Provisions: concept mockup stylesheet.
   One file, no framework, no build step. Deploys as-is to Cloudflare Pages. */

:root {
  --pine: #13261c;
  --forest: #1e3a2b;
  --forest-2: #2b5240;
  --khaki: #cdb98a;
  --khaki-2: #b59f6c;
  --paper: #f6efdd;
  --paper-2: #ece2c6;
  --card: #fffaf0;
  --ink: #1c1b17;
  --muted: #5f5b4d;
  --line: #d8ccab;
  --chile: #b3301e;
  --chile-dark: #8c2314;
  --ember: #e07a2e;
  --ok: #2f6b3f;
  --warn-bg: #fff3c4;
  --warn-line: #c9a227;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(19, 38, 28, .08), 0 8px 24px rgba(19, 38, 28, .10);
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; letter-spacing: .01em; }
h1 { font-weight: 900; text-transform: uppercase; }
h2 { font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 5vw, 52px); }
h3 { font-weight: 800; font-size: 26px; text-transform: uppercase; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }

/* ---- mockup ribbon: says plainly what is placeholder ---- */
.ribbon {
  background: var(--warn-bg);
  border-bottom: 2px dashed var(--warn-line);
  color: #4d3d00;
  font-size: 14px;
  padding: 8px 0;
}
.ribbon .wrap { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.ribbon b { text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.ph {
  display: inline-block;
  border: 1px dashed var(--warn-line);
  background: var(--warn-bg);
  color: #5a4700;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 1px 8px;
  vertical-align: middle;
  white-space: nowrap;
}

/* ---- header ---- */
.site-header { background: var(--pine); color: var(--paper); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 54px; height: 54px; flex: none; }
.brand-name { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .95; font-size: 22px; letter-spacing: .03em; }
.brand-name small { display: block; font-size: 13px; font-weight: 700; color: var(--khaki); letter-spacing: .18em; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; opacity: .9; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--ember); text-decoration-thickness: 2px; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ember); color: var(--pine) !important; opacity: 1 !important;
  border-radius: 999px; padding: 9px 16px; font-weight: 700 !important;
}
.cart-btn .count { background: var(--pine); color: var(--paper); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12px; }
@media (max-width: 860px) {
  .site-header .wrap { flex-wrap: wrap; gap: 6px 16px; padding-top: 10px; padding-bottom: 10px; }
  .nav { width: 100%; margin-left: 0; overflow-x: auto; gap: 18px; padding-bottom: 4px; }
  .nav .cart-btn { margin-left: auto; }
  .nav .hide-sm { display: none; }
  .brand svg { width: 44px; height: 44px; }
  .hero-scene { height: 34%; }
  .hero-scene circle { display: none; }
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer;
  border-radius: 999px; padding: 15px 24px; border: 2px solid transparent;
}
.btn-primary { background: var(--chile); color: #fff; }
.btn-primary:hover { background: var(--chile-dark); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-dark { background: var(--pine); color: var(--paper); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---- hero ---- */
.hero { background: var(--forest); color: var(--paper); position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: end; padding-top: 72px; padding-bottom: 0; }
.hero-copy { padding-bottom: 96px; }
.eyebrow { font-family: var(--display); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--khaki); font-size: 16px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(60px, 9.5vw, 124px); color: var(--paper); }
.hero h1 em { font-style: normal; color: var(--ember); position: relative; }
.hero h1 em::after { content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: .09em; background: var(--paper); transform: rotate(-4deg); }
.hero .lede { font-size: 20px; max-width: 520px; margin: 22px 0 30px; color: #e9e1c9; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-bottles { display: flex; justify-content: center; align-items: flex-end; gap: 4%; padding: 0 2%; }
.hero-bottles svg { width: 22%; height: auto; filter: drop-shadow(0 12px 18px rgba(0,0,0,.35)); }
.hero-bottles svg:nth-child(2), .hero-bottles svg:nth-child(3) { width: 25%; }
.hero-scene { position: absolute; inset: auto 0 0 0; z-index: 1; height: 62%; pointer-events: none; }
.hero-scene svg { width: 100%; height: 100%; }
.hero-ground { height: 26px; background: var(--paper); position: relative; z-index: 3; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-copy { padding-bottom: 8px; }
  .hero-bottles { max-width: 460px; margin: 0 auto; }
}

/* ---- sections ---- */
section { padding: 84px 0; }
@media (max-width: 560px) { section { padding: 56px 0; } }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head p { max-width: 520px; color: var(--muted); margin: 0; }
.band-dark { background: var(--pine); color: var(--paper); }
.band-khaki { background: var(--paper-2); }

/* ---- lineup cards (home) ---- */
.lineup { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lineup a { text-decoration: none; }
.bottle-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px 20px; display: flex; flex-direction: column; align-items: center; text-align: center;
  box-shadow: var(--shadow); height: 100%; transition: transform .15s ease;
}
.bottle-card:hover { transform: translateY(-3px); }
.bottle-card svg { height: 210px; width: auto; margin-bottom: 14px; }
.bottle-card h3 { font-size: 30px; }
.bottle-card .meta { font-size: 14px; color: var(--muted); margin-top: 6px; }
@media (max-width: 860px) { .lineup { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .bottle-card svg { height: 160px; } }

/* ---- steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { border-top: 3px solid var(--ember); padding-top: 20px; }
.step .num { font-family: var(--display); font-weight: 900; font-size: 64px; line-height: 1; color: var(--khaki); }
.step h3 { margin: 6px 0 8px; color: var(--paper); }
.step p { color: #d9d1b8; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---- story ---- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.story blockquote { margin: 0 0 22px; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.08; text-transform: uppercase; color: var(--forest); }
.story cite { display: block; font: 500 14px/1.4 var(--body); color: var(--muted); text-transform: none; margin-top: 10px; font-style: normal; }
.route { background: var(--forest); border-radius: var(--radius); padding: 28px; color: var(--paper); box-shadow: var(--shadow); }
.route svg { width: 100%; height: auto; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; gap: 28px; } }

/* ---- find us ---- */
.find-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.find-card { background: var(--card); border: 1px dashed var(--khaki-2); border-radius: var(--radius); padding: 22px; }
.find-card h3 { font-size: 22px; margin-bottom: 8px; }
.find-card p { color: var(--muted); margin: 0; font-size: 15px; }
@media (max-width: 860px) { .find-grid { grid-template-columns: 1fr; } }

/* ---- footer ---- */
.site-footer { background: var(--pine); color: #cfc7ad; padding: 54px 0 30px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--khaki); margin: 0 0 10px; font-size: 15px; }
.site-footer a { text-decoration: none; display: block; padding: 3px 0; }
.site-footer a.brand { display: flex; }
.site-footer .fine { border-top: 1px solid rgba(205,185,138,.2); margin-top: 36px; padding-top: 18px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.made-badge { display: inline-flex; align-items: center; gap: 10px; border: 2px solid var(--khaki); color: var(--khaki); border-radius: 999px; padding: 6px 14px; font-family: var(--display); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; margin-top: 14px; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* ---- page header (inner pages) ---- */
.page-head { background: var(--forest); color: var(--paper); padding: 54px 0 46px; }
.page-head h1 { font-size: clamp(48px, 7vw, 84px); }
.page-head p { color: #ded6bc; max-width: 620px; margin: 12px 0 0; font-size: 18px; }

/* ---- products (sauces page) ---- */
.catalog { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.product {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 22px;
}
.product .art { display: grid; place-items: center; border-radius: 10px; padding: 10px 0; }
.product .art svg { height: 190px; width: auto; }
.product h3 { font-size: 34px; }
.product .desc { color: var(--muted); font-size: 15px; margin: 8px 0 10px; }
.heat { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 12px; flex-wrap: wrap; }
.heat .chiles { display: inline-flex; gap: 2px; }
.heat .chiles svg { width: 16px; height: 16px; }
.price-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.price { font-family: var(--display); font-weight: 900; font-size: 30px; }
.buy-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 38px; height: 40px; border: 0; background: transparent; font-size: 20px; cursor: pointer; color: var(--ink); }
.qty span { min-width: 28px; text-align: center; font-weight: 700; }
.btn-add { padding: 12px 18px; font-size: 15px; }
.product.idea { border-style: dashed; background: transparent; box-shadow: none; }
@media (max-width: 1020px) { .catalog { grid-template-columns: 1fr; } .products { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .products { grid-template-columns: 1fr; } }
@media (max-width: 400px) { .product { grid-template-columns: 90px 1fr; padding: 16px; gap: 12px; } .product .art svg { height: 150px; } }

/* ---- order summary ---- */
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: sticky; top: 96px; }
.summary h3 { font-size: 26px; margin-bottom: 12px; }
.summary .line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--paper-2); font-size: 15px; }
.summary .line .n { color: var(--muted); }
.summary .total { display: flex; justify-content: space-between; font-weight: 700; font-size: 18px; padding: 14px 0 4px; }
.summary .empty { color: var(--muted); font-size: 15px; padding: 8px 0 14px; }
.summary .note { font-size: 13px; color: var(--muted); margin: 10px 0 16px; }

/* ---- order form ---- */
.stepper { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.stepper span { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); color: var(--muted); }
.stepper span.on { background: var(--pine); color: var(--paper); }
.order-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
@media (max-width: 1020px) { .order-layout { grid-template-columns: 1fr; } .summary { position: static; } }
fieldset { border: 0; padding: 0; margin: 0 0 30px; }
legend { font-family: var(--display); font-weight: 800; font-size: 26px; text-transform: uppercase; margin-bottom: 12px; padding: 0; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field textarea, .field select {
  font: 16px var(--body); padding: 13px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field textarea:focus { outline: 3px solid rgba(224,122,46,.35); border-color: var(--ember); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.choices { display: grid; gap: 12px; }
.choice { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: start; background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 16px; cursor: pointer; }
.choice input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--chile); }
.choice strong { display: block; font-size: 16px; }
.choice small { color: var(--muted); font-size: 14px; display: block; margin-top: 2px; }
.choice .tag { font-size: 13px; font-weight: 700; white-space: nowrap; }
.choice:has(input:checked) { border-color: var(--chile); box-shadow: 0 0 0 3px rgba(179,48,30,.12); }
.choice.disabled { opacity: .55; cursor: not-allowed; }
.turnstile { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); background: #fafafa; border-radius: 8px; padding: 12px 14px; width: 300px; max-width: 100%; font-size: 14px; color: #444; margin: 4px 0 18px; }
.turnstile .box { width: 22px; height: 22px; border: 2px solid var(--ok); border-radius: 4px; display: grid; place-items: center; color: var(--ok); font-weight: 900; }
.confirm { display: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.confirm.show { display: block; }
.confirm h2 { color: var(--forest); margin: 8px 0 12px; }
.confirm ol { padding-left: 20px; margin: 0 0 18px; }
.confirm li { margin-bottom: 8px; }
.ordno { font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: .08em; background: var(--paper-2); display: inline-block; padding: 4px 12px; border-radius: 8px; }

/* ---- about ---- */
.prose { max-width: 720px; font-size: 18px; }
.prose h2 { margin: 0 0 16px; }
.pull { border-left: 5px solid var(--ember); padding: 6px 0 6px 18px; margin: 22px 0; font-size: 20px; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 28px; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }

/* ---- admin ---- */
.admin-body { background: #eef0ea; }
.admin-top { background: var(--pine); color: var(--paper); }
.admin-top .wrap { display: flex; align-items: center; gap: 14px; min-height: 62px; flex-wrap: wrap; }
.admin-top .who { margin-left: auto; font-size: 13px; color: var(--khaki); }
.lock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; background: rgba(205,185,138,.18); color: var(--khaki); padding: 4px 10px; border-radius: 999px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 26px 0; }
.kpi { background: #fff; border-radius: 12px; padding: 16px 18px; border: 1px solid #dde1d6; }
.kpi .v { font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 1; }
.kpi .k { font-size: 13px; color: var(--muted); margin-top: 6px; }
@media (max-width: 760px) { .kpis { grid-template-columns: 1fr 1fr; } }
.admin-grid { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; padding-bottom: 48px; }
@media (max-width: 1020px) { .admin-grid { grid-template-columns: 1fr; } }
.tabs { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.tabs span { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid #dde1d6; font-size: 14px; font-weight: 600; }
.tabs span.on { background: var(--pine); color: var(--paper); border-color: var(--pine); }
.order-card { background: #fff; border: 1px solid #dde1d6; border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; }
.order-card .id { font-weight: 700; }
.order-card .when { color: var(--muted); font-size: 13px; }
.order-card .items { font-size: 15px; grid-column: 1 / -1; }
.order-card .meta { display: flex; gap: 8px; flex-wrap: wrap; grid-column: 1 / 2; }
.order-card .acts { display: flex; gap: 8px; align-items: center; grid-column: 2 / 3; grid-row: 1 / 2; }
@media (max-width: 560px) { .order-card { grid-template-columns: 1fr; } .order-card .acts { grid-column: 1; grid-row: auto; } }
.pill { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #eef0ea; }
.pill.paid { background: #dcefe0; color: #1f5a2f; }
.pill.due { background: #fde7d6; color: #8a3b0b; }
.pill.pickup { background: #e6ecf6; color: #24406e; }
.pill.deliver { background: #efe4f6; color: #59287a; }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 999px; }
.stock .row { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 10px 0; border-bottom: 1px solid #eef0ea; gap: 10px; }
.stock .row:last-child { border-bottom: 0; }
.stock .nm { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.toggle { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 12px; }
