/* Custom Variables - User-Specified Color Pattern */
:root {
    --color-primary: #e69829;
    --color-primary-strong: #cb7c11;
    --color-primary-soft: #fff1dd;
    --color-accent: #102b45;
    --color-accent-soft: #e7eef6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #ffffff;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Sticky Footer Layout */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f0f2f5;
}

main {
    flex: 1;
    flex-shrink: 0;
}

footer {
    flex-shrink: 0;
}

/* Main Navbar Styles */
.navbar {
    background-color: #102b45;
    padding: 0.25rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    min-height: auto;
}

.navbar-brand {
    color: var(--bg-light) !important;
    font-weight: 600;
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.navbar-brand:hover {
    color: var(--color-primary) !important;
}

.navbar-nav .nav-link {
    color: var(--bg-light) !important;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-primary) !important;
}

.navbar-nav .nav-link.active {
    background-color: var(--color-primary);
    color: var(--color-accent) !important;
}

.navbar-toggler {
    border-color: var(--bg-light);
    padding: 0.25rem 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Secondary Navbar Styles */
.navbar-secondary {
    background: #fff1dd !important;
    border-bottom: 1px solid #e69829;
    padding: 0.25rem 0;
    transition: var(--transition);
    min-height: auto;
}

.navbar-secondary .navbar-nav .nav-link {
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
}

.navbar-secondary .navbar-nav .nav-link:hover {
    background-color: var(--color-primary-soft);
    color: var(--color-primary-strong) !important;
}

.navbar-secondary .navbar-nav .nav-link.active {
    background-color: var(--color-primary);
    color: var(--bg-light) !important;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    background-color: var(--bg-light);
    border: 1px solid var(--color-accent-soft);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--color-primary-soft);
    color: var(--color-primary-strong);
}

/* Search Bar Styles */
.navbar-search {
    position: relative;
    flex: 0 1 auto;
    max-width: 600px;
    width: 100%;
}

.navbar-search .input-group {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: visible;
}

.navbar-search .form-select {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--text-dark);
    font-weight: 500;
}

.navbar-search .form-select:focus {
    background-color: var(--bg-light);
    border-color: var(--color-primary);
    box-shadow: none;
}

.navbar-search .form-control {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--text-dark);
    border-radius: 0;
    transition: var(--transition);
    padding: .5rem .75rem;
}

.navbar-search .form-control::placeholder {
    color: var(--text-light);
}

.navbar-search .form-control:focus {
    background-color: var(--bg-light);
    border-color: var(--color-primary);
    box-shadow: none;
    color: var(--text-dark);
}

.navbar-search .btn-primary-custom {
    background-color: var(--color-primary);
    border: none;
    color: var(--bg-light);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.navbar-search .btn-primary-custom:hover {
    background-color: var(--color-primary-strong);
    color: var(--bg-light);
}

/* Secondary navbar search bar */
.navbar-secondary .navbar-search .form-control {
    background-color: var(--color-accent-soft);
    border: 1px solid var(--color-accent-soft);
    color: var(--text-dark);
}

.navbar-secondary .navbar-search .form-control::placeholder {
    color: var(--text-light);
}

.navbar-secondary .navbar-search .form-control:focus {
    background-color: var(--bg-light);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(230, 152, 41, 0.25);
    color: var(--text-dark);
}

.navbar-secondary .navbar-search .btn-search {
    color: var(--text-dark);
}

.navbar-secondary .navbar-search .btn-search:hover {
    color: var(--color-primary);
}

/* User Account/Authentication Styles */
.navbar-auth .btn {
    margin-left: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-primary-custom {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--bg-light);
}

.btn-primary-custom:hover {
    background-color: var(--color-primary-strong);
    border-color: var(--color-primary-strong);
    color: var(--bg-light);
}

.btn-outline-custom {
    background-color: transparent;
    border-color: var(--bg-light);
    color: var(--bg-light);
}

.btn-outline-custom:hover {
    background-color: var(--bg-light);
    color: var(--color-accent);
}

/* Secondary navbar auth buttons */
.navbar-secondary .btn-primary-custom {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--bg-light);
}

.navbar-secondary .btn-primary-custom:hover {
    background-color: var(--color-primary-strong);
    border-color: var(--color-primary-strong);
}

