/* Modern High — Main Styles
   White-first. Black typography. Lime accent.
   Square buttons/inputs/cards (no pill/rounded).
*/

:root{
  --mh-bg: #ffffff;
  --mh-fg: #0a0a0a;
  --mh-surface: #ffffff;
  --mh-surface-2: #f7f7f7;
  --mh-muted: #6b6b6b;
  --mh-line: #e8e8e8;
  --mh-accent: #B6FF00; /* lime */
  --mh-accent-soft: rgba(182,255,0,.18);
  --mh-max: 1200px;
  --mh-radius: 0px; /* square UI */
  --mh-shadow: 0 10px 30px rgba(0,0,0,.06);
  --mh-font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  --mh-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Header (light) */
  --mh-header-bg: rgba(255,255,255,.92);
  --mh-header-border: #e8e8e8;
}


/* Theme tokens: dark mode (works with html[data-theme="dark"] and body.mh-dark) */
html[data-theme="dark"],
body.mh-dark{
  --mh-bg: #0a0a0a;
  --mh-fg: #ffffff;
  --mh-surface: #0a0a0a;
  --mh-surface-2: rgba(255,255,255,.04);
  --mh-muted: rgba(255,255,255,.70);
  --mh-line: rgba(255,255,255,.16);
  --mh-shadow: 0 16px 40px rgba(0,0,0,.35);

  /* Header (dark) */
  --mh-header-bg: rgba(0,0,0,.86);
  --mh-header-border: rgba(255,255,255,.16);
}

*{ box-sizing: border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--mh-bg);
  color:var(--mh-fg) !important;
  font-family:var(--mh-font);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

a{ color:var(--mh-fg) !important; text-decoration:none; }
a:hover{ color:var(--mh-fg) !important; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline:2px solid var(--mh-accent);
  outline-offset:2px;
}

img{ max-width:100%; height:auto; display:block; }
hr{ border:0; border-top:1px solid var(--mh-line); margin:2rem 0; }

.mh-container{
  width:100%;
  max-width:var(--mh-max);
  margin:0 auto;
  padding:0 20px;
}

.mh-skip{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.mh-skip:focus{
  left:20px; top:20px; width:auto; height:auto;
  background:var(--mh-accent); color:#000;
  padding:10px 12px; z-index:9999;
}

/* Header */
.mh-header{
  position:sticky;
  top:0;
  z-index:50;
  background:var(--mh-header-bg);
  backdrop-filter:saturate(150%) blur(10px);
  border-bottom:1px solid var(--mh-header-border);
}
.mh-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 0;
}
.mh-brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:160px;
}
.mh-brand__logo img{
  width:34px; height:34px;
}
.mh-brand__name{
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  font-size:14px;
  line-height:1;
}
.mh-nav{
  display:flex;
  align-items:center;
  gap:18px;
}
.mh-nav a{
  position:relative;
  font-weight:850;
  letter-spacing:.08em;
  font-size:12px;
  text-transform:uppercase;
  padding:10px 12px;
  color:var(--mh-fg) !important;
  transition:color .35s ease, opacity .35s ease;
}
.mh-nav a::after{
  content:"";
  position:absolute;
  left:12px;
  right:12px;
  bottom:6px;
  height:2px;
  background:var(--mh-accent);
  opacity:0;
  transform:scaleX(.6);
  transform-origin:left;
  transition:opacity .35s ease, transform .35s ease;
}
.mh-nav a:hover::after{ opacity:1; transform:scaleX(1); }
.mh-nav .current-menu-item > a::after,
.mh-nav .current_page_item > a::after{ opacity:1; transform:scaleX(1); }

.mh-actions{
  display:flex; align-items:center; gap:10px;
}

/* Icon button sizing (consistent visibility) */
.mh-actions .mh-iconbtn{
  width:44px;
  height:44px;
  padding:0;
}
.mh-actions .mh-iconbtn svg{ pointer-events:none; }
.mh-iconbtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  appearance:none;
  border:1px solid var(--mh-line);
  background:var(--mh-surface);
  color:var(--mh-fg) !important;
  border-radius:var(--mh-radius);
  padding:10px 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:background .35s ease, border-color .35s ease, color .35s ease, opacity .35s ease;
}
.mh-iconbtn svg{ width:18px; height:18px; display:block; opacity:1; stroke:currentColor; fill:none; }

/* Theme toggle icon swap (hard-locked: always visible on white/black) */
.mh-iconbtn[data-mh-toggle="theme"]{ position:relative; }
.mh-iconbtn[data-mh-toggle="theme"] svg{ position:absolute; inset:0; margin:auto; width:18px; height:18px; }
.mh-iconbtn[data-mh-toggle="theme"]{ color:var(--mh-fg) !important; }
.mh-icon--sun, .mh-icon--moon{ display:block !important; opacity:0; transition:opacity .35s ease; }

/* Primary switch driven by html[data-theme] */
html[data-theme="light"] .mh-icon--sun{ opacity:1; }
html[data-theme="light"] .mh-icon--moon{ opacity:0; }
html[data-theme="dark"]  .mh-icon--sun{ opacity:0; }
html[data-theme="dark"]  .mh-icon--moon{ opacity:1; }

