/* LifeGenix — clean, minimal, product-first. Monospace, white, black. */
:root {
  --ink: #111;
  --muted: #8a8a8a;
  --line: #e6e6e6;
  --paper: #fff;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 12px/1.6 var(--mono); letter-spacing: .04em; text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, ul, ol, h1, h2, h3, figure { margin: 0; padding: 0; }
h1, h2, h3 { font-size: 12px; font-weight: 500; }
button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.muted { color: var(--muted); }
.u { border-bottom: 1px solid currentColor; }
.prose { text-transform: none; font-size: 13px; line-height: 1.75; letter-spacing: .01em; }
.prose p + p { margin-top: 1em; }
.prose a { border-bottom: 1px solid currentColor; }
.visually-hidden, .visuallyhidden, .shopify-buy--visually-hidden, .shopify-buy__visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
section { scroll-margin-top: 70px; }

/* Header */
.hdr {
  position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96);
  height: 56px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 22px;
}
.menu-btn { font-size: 24px; font-weight: 300; line-height: 1; width: 32px; height: 32px; text-align: left; }
.logo { display: flex; align-items: center; gap: 3px; }
.logo img { width: 30px; position: relative; top: 1px; }
.logo span { font: italic 600 19px/1 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -.02em; text-transform: none; }
.cart-toggle { justify-self: end; min-width: 40px; min-height: 32px; display: flex; align-items: center; justify-content: flex-end; }
.shopify-buy__cart-toggle { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.shopify-buy__cart-toggle__count { order: 2; font-size: 12px; }
.shopify-buy__icon-cart { width: 18px; height: 18px; }
.shopify-buy__icon-cart__group { fill: var(--ink); }

/* Menu overlay */
.menu { position: fixed; inset: 0; z-index: 60; background: #fff; display: none; }
.menu.open { display: block; }
.menu .close { position: absolute; top: 14px; left: 22px; font-size: 26px; font-weight: 300; line-height: 1; }
.menu ul { list-style: none; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; font-size: 14px; }
.menu a:hover { border-bottom: 1px solid var(--ink); }

/* Product grid */
.shop { padding: 64px 22px 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; max-width: 1000px; margin: 0 auto; }
.pic { height: 330px; display: flex; align-items: flex-end; justify-content: center; }
.pic img { height: 300px; width: auto; }
.pic img.tall { height: 318px; }
.name { display: block; font-weight: 500; padding: 22px 0 4px; }
.specs { width: 100%; border-collapse: collapse; }
.specs td { border-top: 1px solid var(--line); padding: 6px 0; }
.specs td:last-child { text-align: right; }
.tagline { text-align: center; color: var(--muted); padding: 56px 22px 0; }

/* Home grid (layout A): centred, name / size / price / "Add to bag +" */
.grid-a { max-width: 1080px; gap: 40px; text-align: center; }
.grid-a .pic { height: 370px; }
.grid-a .pic img { height: 330px; }
.grid-a .pic img.tall { height: 350px; }
.grid-a .meta { margin-top: 26px; line-height: 1.8; }
.buy.buy-simple { margin-top: 0; }
.buy.buy-simple .shopify-buy__product { text-align: center; }
.buy.buy-simple .shopify-buy__product__price { display: block; border: 0; padding: 0; font-weight: 400; }
.buy.buy-simple .shopify-buy__product__price::before { content: none; }
.buy.buy-simple .shopify-buy__btn-wrapper { display: block; margin-top: 10px; }
.buy.buy-simple .shopify-buy__btn, .add-link {
  display: inline-block; height: auto; background: none; color: var(--ink); border: 0;
  border-bottom: 1px solid var(--ink); padding: 0 0 2px; font-weight: 400; margin-top: 10px;
}
.buy.buy-simple .shopify-buy__btn { margin-top: 0; }
.buy.buy-simple .shopify-buy__btn:hover { background: none; color: var(--muted); border-color: var(--muted); }

/* Buy box: live Shopify price + quantity + add (fallback shown until Shopify loads) */
.buy { margin-top: 2px; }
.price-row, .buy .shopify-buy__product__price {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--ink); padding: 8px 0 0; font-weight: 500; margin: 0;
}
.buy .shopify-buy__product__price::before { content: "Price"; }
.buy .shopify-buy__product__actual-price::after { content: " CAD"; }
.buy .shopify-buy__product__compare-price { display: none; }
.qa, .buy .shopify-buy__btn-and-quantity { display: flex; gap: 8px; margin-top: 12px; }
.qty, .buy .shopify-buy__quantity-container {
  display: inline-flex; align-items: center; border: 1px solid var(--ink); height: 36px; flex: none;
}
.qty { gap: 12px; padding: 0 12px; }
.buy .shopify-buy__btn--seamless { width: 28px; height: 34px; font-size: 14px; }
.buy .shopify-buy__quantity {
  width: 28px; height: 34px; border: 0; text-align: center; font: inherit; color: var(--ink); background: none;
  -moz-appearance: textfield; appearance: textfield;
}
.buy .shopify-buy__quantity::-webkit-inner-spin-button, .buy .shopify-buy__quantity::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.add, .buy .shopify-buy__btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; height: 36px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink); font-weight: 500; cursor: pointer;
}
.add:hover, .buy .shopify-buy__btn:hover { background: #333; }
.buy .shopify-buy__btn-wrapper { flex: 1; display: flex; }
.buy .shopify-buy__btn[disabled] { background: var(--muted); border-color: var(--muted); }
.buy.is-ready .buy-fallback { display: none; }

/* Info sections */
.section { padding: 110px 22px 0; }
.inner { max-width: 1000px; margin: 0 auto; }
.label { display: block; margin-bottom: 26px; }
.labs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.lab { border-top: 1px solid var(--ink); padding-top: 10px; }
.lab strong { display: block; font-size: 28px; font-weight: 500; letter-spacing: -.01em; margin: 6px 0 4px; }
.lab a { display: inline-block; margin-top: 10px; }
.note { margin-top: 26px; color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 12px 0; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 16px; max-width: 640px; }

/* Contact */
.form { display: grid; gap: 18px; max-width: 640px; }
.form label { display: grid; gap: 6px; }
.form input, .form textarea {
  font: 13px/1.5 var(--mono); color: var(--ink); background: none; width: 100%;
  border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 8px 0;
}
.form textarea { min-height: 110px; resize: vertical; border: 1px solid var(--ink); padding: 8px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); background: #fafafa; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .send { height: 36px; padding: 0 22px; background: var(--ink); color: #fff; justify-self: start; }
.form-status { min-height: 1.6em; }
.form-status.ok { color: #1f7a4d; }
.form-status.err { color: #b42318; }

/* Newsletter (every page, above the footer) */
.join-form { display: grid; gap: 12px; max-width: 640px; }
.join-row { display: flex; gap: 12px; align-items: end; }
.join-row input { flex: 1; min-width: 0; font: 13px/1.5 var(--mono); color: var(--ink); background: none; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 8px 0; }
.join-row input:focus { outline: none; background: #fafafa; }
.join-form .send { height: 36px; padding: 0 22px; background: var(--ink); color: #fff; }
.join-form .check { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); text-transform: none; cursor: pointer; }
.join-form .check input { margin: 3px 0 0; accent-color: var(--ink); flex: none; }
.join-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.foot { margin-top: 120px; padding: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a:hover { color: var(--ink); }

/* Product page */
.crumbs { padding: 18px 22px 0; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; max-width: 1000px; margin: 30px auto 0; padding: 0 22px; align-items: start; }
.gallery { position: sticky; top: 80px; }
.gallery-main { height: 520px; display: flex; align-items: center; justify-content: center; }
.gallery-main img { max-height: 500px; width: auto; }
.thumbs { display: flex; gap: 10px; justify-content: center; margin-top: 14px; }
.thumbs button { width: 56px; height: 56px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.thumbs button img { max-height: 48px; width: auto; }
.thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.pdp h1 { font-size: 14px; padding-bottom: 6px; }
.pdp .sub { color: var(--muted); padding-bottom: 18px; }
.pdp .ship { color: var(--muted); margin-top: 10px; }
.pdp .details { margin-top: 44px; display: grid; gap: 26px; }
.pdp .details h2 { margin-bottom: 6px; }
.pair { max-width: 1000px; margin: 90px auto 0; padding: 0 22px; }
.pair-row { display: grid; grid-template-columns: 90px 1fr 280px; gap: 26px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.pair-row img { height: 90px; width: auto; margin: 0 auto; }
.pair-row .buy { margin: 0; }

/* Phones */
@media (max-width: 760px) {
  .hdr { padding: 0 16px; }
  .shop { padding: 30px 16px 0; }
  .grid { grid-template-columns: 1fr; gap: 64px; max-width: 420px; }
  .grid-a .pic { height: 300px; }
  .grid-a .pic img { height: 270px; }
  .grid-a .pic img.tall { height: 286px; }
  .logo span { font-size: 17px; }
  .pic { height: 280px; }
  .pic img { height: 260px; }
  .pic img.tall { height: 274px; }
  .section { padding: 84px 16px 0; }
  .labs, .two { grid-template-columns: 1fr; gap: 30px; }
  .pdp { grid-template-columns: 1fr; gap: 26px; padding: 0 16px; }
  .gallery { position: static; }
  .gallery-main { height: 380px; }
  .gallery-main img { max-height: 360px; }
  .pair { padding: 0 16px; }
  .pair-row { grid-template-columns: 70px 1fr; }
  .pair-row img { height: 70px; }
  .pair-row .buy { grid-column: 1 / -1; }
  .foot { padding: 22px 16px; }
}
.nt { text-transform: none; }
.logo sup { font-size: .38em; font-weight: 400; font-style: normal; vertical-align: top; position: relative; top: .1em; margin-left: 2px; }
