@import url("/styles/pages/storefront/starter/style.css");

.customer-account [hidden] {
    display: none !important;
}

.customer-account .account-shell {
    display: grid;
    grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.2fr);
    gap: 1.5rem;
}

.account-panel,
.account-card {
    border: 1px solid var(--starter-line);
    border-radius: 2px;
    padding: 1.5rem;
    background: #ffffff;
}

.account-panel h1,
.account-dashboard h2,
.account-login-required h2 {
    font-family: "Libre Baskerville", Georgia, serif;
}

.account-form,
.account-dashboard,
.account-login-required,
.account-switch {
    display: grid;
    gap: 1rem;
}

.account-switch {
    margin-top: 1rem;
    align-items: start;
}

.account-login-required.is-hidden {
    display: none;
}

.account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.account-form label {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
}

.account-form input {
    width: 100%;
    border: 1px solid var(--starter-line);
    border-radius: 2px;
    padding: 0.75rem 0.85rem;
    background: transparent;
}

.account-message {
    margin-bottom: 1rem;
    color: #8a1f11;
}

.account-message.is-hidden {
    display: none;
}

.account-summary,
.order-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.orders-list {
    display: grid;
    gap: 0.75rem;
}

.order-row {
    border-top: 1px solid var(--starter-line);
    padding-top: 0.75rem;
}

@media (max-width: 48rem) {
    .customer-account .account-shell {
        grid-template-columns: 1fr;
    }
}
