.auth-section {
    padding: 64px 0;
    background:
        radial-gradient(circle at 18% 4%, rgba(201, 149, 50, 0.13), transparent 28%),
        transparent;
}

.auth-card {
    max-width: 520px;
    padding: 30px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.auth-card h1 {
    margin-bottom: 10px;
}

.auth-logo {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid rgba(201, 149, 50, 0.6);
    margin-bottom: 18px;
}

.auth-subform {
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.captcha-box {
    padding: 12px;
    border: 1px dashed var(--color-accent);
    border-radius: var(--radius-sm);
    background: var(--color-accent-soft);
    color: var(--color-muted);
}

.captcha-box p {
    margin-bottom: 4px;
    color: var(--color-text);
    font-weight: 700;
}

.captcha-box--warning {
    color: var(--danger);
}

.turnstile-field {
    min-height: 68px;
    display: flex;
    align-items: center;
}

.field-hint {
    color: var(--muted);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.35;
}

.resend-code-form {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.resend-code__timer {
    margin: -4px 0 0;
    font-size: 14px;
}

.errorlist {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    color: var(--danger);
    font-weight: 400;
    grid-column: 1 / -1;
    font-size: 14px;
    line-height: 1.35;
}

.errorlist li + li {
    margin-top: 4px;
}

.form-stack > .errorlist,
form > .errorlist {
    padding: 10px 12px;
    border: 1px solid rgba(157, 40, 40, 0.24);
    border-radius: var(--radius-sm);
    background: rgba(157, 40, 40, 0.06);
}

.order-list {
    display: grid;
    gap: 12px;
}

.order-card {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 32px;
    align-items: start;
}

.profile-page {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.profile-panel {
    padding: 22px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.profile-panel__head {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin-bottom: 18px;
}

.profile-panel__head > span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(201, 149, 50, 0.45);
    border-radius: 50%;
    background: var(--color-accent-soft);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 800;
}

.profile-panel__head h2 {
    margin-bottom: 5px;
    font-size: clamp(22px, 2vw, 28px);
}

.profile-panel__head p {
    margin-bottom: 0;
    color: var(--muted);
}

.profile-email-card {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #fff, rgba(244, 234, 212, 0.22));
}

.profile-email-card span {
    color: var(--muted);
    font-size: 14px;
}

.profile-email-card .button {
    justify-self: start;
    margin-top: 4px;
}

.profile-panel--wide {
    grid-column: 1 / -1;
}

.address-list {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.address-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    box-shadow: none;
}

.status-pill {
    display: inline-flex;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--color-accent-soft);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
}

.address-default-check {
    align-self: end;
}

.order-card__side {
    display: grid;
    justify-items: end;
    gap: 10px;
}

.product-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
