/* All rules are scoped to customer account pages. */
body.hb-account{--hb-ink:#343140;--hb-teal:#087f83;--hb-line:#dfe7e5;--hb-muted:#5b6868;--hb-soft:#f2f6f4}
.hb-account .woocommerce{box-sizing:border-box}
.hb-account .woocommerce:has(>.woocommerce-MyAccount-navigation){display:grid!important;grid-template-columns:210px minmax(0,1fr);gap:24px;align-items:start}
.hb-account .woocommerce:has(>.woocommerce-MyAccount-navigation)::before,.hb-account .woocommerce:has(>.woocommerce-MyAccount-navigation)::after{display:none!important}
.hb-account .hb-account-intro{grid-column:1/-1;padding:26px 0 10px}
.hb-account .hb-account-eyebrow{display:block;font-size:10px;font-weight:700;letter-spacing:1.7px;color:var(--hb-teal);margin-bottom:12px}
.hb-account .hb-account-intro h2{font-size:clamp(26px,3vw,38px);line-height:1.15;margin:0 0 12px;color:var(--hb-ink)}
.hb-account .hb-account-intro p{font-size:14px;line-height:1.6;color:var(--hb-muted);margin:0}
.hb-account .woocommerce-MyAccount-navigation{float:none!important;width:auto!important;margin:0!important;padding:8px!important;border:1px solid var(--hb-line);border-radius:12px;background:#fff;box-sizing:border-box}
.hb-account .woocommerce-MyAccount-navigation ul{list-style:none!important;margin:0!important;padding:0!important}
.hb-account .woocommerce-MyAccount-navigation ul li{margin:0!important;border:0!important;padding:0!important;list-style:none!important}
.hb-account .woocommerce-MyAccount-navigation ul li a{display:flex!important;align-items:center;gap:12px;min-height:46px;padding:11px 14px!important;border:0!important;border-radius:7px;text-decoration:none!important;color:var(--hb-ink)!important;font-size:14px;line-height:1.4;box-sizing:border-box}
.hb-account .woocommerce-MyAccount-navigation ul li a:before{content:'›';font-size:20px;color:var(--hb-teal);width:14px;text-align:center}
.hb-account .woocommerce-MyAccount-navigation ul li a:hover{background:var(--hb-soft)}
.hb-account .woocommerce-MyAccount-navigation ul li.is-active a{background:var(--hb-ink);color:#fff!important;font-weight:600}
.hb-account .woocommerce-MyAccount-navigation ul li.is-active a:before{color:#72c5c8}
.hb-account .woocommerce-MyAccount-navigation-link--customer-logout{margin-top:12px!important;border-top:1px solid var(--hb-line)!important}
.hb-account .woocommerce-MyAccount-content{float:none!important;width:auto!important;min-width:0;color:var(--hb-ink);font-size:14px;line-height:1.65;padding-bottom:35px}
.hb-account .woocommerce-MyAccount-content a{color:var(--hb-teal);text-decoration:underline;text-underline-offset:3px}
.hb-account .hb-account-welcome{display:flex;justify-content:space-between;align-items:center;gap:20px;background:var(--hb-ink);color:#fff;border-radius:12px;padding:28px;margin-bottom:20px}
.hb-account .hb-account-welcome .hb-account-eyebrow{color:#8ad4d4}
.hb-account .hb-account-welcome h2{color:#fff;font-size:30px;margin:0 0 7px;line-height:1.2}
.hb-account .hb-account-welcome p{margin:0;color:#e0e6e7;font-size:14px}
.hb-account .woocommerce-MyAccount-content a.button,.hb-account .woocommerce-MyAccount-content button.button,.hb-account .woocommerce form button.button,.hb-account .woocommerce form input.button{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;height:auto!important;width:auto!important;float:none!important;padding:11px 18px!important;border:1px solid var(--hb-teal)!important;border-radius:6px!important;background:var(--hb-teal)!important;color:#fff!important;font-family:inherit;font-size:13px;font-weight:600;line-height:1.5;text-decoration:none!important;white-space:normal;box-shadow:none!important;margin:4px 5px 4px 0;box-sizing:border-box;cursor:pointer}
.hb-account .woocommerce-MyAccount-content .hb-account-welcome a.button{background:#fff!important;color:var(--hb-ink)!important;border-color:#fff!important;flex-shrink:0}
.hb-account .hb-account-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px}
.hb-account .hb-account-card{display:flex;flex-direction:column;padding:20px;border:1px solid var(--hb-line);border-radius:10px;background:#fff;min-width:0}
.hb-account .hb-account-card-number{font-size:11px;color:var(--hb-teal);font-weight:700;letter-spacing:1px}
.hb-account .hb-account-card h3{font-size:20px;margin:12px 0 8px;line-height:1.2}
.hb-account .hb-account-card p{font-size:12px;line-height:1.65;color:var(--hb-muted);margin:0 0 18px}
.hb-account .hb-account-card a{margin-top:auto;font-size:12px;font-weight:600;text-decoration:none}
.hb-account .hb-account-panel{padding:24px;border:1px solid var(--hb-line);border-radius:12px;background:#fff}
.hb-account .hb-account-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.hb-account .hb-account-section-title h2{font-size:24px;margin:0}
.hb-account .hb-account-section-title a{font-size:12px;font-weight:600;text-decoration:none}
.hb-account .hb-account-order{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;padding:20px 0;border-top:1px solid var(--hb-line)}
.hb-account .hb-account-order:first-of-type{border-top:0}
.hb-account .hb-account-order-number{font-size:15px;font-weight:700;text-decoration:none!important}
.hb-account .hb-account-order p{font-size:12px;line-height:1.6;color:var(--hb-muted);margin:4px 0}
.hb-account .hb-account-order-items{overflow-wrap:anywhere}
.hb-account .hb-account-order-summary{display:flex;flex-direction:column;align-items:flex-end;gap:7px}
.hb-account .hb-account-order-summary strong{font-size:16px}
.hb-account .hb-account-order-summary a{font-size:12px;text-decoration:none}
.hb-account .hb-account-status{display:inline-block;padding:3px 9px;border-radius:20px;background:#eef2f3;color:#455b5d;font-size:11px;font-weight:600}
.hb-account .hb-status-processing,.hb-account .hb-status-completed{background:#e6f3ec;color:#226546}
.hb-account .hb-status-failed,.hb-account .hb-status-cancelled{background:#f9e9e6;color:#923d2d}
.hb-account .hb-account-help{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px;margin-top:18px;border-radius:10px;background:var(--hb-soft)}
.hb-account .hb-account-help h3{font-size:19px;margin:0 0 6px}
.hb-account .hb-account-help p{font-size:12px;line-height:1.6;margin:0;color:var(--hb-muted)}
.hb-account .hb-account-help a{font-size:12px;font-weight:600;white-space:nowrap}
.hb-account .woocommerce-MyAccount-content table{width:100%;border:1px solid var(--hb-line)!important;border-collapse:separate;border-spacing:0;border-radius:10px;overflow:hidden;background:#fff;margin:0 0 24px;font-size:13px}
.hb-account .woocommerce-MyAccount-content table th,.hb-account .woocommerce-MyAccount-content table td{padding:14px 12px!important;border:0;border-bottom:1px solid var(--hb-line);vertical-align:middle;line-height:1.6;overflow-wrap:anywhere}
.hb-account .woocommerce-MyAccount-content table th{background:var(--hb-soft);color:var(--hb-ink);font-weight:600;text-align:left}
.hb-account .woocommerce-MyAccount-content table tr:last-child td{border-bottom:0}
.hb-account .woocommerce-MyAccount-content table a.button{min-height:36px;padding:7px 11px!important;font-size:12px}
.hb-account .woocommerce-MyAccount-content h2{font-size:25px;line-height:1.3;margin:0 0 18px}
.hb-account .woocommerce-MyAccount-content h3{line-height:1.3}
.hb-account .woocommerce-MyAccount-content .woocommerce-Addresses,.hb-account .woocommerce-MyAccount-content .woocommerce-customer-details .addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hb-account .woocommerce-MyAccount-content .woocommerce-Address,.hb-account .woocommerce-customer-details .woocommerce-column{float:none!important;width:auto!important;max-width:none;padding:22px;border:1px solid var(--hb-line);border-radius:10px;background:#fff;box-sizing:border-box}
.hb-account .woocommerce-Address-title{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin-bottom:16px}
.hb-account .woocommerce-Address-title h2{font-size:22px;margin:0!important}
.hb-account .woocommerce-Address-title a.edit{float:none!important;font-size:12px;font-weight:600}
.hb-account .woocommerce-MyAccount-content address{padding:0!important;border:0!important;font-style:normal;line-height:1.9;font-size:13px}
.hb-account .woocommerce-MyAccount-content form,.hb-account .woocommerce form.login,.hb-account .woocommerce form.register,.hb-account .woocommerce form.lost_reset_password{padding:24px!important;border:1px solid var(--hb-line)!important;border-radius:12px!important;background:#fff;box-sizing:border-box}
.hb-account .woocommerce form .form-row{padding:0;margin-bottom:18px}
.hb-account .woocommerce form .form-row label{display:block;font-size:13px;font-weight:600;line-height:1.5;margin-bottom:7px;color:var(--hb-ink)}
.hb-account .woocommerce form input.input-text,.hb-account .woocommerce form textarea,.hb-account .woocommerce form select{width:100%!important;min-height:46px;border:1px solid #b8c8c4!important;border-radius:6px!important;padding:10px 12px!important;background:#fff!important;color:var(--hb-ink)!important;font-size:14px;box-sizing:border-box}
.hb-account .woocommerce form .password-input{width:100%}
.hb-account .woocommerce form .password-input input{padding-right:46px!important}
.hb-account .woocommerce form fieldset{padding:20px;margin:24px 0;border:1px solid var(--hb-line);border-radius:8px}
.hb-account .woocommerce form legend{font-size:19px;font-weight:600;padding:0 8px}
.hb-account .woocommerce form em,.hb-account .woocommerce form .description{font-size:12px;color:var(--hb-muted)}
.hb-account .woocommerce-info,.hb-account .woocommerce-message,.hb-account .woocommerce-error{border-radius:8px;font-size:13px;line-height:1.7;box-sizing:border-box}
.hb-account .woocommerce-MyAccount-content .woocommerce-pagination{display:flex;justify-content:space-between;gap:12px}
.hb-account .hb-account-empty{padding:25px 0}
.hb-account a:focus-visible,.hb-account button:focus-visible,.hb-account input:focus-visible,.hb-account select:focus-visible{outline:3px solid var(--hb-pink)!important;outline-offset:3px}
@media(max-width:1000px){.hb-account .woocommerce:has(>.woocommerce-MyAccount-navigation){grid-template-columns:175px minmax(0,1fr);gap:18px}.hb-account .hb-account-shortcuts{grid-template-columns:1fr}.hb-account .hb-account-card{padding:18px}.hb-account .hb-account-welcome{align-items:flex-start;flex-direction:column}.hb-account .hb-account-card h3{margin-top:8px}}
@media(max-width:900px){.hb-account .woocommerce:has(>.woocommerce-MyAccount-navigation){grid-template-columns:minmax(0,1fr);gap:18px}.hb-account .hb-account-intro{padding-top:16px}.hb-account .woocommerce-MyAccount-navigation ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.hb-account .woocommerce-MyAccount-navigation ul li a{font-size:12px;padding:10px!important}.hb-account .woocommerce-MyAccount-navigation-link--customer-logout{margin-top:0!important;border-top:0!important}.hb-account .hb-account-welcome,.hb-account .hb-account-panel{padding:20px}.hb-account .hb-account-welcome h2{font-size:27px}.hb-account .hb-account-order{gap:12px}.hb-account .hb-account-order-summary strong{font-size:14px}.hb-account .hb-account-section-title h2{font-size:23px}.hb-account .hb-account-help{align-items:flex-start;flex-direction:column;gap:12px}.hb-account .woocommerce-MyAccount-content .woocommerce-Addresses,.hb-account .woocommerce-MyAccount-content .woocommerce-customer-details .addresses{grid-template-columns:1fr}.hb-account .woocommerce form .form-row-first,.hb-account .woocommerce form .form-row-last{float:none!important;width:100%!important}.hb-account .woocommerce-MyAccount-content table.shop_table_responsive thead{display:none}.hb-account .woocommerce-MyAccount-content table.shop_table_responsive tr{display:block;padding:10px;border-bottom:1px solid var(--hb-line)}.hb-account .woocommerce-MyAccount-content table.shop_table_responsive td{display:block!important;text-align:right!important;border:0!important;padding:9px!important}.hb-account .woocommerce-MyAccount-content table.shop_table_responsive td:before{content:attr(data-title) ': ';float:left;font-weight:600;margin-right:10px}.hb-account .woocommerce-MyAccount-content table.shop_table_responsive td.woocommerce-orders-table__cell-order-actions:before{content:''}.hb-account .woocommerce-MyAccount-content form{padding:18px!important}}

.hb-account .woocommerce-MyAccount-content .amount,.hb-account .woocommerce-MyAccount-content .amount span{font-size:inherit!important;color:inherit!important}
@media(min-width:681px) and (max-width:900px){.hb-account .hb-account-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}.hb-account .hb-account-welcome{flex-direction:row;align-items:center}}
/* Brand colours: navy controls with pink hover states. */
body.hb-account{--hb-teal:#343140;--hb-pink:#D97791}
.hb-account .woocommerce-MyAccount-navigation ul li a:hover{background:var(--hb-pink)!important;color:#343140!important}
.hb-account .woocommerce-MyAccount-navigation ul li.is-active a:before{color:var(--hb-pink)}
.hb-account .hb-account-welcome .hb-account-eyebrow{color:var(--hb-pink)}
.hb-account .woocommerce-MyAccount-content a.button:hover,.hb-account .woocommerce-MyAccount-content button.button:hover,.hb-account .woocommerce form button.button:hover,.hb-account .woocommerce form input.button:hover,.hb-account .woocommerce-MyAccount-content .hb-account-welcome a.button:hover{background:var(--hb-pink)!important;border-color:var(--hb-pink)!important;color:#343140!important}
.hb-account .woocommerce-MyAccount-content a:not(.button):hover{color:var(--hb-ink);text-decoration-color:var(--hb-pink)}
.hb-account .hb-status-processing,.hb-account .hb-status-completed{background:#eef0f5;color:#343140}
.hb-account .woocommerce-info,.hb-account .woocommerce-message{border-top-color:#343140!important}
.hb-account .woocommerce-info:before,.hb-account .woocommerce-message:before{color:#343140!important}

body.hb-account{--hb-ink:var(--newBlue,#343140);--hb-teal:var(--newBlue,#343140);--hb-pink:var(--newPink,#D97791)}
.hb-account .woocommerce-MyAccount-navigation ul li a:before,.hb-account .woocommerce-MyAccount-navigation ul li.is-active a:before{color:var(--hb-pink)!important}
.hb-account .hb-status-failed,.hb-account .hb-status-cancelled{background:#f9edf1;color:var(--hb-ink)}
/* WooCommerce's old clearfix pseudo-elements must not become grid cells. */
.hb-account .woocommerce-MyAccount-content .woocommerce-Addresses:before,.hb-account .woocommerce-MyAccount-content .woocommerce-Addresses:after,.hb-account .woocommerce-MyAccount-content .woocommerce-customer-details .addresses:before,.hb-account .woocommerce-MyAccount-content .woocommerce-customer-details .addresses:after,.hb-account .woocommerce-Address-title:before,.hb-account .woocommerce-Address-title:after{content:none!important;display:none!important}
.hb-account .woocommerce-MyAccount-content .woocommerce-Addresses{margin:18px 0 24px!important;width:100%!important;align-items:stretch;clear:both}
.hb-account .woocommerce-MyAccount-content .woocommerce-Address{margin:0!important;min-width:0!important;max-width:none!important;flex:none!important}
.hb-account .woocommerce-Address-title{display:flex!important;flex-direction:row!important;flex-wrap:wrap;justify-content:space-between;align-items:center!important;gap:10px!important;width:100%;margin:0 0 20px!important;padding:0 0 16px!important;border-bottom:1px solid var(--hb-line)}
.hb-account .woocommerce-Address-title h2{float:none!important;width:auto!important;margin:0!important;font-size:22px;line-height:1.3}
.hb-account .woocommerce-Address-title a.edit{float:none!important;display:inline-flex!important;align-items:center;justify-content:center;min-height:38px;margin:0!important;padding:7px 12px;border:1px solid var(--hb-ink);border-radius:5px;background:var(--hb-ink);color:#fff!important;text-decoration:none!important;font-size:12px;line-height:1.5}
.hb-account .woocommerce-Address-title a.edit:hover{background:var(--hb-pink)!important;border-color:var(--hb-pink);color:var(--hb-ink)!important}
.hb-account .woocommerce-MyAccount-content .woocommerce-Address address{margin:0!important;overflow-wrap:anywhere}
/* The link owns the hover fill; the theme's square list-item layer stays clear. */
.hb-account .woocommerce-MyAccount-navigation ul>li,.hb-account .woocommerce-MyAccount-navigation ul>li:hover,.hb-account .woocommerce-MyAccount-navigation ul>li:focus-within{background:transparent!important;border-radius:7px}
