.auth-page--lojas {
    padding: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(246, 241, 229, 0.9) 44%, rgba(241, 248, 243, 0.92)),
        linear-gradient(120deg, rgba(152, 0, 0, 0.08), transparent 36%),
        linear-gradient(315deg, rgba(8, 163, 32, 0.1), transparent 34%),
        #f7f3ea;
}

.store-auth-shell {
    width: min(1180px, calc(100% - 40px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 56px 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
    align-items: center;
    gap: clamp(28px, 6vw, 72px);
}

.store-auth-hero {
    max-width: 680px;
    color: #261d1f;
}

.store-auth-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    margin: 0 0 26px;
    padding: 0 15px;
    border: 1px solid rgba(8, 163, 32, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    color: #166124;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    box-shadow: 0 10px 26px rgba(77, 46, 10, 0.06);
}

.store-auth-hero__eyebrow span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--brand-green);
    box-shadow: 0 0 0 5px rgba(8, 163, 32, 0.12);
}

.store-auth-hero h1 {
    max-width: 720px;
    margin: 0;
    color: #2f2225;
    font-size: clamp(2.65rem, 5.4vw, 5rem);
    line-height: 1;
    letter-spacing: 0;
}

.store-auth-hero p {
    max-width: 590px;
    margin: 24px 0 0;
    color: #6d6262;
    font-size: 1.08rem;
    line-height: 1.7;
}

.store-auth-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.store-auth-hero__badges span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(199, 154, 24, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: #7a5708;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: 0 10px 28px rgba(77, 46, 10, 0.06);
}

.store-auth-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 70px rgba(77, 46, 10, 0.14);
}

.store-auth-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, var(--brand-red), var(--brand-gold), var(--brand-green));
}

.store-auth-card__header {
    margin-bottom: 24px;
}

.store-auth-card__header h2 {
    margin: 0 0 8px;
    color: #261d1f;
    font-size: 1.9rem;
    line-height: 1.15;
    letter-spacing: 0;
}

.store-auth-card__header p {
    margin: 0;
    color: #716866;
    font-size: 0.96rem;
    line-height: 1.55;
}

.store-auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    padding: 6px;
    border-radius: 18px;
    background: #f5efe7;
}

.store-auth-tab {
    min-height: 48px;
    border-radius: 14px;
    background: transparent;
    color: #7a5708;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.store-auth-tab:hover {
    background: rgba(255, 255, 255, 0.76);
}

.store-auth-tab.is-active {
    background: linear-gradient(135deg, #980000, #c79a18);
    color: #fff;
    box-shadow: 0 12px 26px rgba(152, 0, 0, 0.18);
}

.store-auth-form {
    display: none;
    margin-top: 22px;
    gap: 16px;
}

.store-auth-form.is-active {
    display: grid;
}

.store-auth-card .customer-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.store-auth-card .field-block {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.store-auth-card .field-block--full {
    grid-column: 1 / -1;
}

.store-auth-card .field-block span {
    color: #3f3836;
    font-size: 0.9rem;
    font-weight: 800;
}

.store-auth-card .field-block input:not([type="checkbox"]):not([type="radio"]) {
    width: 100%;
    min-height: 52px;
    padding: 0 15px;
    border: 1px solid #e7dfd5;
    border-radius: 16px;
    background: #fff;
    color: #2f2927;
    outline: 0;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.store-auth-card .field-block input:not([type="checkbox"]):not([type="radio"]):focus {
    border-color: rgba(199, 154, 24, 0.72);
    box-shadow: 0 0 0 4px rgba(199, 154, 24, 0.16);
}

.auth-legal-consent {
    gap: 12px;
    padding: 14px 15px;
    border: 1px solid #ece3d8;
    border-radius: 16px;
    background: #fbf8f3;
}

.auth-legal-consent__check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #3f3836;
    font-size: 0.92rem;
    line-height: 1.5;
}

.auth-legal-consent__check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    margin-top: 2px;
    padding: 0;
    flex: 0 0 auto;
    accent-color: var(--brand-green);
}

.auth-legal-consent__check span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.auth-legal-details {
    display: grid;
    gap: 10px;
}

.auth-legal-details summary {
    cursor: pointer;
    color: #8b5f05;
    font-size: 0.9rem;
    font-weight: 800;
}

.auth-legal-details__content {
    max-height: 280px;
    overflow: auto;
    padding: 14px;
    border: 1px solid #eadfce;
    border-radius: 14px;
    background: #fff;
    color: #5f5553;
    font-size: 0.9rem;
    line-height: 1.6;
}

.auth-legal-details__content h4 {
    margin: 16px 0 8px;
    color: #2f2225;
    font-size: 0.98rem;
}

.auth-legal-details__content p,
.auth-legal-details__content ul {
    margin: 0 0 10px;
}

.auth-legal-details__content ul {
    padding-left: 18px;
}

.store-auth-submit {
    width: 100%;
    margin-top: 4px;
    border-radius: 18px;
    background: linear-gradient(135deg, #07861d, #08a320);
    box-shadow: 0 16px 32px rgba(8, 163, 32, 0.2);
    transition: box-shadow 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.store-auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 38px rgba(8, 163, 32, 0.26);
}

.store-auth-submit:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.store-auth-support-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    margin-top: 4px;
    padding: 0 18px;
    border: 1px solid rgba(8, 163, 32, 0.22);
    border-radius: 18px;
    background: rgba(8, 163, 32, 0.07);
    color: #0f6e20;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.store-auth-support-link:hover {
    background: rgba(8, 163, 32, 0.12);
    border-color: rgba(8, 163, 32, 0.32);
    transform: translateY(-1px);
}

.store-auth-security {
    display: grid;
    gap: 3px;
    margin-top: 22px;
    padding: 14px 15px;
    border: 1px solid #edf0ea;
    border-radius: 16px;
    background: #fafbf8;
    color: #716866;
    font-size: 0.86rem;
    line-height: 1.45;
}

.store-auth-security strong {
    color: #3f3836;
}

@media (max-width: 960px) {
    .store-auth-shell {
        width: min(100% - 28px, 620px);
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 36px 0;
    }

    .store-auth-hero h1 {
        font-size: clamp(2.6rem, 11vw, 4rem);
    }

    .store-auth-hero p {
        font-size: 1rem;
    }
}

@media (max-width: 560px) {
    .store-auth-shell {
        width: min(100% - 22px, 620px);
        padding: 24px 0;
    }

    .store-auth-hero__badges {
        display: none;
    }

    .store-auth-card {
        padding: 26px 20px 22px;
        border-radius: 22px;
    }

    .store-auth-card .customer-form__grid {
        grid-template-columns: 1fr;
    }

    .store-auth-card__header h2 {
        font-size: 1.6rem;
    }
}
