/* MAMO customer account, sign-in and customer care (D-015). Loaded only on the account page. */

.macc, .join { --acc-line: var(--wp--preset--color--rule, #E2D3BC); --acc-card: var(--paper, #FBF7F0); --acc-clay: var(--clay, #9C4E33); --acc-ink: var(--cocoa, #33251D); --acc-muted: var(--taupe, #6B5C4F); color: var(--acc-ink); padding-block: clamp(28px, 5vw, 56px) 96px; }
.macc *, .join * { box-sizing: border-box; }
.macc p, .join p { margin: 0; }
.acc-kicker { color: var(--acc-muted); font-size: 15px; margin-bottom: 4px !important; }
.acc-h1, .macc h1 { font-family: var(--wp--preset--font-family--display); font-weight: 400; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; margin: 0 0 clamp(20px, 3vw, 36px); letter-spacing: -.01em; }
.acc-h2 { font-family: var(--wp--preset--font-family--display); font-weight: 400; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; margin: 0 0 10px; }
.acc-h2--big { font-size: clamp(28px, 3.4vw, 36px); margin: 8px 0 0; }
.acc-h3 { font-family: var(--wp--preset--font-family--display); font-weight: 400; font-size: 22px; line-height: 1.2; margin: 0; }
.macc h2, .macc h3, .join h1, .join h2 { color: inherit; }
.acc-label { font-family: var(--wp--preset--font-family--text); font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--acc-muted) !important; margin: 0; }
.acc-muted { color: var(--acc-muted); }
.acc-small { font-size: 14px; }
.acc-strong { font-weight: 600; }
.acc-soft { color: #E8DAC6; }

.acc-layout { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; }
.acc-nav { flex: 1 1 200px; max-width: 240px; min-width: 0; }
.acc-tabs { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.acc-tab { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-left: 2px solid transparent; color: var(--acc-muted); text-decoration: none; font-weight: 500; }
.acc-tab:hover { color: var(--acc-ink); }
.acc-tab.on { color: var(--acc-ink); border-left-color: var(--acc-clay); background: var(--acc-card); }
.acc-out { display: inline-flex; align-items: center; min-height: 44px; margin: 14px 14px 0; color: var(--acc-muted); font-size: 15px; text-underline-offset: 3px; }
.acc-main { flex: 999 1 560px; min-width: 0; display: grid; gap: 28px; }

.acc-card { background: var(--acc-card); border: 1px solid var(--acc-line); padding: clamp(20px, 2.4vw, 28px); display: grid; gap: 14px; align-content: start; }
.acc-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.acc-two--tight { gap: 16px; }
.acc-stack { display: grid; gap: 20px; align-content: start; }
.acc-row { display: flex; gap: 14px; align-items: center; }
.acc-between { justify-content: space-between; }
.acc-wrap { flex-wrap: wrap; }
.acc-top { margin-top: -8px; }

.acc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 0; background: var(--acc-clay); color: #FBF7F0; font: 600 15px/1 var(--wp--preset--font-family--text); text-decoration: none; cursor: pointer; }
.acc-btn:hover { background: #86412A; color: #FBF7F0; }
.acc-btn:focus-visible, .acc-link:focus-visible, .acc-tab:focus-visible { outline: 2px solid var(--acc-clay); outline-offset: 2px; }
.acc-btn--ghost { background: transparent; color: var(--acc-ink); border: 1px solid var(--acc-ink); }
.acc-btn--ghost:hover { background: var(--acc-ink); color: #FBF7F0; }
.acc-btn--light { background: #F6EFE4; color: var(--acc-ink); }
.acc-btn--light:hover { background: #fff; color: var(--acc-ink); }
.acc-btn--full { width: 100%; min-height: 52px; font-size: 16px; }
.acc-link { background: none; border: 0; padding: 0; font: inherit; color: var(--acc-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; }
.acc-link--light { color: #F6EFE4; }

.chip { display: inline-flex; align-items: center; padding: 4px 10px; font-size: 13px; font-weight: 600; border-radius: 999px; white-space: nowrap; }
.chip--go { background: #F3E1D3; color: #7A3A22; }
.chip--ok { background: #E3E7DA; color: #3F4A31; }
.chip--wait { background: #EFE6D8; color: var(--acc-muted); }
.chip--off { background: #EDE7E3; color: #6B5C4F; }

.acc-club { background: var(--acc-ink); color: #F6EFE4; border-color: var(--acc-ink); }
.acc-club .acc-small { color: #D9C7AE; }
.acc-club--wide { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: flex-end; justify-content: space-between; }
.acc-bal { font-family: var(--wp--preset--font-family--display); font-size: clamp(44px, 5vw, 56px); line-height: 1; margin: 6px 0 8px !important; }
.acc-bal span { font-size: 22px; }
.acc-bal--big { font-size: clamp(48px, 6vw, 64px); }
.acc-club-coming { padding-top: 14px; border-top: 1px solid rgb(246 239 228 / .2); font-size: 15px; color: #E8DAC6; }

.thumb { width: 72px; height: 90px; object-fit: cover; background: #EFE5D6; flex: none; display: block; }
.acc-mini { display: flex; gap: 6px; }
.acc-mini span { flex: 1; height: 6px; background: var(--acc-line); }
.acc-mini span.on { background: var(--acc-clay); }

.acc-help { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.acc-help > div { display: grid; gap: 4px; }
.acc-line { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--acc-line); }

.acc-order { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 16px; }
.acc-order-text { flex: 1 1 240px; display: grid; gap: 2px; }
.acc-pages { margin-top: 16px; }

/* Timeline */
.tl { list-style: none; margin: 8px 0 0; padding: 0; }
.tl-step { display: grid; grid-template-columns: 32px 1fr; column-gap: 16px; position: relative; padding-bottom: 24px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step::before { content: ''; position: absolute; left: 15px; top: 30px; bottom: -2px; width: 2px; background: var(--acc-line); }
.tl-step:last-child::before { display: none; }
.tl-step.done::before, .tl-step.skip::before { background: var(--acc-clay); }
.tl-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #CDBBA2; background: #F6EFE4; position: relative; z-index: 1; }
.tl-step.done .tl-dot { background: var(--acc-clay); border-color: var(--acc-clay); color: #FBF7F0; }
.tl-step.now .tl-dot { border-color: var(--acc-clay); background: #FBF7F0; box-shadow: 0 0 0 6px rgb(156 78 51 / .14); }
.tl-step.now .tl-dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--acc-clay); }
.tl-step.skip .tl-dot { border-style: dashed; }
.tl-step > div { padding-top: 4px; }
.tl-title { font-weight: 600; }
.tl-step.next .tl-title, .tl-step.skip .tl-title { color: #8A7B6D; }
.tl-when { font-size: 14px; color: var(--acc-muted); }
.tl-note { font-size: 14px; margin-top: 4px !important; }
.tl-note a { color: inherit; }
.acc-foot { margin-top: 20px !important; padding-top: 14px; border-top: 1px solid var(--acc-line); font-size: 14px; color: var(--acc-muted); }

.acc-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--acc-line); }
.acc-item .thumb { width: 64px; height: 80px; }
.acc-item-text { flex: 1; min-width: 0; }
.acc-sum { margin: 4px 0 0; display: grid; gap: 6px; font-size: 15px; }
.acc-sum div { display: flex; justify-content: space-between; gap: 16px; }
.acc-sum dt, .acc-sum dd { margin: 0; }
.acc-sum dd { text-align: right; }
.acc-sum .tot { font-weight: 600; font-size: 17px; padding-top: 8px; border-top: 1px solid var(--acc-line); }
.acc-note { padding: 12px 14px; background: #F3E9DA; font-size: 14px; }

.acc-how { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.acc-how .acc-card { gap: 4px; }
.acc-big { font-family: var(--wp--preset--font-family--display); font-size: 30px; color: var(--acc-clay); line-height: 1.1; }
.acc-scroll { overflow-x: auto; }
.acc-ledger { width: 100%; border-collapse: collapse; font-size: 15px; }
.acc-ledger th, .acc-ledger td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--acc-line); text-align: left; vertical-align: top; }
.acc-ledger th { font-size: 13px; font-weight: 600; color: var(--acc-muted); }
.acc-ledger th:last-child, .acc-ledger td:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.acc-ledger .plus { color: #3F4A31; font-weight: 600; }

/* Forms */
.acc-form { gap: 18px; max-width: 640px; }
.acc-field { display: grid; gap: 6px; margin: 0; }
.acc-field label { font-size: 14px; font-weight: 600; }
.acc-field input:not([type=checkbox]):not([type=file]), .acc-field select, .acc-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #CDBBA2; background: #FFFDF9; font: 400 16px/1.4 var(--wp--preset--font-family--text); color: var(--acc-ink); border-radius: 0; }
.acc-field textarea { min-height: 130px; resize: vertical; }
.acc-field input:focus, .acc-field select:focus, .acc-field textarea:focus { outline: 2px solid var(--acc-clay); outline-offset: 1px; }
.acc-field input[type=file] { font-size: 15px; }
.acc-flash { padding: 14px 16px; background: #E3E7DA; color: #2F3826; }

.acc-req { border-bottom: 1px solid var(--acc-line); }
.acc-req summary { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; min-height: 56px; padding: 10px 0; cursor: pointer; list-style: none; }
.acc-req summary::-webkit-details-marker { display: none; }
.acc-msg { padding: 12px 14px; margin: 0 0 10px; background: var(--acc-card); border: 1px solid var(--acc-line); display: grid; gap: 4px; }
.acc-msg--mamo { background: #F3E9DA; border-color: #F3E9DA; }

/* Sign in / create account */
.join { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; max-width: 1100px; }
.join-intro { flex: 1 1 300px; display: grid; gap: 16px; }
.join-intro .acc-h1 { margin: 0; }
.join-perks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; }
.join-perks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 15px; }
.join-perks svg { color: var(--acc-clay); margin-top: 1px; }
.join-box { flex: 1 1 380px; max-width: 480px; gap: 22px; padding: clamp(22px, 3vw, 32px); }
.join-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--acc-line); }
.join-tabs a { display: flex; align-items: center; justify-content: center; min-height: 52px; color: var(--acc-muted); text-decoration: none; font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.join-tabs a.on { color: var(--acc-ink); border-bottom-color: var(--acc-clay); font-weight: 600; }
.join-code { font-size: 28px !important; letter-spacing: .5em; text-align: center; font-variant-numeric: tabular-nums; }
.join-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.join-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--acc-clay); flex: none; }
.join-msg { padding: 12px 14px; font-size: 15px; }
.join-msg--error { background: #F6E1DC; color: #7E2A1A; }
.join-msg--info { background: #E3E7DA; color: #2F3826; }
.join .acc-link { font-size: 14px; }
.join form { margin: 0; }

.woocommerce-account .woocommerce-notices-wrapper:empty { display: none; }

@media (max-width: 760px) {
	.acc-layout { gap: 20px; }
	.acc-nav { max-width: none; flex-basis: 100%; }
	.acc-tabs { display: flex; overflow-x: auto; gap: 0; border-bottom: 1px solid var(--acc-line); scrollbar-width: none; margin-inline: calc(var(--gutter, 16px) * -1); padding-inline: var(--gutter, 16px); }
	.acc-tabs::-webkit-scrollbar { display: none; }
	.acc-tab { border-left: 0; border-bottom: 2px solid transparent; white-space: nowrap; padding: 0 12px; }
	.acc-tab.on { border-bottom-color: var(--acc-clay); background: none; }
	.acc-out { margin: 6px 0 0; font-size: 14px; }
	.acc-two { grid-template-columns: minmax(0, 1fr); }
	.acc-two--tight { grid-template-columns: minmax(0, 1fr); }
}

/* Club logo in the account (D-016) */
.acc-top-row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(20px, 3vw, 36px); }
.acc-top-row .acc-h1 { margin: 0; }
.acc-clubtag { display: flex; align-items: center; gap: 12px; color: var(--acc-muted); font-size: 14px; text-decoration: none; }
.acc-clubtag img { width: 84px; height: auto; }
.acc-clublogo { margin: 0; line-height: 0; }
.acc-clublogo img { width: 74px; height: auto; }
.acc-club--wide .acc-clublogo img { width: 84px; margin-bottom: 10px; }
@media (max-width: 760px) { .acc-clubtag img { width: 64px; } }
