/* Header shared across theme pages; no changes to checkout form controls. */
body .site-header.me-site-header { width: 100%; max-width: 1232px; margin: 0 auto; padding: 16px 40px; color: #2f3428; font: 16px/1.5 Arial, Helvetica, sans-serif; }
.me-site-header .me-header-inner { display: flex; align-items: center; gap: 32px; width: 100%; }
.me-site-header .me-site-branding { margin-right: auto; flex: 0 0 auto; }
body .me-site-header img.custom-logo { width: 156px; height: auto; display: block; }
.me-site-header a { color: #505941; text-decoration: none; }
.me-site-header a:hover { text-decoration: underline; }
.me-site-header :is(a, button, summary):focus-visible { outline: 2px solid #505941; outline-offset: 4px; }
.me-site-header .me-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; list-style: none; padding: 0; margin: 0; }
.me-site-header .me-menu a { display: inline-flex; align-items: center; min-height: 44px; }
.me-site-header .me-menu .sub-menu { list-style: none; margin: 0; padding-left: 16px; border-left: 1px solid #dde2d5; }
.me-site-header .me-menu a[aria-current=page], .me-site-header .current-menu-item > a { text-decoration: underline; text-underline-offset: 6px; }
.me-site-header .me-header-cart { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.me-site-header .me-header-cart > a { display: inline-flex; align-items: center; min-height: 44px; }
.me-site-header .wc-block-mini-cart { color: #505941; }
.me-site-header .wc-block-mini-cart__button { min-height: 44px; min-width: 44px; padding: 8px; color: #505941; background: transparent; border: 0; }
.me-site-header .wc-block-mini-cart__badge { background: #505941; color: #fff; }
body.momento-product-page .me-optional-label { color: #616957; font-size: .875em; font-weight: 400; }
body.momento-catalog-page { color: #2f3428; background: #fff; font: 16px/1.6 Arial, Helvetica, sans-serif; }
body.momento-catalog-page main.site-main { max-width: 1232px; width: 100%; margin: auto; padding: 24px 40px 72px; }
body.momento-catalog-page .woocommerce-breadcrumb { font-size: 13px; color: #616957; margin-bottom: 32px; }
body.momento-catalog-page a { color: #505941; }
body.momento-catalog-page .woocommerce-products-header__title { font: 400 clamp(2rem, 3.2vw, 3.15rem)/1.12 Georgia, serif; letter-spacing: -.035em; margin: 0 0 24px; }
body.momento-catalog-page .me-catalog-search { margin: 0 0 32px; max-width: 540px; }
body.momento-catalog-page .woocommerce-product-search { display: flex; flex-wrap: wrap; gap: 8px; }
body.momento-catalog-page .woocommerce-product-search input.search-field { flex: 1 1 200px; min-width: 0; }
body.momento-catalog-page :is(input.search-field, select.orderby) { border: 1px solid #858c79; border-radius: 5px; background: #fff; color: #2f3428; min-height: 48px; font: inherit; padding: 10px 12px; }
body.momento-catalog-page .woocommerce-result-count { color: #616957; margin: 10px 0 24px; }
body.momento-catalog-page .woocommerce-ordering { margin-bottom: 24px; }
body.momento-catalog-page ul.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 40px 32px; clear: both; margin: 0; }
body.momento-catalog-page ul.products::before, body.momento-catalog-page ul.products::after { display: none; }
body.momento-catalog-page.woocommerce ul.products li.product { float: none; width: 100%; max-width: 360px; margin: 0; display: flex; flex-direction: column; }
body.momento-catalog-page.woocommerce ul.products li.product img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 8px; margin: 0 0 20px; }
body.momento-catalog-page.woocommerce ul.products li.product .woocommerce-loop-product__title { font: 400 24px/1.3 Georgia, serif; letter-spacing: -.02em; color: #2f3428; padding: 0; margin: 0 0 12px; overflow-wrap: anywhere; }
body.momento-catalog-page.woocommerce ul.products li.product .price { color: #505941; font-size: 18px; margin: 0 0 20px; }
body.momento-catalog-page.woocommerce ul.products li.product .button,
body.momento-catalog-page .woocommerce-product-search button { border: 1px solid #505941; border-radius: 5px; background: #505941; color: #fff; min-height: 48px; padding: 12px 20px; font: 600 16px/1.5 Arial, sans-serif; text-align: center; }
body.momento-catalog-page.woocommerce ul.products li.product .button { margin-top: auto; }
body.momento-catalog-page :is(a, button, input, select):focus-visible { outline: 2px solid #505941; outline-offset: 4px; }
@media (max-width: 767px) {
  body .site-header.me-site-header { padding: 12px 24px; }
  .me-site-header .me-header-inner { flex-wrap: wrap; gap: 8px 16px; }
  body .me-site-header img.custom-logo { width: 128px; }
  .me-site-header .me-main-navigation { order: 3; flex: 1 0 100%; }
  .me-site-header .me-menu { gap: 4px 20px; }
  body.momento-catalog-page main.site-main { padding: 20px 24px 48px; }
  body.momento-catalog-page .woocommerce-ordering, body.momento-catalog-page .woocommerce-result-count { float: none; }
  body.momento-catalog-page .woocommerce-ordering select { width: 100%; }
  body.momento-catalog-page ul.products { grid-template-columns: minmax(0, 1fr); }
  body.momento-catalog-page.woocommerce ul.products li.product { max-width: none; }
}