/* Fallback if html[data-theme] missing */
body.mh-dark .mh-icon--sun{ opacity:0; }
body.mh-dark .mh-icon--moon{ opacity:1; }
body:not(.mh-dark) .mh-icon--sun{ opacity:1; }
body:not(.mh-dark) .mh-icon--moon{ opacity:0; }

.mh-iconbtn:hover{
  border-color:var(--mh-fg) !important;
  background:var(--mh-surface-2);
}

.mh-mobile-toggle{ display:none; }
@media (max-width: 860px){
  .mh-nav{ display:none; }
  .mh-mobile-toggle{ display:inline-flex; }
}

/* Mobile header fit: keep theme toggle visible on small screens */
@media (max-width: 520px){
  .mh-brand--logo .mh-brand__name{ display:none; }
  .mh-header__inner{ gap:10px; }
  .mh-actions{ gap:8px; }
}
@media (max-width: 420px){
  .mh-container{ padding:0 14px; }
  .mh-header__inner{ padding:12px 0; }
  .mh-actions .mh-iconbtn{ width:40px; height:40px; }
  .mh-actions .mh-iconbtn svg{ width:18px; height:18px; }
}

@media (max-width: 380px){
  .mh-container{ padding:0 14px; }
  .mh-actions .mh-iconbtn{ width:38px; height:38px; }
}

/* Mobile panel */
.mh-mobile{
  display:none;
  border-top:1px solid var(--mh-line);
  background:var(--mh-bg);
}
.mh-mobile.is-open{ display:block; }
.mh-mobile a{
  display:block;
  padding:14px 20px;
  border-bottom:1px solid var(--mh-line);
  font-weight:750;
  text-transform:uppercase;
  letter-spacing:.02em;
  font-size:13px;
}

/* Buttons */
.mh-btn,
button,
input[type="submit"],
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:var(--mh-radius) !important;
  border:1px solid var(--mh-fg) !important;
  background:var(--mh-fg) !important;
  color:var(--mh-bg) !important;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:800;
  font-size:12px;
  cursor:pointer;
  transition:opacity .35s ease, background .35s ease, border-color .35s ease, color .35s ease, box-shadow .35s ease;
}
.mh-btn:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover{
  background:var(--mh-accent);
  border-color:var(--mh-accent);
  color:#000 !important;
}
.mh-btn:active{ opacity:.92; }

.mh-btn--ghost{
  background:var(--mh-surface) !important;
  color:var(--mh-fg) !important;
  border-color:var(--mh-line);
}
.mh-btn--ghost:hover{
  border-color:#000;
  background:#fff;
  color:#000 !important;
}

/* Forms */
input, select, textarea{
  width:100%;
  padding:12px 12px;
  border:1px solid var(--mh-line);
  border-radius:var(--mh-radius);
  font-size:14px;
  background:#fff;
  color:#000;
}
input:focus, select:focus, textarea:focus{
  border-color:#000;
}
label{
  font-weight:750;
  text-transform:uppercase;
  letter-spacing:.05em;
  font-size:11px;
  display:block;
  margin:0 0 6px 0;
  color:#000;
}

