:root {
  --bf-bg: #f6f1e8;
  --bf-surface: #ffffff;
  --bf-ink: #2a211c;
  --bf-muted: #74695f;
  --bf-line: #ede6db;
  --bf-line-strong: #d9cfc0;
  --bf-green: #33a35a;
  --bf-green-dark: #1f7d40;
  --bf-red: #c0262d;
  --bf-gold: #9a6b12;
  --bf-soft-green: #eaf6ee;
  --bf-soft-red: #fbeded;
  --bf-soft-gold: #fff7e8;
  --bf-radius: 14px;
  --bf-shadow: 0 8px 24px rgba(42, 33, 28, .1);
  --bf-font: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bf-serif: "Lora", Georgia, serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bf-bg);
  color: var(--bf-ink);
  font-family: var(--bf-font);
  font-size: 16px;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.bf-container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.bf-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bf-surface);
  box-shadow: 0 1px 0 var(--bf-line);
}

.bf-topbar {
  background: var(--bf-red);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}

.bf-topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px 20px;
  padding-block: 7px;
}

.bf-header-main {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding-block: 14px;
}

.bf-brand,
.bf-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.bf-brand img,
.bf-footer-brand img {
  display: block;
  object-fit: contain;
}

.bf-brand strong,
.bf-footer-brand span {
  display: block;
  color: var(--bf-green);
  font-family: var(--bf-serif);
  font-size: 22px;
  line-height: 1;
}

.bf-brand small {
  display: block;
  margin-top: 3px;
  color: #8a7e74;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bf-search form,
.woocommerce-product-search {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 4px;
  background: #f2eadf;
  border: 1.5px solid var(--bf-line);
  border-radius: 12px;
}

.bf-search input[type="search"],
.woocommerce-product-search input[type="search"] {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  color: var(--bf-ink);
  outline: 0;
}

.bf-search button,
.woocommerce-product-search button {
  border: 0;
  border-radius: 9px;
  background: var(--bf-green);
  color: #fff;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
}

.bf-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bf-account,
.bf-cart {
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.15;
  white-space: nowrap;
}

.bf-account {
  flex-direction: column;
  align-items: flex-start;
  border: 1.5px solid var(--bf-line);
  padding: 9px 13px;
  background: #fff;
}

.bf-action-kicker,
.bf-cart-copy span {
  color: #8a7e74;
  font-size: 11px;
}

.bf-cart {
  position: relative;
  gap: 9px;
  padding: 10px 16px;
  background: var(--bf-green);
  color: #fff;
}

.bf-cart-copy span {
  display: block;
  color: rgba(255, 255, 255, .86);
}

.bf-cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding-inline: 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--bf-red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.bf-nav-wrap {
  position: relative;
  border-top: 1px solid #f2eadf;
}

.bf-nav-scroll {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-block: 9px;
  scrollbar-width: none;
}

.bf-nav-scroll::-webkit-scrollbar {
  display: none;
}

.bf-nav-pill {
  flex: 0 0 auto;
  border: 0;
  border-radius: 9px;
  background: transparent;
  padding: 9px 12px;
  color: #5a4f46;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.bf-nav-pill:hover {
  background: #f2eadf;
}

.bf-nav-pill-dark {
  background: var(--bf-ink);
  color: #fff;
}

.bf-category-panel {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  z-index: 45;
  border-top: 1px solid var(--bf-line);
  border-bottom: 1px solid var(--bf-line-strong);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 16px 34px rgba(42, 33, 28, .12);
}

.bf-category-panel[hidden] {
  display: none;
}

.bf-category-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 10px;
  padding-block: 14px;
}

.bf-category-panel-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 68px;
  border: 1px solid var(--bf-line);
  border-radius: 12px;
  background: #fff;
  padding: 10px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.bf-category-panel-item:hover {
  border-color: var(--bf-line-strong);
  box-shadow: var(--bf-shadow);
  transform: translateY(-1px);
}

.bf-category-panel-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bf-soft-green);
  color: var(--bf-green-dark);
}

.bf-category-panel-item strong,
.bf-category-panel-item small {
  display: block;
}

.bf-category-panel-item small {
  color: var(--bf-muted);
  font-size: 12px;
}

.bf-cat-svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bf-site-main {
  min-height: 50vh;
}

.bf-home {
  padding-block: 22px 56px;
}

