/* Herb & Me — customer account experience */
body.woocommerce-account .hm-page-shell,
body.woocommerce-account main.hm-page-shell { width: min(100% - 48px, 1180px) !important; max-width: 1180px !important; }
body.woocommerce-account .wp-block-post-content { width: 100%; max-width: none !important; }
body.woocommerce-account.logged-in .woocommerce { display: grid !important; grid-template-columns: minmax(190px, 235px) minmax(0, 1fr) !important; gap: clamp(22px, 4vw, 48px) !important; align-items: start; width: 100%; max-width: none !important; margin: 0 !important; }
/* Logged-out visitors do not have account navigation: keep the login/register forms centered and full-width. */
body.woocommerce-account:not(.logged-in) .woocommerce { display: block !important; width: 100% !important; max-width: 720px !important; margin: 0 auto !important; }
body.woocommerce-account:not(.logged-in) .woocommerce .u-columns,
body.woocommerce-account:not(.logged-in) .woocommerce .col2-set { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 24px !important; width: 100% !important; }
body.woocommerce-account:not(.logged-in) .woocommerce .u-column1,
body.woocommerce-account:not(.logged-in) .woocommerce .u-column2,
body.woocommerce-account:not(.logged-in) .woocommerce .col-1,
body.woocommerce-account:not(.logged-in) .woocommerce .col-2,
body.woocommerce-account:not(.logged-in) .woocommerce-form-login { float: none !important; width: 100% !important; max-width: none !important; box-sizing: border-box !important; }
body.woocommerce-account:not(.logged-in) .woocommerce-form-login { padding: 24px !important; }
body.woocommerce-account .woocommerce::before,
body.woocommerce-account .woocommerce::after { display: none !important; content: none !important; }
body.woocommerce-account .woocommerce-MyAccount-navigation { float: none !important; width: auto !important; margin: 0 !important; padding: 18px !important; background: #fff !important; border: 1px solid #e9e3d6 !important; border-radius: 18px !important; box-shadow: 0 8px 28px rgba(30,45,33,.045); }
body.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex !important; flex-direction: column !important; gap: 5px !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
body.woocommerce-account .woocommerce-MyAccount-navigation li { display: block !important; float: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
body.woocommerce-account .woocommerce-MyAccount-navigation li a { display: flex !important; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 44px; box-sizing: border-box; padding: 11px 13px !important; border-radius: 10px !important; color: #304438 !important; font-size: 14px !important; font-weight: 700 !important; line-height: 1.35 !important; text-align: left !important; text-decoration: none !important; transition: background .18s ease, color .18s ease; }
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: #f5f6ef !important; color: #07520d !important; }
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: #07520d !important; color: #fff !important; }
body.woocommerce-account .woocommerce-MyAccount-navigation li a:focus-visible,
body.woocommerce-account .woocommerce-MyAccount-content a:focus-visible { outline: 3px solid #d5b66b !important; outline-offset: 3px; }
body.woocommerce-account .woocommerce-MyAccount-content { float: none !important; width: auto !important; min-width: 0 !important; max-width: none !important; color: #344139; font-size: 15px; line-height: 1.7; }
body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type { display: none; }
.hm-account-dashboard { display: grid; gap: 24px; width: 100%; }
.hm-account-welcome { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: clamp(22px, 3vw, 34px); border: 1px solid #e9e3d6; border-radius: 18px; background: linear-gradient(120deg, #f7f7f0 0%, #fff 78%); }
.hm-account-eyebrow { margin: 0 0 8px !important; color: #7b805e; font-size: 10px !important; font-weight: 800; letter-spacing: .14em; line-height: 1.4 !important; }
.hm-account-welcome h2 { margin: 0 0 7px !important; color: #17261d; font-family: 'HM Mincho', Georgia, serif; font-size: clamp(25px, 3vw, 36px) !important; font-weight: 700; line-height: 1.18 !important; }
.hm-account-welcome p:not(.hm-account-eyebrow) { margin: 0 !important; color: #69736b; font-size: 14px; }
.hm-account-shop-link, .hm-account-section-heading > a, .hm-account-empty-orders > a, .hm-account-help > a { color: #07520d !important; font-size: 13px; font-weight: 800; text-decoration: none !important; white-space: nowrap; }
.hm-account-shop-link:hover, .hm-account-section-heading > a:hover, .hm-account-empty-orders > a:hover, .hm-account-help > a:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.hm-account-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hm-account-summary-card { display: flex; min-width: 0; flex-direction: column; gap: 9px; padding: 19px; border: 1px solid #e9e3d6; border-radius: 15px; background: #fff; color: #26382c !important; text-decoration: none !important; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.hm-account-summary-card:hover { transform: translateY(-2px); border-color: #c8c9a9; box-shadow: 0 9px 24px rgba(30,45,33,.07); }
.hm-account-card-label { color: #81866d; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.hm-account-summary-card strong { color: #07520d; font-size: 29px; line-height: 1.15; }
.hm-account-summary-card strong.hm-account-card-word { font-family: 'HM Mincho', Georgia, serif; font-size: 19px; }
.hm-account-summary-card > span:last-child { color: #6c756d; font-size: 11px; line-height: 1.45; }
.hm-account-recent { padding: clamp(18px, 2.5vw, 26px); border: 1px solid #e9e3d6; border-radius: 17px; background: #fff; }
.hm-account-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.hm-account-section-heading h3 { margin: 0 !important; color: #17261d; font-family: 'HM Mincho', Georgia, serif; font-size: 23px !important; line-height: 1.2; }
.hm-account-section-heading .hm-account-eyebrow { margin-bottom: 5px !important; }
.hm-account-order-list { border-top: 1px solid #eeeae1; }
.hm-account-order-row { display: grid; grid-template-columns: minmax(100px, 1fr) auto auto; align-items: center; gap: 18px; padding: 15px 0; border-bottom: 1px solid #eeeae1; }
.hm-account-order-main, .hm-account-order-meta { display: flex; flex-direction: column; gap: 3px; }
.hm-account-order-main strong { color: #26382c; font-size: 14px; }
.hm-account-order-main span { color: #899087; font-size: 11px; }
.hm-account-order-meta { align-items: flex-start; }
.hm-account-order-meta > strong { color: #26382c; font-size: 13px; }
.hm-account-status { display: inline-block; padding: 3px 8px; border-radius: 999px; background: #f2f4eb; color: #496044; font-size: 10px; font-weight: 800; }
.hm-status-completed { background: #eaf4e9; color: #17602b; }
.hm-status-processing { background: #edf2fa; color: #34547b; }
.hm-status-cancelled, .hm-status-failed, .hm-status-refunded { background: #f8eeee; color: #8b4444; }
.hm-account-order-view { color: #07520d !important; font-size: 11px; font-weight: 800; text-decoration: none !important; white-space: nowrap; }
.hm-account-empty-orders { display: flex; align-items: center; gap: 15px; padding: 18px 0 2px; }
.hm-account-empty-mark { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 50%; background: #f3f4eb; color: #78814f; font-size: 22px; }
.hm-account-empty-orders strong { color: #26382c; font-size: 14px; }
.hm-account-empty-orders p { margin: 3px 0 0 !important; color: #737d73; font-size: 12px; }
.hm-account-empty-orders > a { margin-left: auto; }
.hm-account-help { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 20px; border-radius: 14px; background: #17251f; color: #fff; }
.hm-account-help > div { display: flex; flex-direction: column; gap: 2px; }
.hm-account-help strong { font-family: 'HM Mincho', Georgia, serif; font-size: 17px; }
.hm-account-help span { color: #d1d9d1; font-size: 11px; }
.hm-account-help > a { color: #f1e5c8 !important; }
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Message,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error { margin-bottom: 18px; }
body.woocommerce-account .woocommerce-MyAccount-content form .form-row input,
body.woocommerce-account .woocommerce-MyAccount-content form .form-row select,
body.woocommerce-account .woocommerce-MyAccount-content form .form-row textarea { min-height: 46px; border: 1px solid #dedfd3; border-radius: 9px; padding: 10px 12px; }
body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce-MyAccount-content button.button { border-radius: 999px !important; background: #07520d !important; color: #fff !important; padding: 12px 22px !important; font-weight: 700 !important; }
@media (max-width: 760px) {
 body.woocommerce-account .hm-page-shell, body.woocommerce-account main.hm-page-shell { width: min(100% - 28px, 680px) !important; }
 body.woocommerce-account.logged-in .woocommerce { grid-template-columns: minmax(0, 1fr) !important; gap: 18px !important; }
 body.woocommerce-account .woocommerce-MyAccount-navigation { padding: 9px !important; overflow-x: auto; }
 body.woocommerce-account .woocommerce-MyAccount-navigation ul { flex-direction: row !important; width: max-content; min-width: 100%; gap: 4px !important; }
 body.woocommerce-account .woocommerce-MyAccount-navigation li { width: auto !important; flex: 0 0 auto; }
 body.woocommerce-account .woocommerce-MyAccount-navigation li a { min-height: 40px; padding: 9px 12px !important; white-space: nowrap; font-size: 12px !important; }
 .hm-account-welcome { align-items: flex-start; flex-direction: column; }
 .hm-account-summary { grid-template-columns: 1fr; }
 .hm-account-summary-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 5px 12px; padding: 15px; }
 .hm-account-card-label { grid-column: 1 / -1; }
 .hm-account-summary-card strong { grid-column: 1; font-size: 24px; }
 .hm-account-summary-card > span:last-child { grid-column: 1 / -1; }
 .hm-account-order-row { grid-template-columns: 1fr auto; gap: 7px 12px; }
 .hm-account-order-meta { align-items: flex-end; }
 .hm-account-order-view { grid-column: 1 / -1; justify-self: start; }
 .hm-account-empty-orders { align-items: flex-start; flex-wrap: wrap; }
 .hm-account-empty-orders > a { margin-left: 57px; }
 .hm-account-help { align-items: flex-start; flex-direction: column; }
}
