:root {
  --bd-bg: #f4f1eb;
  --bd-surface: #fbf9f5;
  --bd-ink: #1a1917;
  --bd-muted: #6e6a64;
  --bd-border: #e2ddd4;
  --bd-sale: #7a3b3b;
  --bd-paper: #fbf9f5;
  --bd-font: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --bd-display: "Instrument Serif", ui-serif, Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body.bd-theme {
  margin: 0;
  background: var(--bd-bg);
  color: var(--bd-ink);
  font-family: var(--bd-font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--bd-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }

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

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

:focus-visible {
  outline: 2px solid var(--bd-ink);
  outline-offset: 3px;
}

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

.bd-skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--bd-surface);
  padding: 0.5rem 0.75rem;
}
.bd-skip:focus { top: 0.5rem; }

.bd-container { width: min(1200px, calc(100% - 2rem)); margin-inline: auto; }

.bd-announce {
  background: var(--bd-ink);
  color: var(--bd-paper);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 0.55rem 1rem;
}
.bd-announce p { margin: 0; }

.bd-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklab, var(--bd-bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}
.bd-scrolled .bd-header { border-bottom-color: var(--bd-border); }

.bd-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
  min-height: 4.25rem;
}

.bd-wordmark { display: flex; flex-direction: row; align-items: center; gap: 0.7rem; text-decoration: none; line-height: 1.1; }
.bd-wordmark:hover { text-decoration: none; }
.bd-mark { width: 2rem; height: 2rem; display: block; flex-shrink: 0; color: var(--bd-ink); }
.bd-wordmark__text { display: flex; flex-direction: column; }
.bd-wordmark__name { font-family: var(--bd-display); font-size: 1.35rem; }
.bd-wordmark__tag { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bd-muted); margin-top: 0.25rem; }

.bd-icon-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}

.bd-nav__list {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.bd-nav__list > li > a {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}
.bd-mega, .bd-sub-menu {
  position: absolute;
  background: var(--bd-surface);
  border: 1px solid var(--bd-border);
  min-width: 220px;
  padding: 1rem 1.25rem;
  list-style: none;
  display: none;
  z-index: 30;
}
.menu-item-has-children { position: relative; }
.menu-item-has-children:hover > .bd-sub-menu,
.menu-item-has-children:focus-within > .bd-sub-menu { display: block; }
.bd-mega { display: none; columns: 2; gap: 1.5rem; width: 420px; }
.bd-has-mega:hover > .bd-mega { display: block; }

.bd-header__tools { display: flex; align-items: center; }

.bd-search[hidden] { display: none; }
.bd-search {
  position: fixed;
  inset: 0;
  background: color-mix(in oklab, var(--bd-ink) 40%, transparent);
  z-index: 50;
}
.bd-search__panel {
  width: min(640px, 100%);
  margin: 4rem auto 0;
  background: var(--bd-surface);
  padding: 1.25rem;
}
.bd-search__panel input {
  width: 100%;
  height: 3rem;
  border: 0;
  border-bottom: 1px solid var(--bd-border);
  background: transparent;
}

.bd-kicker {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bd-muted);
  margin: 0 0 0.5rem;
}

.bd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1.25rem;
  border: 1px solid var(--bd-ink);
  cursor: pointer;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-decoration: none !important;
}
.bd-btn--ink { background: var(--bd-ink); color: var(--bd-paper); }
.bd-btn--ghost { background: transparent; }

.bd-hero {
  display: grid;
  min-height: 70vh;
  background: var(--bd-ink);
  color: var(--bd-paper);
}
@media (min-width: 900px) {
  .bd-hero { grid-template-columns: 1fr 1fr; }
}
.bd-hero__copy { padding: clamp(2rem, 6vw, 5rem); display: flex; flex-direction: column; justify-content: flex-end; }
.bd-hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin: 0.5rem 0 1rem; }
.bd-lead { max-width: 28rem; color: color-mix(in oklab, var(--bd-paper) 80%, transparent); }
.bd-hero__media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }

.bd-home-products, .bd-section { padding: 4rem 0; }
.bd-section-head { margin-bottom: 2rem; }
.bd-section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; }

