/*
 * Customer account (T12.15, F13): side menu and the dashboard parts. Tables, cards and the journey are shared.
 */
.ec-ac-layout { align-items: start; display: grid; gap: 22px; grid-template-columns: 240px minmax(0, 1fr); }
.ec-ac-side .ec-cart-card { margin-bottom: 14px; }
.ec-ac-profile { align-items: center; display: flex; gap: 12px; }
.ec-ac-avatar { align-items: center; background: var(--ec-black); border-radius: 50%; color: #ffffff; display: flex; flex: 0 0 56px; font-weight: 700; height: 56px; justify-content: center; }
.ec-ac-profile strong, .ec-ac-profile small { display: block; overflow-wrap: anywhere; }
.ec-ac-profile small { color: var(--ec-muted); font-size: 11.5px; }
.ec-ac-verified { color: var(--ec-gold-dark); font-size: 11px; font-weight: 600; }
.ec-ac-menu { padding: 8px 0; }
.ec-ac-menu a, .ec-ac-menu button { align-items: center; background: none; border: 0; display: flex; font-size: 13px; gap: 12px; padding: 11px 18px; text-align: left; width: 100%; }
.ec-ac-menu a.is-active { background: var(--ec-gold); color: #ffffff; }
.ec-ac-count { background: var(--ec-gold); border-radius: 10px; color: #ffffff; font-size: 11px; margin-left: auto; min-width: 20px; padding: 1px 6px; text-align: center; }
.ec-ac-menu a.is-active .ec-ac-count { background: #ffffff; color: var(--ec-gold-dark); }
.ec-ac-help h2 { font-size: 14px; margin: 0; }
.ec-ac-help p { font-size: 12.5px; margin: 8px 0 0; }

.ec-ac-head { align-items: center; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-bottom: 16px; }
.ec-ac-head h1 { font-size: 24px; font-weight: 700; margin: 0; }
.ec-ac-head p { margin: 2px 0 0; }
.ec-ac-head .ec-btn { font-size: 12px; }
.ec-ac-stats { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ec-ac-stat { align-items: center; display: flex; gap: 14px; }
.ec-ac-stat strong { display: block; font-size: 20px; }
.ec-ac-stat small { color: var(--ec-muted); display: block; font-size: 11.5px; }
.ec-ac-stat-icon { align-items: center; border-radius: 10px; display: flex; flex: 0 0 48px; font-size: 22px; height: 48px; justify-content: center; }
.ec-ac-stat-icon.is-gold { background: #fbf1e3; color: var(--ec-gold-dark); }
.ec-ac-stat-icon.is-blue { background: #e8f0fb; color: #2f5fa7; }
.ec-ac-stat-icon.is-green { background: var(--ec-green-soft); color: var(--ec-green); }
.ec-ac-stat-icon.is-purple { background: #f1ecfb; color: #6d4bb5; }
.ec-ac-title { align-items: center; display: flex; justify-content: space-between; margin: 22px 0 10px; }
.ec-ac-title h2 { font-size: 17px; font-weight: 700; margin: 0; text-transform: none; }
.ec-ac-title a { color: var(--ec-gold-dark); font-size: 12.5px; font-weight: 600; }
.ec-ac-small-title { font-size: 14px; }

.ec-ac-active { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ec-ac-order-top { display: flex; gap: 14px; margin-bottom: 12px; }
.ec-ac-order-media { background: #f6f3ee; border-radius: 6px; flex: 0 0 96px; height: 96px; overflow: hidden; }
.ec-ac-order-media img { height: 100%; object-fit: cover; width: 100%; }
.ec-ac-order h3 { font-size: 14.5px; margin: 6px 0 2px; }
.ec-ac-chip { background: #f3f1ee; border-radius: 3px; font-size: 10.5px; font-weight: 600; padding: 2px 7px; }
.ec-ac-chip.is-type { background: #fbf1e3; color: var(--ec-gold-dark); }
.ec-ac-now { color: var(--ec-gold-dark); font-size: 12.5px; font-weight: 600; margin: 6px 0 0; }
.ec-ac-now i { font-size: 8px; vertical-align: 2px; }
.ec-ac-order .ec-tr-journey { margin-bottom: 12px; }
.ec-ac-order .ec-tr-journey li { flex-basis: 74px; font-size: 10px; }
.ec-ac-order .ec-tr-dot { font-size: 14px; height: 34px; width: 34px; }
.ec-ac-order .ec-tr-journey li:not(:last-child)::after { left: calc(50% + 19px); right: calc(-50% + 19px); top: 16px; }

.ec-ac-table { padding: 6px 14px; }
.ec-ac-table table { font-size: 12.5px; width: 100%; }
.ec-ac-table th { color: var(--ec-muted); font-weight: 500; padding: 10px 8px; }
.ec-ac-table td { border-top: 1px solid var(--ec-line); padding: 10px 8px; vertical-align: middle; }
.ec-ac-table .ec-btn { font-size: 11.5px; padding: 6px 12px; white-space: nowrap; }
.ec-ac-thumb { border-radius: 4px; display: inline-block; height: 36px; margin-right: 8px; overflow: hidden; vertical-align: middle; width: 36px; }
.ec-ac-thumb img { height: 100%; object-fit: cover; width: 100%; }
.ec-ac-status { background: #fbf1e3; border-radius: 4px; color: var(--ec-gold-dark); font-size: 11.5px; font-weight: 600; padding: 3px 9px; white-space: nowrap; }
.ec-ac-status.is-done { background: var(--ec-green-soft); color: var(--ec-green); }
.ec-ac-status.is-stopped { background: #fdecea; color: #b03a2e; }

.ec-ac-bottom { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; }
.ec-ac-address { align-items: flex-start; display: flex; gap: 12px; padding: 8px 0; }
.ec-ac-address > i:first-child { color: var(--ec-gold-dark); font-size: 18px; }
.ec-ac-address > div { flex: 1; font-size: 12.5px; }
.ec-ac-address small { color: var(--ec-muted); }
.ec-ac-default { color: var(--ec-gold); }
.ec-ac-add { color: var(--ec-gold-dark); display: block; font-size: 12.5px; font-weight: 600; margin-top: 8px; text-align: center; }
.ec-ac-wish { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }
.ec-ac-wish a { aspect-ratio: 1; border-radius: 6px; display: block; overflow: hidden; }
.ec-ac-wish img { height: 100%; object-fit: cover; width: 100%; }

.ec-ac-addresses { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 14px; }
.ec-ac-address-actions { display: flex; gap: 14px; margin-top: 6px; }
.ec-ac-address-actions button { background: none; border: 0; color: var(--ec-gold-dark); font-size: 12px; font-weight: 600; padding: 0; }
.ec-ac-address-actions .is-danger { color: #b03a2e; }
.ec-ac-form .form-label { font-size: 12px; font-weight: 500; }
.ec-ac-form .form-control { border-color: var(--ec-line); font-size: 12.5px; }
.ec-ac-wish-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1199.98px) { .ec-ac-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 991.98px) {
    .ec-ac-layout, .ec-ac-active, .ec-ac-bottom, .ec-ac-addresses { grid-template-columns: minmax(0, 1fr); }
    .ec-shop-grid.ec-ac-wish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