.bf-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, .7fr);
  align-items: center;
  gap: 28px;
  min-height: 330px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(115deg, var(--bf-green), var(--bf-green-dark));
  color: #fff;
  padding: 38px;
}

.bf-hero-copy {
  max-width: 660px;
}

.bf-eyebrow,
.bf-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.bf-eyebrow {
  background: rgba(255, 255, 255, .2);
}

.bf-hero h1,
.bf-fresh-band h2,
.bf-section-head h2,
.bf-page h1,
.woocommerce-products-header__title,
.product_title {
  margin: 0;
  font-family: var(--bf-serif);
  font-weight: 700;
  line-height: 1.08;
}

.bf-hero h1 {
  max-width: 700px;
  margin-top: 14px;
  font-size: clamp(32px, 4vw, 48px);
}

.bf-hero p {
  max-width: 560px;
  margin: 14px 0 24px;
  font-size: 16px;
  opacity: .94;
}

.bf-hero img {
  justify-self: center;
  max-width: 260px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
}

.bf-button,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 11px;
  background: var(--bf-green);
  color: #fff;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
}

.bf-button-light {
  background: #fff;
  color: var(--bf-green-dark);
}

.bf-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.bf-promo {
  min-height: 120px;
  border-radius: 20px;
  padding: 24px;
  border: 1.5px solid transparent;
}

.bf-promo strong {
  display: block;
  font-family: var(--bf-serif);
  font-size: 22px;
  line-height: 1.14;
}

.bf-promo span {
  display: block;
  margin-top: 8px;
  color: var(--bf-muted);
  font-size: 14px;
}

.bf-promo-red {
  border-color: #f3d6d6;
  background: var(--bf-soft-red);
  color: var(--bf-red);
}

.bf-promo-gold {
  border-color: #f2e4c2;
  background: var(--bf-soft-gold);
  color: var(--bf-gold);
}

.bf-section {
  margin-top: 36px;
}

.bf-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.bf-section-head h2 {
  font-size: 25px;
}

.bf-tag-red {
  background: var(--bf-red);
  color: #fff;
}

.bf-tag-green {
  background: var(--bf-green);
  color: #fff;
}

.bf-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 12px;
}

.bf-cat-card {
  display: flex;
  min-height: 142px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1.5px solid var(--bf-line);
  border-radius: 16px;
  background: #fff;
  padding: 15px 10px;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.bf-cat-card:hover {
  transform: translateY(-3px);
  border-color: var(--bf-line-strong);
  box-shadow: var(--bf-shadow);
}

.bf-cat-media {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 50%;
  background: #f2eadf;
  color: var(--bf-green-dark);
}

.bf-cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bf-cat-media .bf-cat-svg {
  width: 34px;
  height: 34px;
}

.bf-cat-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bf-green), var(--bf-red));
}

.bf-fresh-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  border-radius: 20px;
  background: var(--bf-green);
  color: #fff;
  padding: 28px 30px;
}

.bf-fresh-band h2 {
  max-width: 760px;
  margin-top: 10px;
  font-size: 28px;
}

.bf-fresh-band p {
  max-width: 720px;
  margin: 8px 0 0;
  opacity: .92;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
}

.bf-product-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--bf-line);
  border-radius: var(--bf-radius);
  background: #fff;
  transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease;
}

.bf-product-card:hover {
  transform: translateY(-2px);
  border-color: var(--bf-line-strong);
  box-shadow: var(--bf-shadow);
}

.bf-product-media {
  position: relative;
  display: block;
  height: 154px;
  overflow: hidden;
  background: #f3eadb;
}

.bf-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .18s ease;
}

.bf-product-card:hover .bf-product-media img {
  transform: scale(1.04);
}

.bf-product-photo-missing {
  display: grid;
  place-items: center;
  height: 100%;
  color: #8a7e74;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.bf-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  border-radius: 6px;
  color: #fff;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bf-badge-sale {
  background: var(--bf-red);
}

.bf-badge-fresh {
  background: var(--bf-green);
}

.bf-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 13px;
}

.bf-product-title {
  min-height: 40px;
  color: var(--bf-ink);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.28;
}

.bf-product-meta {
  color: #8a7e74;
  font-size: 12px;
}

.bf-product-price,
.price {
  color: var(--bf-ink);
  font-size: 19px;
  font-weight: 800;
}

