/* Shared catalog, scoped to our own root. Prices, stock and checkout keep WooCommerce semantics. */
body.tax-product_cat:has(#mh-book-catalog) .page-title { display:none!important; }
.mh-books-main { width:100%; max-width:100%; }
#mh-book-catalog { --book-ink:#233c43; --book-accent:#e6f0e7; --book-deep:#355b4b; width:min(1240px,100%); margin:0 auto 64px; padding:0 24px; color:var(--book-ink); }
#mh-book-catalog.children { --book-accent:#fff0c9; --book-deep:#66511f; }
#mh-book-catalog,#mh-book-catalog * { box-sizing:border-box; }
#mh-book-catalog .mh-books-heading { background:var(--book-accent); border-radius:28px; padding:42px 40px; margin:20px 0 24px; }
#mh-book-catalog .mh-books-eyebrow { font-size:12px; font-weight:750; letter-spacing:.14em; margin:0 0 12px; }
#mh-book-catalog h1 { color:var(--book-ink); font-size:clamp(28px,4vw,46px); line-height:1.14; margin:0 0 16px; max-width:800px; }
#mh-book-catalog .mh-books-heading>p:last-child { font-size:16px; line-height:1.65; max-width:650px; margin:0; }
#mh-book-catalog .mh-books-collections { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 26px; }
#mh-book-catalog .mh-books-collections a { display:inline-flex; align-items:center; min-height:44px; padding:10px 15px; border:1px solid #dce3dc; border-radius:24px; font-size:14px; color:var(--book-ink); background:#fff; }
#mh-book-catalog .mh-books-collections a[aria-current] { color:#fff; background:var(--book-deep); border-color:var(--book-deep); }
#mh-book-catalog .mh-books-filters { display:flex; flex-wrap:wrap; gap:12px; align-items:end; padding:20px; border:1px solid #e0e7df; border-radius:20px; background:#fafbf8; margin:0; }
#mh-book-catalog label { display:flex; flex:1 1 150px; flex-direction:column; gap:7px; margin:0; font-size:13px; font-weight:650; min-width:0; }
#mh-book-catalog label.mh-books-search { flex:2 1 230px; }
#mh-book-catalog input,#mh-book-catalog select { width:100%; height:48px; min-height:48px; padding:10px 12px; border:1px solid #c7d2c9; border-radius:10px; background-color:#fff; font-size:14px; color:#233c43; }
#mh-book-catalog button { min-height:48px; padding:12px 18px; border:0; border-radius:10px; background:var(--book-deep); color:#fff; font-size:14px; font-weight:650; text-transform:none; }
#mh-book-catalog .mh-books-note { font-size:13px; line-height:1.6; color:#627069; margin:10px 4px 20px; }
#mh-book-catalog.culture .mh-books-note { display:none; }
#mh-book-catalog .mh-books-status { min-height:26px; font-size:14px; margin:22px 0 15px; }
#mh-book-catalog .mh-books-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; }
#mh-book-catalog .mh-book-card { display:flex; flex-direction:column; min-width:0; border:1px solid #e2e7df; border-radius:18px; overflow:hidden; background:#fff; }
#mh-book-catalog .mh-book-cover { display:flex; align-items:center; justify-content:center; aspect-ratio:1; padding:24px; background:#f4f4eb; overflow:hidden; }
#mh-book-catalog .mh-book-cover picture { display:contents; }
#mh-book-catalog .mh-book-cover img { width:100%; height:100%; object-fit:contain; transition:transform .2s; }
#mh-book-catalog .mh-book-crop { position:relative; display:block; overflow:hidden; aspect-ratio:var(--mh-ratio); width:min(100%,calc(170px * var(--mh-ratio))); max-height:100%; }
#mh-book-catalog .mh-book-crop img { position:absolute; width:var(--mh-iw)!important; height:var(--mh-ih)!important; max-width:none!important; left:var(--mh-left); top:var(--mh-top); object-fit:fill; transform:none; }
#mh-book-catalog .mh-book-cover:hover img { transform:translateY(-3px); }
#mh-book-catalog .mh-book-copy { flex:1; display:flex; flex-direction:column; padding:18px; }
#mh-book-catalog h2 { font-size:17px; line-height:1.4; margin:0 0 7px; }
#mh-book-catalog h2 a { color:var(--book-ink); display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
#mh-book-catalog .mh-book-author { font-size:13px; line-height:1.5; margin:0 0 14px; color:#66726b; }
#mh-book-catalog .mh-book-bottom { display:flex; justify-content:space-between; flex-wrap:wrap; gap:5px; align-items:center; margin-top:auto; }
#mh-book-catalog .price { font-size:16px; font-weight:700; color:#304f40; }
#mh-book-catalog .price del { display:block; font-size:12px; color:#748078; }
#mh-book-catalog .mh-book-open { display:inline-flex; align-items:center; min-height:44px; min-width:44px; font-size:14px; font-weight:700; color:#314f40; gap:6px; }
#mh-book-catalog .mh-books-more,#mh-book-catalog .mh-books-empty>a { display:flex; justify-content:center; align-items:center; min-height:48px; width:fit-content; margin:30px auto 0; padding:12px 26px; border:1px solid #6d8474; border-radius:28px; font-size:14px; font-weight:650; color:#294b3e; }
#mh-book-catalog .mh-books-empty { border:1px dashed #c6d3c8; padding:36px 20px; border-radius:18px; text-align:center; }
#mh-book-catalog [hidden] { display:none!important; }
#mh-book-catalog [aria-busy=true] { opacity:.65; }
#mh-book-catalog :focus-visible { outline:3px solid #386b60; outline-offset:3px; }
.mh-book-quick { padding:16px 18px; margin:18px 0; border-radius:14px; background:#f5f7ef; font-size:15px; line-height:1.65; }
.mh-book-quick p { margin:0 0 7px; }
.mh-book-quick a { display:inline-flex; min-height:44px; align-items:center; color:#345c49; font-weight:650; font-size:14px; }
.mh-book-quick dl { display:flex; flex-wrap:wrap; gap:12px 22px; margin:12px 0 0; padding-top:12px; border-top:1px solid #dbe3d5; }
.mh-book-quick dt { font-size:12px; color:#60705e; }.mh-book-quick dd { margin:0; font-size:14px; font-weight:650; }
body.single-product .mh-live-review { padding:24px!important; min-height:0!important; gap:22px!important; }
.mh-review-disclosure { width:100%; }.mh-review-disclosure summary,.mh-story-more summary { cursor:pointer; min-height:48px; padding:12px 14px; font-size:15px; font-weight:650; border:1px solid #bfcdbb; border-radius:10px; }
.mh-review-disclosure[open] summary { margin-bottom:18px; }.mh-review-disclosure .mh-review-form { padding-top:12px; }
body.single-product .quantity :is(input.minus,input.plus,input.qty) { width:44px!important; min-width:44px!important; height:48px!important; min-height:48px!important; font-size:16px!important; }
body.home .mh-lower-promo p { font-size:14px!important; line-height:1.65!important; }
body.home .mh-lower-promo>a { display:inline-flex!important; align-items:center; min-height:44px!important; font-size:14px!important; }
body.home #mahlas-hero .mh-dot { position:relative; width:44px!important; min-width:44px!important; height:44px!important; min-height:44px!important; padding:0!important; margin:0!important; background:transparent!important; border:0!important; box-shadow:none!important; }
body.home #mahlas-hero .mh-dot::before { content:""; position:absolute; top:18px; left:18px; width:8px; height:8px; background:#81907a; border-radius:9px; }
body.home #mahlas-hero .mh-dot[aria-selected=true]::before { width:24px; left:10px; background:#314d39; }
body.home #mahlas-hero .mh-dots { gap:0!important; }
body.page-id-3958 input[type=radio] { width:20px!important; height:20px!important; min-width:20px!important; }
body.page-id-3958 .elementor-field-option { display:flex; align-items:center; gap:8px; }
body.page-id-3958 .elementor-field-option label { min-height:44px!important; min-width:44px; display:inline-flex!important; align-items:center; padding:8px 0!important; font-size:14px!important; }
#mh-live-search .search-content>h2 { font:inherit; font-size:clamp(30px,5vw,62px); line-height:1.12; color:#243d47; margin:0 0 22px; font-weight:750; }
#mh-live-search .search-content>h2 em { font-style:normal; color:#6c8462; }
#mh-site-v2 .mh-form-heading { font-size:clamp(28px,4vw,48px); line-height:1.15; }
#mh-site-v2 .mh-form-heading em { display:block; font-style:normal; }
.mh-home-more { display:none; }
@media(max-width:900px) { #mh-book-catalog .mh-books-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; } }
@media(max-width:600px) {
  #mh-book-catalog { padding:0 14px; margin-bottom:36px; }
  #mh-book-catalog .mh-books-heading { padding:28px 23px; border-radius:22px; margin-top:12px; }
  #mh-book-catalog .mh-books-heading>p:last-child { font-size:15px; }
  #mh-book-catalog .mh-books-collections { flex-wrap:nowrap; overflow-x:auto; padding-bottom:8px; gap:7px; margin-bottom:16px; }
  #mh-book-catalog .mh-books-collections a { white-space:nowrap; flex:none; }
  #mh-book-catalog .mh-books-filters { padding:14px; gap:12px 10px; }
  #mh-book-catalog label { flex-basis:calc(50% - 10px); }
  #mh-book-catalog label.mh-books-search { flex-basis:100%; }
  #mh-book-catalog input,#mh-book-catalog select { font-size:16px; }
  #mh-book-catalog .mh-books-filters button { flex:1 1 100%; }
  #mh-book-catalog .mh-books-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  #mh-book-catalog .mh-book-cover { padding:14px; }
  #mh-book-catalog .mh-book-copy { padding:12px; }
  #mh-book-catalog h2 { font-size:15px; }
  #mh-book-catalog .mh-book-author { font-size:13px; }
  #mh-book-catalog .mh-book-bottom { display:block; }
  #mh-book-catalog .mh-book-open { width:100%; justify-content:space-between; }
  body.home .mh-lower-promo { min-height:240px!important; }
  body.home .mh-home-folded .mh-home-extra { display:none!important; }
  body.home .mh-home-more { display:flex; justify-content:center; align-items:center; grid-column:1/-1; min-height:48px; border:1px solid #b5c5b7; border-radius:22px; background:#fff; color:#28443c; font-size:14px; text-transform:none; }
  body.single-product .mh-live-review { display:block!important; padding:20px!important; }
  body.single-product .mh-review-call h2 { font-size:24px!important; }
  body.single-product .mh-review-call { margin-bottom:16px; }
}
@media(prefers-reduced-motion:reduce) { #mh-book-catalog * { transition:none!important; } }
