/* ══════════════════════════════════════════
   BACKDOOR — CUSTOMER ACCOUNTS STYLES
══════════════════════════════════════════ */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0a0a;
    --bg2: #111111;
    --bg3: #161616;
    --bg4: #1e1e1e;
    --accent: #c8f65d;
    --red: #ff4d4d;
    --blue: #4d9fff;
    --orange: #ff8c42;
    --purple: #a855f7;
    --green: #22c55e;
    --text: #ffffff;
    --text2: #888888;
    --text3: #444444;
    --border: #222222;
    --border2: #2a2a2a;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

/* ── UTILITIES ── */
.hidden {
    display: none !important;
}

.mt-20 {
    margin-top: 20px;
}

.mb-0 {
    margin-bottom: 0 !important;
}

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(10, 10, 10, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    z-index: 500;
}

.nav-logo {
    font-family: 'Bebas Neue', cursive;
    font-size: 28px;
    letter-spacing: 3px;
    color: var(--text);
    text-decoration: none;
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 600;
    color: var(--text2);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wishlist-nav-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    position: relative;
    transition: all 0.2s;
}

.wishlist-nav-btn:hover {
    border-color: var(--red);
    color: var(--red);
}

.wishlist-nav-btn .badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    background: var(--red);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg);
}

.btn-login {
    padding: 9px 20px;
    background: transparent;
    border: 1px solid var(--border2);
    border-radius: 10px;
    color: var(--text2);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-right: 8px;
}

.btn-login:hover {
    border-color: var(--text2);
    color: var(--text);
}

.btn-signup {
    padding: 9px 20px;
    background: var(--accent);
    border: none;
    border-radius: 10px;
    color: #000;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-signup:hover {
    background: #a8d94a;
    transform: translateY(-1px);
}

.hero-btn {
    padding: 14px 32px !important;
    font-size: 15px !important;
}

.save-btn {
    padding: 10px 20px;
    font-size: 13px;
}

/* User menu */
.user-menu-wrap {
    position: relative;
}

.user-avatar-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 6px;
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
}

.user-avatar-btn:hover {
    border-color: var(--accent);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

.user-avatar-btn span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.chevron-icon {
    font-size: 10px;
    color: var(--text3);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 220px;
    background: var(--bg2);
    border: 1px solid var(--border2);
    border-radius: 14px;
    padding: 8px;
    display: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.user-dropdown.open {
    display: block;
}

.dropdown-header {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 6px;
}

.dropdown-header p {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

.dropdown-header span {
    font-size: 11px;
    color: var(--text3);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text2);
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}

.dropdown-item:hover {
    background: var(--bg4);
    color: var(--text);
}

.dropdown-item i {
    width: 16px;
    text-align: center;
}

.dropdown-item.danger:hover {
    color: var(--red);
    background: rgba(255, 77, 77, 0.08);
}

/* ── AUTH MODAL ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay.open {
    display: flex;
}

.auth-modal {
    width: 460px;
    max-width: 95vw;
    background: var(--bg2);
    border: 1px solid var(--border2);
    border-radius: 24px;
    overflow: hidden;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--border);
}

.auth-tab {
    padding: 18px;
    text-align: center;
    font-family: 'Bebas Neue', cursive;
    font-size: 18px;
    letter-spacing: 2px;
    cursor: pointer;
    color: var(--text3);
    background: transparent;
    border: none;
    transition: all 0.2s;
}

.auth-tab.active {
    color: var(--text);
    background: rgba(200, 246, 93, 0.05);
    border-bottom: 2px solid var(--accent);
}

.auth-body {
    padding: 32px;
}

.auth-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 32px;
    letter-spacing: 3px;
    margin-bottom: 6px;
}

.auth-sub {
    font-size: 13px;
    color: var(--text2);
    margin-bottom: 28px;
}

.social-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: 12px;
    color: var(--text2);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.social-btn:hover {
    background: var(--bg4);
    color: var(--text);
}

.icon-google {
    color: #4285f4;
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

.divider span {
    font-size: 11px;
    color: var(--text3);
    font-weight: 600;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text3);
    margin-bottom: 8px;
}

.form-input-wrap {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 13px 16px 13px 42px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.form-input:focus {
    border-color: var(--accent);
    background: rgba(200, 246, 93, 0.03);
}

.form-input::placeholder {
    color: var(--text3);
}

.form-input.error {
    border-color: var(--red);
}

.form-input.success {
    border-color: var(--green);
}

.form-input--select {
    padding-left: 42px;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text3);
    font-size: 14px;
}

.input-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text3);
    cursor: pointer;
    font-size: 14px;
    background: none;
    border: none;
    transition: color 0.2s;
}

.input-toggle:hover {
    color: var(--text2);
}

.form-error {
    font-size: 11px;
    color: var(--red);
    margin-top: 6px;
    display: none;
}

.form-error.show {
    display: block;
}

.strength-bar {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.strength-seg {
    flex: 1;
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    transition: background 0.3s;
}

.strength-label {
    font-size: 11px;
    color: var(--text3);
    margin-top: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-wrap input[type=checkbox] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 1px;
}

.checkbox-wrap label {
    font-size: 12px;
    color: var(--text2);
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-wrap label a {
    color: var(--accent);
    text-decoration: none;
}

.forgot-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.link-accent {
    font-size: 12px;
    color: var(--accent);
    cursor: pointer;
    font-weight: 600;
}

.auth-submit {
    width: 100%;
    padding: 15px;
    background: var(--accent);
    border: none;
    border-radius: 12px;
    color: #000;
    font-family: 'Bebas Neue', cursive;
    font-size: 22px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-submit:hover {
    background: #a8d94a;
    transform: translateY(-2px);
}

.auth-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.auth-submit.mt-20 {
    margin-top: 20px;
}

.auth-footer {
    text-align: center;
    font-size: 12px;
    color: var(--text3);
    margin-top: 16px;
}

.auth-footer a {
    color: var(--accent);
    cursor: pointer;
    font-weight: 600;
}

/* ── ACCOUNT PAGE ── */
.account-page {
    padding-top: 64px;
    min-height: 100vh;
}

.account-hero {
    background: linear-gradient(135deg, var(--bg2), var(--bg3));
    border-bottom: 1px solid var(--border);
    padding: 40px 32px;
}

.account-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.account-avatar-large {
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', cursive;
    font-size: 36px;
    color: #000;
    flex-shrink: 0;
}

.account-hero-info h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 36px;
    letter-spacing: 3px;
}

.account-hero-info p {
    font-size: 13px;
    color: var(--text2);
    margin-top: 4px;
}

.hero-member-date {
    margin-top: 4px;
    font-size: 12px;
    color: var(--text3);
}

.loyalty-badge {
    margin-left: auto;
    text-align: center;
    padding: 16px 24px;
    background: rgba(200, 246, 93, 0.08);
    border: 1px solid rgba(200, 246, 93, 0.2);
    border-radius: 16px;
}

.loyalty-badge .tier {
    font-family: 'Bebas Neue', cursive;
    font-size: 22px;
    letter-spacing: 2px;
    color: var(--accent);
}

.loyalty-badge .points {
    font-size: 12px;
    color: var(--text2);
    margin-top: 2px;
}

.loyalty-next {
    font-size: 10px;
    color: var(--text3);
    margin-top: 2px;
}

.account-nav {
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 0 32px;
    display: flex;
    gap: 0;
    overflow-x: auto;
}

.acc-nav-item {
    padding: 16px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text3);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.acc-nav-item:hover {
    color: var(--text2);
}

.acc-nav-item.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.nav-count-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 4px;
}

