@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 200 500;
  font-display: swap;
  src: url("fonts/jost-variable.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #111111;
  --hairline: rgba(17, 17, 17, 0.14);
  --pad: clamp(20px, 5vw, 72px);
  --font: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --header-pad: 1.7rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.55;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

/* -------------------------------------------------------------------------- */
/* Header                                                                     */
/* -------------------------------------------------------------------------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--header-pad) var(--pad);
  background: var(--bg);
  position: relative;
  z-index: 20;
}

.wordmark {
  font-weight: 300;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  line-height: 1;
  display: inline-block;
}

.wordmark:hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  padding: 0.4rem 0;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 2.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.15rem;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  list-style: none;
}

.nav a[aria-current="page"] {
  opacity: 0.45;
}

.cart-link {
  font-size: 0.875rem;
  white-space: nowrap;
}

/* -------------------------------------------------------------------------- */
/* Hero + intro                                                               */
/* -------------------------------------------------------------------------- */

.hero {
  width: 100%;
  background: var(--bg);
}

.hero img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center center;
}

.intro {
  padding: clamp(3.25rem, 7vw, 5.5rem) var(--pad) clamp(3.5rem, 7vw, 5rem);
}

.intro h1,
.page-title-xl {
  font-weight: 300;
  font-size: clamp(2.6rem, 6.6vw, 5.15rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.lede {
  margin-top: 1.15rem;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.btn,
.button,
a.button,
button.button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  display: inline-block;
  appearance: none;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--fg);
  border-radius: 0;
  padding: 0.8rem 1.35rem;
  font-weight: 400;
  font-size: 0.9375rem;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.intro .btn {
  margin-top: 2.6rem;
}

.btn:hover,
.button:hover,
a.button:hover,
button.button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: var(--fg);
  color: var(--bg);
  opacity: 1;
}

.btn-solid {
  background: var(--fg);
  color: var(--bg);
}

.btn-solid:hover {
  background: transparent;
  color: var(--fg);
}

/* -------------------------------------------------------------------------- */
/* Product grid                                                               */
/* -------------------------------------------------------------------------- */

.hairline,
hr.hairline {
  border: 0;
  border-top: 1px solid var(--hairline);
  margin: 0;
}

.section-block {
  padding: clamp(2.25rem, 4vw, 3.25rem) var(--pad) clamp(4.5rem, 8vw, 6.5rem);
}

.section-label {
  font-size: 0.875rem;
  margin-bottom: 1.75rem;
}

.product-grid,
ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.35rem 1.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-card,
ul.products li.product {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-card a:hover,
ul.products li.product a:hover {
  opacity: 1;
}

.product-card img,
ul.products li.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f6f6f6;
}

.product-card .meta,
ul.products li.product .woocommerce-loop-product__title,
.product-name {
  margin-top: 0.95rem;
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

ul.products li.product .woocommerce-loop-product__title {
  font-size: 0.9375rem;
  font-weight: 400;
  padding: 0;
}

.product-price,
ul.products li.product .price,
.price {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--fg);
  line-height: 1.45;
}

.price del {
  opacity: 0.4;
  margin-right: 0.4rem;
}

.price ins {
  text-decoration: none;
}

.placeholder-note {
  font-size: 0.75rem;
  opacity: 0.55;
  margin-top: 0.15rem;
}

ul.products li.product .button,
ul.products li.product .added_to_cart {
  display: none; /* keep the grid as quiet as the mockup; add to cart lives on the product page */
}

ul.products li.product .onsale,
.onsale {
  display: none !important;
}

/* -------------------------------------------------------------------------- */
/* Interior pages                                                             */
/* -------------------------------------------------------------------------- */

.page-shell {
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad) clamp(4.5rem, 8vw, 6.5rem);
  flex: 1;
}