.navbar-secondary .btn-outline-custom {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.navbar-secondary .btn-outline-custom:hover {
    background-color: var(--color-primary);
    color: var(--bg-light);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .navbar {
        padding: 0.2rem 0;
    }
    
    .navbar-secondary {
        padding: 0.2rem 0;
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
        border-radius: var(--border-radius);
    }
    
    .navbar-search {
        margin: 1rem 0;
        max-width: 100%;
    }
    
    .navbar-search .input-group {
        flex-direction: column;
    }
    
    .navbar-search .form-select {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
        margin-bottom: 0.5rem;
    }
    
    .navbar-search .form-control {
        border-radius: 0;
        margin-bottom: 0.5rem;
        padding: 0.5rem 0.75rem;
    }
    
    .navbar-search .btn-primary-custom {
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }
    
    .navbar-auth {
        margin-top: 1rem;
        text-align: center;
    }
    
    .navbar-auth .btn {
        display: block;
        width: 100%;
        margin: 0.25rem 0;
    }
}

/* Sticky Navbar Styles */
.navbar.sticky {
    position: sticky;
    top: 0;
    z-index: 1030;
    animation: slideDown 0.3s ease;
}

.navbar-secondary.sticky {
    position: sticky;
    top: 32px; /* Height of main navbar */
    z-index: 1029;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Cart Badge Styles */
.navbar-cart {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--color-primary);
    color: var(--bg-light);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 152, 41, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(230, 152, 41, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230, 152, 41, 0);
    }
}

/* Hero Section Styles */
.hero-section {
    padding: 3rem 0;
}

