/* HandiWork v7.4: consolidated mobile account refinement.
   Loaded after v7.3. Scope is intentionally account/cart/checkout only. */
.hw72-account-page, .hw72-account-page *, .woocommerce-cart, .woocommerce-checkout {box-sizing:border-box}
.hw72-account-page .hw7-account-container, .hw72-account-page .woocommerce,
.hw72-account-page .hw72-account-shell, .hw72-account-page .woocommerce-MyAccount-content,
.hw72-account-page .hw72-account-main {min-width:0;max-width:100%}
.hw72-account-page .woocommerce-MyAccount-content :is(h1,h2,h3,h4,p,a,strong,span,td,th,legend){overflow-wrap:break-word}
.hw72-account-page .woocommerce :is(input,button,textarea,select){max-width:100%;min-width:0}
.hw72-account-page .hw71-dashboard-tools > a {min-height:0!important}
.hw72-account-page .hw71-dashboard-metrics article{min-width:0}
.hw72-account-page :is(.hw6-brand-workspace,.hw73-brand-workspace,.hw6-card,.hw6-form,.hw6-filelist,.hw6-file){min-width:0;max-width:100%}
.hw72-account-page .hw6-brand-workspace :is(input,select,textarea),
.hw72-account-page .hw73-brand-workspace :is(input,select,textarea){width:100%;max-width:100%;min-width:0}
.hw72-account-page .hw73-brand-workspace input[type=file]{width:100%;font-size:13px}
.woocommerce-checkout .woocommerce-checkout-review-order,.woocommerce-cart .woocommerce-cart-form{max-width:100%;min-width:0}
@media(max-width:800px){
  body.woocommerce-account .hw72-account-page .hw7-account-container,
  body.woocommerce-account .hw72-account-page .hw7-account-container>.woocommerce{width:calc(100% - 28px)!important;max-width:none!important;margin-inline:auto!important}
  .hw72-account-page .hw7-account-hero{padding-block:20px!important}
  .hw72-account-page .hw7-account-section{padding-block:14px 28px!important}
  .hw72-account-page .hw7-account-hero .hw4-overline{font-size:9px!important;line-height:1.3!important;letter-spacing:.11em!important}
  .hw72-account-page .hw7-account-hero h1{font-size:clamp(25px,4.5vw,33px)!important;line-height:1.16!important}
  .hw72-account-page .hw7-account-hero p:not(.hw4-overline){font-size:13px!important;line-height:1.52!important}
  .hw72-account-page .hw72-account-top{padding:16px!important;gap:10px!important}
  .hw72-account-page .hw72-account-profile{flex:1 1 100%!important;gap:11px!important}
  .hw72-account-page .hw72-account-avatar{width:39px;height:39px;min-width:39px;font-size:15px}
  .hw72-account-page .hw72-account-profile-text strong{font-size:16px!important}
  .hw72-account-page .hw72-account-profile-text small{font-size:11px!important;overflow-wrap:anywhere}
  .hw72-account-page .hw72-account-type{margin-left:50px!important;padding:6px 9px;font-size:10px!important}
  .hw72-account-page .woocommerce .hw72-account-main{padding:clamp(13px,2.8vw,20px)!important}
  .hw72-account-page .hw71-dashboard-head h2{font-size:clamp(22px,4.6vw,28px)!important;margin:3px 0 6px!important}
  .hw72-account-page .hw71-dashboard-metrics{gap:8px!important;margin-bottom:14px!important}
  .hw72-account-page .hw71-dashboard-metrics article{padding:11px!important;border-radius:9px}
  .hw72-account-page .hw71-dashboard-metrics strong{font-size:21px!important;line-height:1.15!important}
  .hw72-account-page .hw71-dashboard-metrics span{font-size:10px!important;line-height:1.3!important}
  .hw72-account-page .hw71-dashboard-columns{grid-template-columns:minmax(0,1fr)!important;gap:11px!important}
  .hw72-account-page .hw71-dashboard-panel{padding:15px!important;border-radius:11px}
  .hw72-account-page .hw71-dashboard-panel h3{font-size:17px!important;line-height:1.3!important}
  .hw72-account-page .hw71-tools-panel{margin-top:11px!important}
  .hw72-account-page .hw71-dashboard-tools{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .hw72-account-page .hw71-dashboard-tools>a{display:flex!important;flex-direction:column!important;gap:6px!important;min-height:76px!important;padding:11px!important;overflow-wrap:anywhere}
  .hw72-account-page .hw71-dashboard-tools strong{font-size:12px!important;line-height:1.25!important}
  .hw72-account-page .hw71-dashboard-tools small{font-size:10px!important;line-height:1.35!important;margin-top:3px!important}
  .hw72-account-page .hw72-account-mobile-nav summary{min-height:48px;align-items:center}
  .hw72-account-page .hw72-account-mobile-nav a{min-height:42px;display:flex;align-items:center}
  .hw72-account-page .hw73-brand-workspace{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:12px}
  .hw72-account-page .hw73-brand-workspace>.hw6-card{padding:15px!important}
  .hw72-account-page .hw6-card h3{font-size:18px!important;line-height:1.28!important}
  .hw72-account-page .hw6-form :is(label,input,textarea,select){max-width:100%!important}
  .hw72-account-page .woocommerce :is(.woocommerce-orders-table,.shop_table,.woocommerce-table){display:block;overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
  .hw72-account-page .woocommerce :is(.woocommerce-orders-table,.shop_table,.woocommerce-table) table{min-width:0}
  .hw72-account-page .woocommerce form :is(.form-row-first,.form-row-last){width:100%!important;float:none!important;margin-left:0!important;margin-right:0!important}
  .hw72-account-page .woocommerce form :is(input[type=text],input[type=email],input[type=tel],input[type=password],select,textarea){min-height:42px;width:100%;font-size:16px}
  .woocommerce-cart .woocommerce-cart-form__contents, .woocommerce-checkout table.shop_table{max-width:100%;overflow-x:auto}
  .wc-block-components-sidebar-layout{display:block!important}
  .wc-block-components-sidebar-layout :is(.wc-block-components-main,.wc-block-components-sidebar){width:100%!important;max-width:100%!important;min-width:0!important;padding-inline:0!important}
}
@media(max-width:410px){
  .hw72-account-page .hw72-account-profile-text strong{font-size:15px!important}
  .hw72-account-page .hw71-dashboard-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .hw72-account-page .hw71-dashboard-metrics article{padding:9px!important}
  .hw72-account-page .hw71-dashboard-metrics strong{font-size:18px!important}
  .hw72-account-page .hw71-dashboard-metrics span{font-size:9px!important}
  .hw72-account-page .hw71-dashboard-panel{padding:13px!important}
  .hw72-account-page .hw71-dashboard-tools>a{padding:10px!important}
  .hw72-account-page .hw71-dashboard-tools small{display:none!important}
  .hw72-account-page .hw71-dashboard-tools>a{min-height:55px!important;flex-direction:row!important;align-items:center!important}
}
@media(prefers-reduced-motion:reduce){.hw72-account-page *{scroll-behavior:auto!important}}
