/* Scoped progressive navigation; WooCommerce owns registration and validation. */
.hqm-auth-navigation {display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:24px auto;max-width:36rem}
.hqm-auth-navigation a {border:1px solid #dfe5df;border-radius:8px;color:#17231d;padding:12px 18px;min-height:44px;box-sizing:border-box;text-decoration:none;font-weight:700}
.hqm-auth-navigation a[aria-current="page"] {background:#193f32;color:#fff}
.hqm-customer-login #customer_login .u-column2,.hqm-customer-register #customer_login .u-column1 {display:none}
:is(.hqm-customer-login,.hqm-customer-register) #customer_login {display:block;max-width:36rem;margin-inline:auto;width:100%}
:is(.hqm-customer-login,.hqm-customer-register) #customer_login > div {float:none;width:100%;box-sizing:border-box}
.login .language-switcher {max-width:30rem;margin:24px auto;padding:0 20px;box-sizing:border-box;font-size:13px}
.login #language-switcher {display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px}
.login #language-switcher label {display:flex;align-items:center;gap:6px}
.login #language-switcher select {appearance:auto;font:inherit;min-height:44px;border:1px solid #b9c7bd;border-radius:8px;width:auto;max-width:180px;color:#17231d;background-color:#fff;box-shadow:none}
.hqm-account-registration-prompt {margin:0 auto 1.5rem;max-width:36rem;text-align:center}
.hqm-customer-confirmation #customer_login,
.hqm-customer-confirmation .hqm-account-registration-prompt {display:none}
.hqm-account-confirmation {max-width:36rem;margin:0 auto;padding:clamp(1.25rem,4vw,2rem);border:1px solid #dfe5df;border-radius:8px;background:#fff;overflow-wrap:anywhere}
.hqm-account-confirmation h2 {margin-top:0}
.hqm-account-confirmation a {display:inline-flex;align-items:center;min-height:44px}
.login #language-switcher .button {font:inherit;min-height:40px;border:1px solid #193f32;border-radius:8px;color:#193f32;background:#fff;line-height:1.4;padding:8px 12px}
@media(max-width:480px){.hqm-auth-navigation{gap:6px}.hqm-auth-navigation a{flex:1;text-align:center;padding-inline:8px;font-size:13px}.login #language-switcher select{max-width:180px}}

/* Customer account: one compact layout for every native WooCommerce endpoint.
   WooCommerce still owns navigation, forms, validation and account actions. */
body.woocommerce-account.logged-in .woocommerce:has(> .woocommerce-MyAccount-navigation) {
    display: grid;
    grid-template-columns: minmax(13rem, 15rem) minmax(0, 1fr);
    align-items: start;
    gap: 1.5rem;
}
body.woocommerce-account.logged-in .woocommerce:has(> .woocommerce-MyAccount-navigation)::before,
body.woocommerce-account.logged-in .woocommerce:has(> .woocommerce-MyAccount-navigation)::after {
    content: none;
}
body.woocommerce-account.logged-in .woocommerce:has(> .woocommerce-MyAccount-navigation) > * {
    grid-column: 1 / -1;
    min-width: 0;
}
body.woocommerce-account.logged-in .woocommerce > .woocommerce-MyAccount-navigation,
body.woocommerce-account.logged-in .woocommerce > .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    border: 1px solid var(--wp--preset--color--line, #dfe5df);
    border-radius: var(--hqm-radius-md, 8px);
    background: var(--wp--preset--color--surface, #fff);
    color: var(--wp--preset--color--ink, #182033);
    font-size: 1rem;
    line-height: 1.6;
}
body.woocommerce-account.logged-in .woocommerce > .woocommerce-MyAccount-navigation {
    grid-column: 1;
    padding: .5rem;
    box-shadow: none;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul {
    display: grid;
    gap: .25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li {
    margin: 0;
    padding: 0;
    border: 0;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: .65rem .85rem;
    box-sizing: border-box;
    border-radius: 6px;
    color: inherit;
    font-weight: 500;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation .is-active a {
    background: var(--hqm-cover-surface, #f5f7f5);
    color: var(--hqm-trust-green, #2f6f44);
    font-weight: 700;
    box-shadow: inset 3px 0 var(--hqm-trust-green, #2f6f44);
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a:hover {
    background: var(--hqm-cover-surface, #f5f7f5);
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a:focus-visible {
    outline: 2px solid var(--hqm-focus, #0f766e);
    outline-offset: -2px;
}
body.woocommerce-account.logged-in .woocommerce > .woocommerce-MyAccount-content {
    grid-column: 2;
    padding: clamp(1.25rem, 3vw, 2rem);
    overflow-x: auto;
    overflow-wrap: anywhere;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content > :first-child { margin-top: 0; }
body.woocommerce-account.logged-in .woocommerce-MyAccount-content > :last-child { margin-bottom: 0; }
body.woocommerce-account.logged-in .woocommerce-MyAccount-content p { margin-block: 0 1rem; }
body.woocommerce-account.logged-in .woocommerce-MyAccount-content h2,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content h3 {
    margin-block: 0 1rem;
    font-size: 1.25rem;
    line-height: 1.35;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Addresses::before,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Addresses::after { content: none; }
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Address {
    float: none;
    width: 100%;
    min-width: 0;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Address-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    margin-bottom: .75rem;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Address-title::before,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Address-title::after { content: none; }
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Address-title h2,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Address-title h3 { margin: 0; }
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .form-row { margin: 0 0 1rem; padding: 0; }
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .form-row label { margin-bottom: .4rem; line-height: 1.5; }
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .input-text,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .form-row select {
    box-sizing: border-box;
    max-width: 100%;
    min-height: 44px;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content fieldset {
    min-width: 0;
    margin: 1.5rem 0;
    padding: 1rem;
    border: 1px solid var(--wp--preset--color--line, #dfe5df);
    border-radius: var(--hqm-radius-md, 8px);
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content fieldset legend { padding-inline: .5rem; font-weight: 700; }
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .button { min-height: 44px; white-space: normal; }
body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table { margin: 0 0 1rem; }
body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table th,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table td { padding: .8rem; }
@media (max-width: 767px) {
    body.woocommerce-account.logged-in .woocommerce:has(> .woocommerce-MyAccount-navigation) { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    body.woocommerce-account.logged-in .woocommerce > .woocommerce-MyAccount-navigation,
    body.woocommerce-account.logged-in .woocommerce > .woocommerce-MyAccount-content { grid-column: 1; }
    body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Addresses { grid-template-columns: minmax(0, 1fr); }
}

/* Explicit provider choice; no external scripts, images or iframe requests. */
.hqm-social-panel {max-width:36rem;margin:1.5rem auto;padding:1.25rem;border:1px solid #dfe5df;border-radius:8px;background:#fff;box-sizing:border-box;overflow-wrap:anywhere}
.hqm-social-panel > p {font-size:.9375rem;line-height:1.6}
.hqm-social-form {display:grid;gap:.65rem;margin:0 0 1rem;min-width:0}
.hqm-social-form input[type="password"] {box-sizing:border-box;width:100%;max-width:100%;min-height:44px}
.hqm-social-form .hqm-social-button {box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:.75rem;width:100%;min-height:44px;padding:.65rem .8rem;white-space:normal;line-height:1.4;font:inherit;font-size:.9rem;font-weight:500;border:1px solid #747775;border-radius:6px;background:#fff;color:#1f1f1f;cursor:pointer}
.hqm-social-form .hqm-social-button:focus-visible {outline:2px solid #0f766e;outline-offset:3px}
.hqm-social-panel h2,.hqm-social-panel h3 {margin-top:0}
.hqm-social-panel--secondary {margin:1.5rem auto;padding:1.25rem 0 0;border:0;border-top:1px solid #dfe5df;border-radius:0;background:transparent}
.hqm-social-panel .hqm-social-divider {margin:0 0 1rem;font-size:.875rem;text-align:center;color:#525b56}
.hqm-social-options {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.hqm-social-options .hqm-social-form {margin:0}
.hqm-social-panel--secondary > p:last-child {font-size:.8rem;color:#525b56}
.hqm-social-icon {position:relative;display:inline-block;flex:0 0 20px;width:20px;height:20px;overflow:hidden}
.hqm-social-icon img {display:block;width:20px;height:20px;object-fit:contain}
/* The official Facebook illustration has white clear space; preserve its logo proportions. */
.hqm-social-icon--facebook {border-radius:50%}
.hqm-social-icon--facebook img {position:absolute;max-width:none;width:64.56px;height:35.60px;left:50%;top:50%;transform:translate(-50%,-50%)}
.hqm-social-button:disabled {opacity:.6;cursor:wait}
.hqm-social-status {font-size:.875rem;line-height:1.6}
.hqm-social-status[hidden] {display:none}
.hqm-social-cancel {background:transparent;border:0;text-decoration:underline;cursor:pointer;font:inherit;min-height:44px}
.hqm-vendor-login-card .hqm-social-options {grid-template-columns:minmax(0,1fr)}
.hqm-security-card .hqm-social-panel .hqm-social-button {background:#fff;color:#183f34;border-color:#b9cbc3}
.hqm-security-card .hqm-social-panel .hqm-social-button:hover {background:#eef6f1;color:#183f34}
@media(max-width:480px){.hqm-social-options{grid-template-columns:minmax(0,1fr)}}

.hqm-logout {
    box-sizing: border-box;
    display: grid;
    place-items: start center;
    min-height: 100vh;
    margin: 0;
    padding: clamp(2rem, 12vh, 7rem) 1rem 2rem;
    background: #f8f7f0;
    color: #1a2435;
    font: 1rem/1.6 system-ui, sans-serif;
}
.hqm-logout__card {
    box-sizing: border-box;
    width: min(100%, 32rem);
    padding: clamp(1.5rem, 6vw, 3rem);
    border: 1px solid #dfe5df;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 12px 36px #173b2f14;
    overflow-wrap: anywhere;
}
.hqm-logout__brand { color: #173b2f; font-weight: 700; }
.hqm-logout__brand img { display: block; width: auto; max-width: min(100%, 15rem); height: auto; }
.hqm-logout__card h1 { margin: 1.5rem 0 .5rem; font: 700 clamp(1.75rem, 6vw, 2.25rem)/1.2 Georgia, serif; }
.hqm-logout__card p { margin: 0; }
.hqm-logout__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hqm-logout__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 .875rem;
    border: 1px solid #b9cbc3;
    border-radius: .5rem;
    color: #173b2f;
    font-weight: 700;
    text-decoration: none;
}
.hqm-logout__actions a:hover { background: #eef6f1; }
.hqm-logout__actions .hqm-logout__confirm { background: #173b2f; border-color: #173b2f; color: #fff; }
.hqm-logout__actions .hqm-logout__confirm:hover { background: #0b554b; }
.hqm-logout a:focus-visible { outline: 2px solid #0f766e; outline-offset: 3px; }