ul.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 800px) {
  ul.products { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  ul.products { grid-template-columns: repeat(4, 1fr); }
}

.bd-card, li.product {
  display: flex;
  flex-direction: column;
}
.bd-card img, li.product img {
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--bd-surface);
  width: 100%;
}
.woocommerce-loop-product__title { font-family: var(--bd-font); font-size: 0.95rem; font-weight: 500; margin: 0.75rem 0 0.25rem; }
.price { font-variant-numeric: tabular-nums; }
.price del { color: var(--bd-muted); margin-right: 0.4rem; }
.onsale {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--bd-sale);
  color: var(--bd-paper);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.3rem 0.5rem;
}

.bd-footer {
  border-top: 1px solid var(--bd-border);
  background: var(--bd-surface);
  margin-top: 4rem;
  padding: 3.5rem 0 1.5rem;
}
.bd-footer__grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 800px) {
  .bd-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.bd-footer__list { list-style: none; margin: 0; padding: 0; }
.bd-footer__list li { margin: 0.4rem 0; }
.bd-footer__tag { color: var(--bd-muted); }
.bd-muted { color: var(--bd-muted); font-size: 0.9rem; }

.bd-newsletter__row { display: flex; gap: 0.5rem; margin-top: 1rem; }
.bd-newsletter input {
  flex: 1;
  height: 44px;
  border: 1px solid var(--bd-border);
  background: var(--bd-bg);
  padding: 0 0.75rem;
}

.woocommerce-product-gallery img { width: 100%; }
.single-product .product { display: grid; gap: 2.5rem; }
@media (min-width: 900px) {
  .single-product .product { grid-template-columns: 1fr 1fr; }
}
.woocommerce-variation-add-to-cart, form.cart { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.quantity input { height: 44px; width: 4.5rem; border: 1px solid var(--bd-border); padding: 0 0.5rem; }
.single_add_to_cart_button { background: var(--bd-ink) !important; color: var(--bd-paper) !important; border-radius: 0 !important; height: 44px; }

.woocommerce-cart-form, .cart-collaterals, .woocommerce-checkout {
  width: min(1100px, calc(100% - 2rem));
  margin: 2rem auto 4rem;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 1px solid var(--bd-border);
  background: var(--bd-surface);
  min-height: 44px;
  border-radius: 0;
}

.checkout-button, .woocommerce-button, button.button.alt {
  background: var(--bd-ink) !important;
  color: var(--bd-paper) !important;
  border-radius: 0 !important;
}

.bd-empty { padding: 3rem 0; color: var(--bd-muted); }

.bd-contact label { display: block; margin-bottom: 0.35rem; }
.bd-contact input, .bd-contact textarea {
  width: 100%;
  border: 1px solid var(--bd-border);
  background: var(--bd-surface);
  padding: 0.65rem 0.75rem;
  margin-bottom: 1rem;
}
.bd-honeypot { position: absolute; left: -9999px; }

.bd-legal-note {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bd-sale);
}

@media (max-width: 899px) {
  .bd-nav { display: none; }
  .bd-nav.is-open {
    display: block;
    position: fixed;
    inset: 4.5rem 0 0;
    background: var(--bd-bg);
    padding: 1.25rem;
    overflow: auto;
    z-index: 40;
  }
  .bd-nav.is-open .bd-nav__list { flex-direction: column; }
  .bd-mega, .bd-sub-menu { position: static; display: block; border: 0; padding: 0.5rem 0 0.5rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.bd-footer__mark { margin: 0 0 0.85rem; }
.bd-footer__mark .bd-mark { width: 2.25rem; height: 2.25rem; }
.bd-save { margin: 0.4rem 0 0; font-size: 0.85rem; color: var(--bd-sale); }
.bd-save-note { margin: 0.35rem 0 0; max-width: 28rem; font-size: 0.75rem; color: var(--bd-muted); }
.bd-warranty { margin: 1rem 0 0; font-size: 0.9rem; }
.bd-warranty span { color: var(--bd-muted); margin-right: 0.5rem; }