.mh-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:24px;
}
.mh-card{
  border:1px solid var(--mh-line);
  border-radius:var(--mh-radius);
  background:var(--mh-surface);
  box-shadow:none;
}
.mh-card__inner{ padding:18px; }
.mh-kicker{
  color:var(--mh-muted);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:800;
  font-size:11px;
}
.mh-h1{
  margin:.4rem 0 0 0;
  font-size:clamp(34px, 4vw, 54px);
  line-height:1.05;
  letter-spacing:-.02em;
  font-weight:900;
  text-transform:uppercase;
}
.mh-h2{
  margin:0;
  font-size:22px;
  letter-spacing:-.01em;
  font-weight:900;
  text-transform:uppercase;
}
.mh-lead{
  margin:14px 0 0 0;
  color:var(--mh-fg) !important;
  opacity:.82;
  max-width:62ch;
  font-size:15px;
}
.mh-accent{
  color:#000;
  background:linear-gradient(90deg, var(--mh-accent), #00ff9a);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* “Text masking” utilities */
.mh-mask--gradient{
  background:linear-gradient(90deg, var(--mh-accent), #00ff9a, #00d4ff);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
.mh-mask--photo{
  background:linear-gradient(90deg, #000, #000); /* fallback */
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  position:relative;
}

/* Layout */
.mh-main{ padding:0; }
.mh-section{ padding:72px 0; }
.mh-section--tight{ padding:34px 0; }
.mh-split{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:22px;
  align-items:start;
}
@media(max-width: 860px){
  .mh-split{ grid-template-columns: 1fr; }
}

/* Post / content */
.mh-content > *{ max-width: 78ch; }
.mh-content h2, .mh-content h3{
  text-transform:uppercase;
  letter-spacing:.03em;
}
.mh-meta{
  color:var(--mh-muted);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:800;
}
.mh-post-title{
  margin:10px 0 0 0;
  font-size:clamp(28px, 3vw, 44px);
  line-height:1.1;
  font-weight:950;
  text-transform:uppercase;
}

/* Footer */
.mh-footer{
  border-top:1px solid var(--mh-line);
  padding:26px 0;
}
.mh-footer__inner{
  display:flex;
  gap:18px;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap;
}
.mh-footer .mh-nav a{ font-size:12px; }
.mh-footnote{
  font-size:12px;
  color:var(--mh-muted);
}

/* WordPress blocks */
.wp-site-blocks, .wp-block-group{ max-width:100%; }
.wp-block-separator{ border-color:var(--mh-line); }
.wp-block-quote{
  border-left:3px solid var(--mh-accent);
  padding-left:14px;
  margin:1.5rem 0;
}
.wp-block-button__link{ text-decoration:none; }

/* WooCommerce */
.woocommerce .woocommerce-breadcrumb{ display:none; }

/* Single product — clean aligned grid */
.woocommerce div.product{
  display:grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap:48px;
  align-items:start;
}
.woocommerce div.product .woocommerce-product-gallery{ grid-column:1; }
.woocommerce div.product .summary{ grid-column:2; }
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .up-sells{
  grid-column:1 / -1;
}
@media (max-width: 980px){
  .woocommerce div.product{ grid-template-columns: 1fr; }
  .woocommerce div.product .summary{ grid-column:1; }
}

/* Tabs — minimalist, no bullets */
.woocommerce div.product .woocommerce-tabs ul.tabs{
  list-style:none;
  padding:0;
  margin:28px 0 16px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  border:0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li{
  margin:0;
  padding:0;
  border:1px solid var(--mh-line);
  border-bottom:1px solid var(--mh-line);
  background:var(--mh-surface);
}
/* Kill Woo tab pseudo-elements that can cause "skewed" borders */
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after{
  display:none !important;
  content:none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
  display:block;
  padding:10px 12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:900;
  font-size:11px;
  color:var(--mh-fg) !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{
  border-color:var(--mh-fg) !important;
}
.woocommerce div.product .woocommerce-tabs .panel{
  border:1px solid var(--mh-line);
  padding:20px;
  background:var(--mh-surface);
}

.woocommerce div.product .product_title{
  text-transform:uppercase;
  font-weight:950;
  letter-spacing:-.01em;
}
.woocommerce .price, .woocommerce div.product p.price, .woocommerce div.product span.price{
  font-weight:900;
  letter-spacing:.02em;
}
.woocommerce ul.products{
  margin:0;
}
.woocommerce ul.products li.product{
  position:relative;
  border:1px solid var(--mh-line);
  padding:16px;
  border-radius:var(--mh-radius);
  background:var(--mh-surface);
  transition:border-color .35s ease, background .35s ease;
}
.woocommerce ul.products li.product::after{
  content:'';
  position:absolute;
  inset:0;
  border:1px solid var(--mh-fg);
  opacity:0;
  transform:scale(.985);
  transition:opacity .45s ease, transform .45s ease;
  pointer-events:none;
}
.woocommerce ul.products li.product:hover{ border-color:var(--mh-fg) !important; }
.woocommerce ul.products li.product:hover::after{ opacity:1; transform:scale(1); }
.woocommerce ul.products li.product a{ text-decoration:none; }
.woocommerce ul.products li.product a:focus{ outline:2px solid var(--mh-accent); outline-offset:2px; }

.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size:13px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.woocommerce span.onsale{
  background:var(--mh-accent);
  color:#000;
  border-radius:var(--mh-radius);
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding:8px 10px;
}
.woocommerce .quantity .qty{
  width:92px;
}
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info, .woocommerce .woocommerce-error{
  border-radius:var(--mh-radius);
  border:1px solid var(--mh-line);
}
.woocommerce table.shop_table{
  border-radius:var(--mh-radius);
  border:1px solid var(--mh-line);
}
.woocommerce table.shop_table th{
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size:11px;
}
.woocommerce .cart-collaterals .cart_totals, .woocommerce .woocommerce-checkout #order_review{
  border:1px solid var(--mh-line);
  padding:16px;
  border-radius:var(--mh-radius);
  background:var(--mh-surface-2);
  color:var(--mh-fg) !important;
}
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register{
  border:1px solid var(--mh-line);
  border-radius:var(--mh-radius);
}


/* ------------------------------------------------------------
   Modern High — Homepage layout upgrades
------------------------------------------------------------ */
.mh-hero{ padding:34px 0 10px; }
.mh-hero__cta{ display:flex; gap:12px; flex-wrap:wrap; margin-top:18px; }
.mh-hero__meta{ display:flex; gap:8px; flex-wrap:wrap; margin-top:16px; }
.mh-pill{
  display:inline-flex;
  align-items:center;
  height:26px;
  padding:0 10px;
  border:1px solid var(--mh-line);
  border-radius:var(--mh-radius);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:800;
  background:var(--mh-surface-2);
  color:var(--mh-fg) !important;
}
.mh-hero__panelActions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:14px; }
.mh-sectionHead{ display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:28px; }
.mh-grid--cards > .mh-card{ grid-column: span 4; }
@media(max-width: 980px){ .mh-grid--cards > .mh-card{ grid-column: span 6; } }
@media(max-width: 640px){ .mh-grid--cards > .mh-card{ grid-column: span 12; } }

.mh-card--link{ text-decoration:none; color:inherit; position:relative; }
.mh-card--link:hover{ border-color:#000; }
.mh-card__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.mh-arrow{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--mh-line);
  border-radius:var(--mh-radius);
  font-weight:900;
}
.mh-card--link:hover .mh-arrow{
  border-color:var(--mh-accent);
  background:var(--mh-accent);
  color:#000;
}
.mh-h2--card{ font-size:18px; }
.mh-lead--small{ font-size:13px; color:#111; }
.mh-link{
  display:inline-flex;
  margin-top:12px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:900;
  color:#000;
  border-bottom:2px solid var(--mh-accent);
}
.mh-center{ display:flex; justify-content:center; }

.mh-initiative__grid{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap:18px;
  align-items:center;
}
.mh-initiative__actions{ display:flex; gap:10px; justify-content:flex-end; flex-wrap:wrap; }
@media(max-width: 860px){
  .mh-initiative__grid{ grid-template-columns: 1fr; }
  .mh-initiative__actions{ justify-content:flex-start; }
}

.mh-grid--posts > .mh-card{ grid-column: span 4; }
@media(max-width: 980px){ .mh-grid--posts > .mh-card{ grid-column: span 6; } }
@media(max-width: 640px){ .mh-grid--posts > .mh-card{ grid-column: span 12; } }
.mh-postCard__link{ color:inherit; text-decoration:none; display:block; height:100%; }
.mh-postCard__inner{ padding:18px; }
.mh-postCard:hover{ border-color:#000; }

/* ------------------------------------------------------------
   Modern High — WooCommerce square UI upgrades
------------------------------------------------------------ */

/* Notices */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error{
  border:1px solid var(--mh-line);
  border-left:6px solid var(--mh-accent);
  background:#fff;
  color:#000;
  padding:14px 14px;
  border-radius:var(--mh-radius);
}
.woocommerce .woocommerce-error{ border-left-color:#ff3b30; }
.woocommerce .woocommerce-info{ border-left-color:#000; }
.woocommerce a.restore-item{ color:#000; border-bottom:2px solid var(--mh-accent); }

/* Shop grid cards */
.woocommerce ul.products{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:18px;
  margin:0;
}
.woocommerce ul.products li.product{
  grid-column: span 4;
  margin:0 !important;
  padding:0;
  border:1px solid var(--mh-line);
  border-radius:var(--mh-radius);
  background:#fff;
  overflow:hidden;
  position:relative;
}
@media(max-width: 980px){ .woocommerce ul.products li.product{ grid-column: span 6; } }
@media(max-width: 640px){ .woocommerce ul.products li.product{ grid-column: span 12; } }

.woocommerce ul.products li.product a{
  text-decoration:none;
  color:inherit;
}
.woocommerce ul.products li.product .woocommerce-loop-product__link{
  display:block;
}
.woocommerce ul.products li.product img{
  width:100%;
  height:auto;
  display:block;
  border-bottom:1px solid var(--mh-line);
  margin:0 !important;
}
.woocommerce ul.products li.product .mh-prodBody,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3{
  padding:0 16px;
}
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  padding-top:14px;
  padding-bottom:6px;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.04em;
  font-weight:900;
  margin:0 !important;
}
.woocommerce ul.products li.product .price{
  padding-bottom:14px;
  color:var(--mh-muted);
  font-weight:900;
  letter-spacing:.02em;
}
.woocommerce ul.products li.product .button{
  width:calc(100% - 32px);
  margin:0 16px 16px !important;
}

/* Cart */
.woocommerce table.shop_table{
  border:1px solid var(--mh-line);
  border-radius:var(--mh-radius);
  border-collapse:separate;
  overflow:hidden;
}
.woocommerce table.shop_table th{
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size:11px;
  font-weight:900;
}
.woocommerce table.shop_table td, .woocommerce table.shop_table th{
  padding:14px;
}
.woocommerce-cart .cart-collaterals .cart_totals{
  border:1px solid var(--mh-line);
  border-radius:var(--mh-radius);
  padding:16px;
  background:#fff;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
  width:100%;
}

/* Proceed button fix (visible in light + dark) */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce a.checkout-button,
.woocommerce button.checkout-button{
  border:1px solid var(--mh-fg) !important;
  background:var(--mh-fg) !important;
  color:var(--mh-bg) !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{
  background:var(--mh-accent) !important;
  border-color:var(--mh-accent) !important;
  color:#000 !important;
}

/* Checkout */
.woocommerce-checkout form.checkout{
  margin-top:18px;
}
.woocommerce-checkout #customer_details,
.woocommerce-checkout .woocommerce-checkout-review-order{
  border:1px solid var(--mh-line);
  border-radius:var(--mh-radius);
  padding:16px;
  background:#fff;
}
.woocommerce-checkout .woocommerce-checkout-review-order{ margin-top:18px; }
.woocommerce-checkout .woocommerce-checkout-payment{
  background:#fff !important;
  border:1px solid var(--mh-line);
  border-radius:var(--mh-radius);
}
.woocommerce-checkout #place_order{
  width:100%;
}

/* Mini polish */
.woocommerce .star-rating span::before{ color:#000; }
.woocommerce a{ color:#000; }
.woocommerce a:hover{ color:#000; }
.woocommerce .woocommerce-breadcrumb{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:900;
  color:var(--mh-muted);
}



/* Bold gradient headings */
.mh-gradient{
  font-weight:950;
  letter-spacing:-.02em;
  text-transform:uppercase;
  background:linear-gradient(90deg, #000 0%, var(--mh-accent) 35%, #00ff9a 60%, #00d4ff 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
body.mh-dark .mh-gradient{
  background:linear-gradient(90deg, #fff 0%, var(--mh-accent) 35%, #00ff9a 60%, #00d4ff 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}




.mh-hero, .mh-section{ position:relative; }






/* Hide number spinners for cleaner square UI */
.woocommerce input.qty::-webkit-outer-spin-button,
.woocommerce input.qty::-webkit-inner-spin-button{ -webkit-appearance: none; margin:0; }
.woocommerce input.qty{ -moz-appearance:textfield; }


/* Card hover (slow fade) */
.mh-card--link{ position:relative; transition:border-color .35s ease, background .35s ease; }
.mh-card--link::after{
  content:'';
  position:absolute;
  inset:10px;
  border:1px solid var(--mh-fg);
  opacity:0;
  transition:opacity .35s ease;
  pointer-events:none;
}
.mh-card--link:hover::after{ opacity:1; }



/* WooCommerce buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .woocommerce-message .button{
  border-radius:var(--mh-radius) !important;
  border:1px solid var(--mh-fg) !important;
  background:var(--mh-fg) !important;
  color:var(--mh-bg) !important;
  padding:12px 16px !important;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:900;
  font-size:12px;
  transition:opacity .35s ease, background .35s ease, border-color .35s ease, color .35s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover{
  background:var(--mh-accent) !important;
  border-color:var(--mh-accent) !important;
  color:#000 !important;
}
.woocommerce ul.products li.product a.button{ margin-top:12px !important; display:inline-flex; width:auto; }
.woocommerce ul.products li.product .button{ box-shadow:none !important; }

.woocommerce-cart table.cart td.actions .coupon .input-text{ min-width:220px; }
.woocommerce-cart .actions .button{ margin-left:8px; }

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error{
  background:var(--mh-surface-2);
  color:var(--mh-fg) !important;
  border-left:4px solid var(--mh-accent);
}

.woocommerce .woocommerce-cart-form,
.woocommerce-checkout form.checkout{
  margin-top:18px;
}

.mh-main--wc{ padding-top:52px; padding-bottom:72px; }

/* MH_V4_STYLES */

/* Hero media */
.mh-heroMedia{ position:relative; min-height:72vh; display:flex; align-items:flex-end; border-bottom:1px solid var(--mh-line); }
.mh-heroMedia__media{ position:absolute; inset:0; overflow:hidden; }
.mh-heroMedia__img, .mh-heroMedia video{ width:100%; height:100%; object-fit:cover; display:block; filter:saturate(105%) contrast(105%); }
.mh-heroMedia__fallback{ width:100%; height:100%; background: radial-gradient(1200px 600px at 20% 10%, rgba(182,255,0,.22), transparent 60%), radial-gradient(900px 500px at 80% 40%, rgba(0,212,255,.12), transparent 55%), linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.75)); }
.mh-heroMedia__scrim{ position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.82) 100%); pointer-events:none; }

.mh-heroMedia__content{ position:relative; padding:96px 0 64px 0; }
.mh-h1--hero{ font-size:clamp(44px, 5.4vw, 82px); letter-spacing:-.03em; }
.mh-lead--hero{ max-width:70ch; color:#fff; opacity:.9; }
.mh-heroMedia__cta{ display:flex; gap:12px; flex-wrap:wrap; margin-top:22px; }
.mh-heroMedia__meta{ display:flex; gap:8px; flex-wrap:wrap; margin-top:18px; }
@media(max-width: 860px){ .mh-heroMedia__content{ padding:76px 0 52px; } }

/* Cleaner section rhythm */
.mh-section{ padding:86px 0; }
.mh-section--tight{ padding:44px 0; }
.mh-sectionHead{ margin-bottom:32px; }

/* Category grid spacing */
.mh-grid--spaced{ gap:24px !important; }

/* Card hover fade */
.mh-card--link{ transition:border-color .45s ease, background .45s ease, transform .45s ease; }
.mh-card--link:hover{ transform:translateY(-2px); }
.mh-card--link::after{ transition:opacity .45s ease; }

/* Editorial pill bar */
.mh-pillbar{ display:flex; flex-wrap:wrap; gap:10px; margin:22px 0 26px; }
.mh-pillfilter{ display:inline-flex; padding:10px 12px; border:1px solid var(--mh-line); background:var(--mh-surface); text-transform:uppercase; letter-spacing:.08em; font-weight:900; font-size:11px; color:var(--mh-fg) !important; transition:background .35s ease, border-color .35s ease, opacity .35s ease; }
.mh-pillfilter:hover{ background:var(--mh-surface-2); }
.mh-pillfilter.is-active{ border-color:var(--mh-fg) !important; }

/* Masonry (CSS columns) */
.mh-masonry{ column-count:3; column-gap:24px; }
.mh-masonry__item{ break-inside:avoid; margin:0 0 24px; display:block; }
@media(max-width: 980px){ .mh-masonry{ column-count:2; } }
@media(max-width: 640px){ .mh-masonry{ column-count:1; } }

/* Collections / drop archive */
.mh-dropHeader{ display:flex; gap:12px; flex-wrap:wrap; margin:24px 0 30px; }
.mh-dropGrid{ display:grid; grid-template-columns:repeat(12, 1fr); gap:24px; }
.mh-dropCard{ grid-column:span 4; border:1px solid var(--mh-line); background:var(--mh-surface); transition:border-color .45s ease, background .45s ease; }
.mh-dropCard:hover{ border-color:var(--mh-fg) !important; }
.mh-dropCard__media{ width:100%; aspect-ratio:4/3; background-size:cover; background-position:center; background-color:var(--mh-surface-2); }
.mh-dropCard__body{ padding:16px; }
.mh-dropCard__title{ font-weight:950; text-transform:uppercase; letter-spacing:.04em; }
.mh-dropCard__price{ margin-top:10px; font-weight:900; }
@media(max-width: 980px){ .mh-dropCard{ grid-column:span 6; } }
@media(max-width: 640px){ .mh-dropCard{ grid-column:span 12; } }

/* Shop bar (sticky, square) */
.mh-shopHead{ margin-bottom:22px; }
.mh-shopBar{ position:sticky; top:74px; z-index:20; display:flex; gap:14px; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; padding:14px; border:1px solid var(--mh-line); background:rgba(255,255,255,.92); backdrop-filter:saturate(160%) blur(10px); margin:18px 0 28px; }
html[data-theme="dark"] .mh-shopBar, body.mh-dark .mh-shopBar{ background:rgba(10,10,10,.86); }
.mh-shopBar__left, .mh-shopBar__right{ display:flex; gap:10px; flex-wrap:wrap; align-items:flex-end; }
.mh-shopBar__label{ font-size:11px; text-transform:uppercase; letter-spacing:.08em; font-weight:900; color:var(--mh-muted); margin-right:6px; }
.mh-select{ height:44px; min-width:160px; border:1px solid var(--mh-line); background:var(--mh-surface); color:var(--mh-fg) !important; padding:0 12px; border-radius:0; }
.woocommerce-ordering{ margin:0 !important; }
.woocommerce-ordering select{ height:44px; border:1px solid var(--mh-line); background:var(--mh-surface); color:var(--mh-fg) !important; padding:0 12px; border-radius:0; }

/* Woo product card hover: remove huge inset border */
.woocommerce ul.products li.product::after{ display:none !important; }
.woocommerce ul.products li.product{ transition:border-color .45s ease, background .45s ease; }
.woocommerce ul.products li.product:hover{ background:var(--mh-surface-2); border-color:var(--mh-fg) !important; }

/* Woo single product — tightened, aligned, Yeezy-clean */
.single-product .mh-main--wc{ padding-top:44px; padding-bottom:72px; }
.single-product .woocommerce div.product{
  display:grid;
  grid-template-columns: minmax(0,560px) minmax(0,520px);
  gap:36px;
  align-items:start;
  justify-content:space-between;
}
.single-product .woocommerce div.product div.images,
.single-product .woocommerce div.product div.summary{
  float:none !important;
  width:auto !important;
  margin:0 !important;
}
.single-product .woocommerce div.product div.images img{
  width:100%;
  border:1px solid var(--mh-line);
  background:var(--mh-surface);
}
.single-product .woocommerce div.product .summary{
  padding-top:4px;
}
.single-product .woocommerce div.product .product_title{
  margin:0 0 10px 0;
}
.single-product .woocommerce div.product p.price,
.single-product .woocommerce div.product span.price{
  margin:0 0 16px 0;
  opacity:.9;
}
@media(max-width: 980px){
  .single-product .woocommerce div.product{ grid-template-columns:1fr; gap:24px; }
}


/* Variations as stacked cards */
.woocommerce div.product form.cart .variations{ display:grid; grid-template-columns:1fr; gap:12px; margin-bottom:18px; }
.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th{ padding:0 !important; border:0 !important; }
.woocommerce div.product form.cart .variations label{ display:block; font-weight:900; text-transform:uppercase; letter-spacing:.08em; font-size:11px; margin:0 0 6px; }
.woocommerce div.product form.cart .variations select{ height:44px; width:100%; border:1px solid var(--mh-line); background:var(--mh-surface); color:var(--mh-fg) !important; padding:0 12px; border-radius:0; }

/* Quantity + Add to cart row */
.woocommerce div.product form.cart{ display:flex; flex-direction:column; gap:16px; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart{ display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.woocommerce div.product form.cart .quantity{ margin:0 !important; }
.woocommerce div.product form.cart .single_add_to_cart_button{ height:48px; padding:0 18px; min-width:180px; }

/* Qty control visibility */
.mh-qty{ display:inline-flex; align-items:stretch; border:1px solid var(--mh-line); background:var(--mh-surface); height:48px; }
.woocommerce div.product form.cart .mh-qty{ width:180px; }
.mh-qty input.qty{ width:70px !important; text-align:center; border-left:1px solid var(--mh-line); border-right:1px solid var(--mh-line); border-top:0; border-bottom:0; height:48px !important; padding:0; background:transparent; }
.mh-qty__btn{ width:52px; height:48px; border:0; background:transparent; color:var(--mh-fg) !important; font-weight:950; cursor:pointer; }
.mh-qty__btn:hover{ background:var(--mh-surface-2); }
.mh-qty button{ color:var(--mh-fg) !important; }

/* Cart qty */
.woocommerce-cart .product-quantity .mh-qty{ display:inline-flex; }



/* Woo tabs cleanup */
.woocommerce div.product .woocommerce-tabs ul.tabs{ padding-left:0 !important; margin:28px 0 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before{ display:none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after{ display:none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li{ border-radius:0 !important; }

/* =============================
   MH v4.4 — Overrides (hotfix)
   Fix: toggle icon visibility (light), nav typography/hover,
   Woo single product qty alignment
   ============================= */

/* Header icons always visible */
.mh-iconbtn{ color:var(--mh-fg) !important; }
.mh-iconbtn svg{ stroke:currentColor; fill:none; }

/* Theme toggle: show ONE icon, always visible on white/black */
.mh-iconbtn[data-mh-toggle="theme"]{ position:relative; width:44px; height:44px; padding:0 !important; }
.mh-iconbtn[data-mh-toggle="theme"] .mh-icon--sun,
.mh-iconbtn[data-mh-toggle="theme"] .mh-icon--moon{
  position:absolute;
  inset:0;
  margin:auto;
  width:18px;
  height:18px;
  display:block !important;
  opacity:0;
  transition:opacity .35s ease;
}
html:not([data-theme="dark"]) .mh-iconbtn[data-mh-toggle="theme"] .mh-icon--sun{ opacity:1; }
html[data-theme="dark"] .mh-iconbtn[data-mh-toggle="theme"] .mh-icon--moon{ opacity:1; }
body.mh-dark .mh-iconbtn[data-mh-toggle="theme"] .mh-icon--moon{ opacity:1; }
body.mh-dark .mh-iconbtn[data-mh-toggle="theme"] .mh-icon--sun{ opacity:0; }

/* Nav typography + hover (more "nav bar type") */
.mh-nav a{
  font-weight:850 !important;
  letter-spacing:.08em !important;
  font-size:12px !important;
  padding:10px 12px !important;
  border-bottom:0 !important;
  position:relative;
}
.mh-nav a::after{
  content:"";
  position:absolute;
  left:12px;
  right:12px;
  bottom:6px;
  height:2px;
  background:var(--mh-accent);
  opacity:0;
  transform:scaleX(.65);
  transform-origin:left;
  transition:opacity .35s ease, transform .35s ease;
}
.mh-nav a:hover::after{ opacity:1; transform:scaleX(1); }
.mh-nav .current-menu-item > a::after,
.mh-nav .current_page_item > a::after{ opacity:1; transform:scaleX(1); }

/* Woo single product: align qty + button cleanly */
.woocommerce div.product form.cart{
  display:flex !important;
  flex-direction:column !important;
  gap:16px !important;
}
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart,
.woocommerce div.product form.cart .variations_button{
  display:flex !important;
  gap:12px !important;
  align-items:center !important;
  flex-wrap:wrap !important;
}
.woocommerce div.product form.cart .mh-qty{
  display:inline-flex !important;
  align-items:stretch !important;
  height:48px !important;
  width:180px !important;
  border:1px solid var(--mh-line) !important;
  background:var(--mh-surface) !important;
}
.woocommerce div.product form.cart .mh-qty__btn{
  width:52px !important;
  height:48px !important;
  border:0 !important;
  background:transparent !important;
  color:var(--mh-fg) !important;
  font-weight:900 !important;
}
.woocommerce div.product form.cart .mh-qty input.qty{
  width:76px !important;
  height:48px !important;
  padding:0 !important;
  margin:0 !important;
  border-left:1px solid var(--mh-line) !important;
  border-right:1px solid var(--mh-line) !important;
  border-top:0 !important;
  border-bottom:0 !important;
  background:transparent !important;
  text-align:center !important;
  color:var(--mh-fg) !important;
}
.woocommerce div.product form.cart .single_add_to_cart_button{
  height:48px !important;
  padding:0 18px !important;
}

/* Tabs cleanup (kill odd borders/pseudo lines) */
.woocommerce div.product .woocommerce-tabs ul.tabs::before{ display:none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after{ display:none !important; }

/* Alt buttons (checkout/place order) */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #place_order{
  border:1px solid var(--mh-fg) !important;
  background:var(--mh-fg) !important;
  color:var(--mh-bg) !important;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #place_order:hover{
  background:var(--mh-accent) !important;
  border-color:var(--mh-accent) !important;
  color:#000 !important;
}

/* =============================
   MH v4.5.1 — Toggle visibility hotfix
   Ensures toggle is visible in LIGHT mode and only one icon shows.
   ============================= */

/* Make sure the toggle button always contrasts against header */
.mh-iconbtn[data-mh-toggle="theme"]{
  border-color: var(--mh-fg) !important;
  background: transparent !important;
  color: var(--mh-fg) !important;
}

/* Reset both icons then enable one based on theme */
.mh-iconbtn[data-mh-toggle="theme"] .mh-icon--sun,
.mh-iconbtn[data-mh-toggle="theme"] .mh-icon--moon{
  opacity: 0 !important;
}
html:not([data-theme="dark"]) .mh-iconbtn[data-mh-toggle="theme"] .mh-icon--sun{ opacity: 1 !important; }
html[data-theme="dark"] .mh-iconbtn[data-mh-toggle="theme"] .mh-icon--moon{ opacity: 1 !important; }
body.mh-dark .mh-iconbtn[data-mh-toggle="theme"] .mh-icon--moon{ opacity: 1 !important; }
body.mh-dark .mh-iconbtn[data-mh-toggle="theme"] .mh-icon--sun{ opacity: 0 !important; }

/* =============================
   MH v4.5.1 — Toggle visibility hard-fix
   Ensures the theme toggle icon is always visible in both modes.
   ============================= */
.mh-iconbtn[data-mh-toggle="theme"]{
  border-color: var(--mh-line) !important;
  background: var(--mh-surface) !important;
}
html[data-theme="light"] .mh-iconbtn[data-mh-toggle="theme"]{ color:#0a0a0a !important; }
html[data-theme="dark"]  .mh-iconbtn[data-mh-toggle="theme"]{ color:#ffffff !important; }

/* Show exactly one icon */
html[data-theme="light"] .mh-iconbtn[data-mh-toggle="theme"] .mh-icon--sun{ opacity:1 !important; }
html[data-theme="light"] .mh-iconbtn[data-mh-toggle="theme"] .mh-icon--moon{ opacity:0 !important; }
html[data-theme="dark"]  .mh-iconbtn[data-mh-toggle="theme"] .mh-icon--sun{ opacity:0 !important; }
html[data-theme="dark"]  .mh-iconbtn[data-mh-toggle="theme"] .mh-icon--moon{ opacity:1 !important; }

/* If an older body-class toggle is in play */
body.mh-dark .mh-iconbtn[data-mh-toggle="theme"]{ color:#ffffff !important; }
body:not(.mh-dark) .mh-iconbtn[data-mh-toggle="theme"]{ color:#0a0a0a !important; }


/* ===== Theme toggle fixes ===== */
.mh-iconbtn{
  border:1px solid var(--mh-line);
  background:var(--mh-surface);
  color:var(--mh-fg) !important;
}
.mh-iconbtn:hover{
  border-color:var(--mh-accent);
  box-shadow:0 0 0 1px var(--mh-accent);
}
.mh-iconbtn svg{ stroke:currentColor; fill:none; }

@media (max-width:860px){
  .mh-actions{ gap:8px; }
  .mh-iconbtn[data-mh-toggle="theme"]{
    display:inline-flex !important;
    opacity:1 !important;
    visibility:visible !important;
  }
}


/* Footer brand */
.mh-footer-brand{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  margin-top:32px;
}
.mh-footer-brand img{
  max-width:160px;
  height:auto;
}
.mh-footer-tagline{
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--mh-muted);
  text-align:center;
}


/* ===== Header icon button visibility + hover/focus (v4.5.4) ===== */
.mh-actions{ flex:0 0 auto; }
.mh-brand{ min-width:0; flex:1 1 auto; }
.mh-brand__logo img{ max-height:40px; width:auto; height:auto; display:block; }
@media (max-width: 520px){
  .mh-brand__logo img{ max-height:34px; }
}
.mh-iconbtn{ flex:0 0 auto; }
.mh-iconbtn[data-mh-toggle="theme"]{ display:inline-flex !important; visibility:visible !important; opacity:1 !important; }
.mh-iconbtn:hover,
.mh-iconbtn:focus-visible{
  border-color:var(--mh-accent) !important;
  box-shadow:0 0 0 1px var(--mh-accent);
  background:var(--mh-surface-2);
  outline:none;
}



.mh-footer-tagline{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--mh-muted);
}



/* Footer brand refinement */
.mh-footer__brand img{max-height:28px;width:auto;opacity:.9;}
.mh-footer__brand{display:flex;align-items:center;gap:14px;}

@media(max-width:860px){.mh-iconbtn{color:var(--mh-fg)!important;opacity:1!important;}}



/* Footer — small brand mark inline with copyright */
.mh-footer__logo{
  height:22px;
  width:auto;
  display:inline-block;
  vertical-align:middle;
  margin-right:10px;
  image-rendering:auto;
}
@media (max-width: 520px){
  .mh-footer__logo{ height:20px; margin-right:8px; }
}

/* Theme toggle — restore lime hover/focus ring */
.mh-iconbtn[data-mh-toggle="theme"]:hover{
  border-color:var(--mh-accent) !important;
  box-shadow:0 0 0 3px rgba(182,255,0,.22);
}
.mh-iconbtn[data-mh-toggle="theme"]:focus-visible{
  outline:2px solid var(--mh-accent);
  outline-offset:2px;
  box-shadow:0 0 0 3px rgba(182,255,0,.22);
}

/* Mobile menu button (dots) — ensure visibility */
.mh-mobile-toggle svg{ width:20px; height:20px; display:block; }
