
.mrwssm-customer-account,
.mrwssm-customer-login {
    --mrwssm-border: #e4e7ec;
    --mrwssm-text: #182230;
    --mrwssm-muted: #667085;
    --mrwssm-bg: #f7f8fa;
    --mrwssm-card: #fff;
    --mrwssm-radius: 16px;
    width: min(1240px, calc(100vw - 32px));
    max-width: 1240px;
    margin: 36px auto 64px;
    color: var(--mrwssm-text);
    font-size: 15px;
}
.mrwssm-customer-account *, .mrwssm-customer-login * { box-sizing: border-box; }
.mrwssm-customer-account .mrwssm-logo-placeholder,
.mrwssm-customer-login .mrwssm-logo-placeholder { display:grid; place-items:center; flex:0 0 50px; width:50px; height:50px; border-radius:11px; color:#fff; background:var(--mrwssm-accent); font-size:24px; }
.mrwssm-customer-header {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 22px 26px; margin-bottom: 20px; border: 1px solid var(--mrwssm-border);
    border-radius: var(--mrwssm-radius); background: #fff; box-shadow: 0 12px 35px rgba(16,24,40,.07);
}
.mrwssm-customer-brand { display:flex; align-items:center; gap:14px; min-width:0; }
.mrwssm-customer-logo { width:auto; max-width:150px; max-height:52px; object-fit:contain; }
.mrwssm-customer-brand > div { min-width:0; }
.mrwssm-customer-brand span, .mrwssm-login-brand span { display:block; color:var(--mrwssm-muted); font-size:11px; font-weight:750; letter-spacing:.08em; text-transform:uppercase; }
.mrwssm-customer-brand h1, .mrwssm-login-brand h1 { margin:3px 0 0; color:var(--mrwssm-text); font-size:clamp(22px,3vw,30px); line-height:1.15; }
.mrwssm-customer-shop-link { display:inline-flex; align-items:center; gap:8px; min-height:42px; padding:9px 15px; border:1px solid var(--mrwssm-border); border-radius:10px; color:var(--mrwssm-text); background:#fff; font-weight:700; text-decoration:none; white-space:nowrap; }
.mrwssm-customer-shop-link:hover { border-color:var(--mrwssm-accent); color:var(--mrwssm-accent); }
.mrwssm-customer-account-layout { display:grid; grid-template-columns:250px minmax(0,1fr); gap:20px; align-items:start; }
.mrwssm-customer-sidebar { position:sticky; top:24px; overflow:hidden; border:1px solid var(--mrwssm-border); border-radius:var(--mrwssm-radius); background:#fff; box-shadow:0 8px 24px rgba(16,24,40,.05); }
.mrwssm-customer-user-card { display:grid; grid-template-columns:56px minmax(0,1fr); gap:12px; align-items:center; padding:20px; border-bottom:1px solid var(--mrwssm-border); }
.mrwssm-customer-user-card img { border-radius:50%; }
.mrwssm-customer-user-card strong, .mrwssm-customer-user-card span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mrwssm-customer-user-card strong { font-size:14px; }
.mrwssm-customer-user-card span { margin-top:3px; color:var(--mrwssm-muted); font-size:11px; }
.mrwssm-customer-nav { display:flex; flex-direction:column; gap:4px; padding:12px; }
.mrwssm-customer-nav a, .mrwssm-customer-manager-link { display:flex; align-items:center; gap:10px; min-height:44px; padding:10px 12px; border-radius:10px; color:#475467; font-weight:680; text-decoration:none; }
.mrwssm-customer-nav a:hover, .mrwssm-customer-nav a.is-active { color:#fff; background:var(--mrwssm-accent); }
.mrwssm-customer-nav .dashicons, .mrwssm-customer-manager-link .dashicons { width:20px; height:20px; font-size:20px; }
.mrwssm-customer-manager-link { margin:0 12px 12px; border:1px solid color-mix(in srgb, var(--mrwssm-accent) 25%, var(--mrwssm-border)); color:var(--mrwssm-accent); background:color-mix(in srgb, var(--mrwssm-accent) 7%, #fff); }
.mrwssm-customer-content { min-width:0; padding:24px; border:1px solid var(--mrwssm-border); border-radius:var(--mrwssm-radius); background:var(--mrwssm-bg); box-shadow:0 8px 24px rgba(16,24,40,.05); }
.mrwssm-customer-content > :first-child { margin-top:0; }
.mrwssm-customer-content a { color:var(--mrwssm-accent); }
.mrwssm-customer-content .button, .mrwssm-customer-login .button { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:9px 15px; border:1px solid var(--mrwssm-accent); border-radius:9px; color:#fff; background:var(--mrwssm-accent); box-shadow:none; font-weight:700; text-decoration:none; }
.mrwssm-customer-content .button:hover, .mrwssm-customer-login .button:hover { color:#fff; filter:brightness(.93); }
.mrwssm-customer-content input.input-text, .mrwssm-customer-content input[type=text], .mrwssm-customer-content input[type=email], .mrwssm-customer-content input[type=password], .mrwssm-customer-content input[type=tel], .mrwssm-customer-content select, .mrwssm-customer-content textarea,
.mrwssm-customer-login input.input-text, .mrwssm-customer-login input[type=text], .mrwssm-customer-login input[type=email], .mrwssm-customer-login input[type=password] { width:100%; min-height:44px; padding:10px 12px; border:1px solid #c8ced8; border-radius:9px; background:#fff; }
.mrwssm-customer-content fieldset, .mrwssm-customer-content .woocommerce-Address, .mrwssm-customer-content .woocommerce-address-fields, .mrwssm-customer-content .woocommerce-EditAccountForm, .mrwssm-customer-content .woocommerce-PaymentMethods, .mrwssm-customer-content .woocommerce-order-details, .mrwssm-customer-content .woocommerce-customer-details { padding:22px; border:1px solid var(--mrwssm-border); border-radius:14px; background:#fff; box-shadow:0 1px 3px rgba(16,24,40,.05); }
.mrwssm-customer-content table { width:100%; border:1px solid var(--mrwssm-border); border-collapse:separate; border-spacing:0; border-radius:12px; background:#fff; overflow:hidden; }
.mrwssm-customer-content table th, .mrwssm-customer-content table td { padding:13px 14px; border:0; border-bottom:1px solid #edf0f3; text-align:left; }
.mrwssm-customer-content table th { color:#475467; background:#f8fafc; font-size:12px; letter-spacing:.04em; text-transform:uppercase; }
.mrwssm-customer-content .woocommerce-message, .mrwssm-customer-content .woocommerce-info, .mrwssm-customer-content .woocommerce-error { margin:0 0 18px; border-radius:10px; background:#fff; }
.mrwssm-customer-content .woocommerce-Addresses,
.mrwssm-customer-content .u-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.mrwssm-customer-content .u-column1,
.mrwssm-customer-content .u-column2 { float:none!important; width:auto!important; margin:0!important; }
.mrwssm-customer-content .form-row { margin-bottom:14px; }
.mrwssm-customer-content .form-row-first,
.mrwssm-customer-content .form-row-last { float:none; width:100%; }
.mrwssm-customer-dashboard { color:var(--mrwssm-text); }
.mrwssm-customer-welcome { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:28px; margin-bottom:18px; border-radius:14px; color:#fff; background:linear-gradient(125deg,var(--mrwssm-accent),color-mix(in srgb,var(--mrwssm-accent) 62%,#101828)); }
.mrwssm-customer-eyebrow { display:block; margin-bottom:7px; color:rgba(255,255,255,.72); font-size:11px; font-weight:750; letter-spacing:.08em; text-transform:uppercase; }
.mrwssm-customer-welcome h2 { margin:0 0 7px; color:#fff; font-size:clamp(24px,3vw,32px); line-height:1.15; }
.mrwssm-customer-welcome p { max-width:660px; margin:0; color:rgba(255,255,255,.84); }
.mrwssm-customer-dashboard .mrwssm-customer-shop-button { flex:0 0 auto; border-color:#fff; color:var(--mrwssm-accent); background:#fff; }
.mrwssm-customer-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:18px; }
.mrwssm-customer-stat { display:flex; flex-direction:column; gap:7px; min-width:0; padding:19px; border:1px solid var(--mrwssm-border); border-radius:12px; color:var(--mrwssm-text)!important; background:#fff; text-decoration:none; }
.mrwssm-customer-stat:hover { border-color:var(--mrwssm-accent); }
.mrwssm-customer-stat-number { overflow:hidden; font-size:clamp(22px,3vw,30px); font-weight:780; line-height:1.05; text-overflow:ellipsis; }
.mrwssm-customer-stat-label { color:var(--mrwssm-muted); font-size:13px; font-weight:650; }
.mrwssm-customer-grid { display:grid; gap:18px; }
.mrwssm-customer-grid--main { grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr); margin-bottom:18px; }
.mrwssm-customer-grid--details { grid-template-columns:repeat(3,minmax(0,1fr)); }
.mrwssm-customer-card { min-width:0; padding:21px; border:1px solid var(--mrwssm-border); border-radius:14px; background:#fff; }
.mrwssm-customer-card-header { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:16px; }
.mrwssm-customer-card-header h3 { margin:0 0 4px; font-size:18px; }
.mrwssm-customer-card-header p { margin:0; color:var(--mrwssm-muted); font-size:13px; }
.mrwssm-customer-card-header > a { flex:0 0 auto; font-size:13px; font-weight:700; }
.mrwssm-customer-order-list { display:flex; flex-direction:column; gap:10px; }
.mrwssm-customer-order { display:grid; grid-template-columns:minmax(0,1fr) auto 20px; gap:12px; align-items:center; padding:14px; border:1px solid #edf0f3; border-radius:11px; color:var(--mrwssm-text)!important; text-decoration:none; }
.mrwssm-customer-order:hover { border-color:var(--mrwssm-accent); }
.mrwssm-customer-order-main strong, .mrwssm-customer-order-main span { display:block; }
.mrwssm-customer-order-main span { margin-top:3px; color:var(--mrwssm-muted); font-size:12px; }
.mrwssm-customer-order-meta { display:flex; align-items:flex-end; flex-direction:column; gap:5px; }
.mrwssm-customer-status { display:inline-flex; padding:4px 8px; border-radius:999px; color:#344054; background:#f2f4f7; font-size:11px; font-weight:750; }
.mrwssm-customer-status--processing,.mrwssm-customer-status--on-hold { color:#92400e; background:#fef3c7; }
.mrwssm-customer-status--completed { color:#067647; background:#ecfdf3; }
.mrwssm-customer-status--failed,.mrwssm-customer-status--cancelled,.mrwssm-customer-status--refunded { color:#b42318; background:#fef3f2; }
.mrwssm-customer-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.mrwssm-customer-actions a { display:grid; grid-template-columns:32px minmax(0,1fr); gap:0 10px; align-items:center; padding:13px; border:1px solid #edf0f3; border-radius:11px; color:var(--mrwssm-text)!important; text-decoration:none; }
.mrwssm-customer-actions a:hover { border-color:var(--mrwssm-accent); }
.mrwssm-customer-actions .dashicons { grid-row:1/3; color:var(--mrwssm-accent); }
.mrwssm-customer-actions strong,.mrwssm-customer-actions small { display:block; }
.mrwssm-customer-actions small { color:var(--mrwssm-muted); font-size:11px; }
.mrwssm-customer-card address { margin:0; color:#475467; font-style:normal; line-height:1.65; }
.mrwssm-customer-profile { margin:0; }
.mrwssm-customer-profile > div { display:grid; grid-template-columns:70px minmax(0,1fr); gap:10px; padding:10px 0; border-bottom:1px solid #edf0f3; }
.mrwssm-customer-profile > div:last-child { border-bottom:0; }
.mrwssm-customer-profile dt { color:var(--mrwssm-muted); font-size:12px; font-weight:700; }
.mrwssm-customer-profile dd { margin:0; overflow-wrap:anywhere; }
.mrwssm-customer-empty { padding:28px; text-align:center; }
.mrwssm-customer-empty .dashicons { width:42px; height:42px; color:var(--mrwssm-accent); font-size:42px; }
.mrwssm-customer-empty strong,.mrwssm-customer-empty p { display:block; }
.mrwssm-customer-empty p { color:var(--mrwssm-muted); }
.mrwssm-customer-login { max-width:1060px; }
.mrwssm-login-brand { display:flex; align-items:center; gap:16px; padding:24px 26px; margin-bottom:18px; border:1px solid var(--mrwssm-border); border-top:4px solid var(--mrwssm-accent); border-radius:var(--mrwssm-radius); background:#fff; box-shadow:0 12px 35px rgba(16,24,40,.07); }
.mrwssm-login-brand p { margin:7px 0 0; color:var(--mrwssm-muted); }
.mrwssm-customer-login-panel { padding:24px; border:1px solid var(--mrwssm-border); border-radius:var(--mrwssm-radius); background:var(--mrwssm-bg); }
.mrwssm-customer-login-panel .u-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.mrwssm-customer-login-panel .u-column1,.mrwssm-customer-login-panel .u-column2 { float:none; width:auto; }
.mrwssm-customer-login-panel form { height:100%; padding:22px; margin:0; border:1px solid var(--mrwssm-border); border-radius:14px; background:#fff; }
@media (max-width: 1000px) {
    .mrwssm-customer-account-layout { grid-template-columns:1fr; }
    .mrwssm-customer-sidebar { position:static; }
    .mrwssm-customer-user-card { display:none; }
    .mrwssm-customer-nav { flex-direction:row; overflow-x:auto; padding:10px; }
    .mrwssm-customer-nav a { flex:0 0 auto; }
    .mrwssm-customer-manager-link { margin:0 10px 10px; }
    .mrwssm-customer-grid--main { grid-template-columns:1fr; }
    .mrwssm-customer-grid--details { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
    .mrwssm-customer-account,.mrwssm-customer-login { width:min(100% - 20px,1240px); margin-top:16px; }
    .mrwssm-customer-header,.mrwssm-login-brand { align-items:flex-start; flex-direction:column; padding:20px; }
    .mrwssm-customer-content { padding:14px; }
    .mrwssm-customer-welcome { align-items:flex-start; flex-direction:column; padding:22px; }
    .mrwssm-customer-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .mrwssm-customer-grid--details,.mrwssm-customer-actions,.mrwssm-customer-content .woocommerce-Addresses,.mrwssm-customer-content .u-columns { grid-template-columns:1fr; }
    .mrwssm-customer-order { grid-template-columns:1fr; }
    .mrwssm-customer-order-meta { align-items:flex-start; }
    .mrwssm-customer-order > .dashicons { display:none; }
    .mrwssm-customer-content table { display:block; overflow-x:auto; white-space:nowrap; }
    .mrwssm-customer-login-panel { padding:12px; }
    .mrwssm-customer-login-panel .u-columns { grid-template-columns:1fr; }
}
