/* MOHIRA storefront system. Values sampled from the live approved homepage.
   This owns shared components and inner-page frames, not campaigns or commerce logic. */
:root{--mh-canvas:#f8faf8;--mh-surface:#fff;--mh-ink:#293330;--mh-muted:#6a746f;--mh-line:#e5eaec;--mh-teal:#0d9488;--mh-teal-dark:#1c6f63;--mh-ivory:#fffcf7;--mh-olive:#354331;--mh-display:Fraunces,Georgia,serif;--mh-ui:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--mh-card-radius:12px;--mh-control-radius:10px;--mh-control-height:44px;--mh-content-max:1288px;--mh-page-gutter:56px;--mh-section-space:40px}
/* Canonical header: actual homepage component, never per-page logo caps. */
header.mh-unified-header{font-family:var(--mh-ui)}
header.mh-unified-header .bh-logo-wrap{flex-shrink:0;max-width:none}
header.mh-unified-header img.bh-logo-dark{display:inline-block!important;width:auto!important;height:36px!important;max-width:none!important;max-height:36px!important;object-fit:contain}
header.mh-unified-header img.bh-logo-light{display:none!important}
header.mh-unified-mobile img.bh-logo-dark{height:32px!important;max-height:32px!important}
.mh-header-mobile,.mh-mobile-only,.mh-card-mobile{display:none}
.mh-header-desktop,.mh-desktop-only,.mh-card-desktop{display:block}
body.mh-inner{background:var(--mh-canvas);color:var(--mh-ink);font-family:var(--mh-ui);padding-top:73px}
.mh-store-container{width:calc(100% - var(--mh-page-gutter)*2);max-width:var(--mh-content-max);margin:0 auto;padding:32px 0 56px;min-width:0}
.mh-page-title,.mh-inner h1:not(.mh-hero-heading):not(.mh-hero-title){font-family:var(--mh-display);font-weight:400;letter-spacing:-.025em;line-height:1.2}
.mh-page-title{font-size:36px;margin:0 0 28px}
.mh-inner .woocommerce-breadcrumb,.mh-inner .mh-breadcrumb{font:400 12px/1.6 var(--mh-ui);letter-spacing:.015em;color:var(--mh-muted);margin:0 0 18px;padding:0}
.mh-inner .woocommerce-breadcrumb a,.mh-inner .mh-breadcrumb a{color:inherit;text-decoration:none}
.mh-inner .woocommerce-breadcrumb a:hover{color:var(--mh-teal-dark);text-decoration:underline}
.mh-page-heading{margin:0 0 28px;max-width:680px}
.mh-kicker{font:600 11px/1.5 var(--mh-ui);letter-spacing:.2em;color:#ae784f;margin:0 0 10px}
.mh-page-heading h1{font-size:40px;margin:0 0 12px}
.mh-page-heading>p:last-child{font-size:15px;line-height:1.65;color:var(--mh-muted);max-width:620px;margin:0}
.mh-catalog .woocommerce-products-header{margin:0 0 26px;padding:0}
.mh-catalog .woocommerce-products-header h1{font-size:38px;margin:0 0 12px}
.mh-catalog .term-description{font-size:15px;line-height:1.65;color:var(--mh-muted);max-width:680px}
.mh-catalog .mc-hero,.mh-catalog .mc-parent{margin-bottom:28px}
/* One quiet native results/sort toolbar, not a notice-card-within-a-card. */
.mh-catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid var(--mh-line);padding:18px 0;margin:0 0 8px}
.mh-catalog-toolbar .woocommerce-notices-wrapper{flex:1 1 100%}
.mh-catalog-toolbar .woocommerce-notices-wrapper:empty{display:none}
.mh-catalog-toolbar .woocommerce-result-count{margin:0;font-size:13px;color:var(--mh-muted)}
.mh-catalog-toolbar .woocommerce-ordering{margin:0}
.mh-catalog-toolbar select{max-width:100%;min-height:44px;border:1px solid var(--mh-line);border-radius:var(--mh-control-radius);background:var(--mh-surface);padding:10px 34px 10px 12px;font:400 13px var(--mh-ui);color:var(--mh-ink)}
body.mh-catalog-page .mh-catalog ul.products>li.mh-catalog-item:hover{transform:none;box-shadow:none}
/* Reuse the exact homepage renderers; this grid only assigns their available width. */
.mh-catalog ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 20px;list-style:none;margin:0;padding:0;width:100%}
.mh-catalog ul.products::before,.mh-catalog ul.products::after{display:none}
body.mh-catalog-page .mh-catalog ul.products>li.mh-catalog-item{float:none;width:100%;min-width:0;max-width:none;margin:0;padding:0;background:transparent;border:0;list-style:none}
.mh-card-desktop [data-bh-product]{width:100%;min-width:0}
.mh-card-desktop [data-bh-product]>div{height:100%}
.mh-card-desktop [data-bh-product] [data-bh-open-product].font-display{font-family:var(--mh-display);font-size:18px;line-height:1.4;display:block;min-height:50px;text-decoration:none}
.mh-card-desktop [data-bh-product] [data-bh-add]{background:var(--mh-teal);color:#fff;min-width:40px;width:40px;height:40px;padding:0;border-radius:50%}
.mh-card-desktop [data-bh-product] [data-bh-add]:hover{background:#0f766e}
.mh-card-desktop [data-bh-product] [data-bh-toggle-wish]{min-width:36px;width:36px;height:36px;padding:0;border-radius:50%}
.mh-card-mobile [data-bh-card]{width:100%;min-width:0}
.mh-card-mobile [data-bh-card] [data-bh-card-add]{width:32px;height:32px;min-height:32px;min-width:32px;padding:0;border-radius:50%;background:var(--mh-teal);color:white}
.mh-catalog :is(.mh-card-desktop,.mh-card-mobile) img{object-fit:contain;background:#fff}
.mh-catalog :is(.mh-card-desktop,.mh-card-mobile) [class*="aspect-"]{background:#fff}
.mh-catalog .woocommerce-pagination{margin:36px 0 0;text-align:center}
.mh-catalog .woocommerce-pagination ul{display:inline-flex;gap:8px;list-style:none;padding:0;margin:0}
.mh-catalog .woocommerce-pagination li{list-style:none}
.mh-catalog .woocommerce-pagination :is(a,span){min-width:44px;min-height:44px;display:grid;place-items:center;border:1px solid var(--mh-line);border-radius:10px;padding:8px;color:var(--mh-ink);text-decoration:none;background:#fff}
.mh-catalog .woocommerce-pagination .current{background:var(--mh-teal-dark);border-color:var(--mh-teal-dark);color:#fff}
/* Purposeful compact empty bag, owned by native cart-empty.php. No viewport-height centring. */
body.woocommerce-cart.mh-commerce-ui .woocommerce:has(.mh-empty-bag){display:block}
.mh-empty-bag{max-width:600px;margin:32px auto 40px;text-align:center;padding:12px 16px 24px}
.mh-empty-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 22px;border-radius:50%;background:#eaf3ef;color:var(--mh-teal-dark)}
.mh-empty-icon svg{width:32px;height:32px}
.mh-empty-bag h2{font:400 30px/1.3 var(--mh-display);letter-spacing:-.02em;margin:0 auto 14px;max-width:470px}
.mh-empty-bag p{font:400 15px/1.7 var(--mh-ui);color:var(--mh-muted);max-width:420px;margin:0 auto 26px}
.mh-primary-action{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:13px 24px;background:var(--mh-teal-dark);color:#fff;border:1px solid var(--mh-teal-dark);border-radius:10px;font:650 12px/1.5 var(--mh-ui);letter-spacing:.08em;text-decoration:none}
.mh-primary-action:hover{background:#175c52;color:#fff}
/* Commerce retains native form/notice/validation components. Shared frame + heading own its geometry. */
body.mh-commerce-ui .mh-commerce-main{width:calc(100% - var(--mh-page-gutter)*2);max-width:var(--mh-content-max);margin:0 auto;padding:32px 0 56px}
body.mh-commerce-ui .mh-commerce-title{font-family:var(--mh-display);font-size:36px;font-weight:400;line-height:1.2;letter-spacing:-.025em;margin:0 0 28px;color:var(--mh-ink)}
body.mh-commerce-ui :is(.woocommerce-billing-fields,.woocommerce-additional-fields,.cart_totals,#payment,table.shop_table){border-color:var(--mh-line)}
body.mh-inner :is(a,button,input,select,textarea):focus-visible{outline:2px solid var(--mh-teal-dark);outline-offset:3px}
/* Account's actual native template no longer reserves a second 100px header and full-screen wrapper. */
.mh-account-content{padding:12px 0 28px;max-width:100%;margin:0 auto}
.mh-account-content>div{max-width:480px;width:100%;margin:auto}
body.mh-inner.mh-account-page .woocommerce{margin:0;padding:0;max-width:none}
body.mh-inner.mh-account-page .mh-account-content input:not([type=checkbox]):not([type=hidden]){min-height:44px;border-radius:10px}
/* PDP keeps native gallery and purchase form. Align its outer frame with every other route. */
body.mh-inner main.mh-pdp{width:calc(100% - var(--mh-page-gutter)*2);max-width:var(--mh-content-max);padding:32px 0 56px;margin:0 auto;font-family:var(--mh-ui)}
body.mh-inner .mh-info h1{font-family:var(--mh-display)!important;font-size:clamp(28px,2.7vw,38px)!important}
body.single-product .mh-purchase .single_add_to_cart_button{border-radius:10px!important}
body.single-product .mh-purchase :is(.mh-wish,.mh-buy-now){border-radius:10px}
/* Closed shared drawers remain closed in document and full-page captures. */
body.mh-inner [data-bh-sheet][aria-hidden="true"]{visibility:hidden}
@media(min-width:1024px) and (max-width:1279px){.mh-catalog ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:768px) and (max-width:1023px){:root{--mh-page-gutter:24px} .mh-catalog ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}}
@media(max-width:767px){
 :root{--mh-page-gutter:16px;--mh-section-space:28px}
 .mh-header-desktop,.mh-desktop-only,.mh-card-desktop{display:none}
 .mh-header-mobile,.mh-mobile-only,.mh-card-mobile{display:block}
 .mh-header-mobile{position:sticky;top:0;z-index:100}
 body.mh-inner{padding-top:0;padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}
 .mh-store-container,body.mh-commerce-ui .mh-commerce-main,body.mh-inner main.mh-pdp{padding-top:24px;padding-bottom:36px}
 .mh-page-title,body.mh-commerce-ui .mh-commerce-title{font-size:28px;margin-bottom:22px}
 .mh-page-heading{margin-bottom:22px}
 .mh-page-heading h1,.mh-catalog .woocommerce-products-header h1{font-size:30px}
 .mh-page-heading>p:last-child{font-size:14px;line-height:1.6}
 .mh-kicker{font-size:10px;margin-bottom:8px}
 .mh-catalog ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
 .mh-catalog-toolbar{gap:10px;padding:14px 0;margin-bottom:8px}
 .mh-catalog-toolbar select{font-size:12px;max-width:185px;padding-right:20px}
 .mh-catalog-toolbar .woocommerce-result-count{font-size:11px}
 .mh-card-mobile [data-bh-card] button[aria-label="Save"]{min-width:28px;min-height:28px;width:28px;height:28px;padding:0}
 .mh-empty-bag{margin:16px auto 20px;padding:12px 4px 16px}
 .mh-empty-bag h2{font-size:25px;max-width:340px}
 .mh-empty-bag p{font-size:14px}
 .mh-account-content{padding-top:0}
 body.mh-inner.mh-account-page .mh-account-content>div>div{padding:24px}
 body.mh-inner footer .max-w-\[1400px\]{padding-left:16px;padding-right:16px}
}
@media(prefers-reduced-motion:reduce){.mh-primary-action{transition:none}}
/* Tablet keeps access to the same assigned navigation when the desktop link row collapses. */
.mh-tablet-menu{display:none}
@media(min-width:768px) and (max-width:1023px){.mh-tablet-menu{display:block;margin-left:auto;margin-right:18px}.mh-tablet-menu summary{min-height:44px;display:flex;align-items:center;gap:10px;cursor:pointer;font-size:13px;list-style:none}.mh-tablet-menu nav{position:absolute;right:24px;top:73px;background:var(--mh-ivory);border:1px solid var(--mh-line);border-radius:10px;padding:12px;min-width:220px;box-shadow:0 12px 28px #29333014}.mh-tablet-menu nav a{display:block;padding:12px;text-decoration:none;color:var(--mh-olive)}}

.mh-search-form{display:flex;gap:12px;max-width:620px;margin:0 0 28px}.mh-search-form input[type=search]{flex:1;min-width:0;min-height:44px;border:1px solid var(--mh-line);border-radius:10px;background:white;padding:10px 12px;font:16px var(--mh-ui)}
