.hux-cart-link { display: none; }
.hux-enhanced .header-actions .hux-cart-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-width: 44px; min-height: 44px; padding: 8px 10px; color: #f5f5ec;
  border: 1px solid #73786f; border-radius: 5px; text-decoration: none; font-size: 12px; font-weight: 700;
}
.hux-cart-count { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding-inline: 3px; color: #11170e; background: #ffda00; border-radius: 10px; font-size: 10px; }
.hux-enhanced .header-actions :is(a,button):focus-visible,
.hux-enhanced .contact-form :is(input,select,textarea,button):focus-visible { outline: 3px solid #efce19; outline-offset: 4px; }
.hux-enhanced .contact-form .field-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.hux-enhanced .contact-form :is(input:not([type=checkbox]),select,button) { min-height: 46px; }
.hux-enhanced .contact-form textarea { min-height: 150px; }
.hux-enhanced .contact-form select:invalid { color: #aeb7ad; }
.hux-enhanced .contact-form option { color: #142015; background: #fff; }
.hux-account-intro { max-width: 1000px; margin: 0 auto 30px; padding: clamp(24px,4vw,42px); color: #1b2633; background: radial-gradient(ellipse at 100% 0,#ffdf0040,transparent 60%),#f6f5ee; border: 1px solid #d8ded2; border-radius: 12px; }
.hux-account-intro h1 { max-width: 26ch; margin: 0 0 20px; color: #1a2531; font-size: clamp(28px,4vw,44px); line-height: 1.14; letter-spacing: -.035em; }
.hux-account-intro p { max-width: 76ch; margin: 0 0 16px; color: #445164; font-size: 16px; line-height: 1.7; }
.hux-account-intro .hux-eyebrow { color: #766211; font: 700 11px/1.4 "Courier New",monospace; letter-spacing: .1em; }
.hux-steps { display: flex; flex-wrap: wrap; gap: 9px 28px; margin: 20px 0; padding-left: 22px; color: #2a3542; font-weight: 700; font-size: 14px; line-height: 1.6; }
.hux-inline-link { display: inline-block; padding: 7px 0; color: #2a4059; font-weight: 700; text-underline-offset: 4px; }
.hux-enhanced.woocommerce-account #customer_login { max-width: 1100px; margin-inline: auto; }
.hux-enhanced.woocommerce-account .woocommerce :is(form.login,form.register) { border: 1px solid #c9d0c8; border-radius: 10px; padding: clamp(20px,3vw,32px); }
.hux-enhanced.woocommerce-account .woocommerce form :is(input.input-text,button.button) { min-height: 46px; border-radius: 6px; }
.hux-enhanced.woocommerce-account .woocommerce form label { line-height: 1.55; }
.hux-enhanced.woocommerce-account .woocommerce-password-strength { padding: 10px; font-size: 13px; }
.hux-purchase-shortcut { display: none; }
@media (max-width: 1050px) {
  .hux-enhanced .header-actions { gap: 8px; }
  .hux-cart-label { display: none; }
}
@media (max-width: 760px) {
  .hux-enhanced .container.split { grid-template-columns: minmax(0,1fr); }
  .hux-enhanced .container.split > * { min-width: 0; max-width: 100%; }
  .hux-enhanced .container.split h2 { overflow-wrap: anywhere; font-size: clamp(28px,8vw,40px); }
  .hux-enhanced .header-actions .hux-cart-link { gap: 4px; padding-inline: 7px; }
  .hux-enhanced .header-actions { gap: 7px; }
  .hux-enhanced .language-switch { min-width: 35px; padding-inline: 3px; }
  .hux-enhanced .woocommerce-product-gallery .flex-control-thumbs {
    display: flex !important; flex-wrap: nowrap !important; gap: 8px; overflow-x: auto;
    padding: 12px 0 4px !important; margin: 0 !important; scrollbar-width: thin; overscroll-behavior-x: contain;
  }
  .hux-enhanced .woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 65px !important; width: 65px !important; min-width: 65px !important; margin: 0 !important; float: none !important; }
  .hux-enhanced .woocommerce-product-gallery .flex-control-thumbs img { width: 65px !important; height: 65px !important; object-fit: cover; }
  .hux-enhanced.woocommerce div.product div.images { margin-bottom: 24px; }
  .hux-course-product .hux-purchase-shortcut {
    position: fixed; z-index: 45; right: 14px; left: 14px; bottom: max(12px,env(safe-area-inset-bottom));
    display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px;
    color: #17202c; background: #ffda00; border: 1px solid #cfae00; border-radius: 9px;
    box-shadow: 0 6px 24px #131e3533; text-align: center; text-decoration: none; font-size: 14px; font-weight: 800;
  }
  .hux-course-product .hux-purchase-shortcut.is-redundant { display: none; }
  .hux-course-product { padding-bottom: 70px; }
  .hux-course-product form.cart { scroll-margin-top: 150px; }
  .hux-account-intro { margin-bottom: 22px; padding: 23px 19px; }
  .hux-steps { display: grid; gap: 10px; }
  .hux-enhanced.woocommerce-account .woocommerce .col2-set { display: block; }
  .hux-enhanced.woocommerce-account .woocommerce .col2-set :is(.col-1,.col-2) { float: none; width: 100%; margin-bottom: 28px; }
}
@media (max-width: 380px) {
  .hux-enhanced .header-actions { gap: 4px; }
  .hux-enhanced .header-actions :is(.hardy-account-entry,.menu-toggle) { width: 40px; min-width: 40px; padding-inline: 6px; }
}
@media print {
  .hux-cart-link,.hux-purchase-shortcut { display: none !important; }
}

/* Version 1.0.1: narrow header and WooCommerce thumbnail layout. */
@media (max-width: 760px) {
  body.hux-enhanced.single-product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    overflow-x: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 8px 0 !important;
    grid-template-columns: none !important;
    scroll-snap-type: x proximity;
  }
  body.hux-enhanced.single-product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs > li {
    flex: 0 0 65px !important;
    width: 65px !important;
    max-width: 65px !important;
    float: none !important;
    margin: 0 !important;
    scroll-snap-align: start;
  }
  body.hux-enhanced .section-head { grid-template-columns: minmax(0, 1fr); }
  body.hux-enhanced .section-head > * { min-width: 0; }
  body.hux-enhanced .section-head h2 { overflow-wrap: anywhere; }
}
@media (max-width: 480px) {
  body.hux-enhanced .site-header .header-inner { column-gap: 8px !important; grid-template-columns: minmax(0, 1fr) auto; }
  body.hux-enhanced .site-header .header-actions { gap: 6px !important; min-width: 0 !important; padding: 0 !important; }
  body.hux-enhanced .site-header .header-actions > .hardy-account-entry,
  body.hux-enhanced .site-header .header-actions > .menu-toggle,
  body.hux-enhanced .site-header .header-actions > .hux-cart-link { width: 44px !important; min-width: 44px !important; height: 44px !important; padding: 0 !important; }
  body.hux-enhanced .site-header .header-actions > .language-switch { min-width: 32px; }
}
@media (max-width: 359px) {
  body.hux-enhanced .site-header .brand { max-width: 88px; min-width: 0; }
  body.hux-enhanced .site-header .brand > * { max-width: 100%; }
  body.hux-enhanced .site-header .brand img,
  body.hux-enhanced .site-header .brand svg { width: 88px; height: auto; }
  body.hux-enhanced .site-header .brand { font-size: 19px; }
  body.hux-enhanced .hero-watermark { max-width: 100%; overflow-wrap: anywhere; right: 0; }
}

/* Mobile header: one alignment grid, independent cart badge, no legacy language offset. */
@media(max-width:760px){
 body.hux-enhanced .site-header .header-inner{grid-template-columns:minmax(0,1fr) auto;column-gap:8px!important}
 body.hux-enhanced .site-header .brand{justify-self:start;min-width:0}
 body.hux-enhanced .site-header .header-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:6px!important;min-width:0;padding:0!important}
 body.hux-enhanced .site-header .header-actions > :is(.hux-cart-link,.hardy-account-entry,.language-switch,.menu-toggle){display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 44px;box-sizing:border-box;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;line-height:1;vertical-align:middle}
 body.hux-enhanced .site-header .header-actions > .language-switch{gap:5px;letter-spacing:.02em;font-size:12px}
 body.hux-enhanced .site-header .header-actions > .language-switch::before{flex:0 0 6px;width:6px;height:6px}
 body.hux-enhanced .site-header .header-actions > :is(.hux-cart-link,.hardy-account-entry) svg{display:block;flex-shrink:0;width:22px;height:22px;margin:0}
 body.hux-enhanced .site-header .header-actions > .hux-cart-link{position:relative;gap:0}
 body.hux-enhanced .site-header .hux-cart-count{position:absolute;top:-4px;right:-4px;min-width:17px;height:17px;padding-inline:3px;font-size:10px;line-height:1;border:1px solid #182019;box-sizing:border-box;pointer-events:none}
 body.hux-enhanced .site-header .menu-toggle > span[aria-hidden="true"]{position:relative;display:block;width:18px;height:14px;font-size:0;line-height:0;background:linear-gradient(currentColor,currentColor) center top/18px 2px no-repeat,linear-gradient(currentColor,currentColor) center/18px 2px no-repeat,linear-gradient(currentColor,currentColor) center bottom/18px 2px no-repeat}
 body.hux-enhanced .site-header .menu-toggle[aria-expanded="true"] > span[aria-hidden="true"]{background:none}
 body.hux-enhanced .site-header .menu-toggle[aria-expanded="true"] > span[aria-hidden="true"]::before,
 body.hux-enhanced .site-header .menu-toggle[aria-expanded="true"] > span[aria-hidden="true"]::after{content:"";position:absolute;top:6px;left:0;width:18px;height:2px;background:currentColor;transform:rotate(45deg)}
 body.hux-enhanced .site-header .menu-toggle[aria-expanded="true"] > span[aria-hidden="true"]::after{transform:rotate(-45deg)}
}
@media(max-width:359px){
 body.hux-enhanced .site-header .header-inner{padding-inline:8px;column-gap:6px!important}
 body.hux-enhanced .site-header .brand{font-size:16px;max-width:92px}
 body.hux-enhanced .site-header .header-actions{gap:4px!important}
}