.accent-bg {
    background: var(--accent);
    color: #000;
}

.red-bg {
    background: var(--red);
    color: #fff;
}

.account-content {
    max-width: 1200px;
    margin: 32px auto;
    padding: 0 32px;
}

.acc-tab-content {
    display: none;
}

.acc-tab-content.active {
    display: block;
}

/* Overview */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.ov-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
}

.ov-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.ov-value {
    font-family: 'Bebas Neue', cursive;
    font-size: 32px;
    letter-spacing: 2px;
    color: var(--accent);
}

.ov-label {
    font-size: 11px;
    color: var(--text3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Orders */
.order-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 12px;
    transition: all 0.2s;
}

.order-card:hover {
    border-color: var(--border2);
}

.order-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.order-id {
    font-family: monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
}

.order-date {
    font-size: 12px;
    color: var(--text3);
}

.status-pill {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-delivered {
    background: rgba(34, 197, 94, .12);
    color: var(--green);
}

.status-shipped {
    background: rgba(77, 159, 255, .12);
    color: var(--blue);
}

.status-processing {
    background: rgba(200, 246, 93, .12);
    color: var(--accent);
}

.status-pending {
    background: rgba(255, 140, 66, .12);
    color: var(--orange);
}

.status-cancelled {
    background: rgba(255, 77, 77, .12);
    color: var(--red);
}

.order-items {
    display: flex;
    gap: 12px;
    align-items: center;
}

.order-shoe-thumb {
    width: 56px;
    height: 56px;
    background: var(--bg4);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.order-shoe-info h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px;
}

.order-shoe-info p {
    font-size: 12px;
    color: var(--text3);
}

.order-total {
    margin-left: auto;
    font-family: 'Bebas Neue', cursive;
    font-size: 26px;
    letter-spacing: 1px;
    color: var(--accent);
}

.order-track-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border2);
    border-radius: 8px;
    color: var(--text2);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 12px;
}

.order-track-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-select {
    padding: 8px 12px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text2);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    outline: none;
}

/* Wishlist */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.wishlist-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.25s;
    position: relative;
}

.wishlist-card:hover {
    border-color: var(--border2);
    transform: translateY(-3px);
}

.wishlist-img {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    position: relative;
    overflow: hidden;
}

.wishlist-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 8px;
    color: var(--red);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    opacity: 0;
    transition: opacity 0.2s;
}

