﻿/



    /* LOCK BODY WHEN SIDEBAR OPEN */
    body.sidebar-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }

/* HEADER - STICKY */
/*.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgb(255 253 253 / 98%);
    backdrop-filter: blur(10px);
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
    border-bottom:1px solid gray;
    
}
*/



.site-header {
    position: sticky;
    top: 0;
    z-index: 1001;
    width: 100%;
    background: rgb(255 253 253 / 98%);
    backdrop-filter: blur(10px);
    /* ONLY border lives here */
    border-bottom: 1px solid #e5e5e5;
}
.site-header-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
}

/*.site-header-inner {
    position: sticky;
    max-width: 1500px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-sans);
    width: 100%;
    position: relative;
    background: rgb(255 253 253 / 98%);
    border-bottom: 1px solid black;
}*/
.section-wrap {
    max-width: 1500px;
    margin: 0 auto;
}
/* LOGO */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 102;
    flex-shrink: 0;
}

.logo-mark {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: #111;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111;
}

.logo-tagline {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* NAV LINKS */
.site-nav {
    display: flex;
    gap: 18px;
    flex: 1;
    justify-content: center;
}

.site-nav-link {
    font-size: 14px;
    color: #5f5f5f;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

    .site-nav-link:hover {
        color: #111;
    }

/* HEADER ACTIONS */
.site-header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    z-index: 102;
    flex-shrink: 0;
}

.site-header-link {
    font-size: 14px;
    color: #6c6c6c;
    text-decoration: none;
    white-space: nowrap;
}

    .site-header-link:hover {
        color: #111;
    }

.site-header-cta {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

    .site-header-cta:hover {
        background: #000;
    }

/* HAMBURGER BUTTON */
.hamburger-button {
    display: none;
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    z-index: 102;
    transition: all 0.2s;
    flex-shrink: 0;
}

    .hamburger-button:hover {
        background: #ebebeb;
        border-color: #d4d4d4;
    }

    .hamburger-button span {
        width: 20px;
        height: 2px;
        background: #111;
        transition: all 0.3s;
        display: block;
    }

    .hamburger-button.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-button.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-button.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

/* USER PROFILE BUTTON */
.menu-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    border-radius: 999px;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #111;
    font-weight: 500;
}

    .menu-button:hover {
        background: #ebebeb;
        border-color: #d4d4d4;
    }

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #111 0%, #000 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.menu-button > div:last-child {
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* SIDEBAR OVERLAY */
.sidebar-overlay {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1002 !important;
    opacity: 0;
    transition: opacity 0.3s ease;
    margin: 0 !important;
    padding: 0 !important;
}

    .sidebar-overlay.active {
        display: block !important;
        opacity: 1;
    }

/* SIDEBAR - ABSOLUTELY FIXED TO VIEWPORT */
.sidenav {
    height: 100vh !important;
    width: 0;
    position: fixed !important;
    z-index: 1003 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    transition: width 0.3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    margin: 0 !important;
    padding: 0 !important;
}

    .sidenav.open {
        width: 340px !important;
    }

/* SIDEBAR HEADER */
.sidebar-header-user {
    padding: 30px 20px 24px 20px;
    background: linear-gradient(135deg, #111 0%, #000 100%);
    color: white;
    position: relative;
    flex-shrink: 0;
}

/* CLOSE BUTTON */
.closebtn {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 32px;
    font-weight: 300;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
    background: transparent;
    border: none;
    padding: 0;
}

/* USER INFO */
.user-info-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar-lg {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
}

.user-details {
    flex: 1;
    min-width: 0;
}

.username-display {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: white;
}

.email-display {
    font-size: 13px;
    opacity: 0.9;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* SIDEBAR LINKS */
.sidenav a {
    padding: 14px 20px;
    text-decoration: none;
    font-size: 15px;
/*    color: #fff;*/
/*    display: flex;*/
    align-items: center;
    transition: all 0.2s;
    border-left: 3px solid transparent;

}

/*    .sidenav a:hover {
        background-color: #f5f5f5;
        border-left-color: #111;
    }
*/
    .sidenav a.text-danger {
        color: #dc3545;
    }

        .sidenav a.text-danger:hover {
            background-color: #fff5f5;
            border-left-color: #dc3545;
        }

    .sidenav a i,
    .sidenav a svg {
        width: 20px;
        flex-shrink: 0;
        margin-right: 12px;
    }

/* TOP BANNER */
.top-banner {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    font-size: 13px;
    position: relative;
    z-index: 99;
}

.top-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px
}

.top-banner a {
    color: #111;
    text-decoration: none;
}

    .top-banner a:hover {
        text-decoration: underline;
    }

/* TABLET VIEW (900px and down) - Hide desktop nav, show hamburger */
@media (max-width: 900px) {
    .site-nav {
        display: none;
    }

    .hamburger-button {
        display: flex;
    }

    .logo-mark {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }

    .logo-name {
        font-size: 15px;
    }

    .logo-tagline {
        font-size: 10px;
    }

    .site-header-actions {
        gap: 10px;
    }
}

/* TABLET VIEW (768px and down) */
@media (max-width: 768px) {
    .site-header-inner {
        padding: 10px 16px;
    }

    .site-header-actions {
        gap: 8px;
    }

    .site-header-link,
    .site-header-cta {
        font-size: 13px;
        padding: 5px 10px;
    }

    .logo-mark {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .logo-name {
        font-size: 14px;
    }

    .logo-tagline {
        font-size: 9px;
    }

    .top-banner-inner {
        font-size: 12px;
        padding: 6px 16px;
    }
}

/* MOBILE VIEW (576px and down) */
@media (max-width: 576px) {
    .site-header-inner {
        padding: 8px 12px;
    }

    .menu-button > div:last-child {
        display: none;
    }

    .menu-button {
        padding: 6px;
    }

    .site-header-link {
        display: none;
    }

    .site-header-cta {
        font-size: 12px;
        padding: 6px 12px;
    }

    .sidenav.open {
        width: 85% !important;
    }

    .logo-mark {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .logo-name {
        font-size: 13px;
    }

    .logo-tagline {
        font-size: 9px;
    }
}

/* Very Small Mobile (400px and down) */
@media (max-width: 400px) {
/*    .logo-text-wrap {
        display: none;
    }*/

    .site-logo {
        gap: 0;
    }

    .logo-mark {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .hamburger-button {
        width: 36px;
        height: 36px;
    }

        .hamburger-button span {
            width: 18px;
        }
}

/* MOBILE NAV MENU (inside hamburger) */
.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #e5e5e5;
}

    .mobile-nav a {
        padding: 14px 20px;
        text-decoration: none;
        font-size: 15px;
        color: #333;
/*        display: flex;*/
        align-items: center;
        transition: all 0.2s;
        border-left: 3px solid transparent;
    }

        .mobile-nav a:hover {
            background-color: #f5f5f5;
            border-left-color: #111;
        }

@media (max-width: 900px) {
    .mobile-nav {
        display: flex;
    }
}
/* Mobile-only login button */
.mobile-login {
    display: none;
    font-size: 25px;
    padding: 6px 12px;
    border-radius: 999px;
    color: black;
    text-decoration: none;
    white-space: nowrap;
}

/* Show only on mobile */
@media (max-width: 576px) {
    .mobile-login {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    /* Hide Register on mobile */
/*    .site-header-cta {
        display: none;
    }*/
}
.site-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: nowrap;
}
@media (max-width: 420px) {
    .always-visible-cta {
        font-size: 0;
    }

        .always-visible-cta::before {
            content: "＋ Sell";
            font-size: 12px;
        }
}
/* KEEP SELL CTA VISIBLE AT ALL SIZES */
.always-visible-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 900px) {
    .always-visible-cta {
        padding: 6px 12px;
        font-size: 13px;
        border-radius: 999px;
        white-space: nowrap;
    }
}

/* SMALL MOBILE */
@media (max-width: 576px) {
    .always-visible-cta {
        font-size: 12px;
        padding: 6px 10px;
    }
    .site-header-inner {
            flex-wrap: wrap;
            row-gap: 10px;
    }
        .always-visible-cta {
            width: 100%;
            justify-content: center;
            padding: 10px 14px;
            font-size: 14px;
            margin-top: 6px;
        }
    .site-header-actions {
        margin-left: auto;
        gap: 8px;
    }
}
@media (max-width: 400px) {
    .logo-text-wrap {
        display: none;
    }
}
@media (max-width: 576px) {
    .hamburger-button {
        width: 42px;
        height: 42px;
    }
}
.sell-vehical {
   background-color:black;
   color:white;
   border-radius:999px;
   font-size:13px;
   padding:8px;
   font-weight:600;
}

.ut-article-mobile {
    display: none;
}

@media(max-width:685px) {
    .ut-article-mobile{
        display:block;
    }
}