body.storefront-theme:has(.account-access) {
    --surface-base: #e4dfd5;
}

.account-access {
    --surface-panel: #fffdf8;
    --surface-input: #fffefa;
    --surface-border: #dfd2b7;
    --ink: #26221d;
    --ink-muted: #675e50;
    --accent: #805718;
    --focus-ring: #94621b;
    width: min(100%, 29rem);
    margin: clamp(.5rem, 3vw, 2rem) auto;
}

.theme .account-access .auth-card {
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 8px 28px #3527111c;
}

.account-access .auth-heading {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: clamp(1rem, 4vw, 1.45rem);
    background: #25221d;
    color: #fff4dc;
    border-bottom: 2px solid #c5a672;
}

.account-access .auth-heading-icon {
    display: grid;
    place-items: center;
    flex: 0 0 2.6rem;
    height: 2.6rem;
    border: 1px solid #8a6a37;
    border-radius: 10px;
    background: #3c3222;
    color: #ffd176;
    font-size: 1.2rem;
}

.account-access h1 {
    margin: 0;
    font-size: clamp(1.35rem, 5vw, 1.75rem);
    font-weight: 800;
}

.account-access .auth-body { padding: clamp(1rem, 4vw, 1.55rem); }
.account-access form { display: grid; gap: .85rem; }
.account-access .form-label { margin-bottom: .3rem; font-size: .9rem; font-weight: 700; }

.theme .account-access .form-control {
    min-height: 46px;
    border-color: #cfc2aa;
    border-radius: 10px;
    font-size: 1rem;
}

.theme .account-access .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px #94621b26;
}

.theme .account-access .form-control.is-invalid { border-color: #b13748; }
.theme .account-access .invalid-feedback { color: #a62135 !important; }
.account-access .form-check { margin-bottom: 0; font-size: .87rem; }

.theme .account-access .form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.theme .account-access .auth-btn-primary {
    --accent: #e2c485;
    --accent-hover: #efd8a8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 46px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #352711 !important;
    font-weight: 800;
}

.account-access .auth-divider { margin: 1rem 0; border-color: var(--surface-border); opacity: 1; }
.account-access .auth-footer { text-align: center; font-size: .9rem; color: var(--ink-muted); }
.account-access .auth-footer a { color: #a62135; font-weight: 750; text-underline-offset: .18em; }