.bf-product-price del,
.price del {
  color: #a89c90;
  font-size: 13px;
  opacity: 1;
}

.bf-price-unit,
.price .bf-price-unit {
  color: #8a7e74;
  font-size: 12px;
  font-weight: 600;
}

.bf-product-body .button {
  width: 100%;
  margin-top: auto;
  padding-block: 10px;
  font-size: 13.5px;
}

.bf-woo-page,
.bf-page {
  padding-block: 28px 56px;
}

.bf-page-card {
  border: 1.5px solid var(--bf-line);
  border-radius: 18px;
  background: #fff;
  padding: clamp(24px, 4vw, 44px);
}

.bf-shop-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count {
  float: none;
  margin: 0;
}

.woocommerce .woocommerce-ordering select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.input-text {
  border: 1.5px solid var(--bf-line);
  border-radius: 10px;
  background: #fff;
  padding: 11px 12px;
  color: var(--bf-ink);
}

.woocommerce div.product {
  border-radius: 20px;
  background: #fff;
  padding: clamp(18px, 3vw, 30px);
}

.woocommerce div.product div.images img {
  border-radius: 18px;
  background: #f2eadf;
}

.woocommerce div.product .product_title {
  font-size: clamp(30px, 4vw, 42px);
}

.woocommerce div.product p.price {
  color: var(--bf-ink);
  font-size: 34px;
}

.woocommerce table.shop_table,
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #payment,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
  overflow: hidden;
  border: 1.5px solid var(--bf-line);
  border-radius: 16px;
  background: #fff;
}

.woocommerce-checkout #payment {
  background: #fff;
}

.woocommerce-checkout #payment div.payment_box {
  background: #f2eadf;
}

.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: #f2eadf;
}

.bf-footer {
  margin-top: 40px;
  background: var(--bf-ink);
  color: #e9e0d4;
}

.bf-footer-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.6fr) repeat(4, minmax(130px, 1fr));
  gap: 28px;
  padding-block: 38px 24px;
}

.bf-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
}

.bf-footer p,
.bf-footer a {
  display: block;
  margin: 0 0 8px;
  color: #b6ab9c;
  font-size: 13px;
}

.bf-footer .bf-company-details {
  margin-top: 14px;
  color: #d8cfc2;
  font-size: 12px;
  line-height: 1.55;
}

.bf-footer .bf-company-details strong {
  color: #fff;
}

.bf-footer-bottom {
  border-top: 1px solid #3d342c;
}