.wishlist-card:hover .wishlist-remove {
    opacity: 1;
}

.alert-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
}

.alert-badge.drop {
    background: rgba(34, 197, 94, .9);
    color: #000;
}

.alert-badge.low {
    background: rgba(255, 140, 66, .9);
    color: #000;
}

.wishlist-info {
    padding: 14px;
}

.wishlist-name {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.wishlist-brand {
    font-size: 11px;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.wishlist-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wishlist-price {
    font-family: 'Bebas Neue', cursive;
    font-size: 24px;
    letter-spacing: 1px;
    color: var(--accent);
}

.price-drop-info {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--green);
    font-weight: 700;
}

.wishlist-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 14px 14px;
}

.w-btn {
    padding: 10px;
    border-radius: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    border: none;
}

.w-btn-buy {
    background: var(--accent);
    color: #000;
}

.w-btn-buy:hover {
    background: #a8d94a;
}

.w-btn-alert {
    background: var(--bg4);
    border: 1px solid var(--border2);
    color: var(--text2);
}

.w-btn-alert:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.w-btn-alert.active {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(200, 246, 93, 0.08);
}

.empty-wishlist {
    text-align: center;
    padding: 60px 20px;
    color: var(--text3);
}

.empty-wishlist i {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.empty-wishlist h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: var(--text2);
}

.empty-wishlist p {
    font-size: 13px;
    margin-bottom: 20px;
}

.wishlist-count-label {
    font-size: 13px;
    color: var(--text3);
}

/* Profile */
.profile-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Addresses */
.addresses-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.address-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    position: relative;
}

.address-card.default {
    border-color: var(--accent);
}

.default-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 3px 10px;
    background: rgba(200, 246, 93, 0.1);
    border: 1px solid var(--accent);
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    color: var(--accent);
}

.address-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.address-card p {
    font-size: 13px;
    color: var(--text2);
    line-height: 1.6;
}

/* Notifications */
.pref-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pref-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.pref-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}

.pref-info p {
    font-size: 12px;
    color: var(--text2);
}

.toggle {
    width: 44px;
    height: 24px;
    background: var(--border2);
    border-radius: 24px;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
    flex-shrink: 0;
}

.toggle.on {
    background: var(--accent);
}

.toggle::after {
    content: '';
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: left 0.2s;
}

.toggle.on::after {
    left: 23px;
}

/* Loyalty */
.loyalty-section {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.loyalty-tiers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.tier-card {
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
}

.tier-card.current {
    border-color: var(--accent);
    background: rgba(200, 246, 93, 0.05);
}

.tier-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.tier-name {
    font-family: 'Bebas Neue', cursive;
    font-size: 16px;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.tier-req {
    font-size: 11px;
    color: var(--text3);
}

.tier-current-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 10px;
    background: var(--accent);
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    color: #000;
    white-space: nowrap;
}

.points-bar-wrap {
    margin: 14px 0 6px;
}

.points-bar-track {
    height: 8px;
    background: var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.points-bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 8px;
    transition: width 1s ease;
}

.points-bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text3);
    margin-top: 6px;
}

/* Section header */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 20px;
    letter-spacing: 2px;
}

.section-title span {
    color: var(--accent);
}

.section-title.lg {
    font-size: 28px;
    letter-spacing: 3px;
}

.section-action {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border2);
    border-radius: 8px;
    color: var(--text2);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.section-action:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ── DEMO HOME ── */
.demo-home {
    padding-top: 64px;
}

.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(200, 246, 93, 0.05) 0%, transparent 70%);
}

.hero h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: 80px;
    letter-spacing: 6px;
    line-height: 1;
    margin-bottom: 16px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 16px;
    color: var(--text2);
    margin-bottom: 32px;
}

.hero-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.product-section {
    padding: 60px 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.product-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.25s;
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    border-color: var(--border2);
    transform: translateY(-4px);
}

.product-img {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    position: relative;
}

.heart-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 8px;
    color: var(--text3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.2s;
}

.heart-btn:hover {
    color: var(--red);
}

.heart-btn.wishlisted {
    color: var(--red);
    background: rgba(255, 77, 77, 0.15);
}

.product-info {
    padding: 14px;
}

.product-name {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.product-brand {
    font-size: 11px;
    color: var(--text3);
    margin-bottom: 10px;
}

.product-price {
    font-family: 'Bebas Neue', cursive;
    font-size: 24px;
    color: var(--accent);
    letter-spacing: 1px;
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--bg2);
    border: 1px solid var(--border2);
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    animation: slideIn 0.3s ease;
    min-width: 280px;
}

.toast.error {
    border-left-color: var(--red);
}

.toast.info {
    border-left-color: var(--blue);
}

@keyframes slideIn {
    from {
        transform: translateX(110%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .5;
        transform: scale(1.3);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }

    .wishlist-grid {
        grid-template-columns: 1fr 1fr;
    }

    .overview-grid {
        grid-template-columns: 1fr 1fr;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .loyalty-tiers {
        grid-template-columns: 1fr 1fr;
    }

    .addresses-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 48px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}