/* HakoXL account and editable public help pages, layered on the existing theme. */
.hxl-account-page{background:#f5f8fb}
.hxl-account-page .hxl-content-shell{width:min(1240px,calc(100% - 40px))}
.hxl-account-page .woocommerce-MyAccount-navigation{box-shadow:0 10px 30px rgba(7,26,52,.045)}
.hxl-account-page .woocommerce-MyAccount-navigation li:last-child{margin-top:13px;padding-top:11px;border-top:1px solid var(--line)}
.hxl-account-page .woocommerce-MyAccount-content{color:var(--ink)}
.hxl-account-page .woocommerce-MyAccount-content a:not(.button):focus-visible,.hxl-help-page a:focus-visible,.hxl-help-page summary:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.hxl-account-welcome{margin-bottom:18px}
.hxl-account-welcome h1{font-size:clamp(32px,3.7vw,50px)}
.hxl-account-help-link{display:inline-flex;align-items:center;gap:10px;margin:0 0 24px;padding:9px 14px;border:1px solid #cadef0;border-radius:999px;background:#ecf5fc;color:var(--navy);font-size:13px;text-decoration:none}
.hxl-account-help-link>span:first-child{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--blue);color:#fff;font-weight:800}
.hxl-account-help-link strong{color:var(--blue)}
.hxl-account-stats>a{box-shadow:0 6px 24px rgba(7,26,52,.035)}
.hxl-recent-order-card>footer{display:flex;flex-wrap:wrap;gap:10px}
.hxl-recent-order-card>footer .button{min-height:43px;display:inline-flex;align-items:center;justify-content:center}
.hxl-account-page .hxl-account-panel{box-shadow:0 8px 25px rgba(7,26,52,.035)}
.hxl-account-page .woocommerce form .form-row label{display:block;margin-bottom:6px;font-weight:750;color:var(--navy)}
.hxl-account-page .woocommerce form input.input-text,.hxl-account-page .woocommerce form select{min-height:46px;border:1px solid #cbd8e4;border-radius:9px;background:#fff;padding:10px 12px}
.hxl-account-page .woocommerce form input:focus,.hxl-account-page .woocommerce form select:focus{outline:3px solid #bdd6f3;outline-offset:1px;border-color:var(--blue)}
.hxl-account-page .woocommerce-Addresses .woocommerce-Address,.hxl-account-page .woocommerce-customer-details .woocommerce-column{min-width:0;border:1px solid var(--line);border-radius:16px;padding:22px;background:#fff}
.hxl-account-page .woocommerce-Addresses address,.hxl-account-page .woocommerce-customer-details address{border:0!important;padding:0!important;font-style:normal;line-height:1.8}
.hxl-account-page .woocommerce-Addresses h2,.hxl-account-page .woocommerce-customer-details h2{margin-top:0;color:var(--navy)}
.hxl-account-page .woocommerce button.button,.hxl-account-page .woocommerce a.button{border-radius:9px!important;line-height:1.3!important;white-space:normal}

/* Woo's native orders table stays the source of dates, status, totals and actions. */
.hxl-account-section-heading{margin:0 0 20px}
.hxl-account-section-heading span,.hxl-order-detail-head>div>span,.hxl-order-journey>span{color:var(--blue);font-size:11px;font-weight:900;letter-spacing:.14em}
.hxl-account-section-heading h1,.hxl-order-detail-head h1{margin:5px 0 7px;font-size:clamp(34px,4vw,50px);letter-spacing:-.05em}
.hxl-account-section-heading p,.hxl-order-detail-head p{margin:0;color:var(--muted)}
.hxl-account-orders .woocommerce-orders-table{width:100%;border:0!important;border-collapse:separate!important;border-spacing:0 12px!important;background:transparent!important}
.hxl-account-orders .woocommerce-orders-table thead th{border:0!important;background:transparent!important;color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.hxl-account-orders .woocommerce-orders-table tbody tr{background:#fff;box-shadow:0 7px 24px rgba(7,26,52,.045)}
.hxl-account-orders .woocommerce-orders-table tbody th,.hxl-account-orders .woocommerce-orders-table tbody td{border-top:1px solid var(--line)!important;border-bottom:1px solid var(--line)!important;vertical-align:middle!important}
.hxl-account-orders .woocommerce-orders-table tbody th:first-child{border-left:1px solid var(--line)!important;border-radius:14px 0 0 14px}
.hxl-account-orders .woocommerce-orders-table tbody td:last-child{border-right:1px solid var(--line)!important;border-radius:0 14px 14px 0}
.hxl-account-orders .woocommerce-orders-table__cell-order-number a{color:var(--navy)!important;font-size:16px;font-weight:900;text-decoration:none}
.hxl-account-orders .woocommerce-orders-table__cell-order-date{color:var(--muted);font-size:13px}
.hxl-account-orders .woocommerce-orders-table__cell-order-status{color:var(--blue);font-size:12px;font-weight:800}
.hxl-account-orders .woocommerce-orders-table__cell-order-total{font-size:12px;color:var(--muted)}
.hxl-account-orders .woocommerce-orders-table__cell-order-total .amount{display:block;color:var(--navy);font-size:17px;font-weight:900}
.hxl-order-product-preview{display:flex;align-items:center;gap:12px;min-width:190px}
.hxl-order-product-preview img{flex:0 0 55px;width:55px;height:55px;object-fit:contain;border-radius:9px;background:var(--soft);color:transparent;font-size:0}
.hxl-order-image-fallback{flex:0 0 55px;width:55px;height:55px;display:grid;place-items:center;border-radius:9px;background:var(--soft);color:var(--blue);font-size:25px;line-height:1}
.hxl-order-product-preview strong{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:var(--navy);font-size:13px;line-height:1.35}
.hxl-order-product-preview small{display:block;margin-top:3px;color:var(--muted);font-size:11px}
.hxl-account-orders .woocommerce-orders-table__cell-order-actions{min-width:180px;white-space:normal!important}
.hxl-account-orders .woocommerce-orders-table__cell-order-actions .button{display:inline-flex;align-items:center;justify-content:center;min-height:39px;margin:3px 5px 3px 0!important;padding:9px 12px!important;border:1px solid #bfd3e6!important;background:#fff!important;color:var(--blue)!important;font-size:12px!important;font-weight:850!important;text-decoration:none}
.hxl-account-orders .woocommerce-orders-table__cell-order-actions .button.view{border-color:var(--blue)!important;background:var(--blue)!important;color:#fff!important}
.hxl-account-orders .woocommerce-orders-table__cell-order-actions .button.invoice,.hxl-account-order-detail .order-actions-button.invoice,.hxl-invoice-button{border-color:var(--lime)!important;background:var(--lime)!important;color:var(--navy)!important;font-weight:850!important}
.hxl-account-orders .woocommerce-orders-table__cell-order-actions .button:hover,.hxl-account-order-detail .order-actions-button:hover{filter:brightness(.95)}
.hxl-account-page .woocommerce-Pagination{display:flex;gap:10px;justify-content:space-between;margin-top:16px}

/* Order detail extends the verified Woo order and shipment data. */
.hxl-account-order-detail .woocommerce-MyAccount-content>p:first-of-type{display:none}
.hxl-order-back{margin-bottom:16px}
.hxl-order-back a{color:var(--blue);font-weight:800;text-decoration:none}
.hxl-order-detail-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px}
.hxl-order-detail-head .hxl-order-status{padding:8px 14px}
.hxl-order-journey{margin:0 0 22px;padding:24px;border:1px solid var(--line);border-radius:16px;background:#fff}
.hxl-order-journey h2{margin:5px 0 20px;color:var(--navy);font-size:24px;letter-spacing:-.03em}
.hxl-order-journey ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}
.hxl-order-journey li{position:relative;display:flex;align-items:center;gap:9px;color:var(--muted);font-size:13px}
.hxl-order-journey li>span{z-index:1;display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border:2px solid #d9e1e8;border-radius:50%;background:#fff;font-weight:850}
.hxl-order-journey li.is-done>span{border-color:var(--lime);background:var(--lime);color:var(--navy)}
.hxl-order-journey li.is-done strong{color:var(--navy)}
.hxl-order-journey>p{margin:18px 0 0;color:var(--muted);font-size:12px}
.hxl-account-order-detail .hxl-shipment-card{margin:0 0 22px;border-radius:16px;box-shadow:none}
.hxl-account-order-detail .woocommerce-order-details,.hxl-account-order-detail .woocommerce-customer-details{margin-top:22px;padding:24px;border:1px solid var(--line);border-radius:16px;background:#fff}
.hxl-account-order-detail .woocommerce-order-details h2,.hxl-account-order-detail .woocommerce-customer-details h2{font-size:25px;letter-spacing:-.03em}
.hxl-account-order-detail .woocommerce-table--order-details{border-radius:12px!important;overflow:hidden}
.hxl-account-order-detail .woocommerce-table--order-details th,.hxl-account-order-detail .woocommerce-table--order-details td{padding:13px 16px!important}
.hxl-account-order-detail .woocommerce-table--order-details tfoot tr:last-child td{min-width:180px}
.hxl-account-order-detail .order-actions-button.invoice{display:inline-flex;align-items:center;min-height:40px;padding:9px 14px!important;border-radius:9px;text-decoration:none}
.hxl-account-order-detail .woocommerce-customer-details .woocommerce-column{padding:0;border:0}

/* Public support pages use the same cards, type scale and navy/lime accents. */
.hxl-help-page{background:#f6f8fb}
.hxl-help-page .hxl-content-shell{width:min(1180px,calc(100% - 40px));padding-top:30px;padding-bottom:90px}
.hxl-help-breadcrumb{display:flex;gap:9px;margin-bottom:22px;color:var(--muted);font-size:12px}
.hxl-help-breadcrumb a{color:var(--blue);text-decoration:none}
.hxl-help-hero{padding:40px 46px;border-radius:20px;background:linear-gradient(115deg,#0c3970,var(--navy));color:#fff}
.hxl-help-hero>span{color:var(--lime);font-size:11px;font-weight:900;letter-spacing:.15em}
.hxl-help-hero h1{margin:10px 0;font-size:clamp(36px,5vw,58px);letter-spacing:-.05em}
.hxl-help-hero p{margin:0;color:#c6d6e7;font-size:16px}
.hxl-help-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;align-items:start;gap:28px;margin-top:28px}
.hxl-help-content,.hxl-help-sidebar{border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 9px 28px rgba(7,26,52,.035)}
.hxl-help-content{min-width:0;padding:clamp(24px,4vw,46px);line-height:1.75}
.hxl-help-content .hxl-help-lead{margin:0 0 28px;color:var(--navy);font-size:20px;font-weight:650;line-height:1.5}
.hxl-help-content h2{margin:30px 0 12px;color:var(--navy);font-size:25px;letter-spacing:-.03em}
.hxl-help-content h2:first-child{margin-top:0}
.hxl-help-content p{color:#465c6c}
.hxl-help-content a{color:var(--blue);font-weight:750}
.hxl-help-content details{margin:0;border-bottom:1px solid var(--line)}
.hxl-help-content summary{position:relative;padding:18px 34px 18px 0;color:var(--navy);font-weight:800;cursor:pointer;list-style:none}
.hxl-help-content summary::-webkit-details-marker{display:none}
.hxl-help-content summary::after{content:'+';position:absolute;right:4px;color:var(--blue);font-size:22px;font-weight:500}
.hxl-help-content details[open] summary::after{content:'−'}
.hxl-help-content details p{margin:0 0 20px}
.hxl-help-sidebar{position:sticky;top:24px;padding:22px}
.hxl-help-sidebar>strong{display:block;margin-bottom:12px;color:var(--navy);font-size:16px}
.hxl-help-sidebar nav a{display:flex;justify-content:space-between;gap:12px;padding:11px 9px;border-radius:8px;color:var(--ink);font-size:13px;font-weight:750;text-decoration:none}
.hxl-help-sidebar nav a:hover,.hxl-help-sidebar nav a[aria-current]{background:var(--sky);color:var(--blue)}
.hxl-help-contact{margin-top:20px;padding:20px;border-radius:13px;background:#edf5fc}
.hxl-help-contact>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--blue);color:#fff;font-weight:900}
.hxl-help-contact h2{margin:9px 0 4px;color:var(--navy);font-size:19px}
.hxl-help-contact p{margin:0 0 16px;color:var(--muted);font-size:13px}
.hxl-help-contact .button{display:inline-flex;align-items:center;justify-content:center;min-height:42px}
@media(max-width:1080px){
  .hxl-account-orders .woocommerce-orders-table{display:block;overflow-x:auto;white-space:nowrap}
  .hxl-account-orders .woocommerce-orders-table tbody tr{white-space:normal}
  .hxl-account-orders .woocommerce-orders-table__cell-hxl-products{min-width:220px}
}
@media(max-width:820px){
  .hxl-help-layout{grid-template-columns:1fr}
  .hxl-help-sidebar{position:static}
  .hxl-account-page .hxl-content-shell{width:calc(100% - 28px)}
}
@media(max-width:768px){
  .hxl-account-orders .woocommerce-orders-table{overflow:visible;white-space:normal}
  .hxl-account-orders .woocommerce-orders-table thead{display:none}
  .hxl-account-orders .woocommerce-orders-table tbody tr{display:grid;grid-template-columns:1fr auto;gap:0 15px;margin-bottom:15px;padding:16px;border:1px solid var(--line);border-radius:14px}
  .hxl-account-orders .woocommerce-orders-table tbody th,.hxl-account-orders .woocommerce-orders-table tbody td{display:block!important;min-width:0;border:0!important;padding:6px 0!important;text-align:left!important}
  .hxl-account-orders .woocommerce-orders-table tbody td::before{display:none!important}
  .hxl-account-orders .woocommerce-orders-table__cell-order-number{grid-column:1;grid-row:1}
  .hxl-account-orders .woocommerce-orders-table__cell-order-date{grid-column:1;grid-row:2}
  .hxl-account-orders .woocommerce-orders-table__cell-order-status{grid-column:2;grid-row:1/3;text-align:right!important}
  .hxl-account-orders .woocommerce-orders-table__cell-hxl-products{grid-column:1/-1;grid-row:3;border-top:1px solid var(--line)!important;margin-top:8px;padding-top:15px!important}
  .hxl-account-orders .woocommerce-orders-table__cell-order-total{grid-column:1/-1;grid-row:4}
  .hxl-account-orders .woocommerce-orders-table__cell-order-actions{grid-column:1/-1;grid-row:5;min-width:0}
  .hxl-account-order-detail .woocommerce-order-details,.hxl-account-order-detail .woocommerce-customer-details{padding:18px}
}
@media(max-width:600px){
  .hxl-account-page .woocommerce-info{display:flex;flex-direction:column;gap:10px;padding:16px 16px 16px 48px!important;line-height:1.5}
  .hxl-account-page .woocommerce-info .button{order:2;float:none!important;width:100%;margin:0!important;text-align:center}
  .hxl-order-detail-head{align-items:flex-start;flex-direction:column;gap:12px}
  .hxl-order-journey ol{grid-template-columns:1fr 1fr;gap:16px}
  .hxl-help-page .hxl-content-shell{width:calc(100% - 28px);padding-top:18px}
  .hxl-help-hero{padding:30px 24px}
  .hxl-help-content{padding:24px}
  .hxl-account-help-link{border-radius:12px}
  .hxl-recent-order-card>footer .button{width:100%}
}