.hero-stats {
    border-top: 1px solid var(--color-accent-soft);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.hero-stats h4 {
    color: var(--color-primary);
}

/* Category Cards */
.category-card .card {
    transition: var(--transition);
    cursor: pointer;
}

.category-card .card-img-top {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Product Cards */
.product-card .card {
    transition: var(--transition);
    cursor: pointer;
}

.product-card .card-img-top {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.product-card .rating {
    color: var(--color-primary);
}

.product-card .price .text-danger {
    color: var(--color-primary) !important;
}

/* Deal Cards */
.deal-card {
    transition: var(--transition);
}

.deal-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Testimonial Cards */
.testimonial-card .card {
    transition: var(--transition);
    height: 100%;
}

.testimonial-card .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-card .rating {
    color: var(--color-primary);
}

/* Brand Logos */
.brand-logo {
    transition: var(--transition);
    padding: 1rem;
}

.brand-logo:hover {
    transform: scale(1.05);
}

/* Hover Effects */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Section Spacing */
section {
    scroll-margin-top: 80px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .category-card .card-img-top {
        height: 150px;
    }
    
    .product-card .card-img-top {
        height: 200px;
    }
    
    .deal-card .row {
        text-align: center;
    }
    
    .deal-card img {
        margin-bottom: 1rem;
    }
}

/* ── Image Placeholders ─────────────────────────────────── */
.img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero-img-placeholder {
    height: 300px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-strong));
}

.deal-img-block {
    height: 200px;
    border-radius: var(--border-radius);
}

.deal-price {
    color: var(--color-primary);
    font-size: 1.1rem;
}

/* ── Deals Section Background ───────────────────────────── */
.deals-section {
    background-color: var(--color-primary-soft);
}

/* ── Testimonial Avatars ────────────────────────────────── */
.testimonial-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.avatar-blue  { background: linear-gradient(135deg, #102b45, #1a3d5a); }
.avatar-gold  { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-strong)); }
.avatar-green { background: linear-gradient(135deg, #28a745, #1e7e34); }

/* ── Brand Icon Blocks ──────────────────────────────────── */
.brand-icon {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    border-radius: var(--border-radius);
}

.brand-icon-1 { background: linear-gradient(135deg, #102b45, #1a3d5a); }
.brand-icon-2 { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-strong)); }
.brand-icon-3 { background: linear-gradient(135deg, #28a745, #1e7e34); }
.brand-icon-4 { background: linear-gradient(135deg, #17a2b8, #138496); }
.brand-icon-5 { background: linear-gradient(135deg, #6f42c1, #5a32a3); }
.brand-icon-6 { background: linear-gradient(135deg, #6c757d, #5a6268); }

/* ─── Seller Portal – Shared Sidebar & Layout ──────────────────────── */
.seller-sidebar {
    width: 240px;
    min-width: 240px;
    background: #102b45;
    min-height: calc(100vh - 120px);
    padding: 1.5rem 0;
    flex-shrink: 0;
}
.sidebar-section-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.35);
    padding: 0 0.75rem;
    margin-bottom: 0.5rem;
    margin-top: 0.25rem;
}
.sidebar-nav { list-style: none; padding: 0; margin: 0; }
.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}
.sidebar-nav li a:hover,
.sidebar-nav li a.active {
    background: rgba(230,152,41,0.15);
    color: #e69829;
}
.sidebar-nav li a .bi { font-size: 1rem; flex-shrink: 0; }
.sidebar-nav li a .badge-soon {
    margin-left: auto;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    white-space: nowrap;
}
.seller-main { flex: 1; padding: 2rem; min-width: 0; overflow-x: hidden; }
@media (max-width: 768px) {
    .seller-sidebar { display: none; }
    .seller-main    { padding: 1rem; }
}

/* ── Search Autocomplete Dropdown ────────────────────────────────────────── */
#search-suggest-box {
    display: none;
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.14);
    z-index: 9999;
    overflow: hidden;
    max-height: 440px;
    overflow-y: auto;
}
.suggest-section-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 14px 4px;
    background: #fff;
}
.suggest-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 14px;
    text-decoration: none;
    color: #102b45;
    transition: background 0.1s;
    border-bottom: 1px solid #f3f4f6;
}
.suggest-item:last-of-type { border-bottom: none; }
.suggest-item:hover,
.suggest-item.ss-active {
    background: #f0f7ff;
    color: #102b45;
    text-decoration: none;
}
.suggest-thumb {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid #f0f2f5;
    background: #f9fafb;
}
.suggest-thumb-ph {
    width: 46px;
    height: 46px;
    background: #f0f2f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    color: #9ca3af;
}
.suggest-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.05rem;
}
.suggest-meta { flex: 1; min-width: 0; }
.suggest-name {
    font-size: 0.85rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.35;
    color: #102b45;
}
.suggest-sub {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 1px;
}
.suggest-badge {
    font-size: 0.67rem;
    color: #6b7280;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 600;
}
.suggest-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 0.83rem;
    color: #3b82f6;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.1s;
}
.suggest-footer:hover { background: #eff6ff; color: #1d4ed8; text-decoration: none; }
mark.ss-hl {
    background: #fef9c3;
    color: #102b45;
    border-radius: 2px;
    padding: 0 1px;
    font-weight: 700;
}

/* ── Shared Seller UI Components ─────────────────────────────────────────── */
.page-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Stat pills */
.stat-pill {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    text-align: center;
    flex: 1;
}
.stat-pill .stat-value { font-size: 1.4rem; font-weight: 800; color: #1f2937; line-height: 1; }
.stat-pill .stat-label { font-size: 0.78rem; color: #6b7280; margin-top: 0.2rem; }

/* Filter tabs */
.filter-tabs { border-bottom: 2px solid #f3f4f6; margin-bottom: 1.25rem; }
.filter-tab {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.15s;
}
.filter-tab:hover { color: #e69829; }
.filter-tab.active-tab { color: #e69829; border-bottom-color: #e69829; }

/* Action buttons */
.btn-action {
    padding: 0.3rem 0.65rem;
    font-size: 0.8rem;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.btn-action:hover { border-color: #e69829; color: #e69829; }
.btn-action.danger:hover { border-color: #dc3545; color: #dc3545; }

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}
.empty-state-icon {
    width: 80px; height: 80px; border-radius: 20px;
    background: rgba(230,152,41,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #e69829;
    margin: 0 auto 1.5rem;
}

/* Search input */
.search-input {
    border-color: #e5e7eb;
    border-radius: 8px;
    padding: 0.5rem 0.85rem 0.5rem 2.25rem;
    font-size: 0.875rem;
}
.search-input:focus { border-color: #e69829; box-shadow: 0 0 0 3px rgba(230,152,41,0.12); outline: none; }
.search-wrap { position: relative; }
.search-wrap .bi-search { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: #9ca3af; }

@media (max-width: 640px) {
    .stat-pill .stat-value { font-size: 1.1rem; }
}

/* ── Account Center ────────────────────────────────────────────────────────── */
:root {
    --acct-rgb: 230, 152, 41; /* default amber — overridden per page */
}

/* Layout */
.acct-wrap { background: #f4f6f9; min-height: 100vh; }
.acct-breadcrumb { background: #fff; border-bottom: 1px solid #e8eaed; padding: 10px 0; font-size: 0.82rem; }
.acct-breadcrumb a { color: #e69829; text-decoration: none; }
.acct-breadcrumb a:hover { color: #b06a00; }

/* Sidebar */
.acct-sidebar {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 24px 20px;
    text-align: center;
    position: sticky;
    top: 80px;
}
.acct-avatar {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, #102b45, #1a4a70);
    color: #fff; font-size: 1.6rem; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 10px;
}
.acct-user-name  { font-size: 0.95rem; font-weight: 800; color: #102b45; line-height: 1.25; }
.acct-user-email { font-size: 0.75rem; color: #9ca3af; margin-top: 2px; }
.acct-member-since { font-size: 0.72rem; color: #bbb; margin-top: 3px; }
.acct-wallet-chip {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(230,152,41,0.1); color: #b06a00;
    font-size: 0.72rem; font-weight: 700;
    padding: 3px 10px; border-radius: 20px;
    margin-top: 8px; text-decoration: none;
    transition: background 0.15s;
}
.acct-wallet-chip:hover { background: rgba(230,152,41,0.2); color: #8a5200; }
.acct-nav { list-style: none; padding: 0; margin: 14px 0 0; text-align: left; }
.acct-nav li a {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; border-radius: 10px;
    color: #374151; text-decoration: none;
    font-size: 0.85rem; font-weight: 600;
    transition: background 0.15s, color 0.15s;
}
.acct-nav li a:hover { background: #f8f9fa; color: #102b45; }
.acct-nav li a.acct-nav-active {
    background: rgba(var(--acct-rgb), 0.1);
    color: rgb(var(--acct-rgb));
}
.acct-nav li a i { width: 18px; text-align: center; font-size: 0.9rem; }
.acct-nav-badge {
    margin-left: auto;
    font-size: 0.65rem; font-weight: 700;
    padding: 2px 7px; border-radius: 20px;
    background: rgba(230,152,41,0.12); color: #b06a00;
}
.acct-nav-divider { border-color: #f0f2f5; margin: 8px 0; }

/* Page header */
.acct-page-header {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 10px;
    margin-bottom: 20px;
}
.acct-page-title {
    font-size: 1.25rem; font-weight: 800; color: #102b45;
    display: flex; align-items: center; gap: 8px;
    margin: 0;
}
.acct-page-title i { color: rgb(var(--acct-rgb)); }
.acct-page-count { font-size: 0.8rem; font-weight: 500; color: #9ca3af; }

/* Filter pills */
.acct-filter-pill {
    display: inline-block; padding: 0.3rem 0.9rem;
    border-radius: 20px; font-size: 0.82rem; font-weight: 600;
    border: 1.5px solid #e5e7eb; color: #6b7280;
    text-decoration: none; transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.acct-filter-pill:hover { border-color: rgb(var(--acct-rgb)); color: rgb(var(--acct-rgb)); }
.acct-filter-pill.active {
    background: rgba(var(--acct-rgb), 0.1);
    border-color: rgba(var(--acct-rgb), 0.35);
    color: rgb(var(--acct-rgb));
}

/* Mobile nav strip (shown below 992px) */
.acct-mobile-nav {
    display: none;
    overflow-x: auto; white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px 0 4px;
    margin-bottom: 4px;
    gap: 8px;
}
.acct-mobile-nav::-webkit-scrollbar { display: none; }
.acct-mobile-nav a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 600;
    text-decoration: none; color: #6b7280;
    border: 1.5px solid #e5e7eb; white-space: nowrap;
    transition: border-color 0.15s, color 0.15s;
}
.acct-mobile-nav a:hover { border-color: #e69829; color: #b06a00; }
.acct-mobile-nav a.acct-nav-active {
    background: rgba(var(--acct-rgb), 0.1);
    border-color: rgba(var(--acct-rgb), 0.35);
    color: rgb(var(--acct-rgb));
}

/* Content card */
.acct-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 20px;
}
.acct-card-body { padding: 24px 28px; }
.acct-card-head {
    padding: 16px 24px;
    border-bottom: 1px solid #f0f2f5;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.acct-card-head:last-child { border-bottom: none; }
/* Account action buttons */
.acct-btn {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.83rem; font-weight: 700;
    padding: 7px 16px; border-radius: 8px;
    border: 1.5px solid #e69829; color: #b06a00;
    background: transparent; text-decoration: none;
    cursor: pointer; transition: background 0.15s, color 0.15s;
}
.acct-btn:hover { background: rgba(230,152,41,0.1); color: #8a5200; }
.acct-btn-filled {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.88rem; font-weight: 700;
    padding: 9px 22px; border-radius: 10px; border: none;
    background: linear-gradient(135deg, #e69829, #cb7c11);
    color: #fff; text-decoration: none; cursor: pointer;
    transition: opacity 0.2s;
}
.acct-btn-filled:hover { opacity: 0.88; color: #fff; }

.acct-section-title {
    font-size: 1rem; font-weight: 800; color: #102b45;
    border-bottom: 2px solid #f0f2f5;
    padding-bottom: 12px; margin-bottom: 20px;
    display: flex; align-items: center; gap: 8px;
}
.acct-section-title i { color: rgb(var(--acct-rgb)); }

/* Empty state */
.acct-empty {
    background: #fff; border-radius: 16px;
    padding: 64px 20px; text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.acct-empty-icon { font-size: 3.5rem; color: #d1d5db; display: block; margin-bottom: 14px; }
.acct-empty h5 { font-weight: 700; color: #374151; margin-bottom: 6px; }
.acct-empty p  { color: #9ca3af; font-size: 0.88rem; margin-bottom: 20px; }

@media (max-width: 991.98px) {
    .acct-sidebar { display: none; }
    .acct-mobile-nav { display: flex; }
}
