/* Account pages use native WooCommerce forms, with layout isolated from marketing forms. */
.sheiq-account-page.prose {
    width:100%;max-width:1080px;margin:0 auto;padding:56px 32px 88px;
}
.sheiq-account-intro {text-align:center;margin:0 auto 38px;max-width:660px}
.sheiq-account-intro .eyebrow {color:var(--teal);font-size:10px;letter-spacing:2px}
.sheiq-account-intro h1 {font-size:clamp(34px,4vw,52px);line-height:1.16;letter-spacing:-1.5px;margin:14px 0 16px}
.sheiq-account-page .sheiq-account-intro p {font-size:14px;line-height:1.8;color:var(--muted);margin:0}

/* Clear WooCommerce floats and clearfix pseudo-elements before introducing the card grid. */
.sheiq-account-page .woocommerce #customer_login {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;width:100%;align-items:stretch}
.sheiq-account-page .woocommerce #customer_login::before,
.sheiq-account-page .woocommerce #customer_login::after {display:none;content:none}
.sheiq-account-page .woocommerce #customer_login>.col-1,
.sheiq-account-page .woocommerce #customer_login>.col-2 {
    float:none;width:auto;min-width:0;margin:0;padding:32px;display:flex;flex-direction:column;
    border:1px solid var(--line);border-radius:4px;background:#fff;box-shadow:0 8px 28px #0a112805;
}
.sheiq-account-page .woocommerce #customer_login h2 {font-size:30px;letter-spacing:-.7px;line-height:1.2;margin:0 0 26px}
.sheiq-account-page .woocommerce form.login,
.sheiq-account-page .woocommerce form.register {border:0;border-radius:0;padding:0;margin:0;display:flex;flex-direction:column;flex:1;min-width:0}
.sheiq-account-page .woocommerce form p {font-size:13px;line-height:1.75;margin:0 0 20px;color:var(--muted)}
.sheiq-account-page .woocommerce form .form-row {
    display:block;float:none;width:100%;padding:0;margin:0 0 20px;clear:both;
}
.sheiq-account-page .woocommerce form .form-row::before,
.sheiq-account-page .woocommerce form .form-row::after {display:none;content:none}
.sheiq-account-page .woocommerce form .form-row label {
    display:block;float:none;font:500 12px/1.6 var(--sans);color:var(--navy);margin:0 0 8px;text-align:left;
}
.sheiq-account-page .woocommerce form .form-row input.input-text,
.sheiq-account-page .woocommerce form .form-row textarea,
.sheiq-account-page .woocommerce form .form-row select {
    display:block;width:100%;max-width:100%;min-width:0;min-height:50px;box-sizing:border-box;
    margin:0;padding:13px 14px;border:1px solid #0a11282e;border-radius:3px;
    background:var(--paper);color:var(--navy);font:14px/1.5 var(--sans);box-shadow:none;
}
.sheiq-account-page .woocommerce form .form-row input.input-text:focus,
.sheiq-account-page .woocommerce form .form-row textarea:focus,
.sheiq-account-page .woocommerce form .form-row select:focus {
    outline:2px solid var(--teal);outline-offset:2px;border-color:var(--teal);background:#fff;
}
.sheiq-account-page .woocommerce form .form-row.woocommerce-invalid input.input-text {border-color:#a53636}
.sheiq-account-page .woocommerce form .form-row label.woocommerce-form__label-for-checkbox {
    display:flex;align-items:center;gap:9px;margin:0 0 20px;min-height:24px;font-weight:400;cursor:pointer;
}
.sheiq-account-page .woocommerce form input[type=checkbox],
.sheiq-account-page .woocommerce form input[type=radio] {
    display:inline-block;flex:0 0 18px;width:18px;height:18px;min-width:18px;min-height:18px;
    margin:0;padding:0;vertical-align:middle;accent-color:var(--teal);cursor:pointer;
}
.sheiq-account-page .woocommerce form input[type=hidden] {display:none}
.sheiq-account-page .woocommerce form .password-input {display:block;position:relative;width:100%}
.sheiq-account-page .woocommerce form .password-input input.input-text {padding-right:50px}
.sheiq-account-page .woocommerce form .show-password-input {
    position:absolute;right:9px;top:50%;transform:translateY(-50%);display:grid;place-items:center;
    width:32px;height:32px;min-width:32px;min-height:32px;margin:0;padding:0;background:transparent;
    border:0;box-shadow:none;color:var(--muted);font-size:16px;cursor:pointer;
}
.sheiq-account-page .woocommerce form .show-password-input::after {margin:0;line-height:1}
.sheiq-account-page .woocommerce form button.button,
.sheiq-account-page .woocommerce form input.button {
    float:none;display:block;width:100%;min-height:50px;margin:0;padding:14px 20px;
    border:1px solid var(--navy);border-radius:3px;background:var(--navy);color:var(--paper);
    font:500 12px/1.6 var(--sans);letter-spacing:.5px;text-align:center;cursor:pointer;
}
.sheiq-account-page .woocommerce form button.button:hover,
.sheiq-account-page .woocommerce form input.button:hover {background:var(--teal);border-color:var(--teal)}
.sheiq-account-page .woocommerce form.register>.form-row:last-of-type {margin-top:auto;padding-top:6px;margin-bottom:0}
.sheiq-account-page .woocommerce form .woocommerce-privacy-policy-text p {font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 22px}
.sheiq-account-page .woocommerce form .lost_password {margin:0;text-align:center;font-size:12px}
.sheiq-account-page .woocommerce form .lost_password a,
.sheiq-account-page .woocommerce .woocommerce-privacy-policy-link {text-decoration:underline;text-underline-offset:3px;color:var(--teal)}
.sheiq-account-page .woocommerce .woocommerce-notices-wrapper:empty {display:none}
.sheiq-account-page .woocommerce .woocommerce-error,
.sheiq-account-page .woocommerce .woocommerce-message,
.sheiq-account-page .woocommerce .woocommerce-info {font-size:13px;line-height:1.7;margin-bottom:24px}

/* Single login and password reset forms remain compact when registration is disabled. */
.sheiq-account-page .woocommerce>h2 {font-size:30px;text-align:center;margin:0 0 24px}
.sheiq-account-page .woocommerce>form.login,
.sheiq-account-page .woocommerce>form.lost_reset_password {
    max-width:540px;margin:0 auto;padding:32px;border:1px solid var(--line);border-radius:4px;background:#fff;
}
.sheiq-account-page .woocommerce form.lost_reset_password>.form-row:last-of-type {margin-bottom:0}

/* WooCommerce's clearfix pseudo-elements otherwise become extra grid items:
   ::before takes the sidebar cell, pushing navigation right and content below. */
.sheiq-account-page .woocommerce:has(>.woocommerce-MyAccount-navigation)::before,
.sheiq-account-page .woocommerce:has(>.woocommerce-MyAccount-navigation)::after {display:none;content:none}
.sheiq-account-page:has(.woocommerce-MyAccount-navigation) {max-width:1180px;padding-top:48px}
.sheiq-account-page:has(.woocommerce-MyAccount-navigation) .sheiq-account-intro h1 {font-size:clamp(34px,3.6vw,46px)}
.sheiq-account-page .woocommerce:has(>.woocommerce-MyAccount-navigation) {display:grid;grid-template-columns:220px minmax(0,1fr);gap:26px;align-items:start;width:100%}
.sheiq-account-page .woocommerce:has(>.woocommerce-MyAccount-navigation)>.woocommerce-notices-wrapper {grid-column:1/-1}
.sheiq-account-page .woocommerce .woocommerce-MyAccount-navigation {grid-column:1;float:none;clear:none;width:auto;min-width:0;margin:0}
.sheiq-account-page .woocommerce .woocommerce-MyAccount-navigation ul {list-style:none;padding:10px;margin:0;border:1px solid var(--line);border-radius:6px;background:#fff}
.sheiq-account-page .woocommerce .woocommerce-MyAccount-navigation li {margin:0;padding:0}
.sheiq-account-page .woocommerce .woocommerce-MyAccount-navigation a {display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:47px;padding:12px 14px;font-size:12px;border-radius:3px;text-decoration:none;transition:background .15s,color .15s}
.sheiq-account-page .woocommerce .woocommerce-MyAccount-navigation .is-active a::after {content:'↗';font-size:15px}
.sheiq-account-page .woocommerce .woocommerce-MyAccount-navigation a:hover {background:#1a75840c;color:var(--teal)}
.sheiq-account-page .woocommerce .woocommerce-MyAccount-navigation .is-active a {background:var(--navy);color:var(--paper)}
.sheiq-account-page .woocommerce .woocommerce-MyAccount-navigation-link--customer-logout {border-top:1px solid var(--line);margin-top:10px;padding-top:8px}
.sheiq-account-page .woocommerce .woocommerce-MyAccount-content {grid-column:2;float:none;clear:none;width:auto;max-width:none;min-width:0;padding:32px;border:1px solid var(--line);border-radius:6px;background:#fff;overflow-wrap:anywhere}
.sheiq-account-page .woocommerce .woocommerce-MyAccount-content>p:first-child {margin-top:0}
.sheiq-account-page .woocommerce .woocommerce-MyAccount-content fieldset {border:1px solid var(--line);padding:20px;margin:24px 0}
.sheiq-account-page .woocommerce .woocommerce-MyAccount-content legend {font-size:14px;padding:0 8px}
.sheiq-account-page .woocommerce .woocommerce-MyAccount-content p {font-size:13px;line-height:1.85}
.sheiq-dashboard-welcome {padding-bottom:27px;border-bottom:1px solid var(--line);margin-bottom:26px}
.sheiq-account-page .sheiq-dashboard-welcome h2 {font-size:clamp(26px,3vw,34px);line-height:1.25;letter-spacing:-.8px;margin:11px 0 12px}
.sheiq-account-page .sheiq-dashboard-welcome p {color:var(--muted);margin:0;max-width:510px}
.sheiq-dashboard-cards {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.sheiq-dashboard-card {display:flex;flex-direction:column;min-width:0;gap:10px;padding:20px 16px;border:1px solid var(--line);border-radius:4px;background:var(--paper);text-decoration:none;transition:border-color .15s,background .15s}
.sheiq-dashboard-card:hover {border-color:var(--teal);background:#f2f7f6}
.sheiq-dashboard-card:focus-visible,.sheiq-account-page .woocommerce-MyAccount-navigation a:focus-visible {outline:2px solid var(--teal);outline-offset:3px}
.sheiq-dashboard-card svg {width:22px;height:22px;color:var(--teal);margin-bottom:8px}
.sheiq-dashboard-card strong {font:500 14px/1.4 var(--sans);color:var(--navy)}
.sheiq-dashboard-card>span {font-size:11px;line-height:1.75;color:var(--muted)}
.sheiq-dashboard-card .sheiq-card-arrow {margin-top:auto;padding-top:8px;color:var(--teal);font-size:19px}
.sheiq-dashboard-footer {display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:30px;padding-top:24px;border-top:1px solid var(--line)}
.sheiq-account-page .sheiq-dashboard-footer p {margin:0;color:var(--muted);font-size:12px}
.sheiq-dashboard-footer .text-link {font-size:12px;white-space:nowrap}
@media(min-width:761px) and (max-width:980px) {
    .sheiq-account-page .woocommerce:has(>.woocommerce-MyAccount-navigation) {grid-template-columns:190px minmax(0,1fr);gap:20px}
    .sheiq-account-page .woocommerce .woocommerce-MyAccount-content {padding:26px}
    .sheiq-dashboard-cards {grid-template-columns:minmax(0,1fr)}
    .sheiq-dashboard-card {display:grid;grid-template-columns:26px minmax(0,1fr) 20px;gap:4px 14px;padding:17px}
    .sheiq-dashboard-card svg {grid-row:1/3;margin:0;align-self:center}
    .sheiq-dashboard-card>span {grid-column:2}
    .sheiq-dashboard-card .sheiq-card-arrow {grid-column:3;grid-row:1/3;align-self:center;padding:0;margin:0}
}

@media(max-width:760px) {
    .sheiq-account-page.prose {padding:36px 20px 60px}
    .sheiq-account-intro {margin-bottom:28px}
    .sheiq-account-intro h1 {font-size:36px;letter-spacing:-1px}
    .sheiq-account-page .sheiq-account-intro p {font-size:13px}
    .sheiq-account-page .woocommerce #customer_login {grid-template-columns:minmax(0,1fr);gap:20px}
    .sheiq-account-page .woocommerce #customer_login>.col-1,
    .sheiq-account-page .woocommerce #customer_login>.col-2,
    .sheiq-account-page .woocommerce>form.login,
    .sheiq-account-page .woocommerce>form.lost_reset_password {padding:24px}
    .sheiq-account-page .woocommerce #customer_login h2 {font-size:28px;margin-bottom:22px}
    .sheiq-account-page .woocommerce form .form-row input.input-text,
    .sheiq-account-page .woocommerce form .form-row textarea,
    .sheiq-account-page .woocommerce form .form-row select {font-size:16px}
    .sheiq-account-page .woocommerce:has(>.woocommerce-MyAccount-navigation) {grid-template-columns:minmax(0,1fr);gap:20px}
    .sheiq-account-page .woocommerce .woocommerce-MyAccount-navigation {grid-column:1}
    .sheiq-account-page .woocommerce .woocommerce-MyAccount-navigation ul {display:flex;flex-wrap:wrap;gap:4px;padding:8px}
    .sheiq-account-page .woocommerce .woocommerce-MyAccount-navigation a {padding:10px 12px}
    .sheiq-account-page .woocommerce .woocommerce-MyAccount-navigation-link--customer-logout {border:0;margin:0;padding:0}
    .sheiq-account-page .woocommerce .woocommerce-MyAccount-content {grid-column:1;padding:24px;overflow-x:auto}
    .sheiq-dashboard-cards {grid-template-columns:minmax(0,1fr)}
    .sheiq-dashboard-card {display:grid;grid-template-columns:26px minmax(0,1fr) 20px;gap:4px 14px;padding:18px}
    .sheiq-dashboard-card svg {grid-row:1/3;margin:0;align-self:center}
    .sheiq-dashboard-card>span {grid-column:2}
    .sheiq-dashboard-card .sheiq-card-arrow {grid-column:3;grid-row:1/3;align-self:center;padding:0;margin:0}
    .sheiq-dashboard-footer {align-items:flex-start;flex-direction:column;gap:10px}
}