.bf-footer-bottom .bf-container {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding-block: 16px;
  color: #8a7e74;
  font-size: 12px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

@media (max-width: 860px) {
  .bf-topbar-inner,
  .bf-fresh-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .bf-header-main {
    grid-template-columns: 1fr;
  }

  .bf-actions {
    justify-content: space-between;
  }

  .bf-account,
  .bf-cart {
    flex: 1;
  }

  .bf-hero,
  .bf-promo-grid,
  .bf-footer-grid {
    grid-template-columns: 1fr;
  }

  .bf-hero {
    padding: 28px 22px;
  }

  .bf-hero img {
    max-width: 180px;
  }
}

@media (max-width: 560px) {
  .bf-container {
    width: min(100% - 22px, 1180px);
  }

  .bf-header {
    position: relative;
    top: auto;
  }

  .admin-bar .bf-header {
    top: auto;
  }

  .bf-topbar {
    font-size: 11px;
  }

  .bf-topbar-inner {
    gap: 2px;
    padding-block: 5px;
  }

  .bf-header-main {
    gap: 10px;
    padding-block: 10px;
  }

  .bf-brand img {
    width: 42px;
    height: 42px;
  }

  .bf-brand strong {
    font-size: 19px;
  }

  .bf-brand small {
    font-size: 9px;
    letter-spacing: .08em;
  }

  .bf-search form,
  .woocommerce-product-search {
    min-height: 42px;
    border-radius: 10px;
  }

  .bf-search input[type="search"],
  .woocommerce-product-search input[type="search"] {
    padding: 8px 9px;
    font-size: 14px;
  }

  .bf-search button,
  .woocommerce-product-search button {
    min-width: 74px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .bf-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 8px;
  }

  .bf-account,
  .bf-cart {
    justify-content: center;
    min-width: 0;
    min-height: 52px;
    white-space: normal;
  }

  .bf-nav-scroll {
    gap: 6px;
    padding-block: 8px;
  }

  .bf-nav-pill {
    padding: 8px 10px;
    font-size: 12px;
  }

  .bf-category-panel {
    max-height: min(70vh, 520px);
    overflow-y: auto;
  }

  .bf-category-panel-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-block: 10px;
  }

  .bf-category-panel-item {
    min-height: 58px;
  }

  .bf-home {
    padding-block: 14px 38px;
  }

  .bf-hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    border-radius: 16px;
    padding: 22px 18px;
  }

  .bf-hero h1 {
    margin-top: 10px;
    font-size: 30px;
    line-height: 1.04;
  }

  .bf-hero p {
    margin: 10px 0 18px;
    font-size: 14.5px;
  }

  .bf-hero img {
    align-self: center;
    max-width: 138px;
  }

  .bf-promo-grid {
    gap: 10px;
    margin-top: 12px;
  }

  .bf-promo {
    min-height: 0;
    border-radius: 14px;
    padding: 16px;
  }

  .bf-promo strong {
    font-size: 17px;
  }

  .bf-section {
    margin-top: 26px;
  }

  .bf-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
  }

  .bf-section-head h2 {
    font-size: 22px;
  }

  .bf-cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .bf-cat-card {
    min-height: 96px;
    gap: 7px;
    border-radius: 12px;
    padding: 10px 6px;
    font-size: 11px;
    line-height: 1.2;
  }

  .bf-cat-media {
    width: 42px;
    height: 42px;
  }

  .bf-cat-media .bf-cat-svg {
    width: 25px;
    height: 25px;
  }

  .woocommerce ul.products {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .bf-product-card {
    min-height: 0;
    flex-direction: row;
    border-radius: 12px;
  }

  .bf-product-media {
    flex: 0 0 112px;
    width: 112px;
    height: 112px;
    min-height: 0;
    align-self: flex-start;
    background: #fff;
  }

  .bf-product-media img {
    object-fit: contain;
  }

  .bf-product-title {
    min-height: 0;
    font-size: 14px;
    line-height: 1.22;
  }

  .bf-product-body {
    min-width: 0;
    gap: 6px;
    padding: 10px;
  }

  .bf-product-meta {
    font-size: 11px;
    line-height: 1.25;
  }

  .bf-product-price,
  .price {
    font-size: 16px;
    line-height: 1.18;
  }

  .bf-product-body .button {
    min-height: 38px;
    padding-block: 8px;
    border-radius: 9px;
    font-size: 12.5px;
  }

  .bf-badge {
    top: 7px;
    left: 7px;
    max-width: calc(100% - 14px);
    padding: 3px 6px;
    font-size: 9px;
    letter-spacing: .02em;
  }

  .bf-home .woocommerce ul.products {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    margin-inline: -11px;
    padding: 0 11px 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .bf-home .woocommerce ul.products::-webkit-scrollbar {
    display: none;
  }

  .bf-home .woocommerce ul.products li.product,
  .bf-home .woocommerce-page ul.products li.product,
  .bf-home .bf-product-card {
    flex: 0 0 178px;
    width: 178px;
    scroll-snap-align: start;
  }

  .bf-home .bf-product-card {
    flex-direction: column;
  }

  .bf-home .bf-product-media {
    width: 100%;
    height: 138px;
    min-height: 0;
    flex-basis: auto;
    align-self: stretch;
    background: #fff;
  }

  .bf-home .bf-product-body {
    min-height: 168px;
  }

  .bf-fresh-band {
    gap: 14px;
    margin-top: 24px;
    border-radius: 16px;
    padding: 20px 18px;
  }

  .bf-fresh-band h2 {
    font-size: 24px;
    line-height: 1.08;
  }

  .bf-fresh-band p {
    font-size: 14px;
  }

  .bf-shop-tools {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .woocommerce .woocommerce-ordering,
  .woocommerce .woocommerce-ordering select {
    width: 100%;
  }

  .bf-footer {
    margin-top: 28px;
  }

  .bf-footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 28px 18px;
  }

  .bf-footer h2 {
    margin-bottom: 8px;
  }

  .bf-footer-bottom .bf-container {
    flex-direction: column;
  }

  .bf-page-card {
    border-radius: 14px;
    padding: 20px 16px;
  }
}