.page-shell h1,
.product-summary h1,
.product_title {
  font-weight: 300;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.prose {
  max-width: 36rem;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
}

.prose p + p,
.prose p + ul,
.prose h2 + p {
  margin-top: 1.15rem;
}

.prose h2 {
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-top: 2.5rem;
  margin-bottom: 0.85rem;
}

.prose ul {
  padding-left: 1.1rem;
}

.muted,
.woocommerce-result-count,
.woocommerce-ordering {
  font-size: 0.875rem;
  opacity: 0.55;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.woocommerce-ordering select {
  border: 0;
  border-bottom: 1px solid var(--fg);
  border-radius: 0;
  background: transparent;
  padding: 0.2rem 1.4rem 0.2rem 0;
}

/* -------------------------------------------------------------------------- */
/* Single product                                                             */
/* -------------------------------------------------------------------------- */

.product-layout,
.woocommerce div.product {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.woocommerce div.product div.images,
.product-gallery {
  margin: 0;
}

.woocommerce div.product div.images img,
.product-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f6f6f6;
}

.woocommerce-product-gallery .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.woocommerce-product-gallery .flex-control-thumbs li {
  margin: 0;
}

.product-summary .price,
.woocommerce div.product p.price {
  font-size: 1.15rem;
  font-weight: 400;
  margin: 0 0 0.35rem;
}

.product-summary .placeholder-note {
  margin-bottom: 1.5rem;
}

.disclaimer,
.research-disclaimer {
  font-size: 0.875rem;
  line-height: 1.55;
  margin: 1.5rem 0;
  max-width: 26rem;
}

.product-spec {
  font-size: 0.9375rem;
  margin: 0.35rem 0 1.5rem;
}

.woocommerce div.product form.cart {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  margin: 1.75rem 0;
}

.woocommerce .quantity .qty,
input.qty {
  width: 4.25rem;
  border: 1px solid var(--fg);
  border-radius: 0;
  background: transparent;
  padding: 0.7rem 0.5rem;
  text-align: center;
  height: 100%;
}

.coa-box {
  border-top: 1px solid var(--hairline);
  margin-top: 2.25rem;
  padding-top: 1.5rem;
}

.coa-box h2 {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0;
  margin-bottom: 0.6rem;
}

.coa-box p {
  font-size: 0.875rem;
  line-height: 1.55;
  max-width: 26rem;
}

.woocommerce-tabs,
.woocommerce div.product .woocommerce-tabs {
  margin-top: 3.5rem;
  grid-column: 1 / -1;
}

.woocommerce-tabs ul.tabs {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  border-bottom: 1px solid var(--hairline);
  padding: 0;
  margin: 0 0 1.5rem;
}

.woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0 0 0.7rem;
  border: 0;
  background: none;
  border-radius: 0;
}

.woocommerce-tabs ul.tabs li a {
  font-weight: 400;
  font-size: 0.875rem;
}

.woocommerce-tabs ul.tabs li.active a {
  opacity: 0.45;
}

.woocommerce-tabs .panel h2 {
  display: none;
}

.related.products,
.upsells.products {
  margin-top: 4.5rem;
  grid-column: 1 / -1;
}

.related.products > h2,
.upsells.products > h2 {
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.woocommerce-breadcrumb,
.woocommerce-product-rating,
.sku_wrapper,
.posted_in,
.tagged_as {
  display: none;
}

/* -------------------------------------------------------------------------- */
/* Cart                                                                       */
/* -------------------------------------------------------------------------- */

.woocommerce-cart table.shop_table,
.cart-table {
  width: 100%;
  border-collapse: collapse;
  border: 0;
}

.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td,
.cart-table th,
.cart-table td {
  border: 0;
  border-bottom: 1px solid var(--hairline);
  padding: 1.15rem 0.6rem 1.15rem 0;
  text-align: left;
  font-weight: 400;
  font-size: 0.9375rem;
  background: transparent;
  vertical-align: middle;
}

.woocommerce-cart table.shop_table th {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.woocommerce-cart .product-thumbnail img {
  width: 72px;
  height: 72px;
  object-fit: cover;
}

.cart-empty,
.cart-empty.woocommerce-info {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font-size: 1.05rem;
}

.cart-collaterals {
  margin-top: 3rem;
  max-width: 24rem;
  margin-left: auto;
}

.cart_totals h2 {
  font-weight: 300;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews {
  background: none !important;
  border: 0 !important;
  border-top: 1px solid var(--hairline) !important;
  border-bottom: 1px solid var(--hairline) !important;
  color: inherit !important;
  padding: 1rem 0 !important;
  margin: 0 0 2rem !important;
  box-shadow: none !important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  display: none !important;
}

/* Checkout */
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 0;
  border-bottom: 1px solid var(--fg);
  border-radius: 0;
  background: transparent;
  padding: 0.5rem 0;
  width: 100%;
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
  background: transparent;
  border-radius: 0;
}

/* -------------------------------------------------------------------------- */
/* Research / about                                                           */
/* -------------------------------------------------------------------------- */

.coa-table {
  width: 100%;
  max-width: 52rem;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: 0.9375rem;
}

.coa-table th,
.coa-table td {
  text-align: left;
  padding: 0.9rem 1rem 0.9rem 0;
  border-bottom: 1px solid var(--hairline);
  font-weight: 400;
  vertical-align: top;
}

.coa-table th {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.pill {
  display: inline-block;
  font-size: 0.75rem;
  border: 1px solid var(--hairline);
  padding: 0.15rem 0.45rem;
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--hairline);
  padding: 2.75rem var(--pad) 3.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem 3rem;
}

.footer-brand {
  font-weight: 300;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.footer-disclaimer {
  font-size: 0.8rem;
  line-height: 1.6;
  max-width: 22rem;
}

.footer-col h2 {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 0.7rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li + li {
  margin-top: 0.35rem;
}

.footer-col a {
  font-size: 0.875rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  opacity: 0.55;
}

/* -------------------------------------------------------------------------- */
/* Mobile                                                                     */
/* -------------------------------------------------------------------------- */

@media (max-width: 820px) {
  .product-grid,
  ul.products,
  .related.products ul.products {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .product-layout,
  .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
    padding: 0.5rem var(--pad) 1.5rem;
    border-bottom: 1px solid var(--hairline);
  }

  .nav.is-open {
    display: flex;
  }

  .header-tools .cart-link-mobile-hide {
    /* cart stays visible in the header tools */
  }

  .intro h1 {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }
}

@media (max-width: 820px) {
  /* Keep cart visible; hide the in-nav cart on desktop we show both? 
     On desktop cart is in the nav. On mobile, show cart beside menu and hide the nav copy. */
}

@media (min-width: 821px) {
  .cart-standalone {
    display: none;
  }
}

@media (max-width: 820px) {
  .nav .cart-link {
    display: none;
  }
}

/* WooCommerce layout wrappers */
.woocommerce-page .site-main,
#main.site-main {
  flex: 1;
}

body.archive .page-shell,
body.single-product .page-shell,
body.woocommerce-cart .page-shell,
body.woocommerce-checkout .page-shell,
body.woocommerce-account .page-shell {
  padding-top: clamp(2rem, 4vw, 3rem);
}


/* current page: no fade — the mockup treats every nav item equally */
.nav a[aria-current="page"] {
  opacity: 1;
}

.footer-col h2 {
  color: var(--fg);
  opacity: 1;
  font-size: 0.8125rem;
}

@media (max-width: 820px) {
  .hero img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 58%;
  }

  /* keep the <nav> wrapper out of the flex flow so menu + cart sit together */
  .header-tools nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
  }

  .header-tools {
    gap: 1.35rem;
  }

  .nav {
    position: relative;
    top: 0;
  }
}


/* -------------------------------------------------------------------------- */
/* Age gate                                                                   */
/* -------------------------------------------------------------------------- */

.age-gate {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--pad);
}

html.age-verified .age-gate,
.age-gate.is-cleared {
  display: none;
}

body.age-gate-open {
  overflow: hidden;
}

.age-gate-panel {
  max-width: 28rem;
}

.age-gate-brand {
  font-weight: 300;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 2rem;
}

.age-gate-panel h2 {
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.15rem;
}

.age-gate-panel p {
  font-size: 1.05rem;
  line-height: 1.6;
}

.age-gate-panel p + p {
  margin-top: 0.85rem;
}

.age-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.age-gate-declined {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
}

/* -------------------------------------------------------------------------- */
/* Batch lookup                                                               */
/* -------------------------------------------------------------------------- */

.batch-lookup-teaser {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}

.batch-lookup-teaser h2 {
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.batch-form {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 1.35rem;
  max-width: 32rem;
}

.batch-form input[type="text"] {
  flex: 1;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid var(--fg);
  border-radius: 0;
  background: transparent;
  padding: 0.7rem 0;
  letter-spacing: 0.02em;
}

.batch-form input[type="text"]:focus {
  outline: none;
  border-bottom-width: 2px;
  padding-bottom: calc(0.7rem - 1px);
}

.batch-result {
  margin-top: 2.5rem;
  max-width: 36rem;
}

.batch-result h2 {
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.batch-example-flag {
  font-size: 0.875rem;
  line-height: 1.55;
  border: 1px solid var(--fg);
  padding: 0.85rem 1rem;
  margin: 0 0 1.35rem;
  max-width: 36rem;
}

.batch-record-table {
  margin-top: 0;
}

.batch-record-table th {
  width: 11rem;
  font-size: 0.875rem;
  letter-spacing: 0;
}

.batch-example-hint {
  margin-top: 2.5rem;
  max-width: 36rem;
}

.batch-report-line {
  font-size: 0.875rem;
  line-height: 1.55;
  margin: 0 0 1.5rem;
}

.batch-report-line a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.login-to-price,
.login-to-price-wrap {
  font-size: 0.9375rem;
}

.login-to-price-wrap {
  margin: 1.75rem 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 820px) {
  .batch-form {
    flex-direction: column;
    max-width: none;
  }

  .batch-form .btn {
    align-self: flex-start;
  }

  .batch-record-table th {
    width: auto;
    display: block;
    padding-bottom: 0.15rem;
    border-bottom: 0;
  }

  .batch-record-table td {
    display: block;
    padding-top: 0.15rem;
  }
}
