/* Zulaa - Ana Stil Dosyası */
/* Tasarım: letgo benzeri, native app görünümlü */

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ff3f55;
    --primary-light: #ff6b7a;
    --primary-dark: #e6233a;
    --accent: #ff3f55;
    --accent-hover: #e6233a;
    --success: #4caf50;
    --warning: #ff9800;
    --info: #2196f3;
    --dark: #1a1a2e;
    --gray-900: #212121;
    --gray-800: #333333;
    --gray-700: #4a4a4a;
    --gray-600: #666666;
    --gray-500: #888888;
    --gray-400: #aaaaaa;
    --gray-300: #cccccc;
    --gray-200: #e8e8e8;
    --gray-100: #f5f5f5;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --max-width: 1200px;
    --header-height: 64px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--gray-100);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

ul, ol {
    list-style: none;
}

/* === LAYOUT === */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    min-height: calc(100vh - var(--header-height) - 200px);
    padding-top: 20px;
}

/* === HEADER === */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

.header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 20px;
}

.logo {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
    flex-shrink: 0;
    font-style: italic;
}

.logo a {
    color: var(--primary);
    background: linear-gradient(135deg, #ff3f55, #ff6b7a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Search Bar */
.search-box {
    flex: 1;
    max-width: 420px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 10px 16px 10px 42px;
    border: 2px solid var(--gray-200);
    border-radius: 24px;
    font-size: 14px;
    transition: border-color 0.2s;
    background: var(--gray-100);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.search-box .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    font-size: 16px;
}

.search-box .search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    min-width: 420px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-top: 4px;
    display: none;
    z-index: 100;
    padding: 16px;
}

.search-box.active .search-dropdown {
    display: block;
}

/* Location Selector */
.location-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 24px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray-700);
    transition: border-color 0.2s;
    white-space: nowrap;
}

.location-selector:hover {
    border-color: var(--primary);
}

.location-selector .loc-icon {
    color: var(--accent);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}

/* Notification Bell */
.btn-icon-header { position: relative; padding: 8px !important; }
.notification-bell-wrap { position: relative; }
.notif-badge { position: absolute; top: 4px; right: 4px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 4px; line-height: 1; }
.notif-dropdown { position: absolute; top: 100%; right: 0; width: 360px; background: #fff; border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,.15); z-index: 9999; display: none; overflow: hidden; margin-top: 8px; }
.notif-dropdown.active { display: block; }
.notif-dropdown-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid #f0f0f0; }
.notif-dropdown-header strong { font-size: 15px; color: #222; }
.notif-dropdown-header a { font-size: 12px; color: var(--primary); text-decoration: none; }
.notif-dropdown-body { max-height: 320px; overflow-y: auto; }
.notif-dropdown-item { display: flex; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #f8f8f8; transition: background .1s; cursor: pointer; text-decoration: none; color: inherit; }
.notif-dropdown-item:hover { background: #f9f9f9; }
.notif-dropdown-item.unread { background: #f0f5ff; }
.notif-dropdown-item .notif-dd-avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; overflow: hidden; background: var(--primary); display: flex; align-items: center; justify-content: center; }
.notif-dropdown-item .notif-dd-avatar img { width: 100%; height: 100%; object-fit: cover; }
.notif-dropdown-item .notif-dd-avatar i { color: #fff; font-size: 14px; }
.notif-dropdown-item .notif-dd-content { flex: 1; min-width: 0; }
.notif-dropdown-item .notif-dd-text { font-size: 13px; color: #333; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notif-dropdown-item .notif-dd-text strong { color: #111; }
.notif-dropdown-item .notif-dd-time { font-size: 11px; color: #999; margin-top: 2px; }
.notif-dropdown-footer { text-align: center; padding: 12px; border-top: 1px solid #f0f0f0; }
.notif-dropdown-footer a { font-size: 13px; color: var(--primary); text-decoration: none; font-weight: 600; }
.notif-empty { padding: 30px 16px; text-align: center; color: #999; font-size: 13px; }

/* Notification Toast */
.notif-toast { position: fixed; top: 80px; right: 20px; background: #fff; border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,.15); padding: 14px 18px; display: flex; gap: 12px; align-items: center; z-index: 99999; transform: translateX(120%); transition: transform .3s cubic-bezier(.4,0,.2,1); max-width: 340px; border-left: 4px solid var(--primary); }
.notif-toast.show { transform: translateX(0); }
.notif-toast-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 14px; }
.notif-toast-content { flex: 1; min-width: 0; }
.notif-toast-title { font-size: 13px; font-weight: 600; color: #222; margin-bottom: 2px; }
.notif-toast-msg { font-size: 12px; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif-toast-close { background: none; border: none; color: #999; font-size: 16px; cursor: pointer; padding: 4px; }

/* Mobile Notification Badge */
.mobile-notif-badge { position: absolute; top: -4px; right: -6px; background: var(--accent); width: 8px; height: 8px; border-radius: 50%; border: 2px solid #fff; }

@media (max-width: 480px) {
    .notif-dropdown { width: calc(100vw - 32px); right: -60px; }
    .notif-toast { right: 12px; left: 12px; max-width: none; top: 70px; }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-ghost {
    color: var(--primary);
    font-weight: 600;
    border: 2px solid var(--primary);
    border-radius: 24px;
    padding: 8px 20px;
}

.btn-ghost:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-sell {
    background: var(--accent);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: 700;
}

.btn-sell:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,63,85,0.3);
}

/* === CATEGORY NAV === */
.category-nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    overflow-x: auto;
    scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-nav-inner {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
}

.category-nav-item {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    white-space: nowrap;
    border-radius: 6px;
    transition: all 0.2s;
}

.category-nav-item:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.category-nav-item.all-categories {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

/* === BREADCRUMB === */
.breadcrumb {
    margin: 16px 0;
    font-size: 13px;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: var(--gray-500);
}

.breadcrumb li a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb li a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.breadcrumb li.separator {
    margin: 0 8px;
    color: var(--gray-400);
    font-size: 12px;
}

.breadcrumb li:last-child {
    color: var(--gray-700);
    font-weight: 500;
}

/* === HERO BANNER === */
.hero-banner {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 20px 0;
    position: relative;
}

.banner-slider {
    display: flex;
    border-radius: var(--radius-lg);
    transition: transform 0.5s ease-in-out;
}

.banner-slide {
    min-width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 200px;
    border-radius: var(--radius-lg);
}

.banner-slide h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.banner-slide p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 16px;
}

.banner-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all 0.3s;
}

.banner-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

/* === TREND CATEGORIES === */
.section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.trend-categories {
    margin: 30px 0;
}

.trend-categories-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.trend-categories-grid::-webkit-scrollbar {
    display: none;
}

.trend-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 100px;
    cursor: pointer;
}

.trend-category-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: transform 0.2s;
    overflow: hidden;
    flex-shrink: 0;
}

.trend-category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.trend-category-item:hover .trend-category-icon {
    transform: scale(1.05);
}

.trend-category-item span {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-700);
    text-align: center;
    white-space: nowrap;
}

/* === PLUS LISTINGS SECTION === */
.plus-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 30px 0;
    box-shadow: var(--shadow-sm);
}

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

.section-header .view-all {
    background: var(--accent);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.section-header .view-all:hover {
    background: var(--accent-hover);
}

.plus-listings-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.plus-listings-scroll::-webkit-scrollbar {
    display: none;
}

.plus-listings-scroll .listing-card {
    min-width: 220px;
    max-width: 220px;
}

.plus-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-size: 16px;
    color: var(--gray-700);
    transition: all 0.2s;
}

.plus-nav-btn:hover {
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.plus-nav-btn.prev { left: -4px; }
.plus-nav-btn.next { right: -4px; }

.plus-scroll-wrapper {
    position: relative;
}

/* === LISTING CARD === */
.listing-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.2s;
    border: 1px solid var(--gray-200);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.listing-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.listing-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-100);
    flex-shrink: 0;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.listing-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s;
}

.listing-card:hover .listing-card-image img {
    transform: scale(1.03);
}

.listing-card-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.badge-plus {
    background: #4caf50;
    color: white;
}

.badge-featured {
    background: #2196f3;
    color: white;
}

.badge-highlighted {
    background: #ff9800;
    color: white;
}

.listing-card-favorite {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.listing-card-favorite:hover {
    background: var(--white);
    transform: scale(1.1);
}

.listing-card-favorite.active svg {
    fill: var(--accent);
    stroke: var(--accent);
}

.listing-card-tags {
    display: flex;
    gap: 6px;
    padding: 8px;
    flex-wrap: wrap;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
}

.tag-green {
    color: #2e7d32;
    border-color: #c8e6c9;
    background: #f1f8e9;
}

.tag-blue {
    color: #1565c0;
    border-color: #bbdefb;
    background: #e3f2fd;
}

.listing-card-info {
    padding: 12px;
}

.listing-card-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.listing-card-price .installment {
    font-size: 11px;
    font-weight: 500;
    background: #e3f2fd;
    color: #1565c0;
    padding: 2px 6px;
    border-radius: 4px;
}

.listing-card-title {
    font-size: 13px;
    color: var(--gray-700);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-card-location {
    font-size: 12px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 4px;
}

.listing-card-rating {
    font-size: 12px;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.listing-card-rating .star {
    color: #ffc107;
}

/* === LISTINGS GRID === */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.listings-grid .listing-card {
    height: 100%;
}

/* === POPULAR LISTINGS === */
.popular-section {
    margin: 30px 0;
}

.load-more {
    display: block;
    margin: 30px auto;
    padding: 12px 32px;
    border: 2px solid var(--accent);
    border-radius: 24px;
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.load-more:hover {
    background: var(--accent);
    color: white;
}

/* === FOOTER === */
.footer {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-app-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-lg);
    padding: 30px 40px;
    margin-bottom: 40px;
    color: white;
}

.footer-app-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.footer-app-info p {
    font-size: 14px;
    opacity: 0.9;
}

.footer-app-badges {
    display: flex;
    gap: 12px;
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.3);
    padding: 10px 20px;
    border-radius: 10px;
    color: white;
    transition: background 0.2s;
}

.app-badge:hover {
    background: rgba(0,0,0,0.5);
}

.app-badge small {
    display: block;
    font-size: 10px;
    opacity: 0.8;
}

.app-badge span {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: var(--gray-600);
    padding: 3px 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--gray-200);
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--gray-500);
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    font-size: 12px;
    color: var(--gray-500);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: all 0.2s;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
}

.payment-icons {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}

.payment-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.payment-brand.visa {
    background: #1a1f71;
    color: white;
}

.payment-brand.mc {
    background: #ff5f00;
    color: white;
}

.payment-brand.troy {
    background: #003087;
    color: white;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--gray-700);
    font-weight: 500;
}

.payment-icons img {
    height: 24px;
    opacity: 0.7;
}

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 20px;
}

.cookie-banner p {
    flex: 1;
    font-size: 13px;
    color: var(--gray-700);
    line-height: 1.5;
}

.cookie-banner .cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-banner .btn-accept {
    background: var(--accent);
    color: white;
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 14px;
}

.cookie-banner .btn-manage {
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 14px;
}

/* === MODAL === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

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

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 460px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    color: var(--gray-600);
    cursor: pointer;
}

.modal-close:hover {
    background: var(--gray-100);
}

.modal h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* Slider Puzzle */
.puzzle-container {
    position: relative;
    width: 300px;
    height: 180px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: var(--gray-100);
}

.puzzle-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.puzzle-slot {
    position: absolute;
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.3);
    border: 2px dashed rgba(255,255,255,0.7);
    border-radius: 6px;
    top: 50%;
    transform: translateY(-50%);
}

.puzzle-piece {
    position: absolute;
    width: 44px;
    height: 44px;
    background-size: 300px 180px;
    border: 2px solid #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    cursor: grab;
}

.puzzle-slider {
    padding: 0 10px;
}

.puzzle-track {
    position: relative;
    height: 40px;
    background: var(--gray-100);
    border-radius: 20px;
    border: 1px solid var(--gray-200);
}

.puzzle-thumb {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    font-size: 18px;
    user-select: none;
    transition: background 0.2s;
}

.puzzle-thumb:active {
    cursor: grabbing;
    background: var(--primary-hover);
}

.puzzle-thumb.success {
    background: #4caf50;
}

.puzzle-thumb.fail {
    background: #f44336;
}

/* Site Tour */
.tour-slide {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tour-dots {
    display: flex;
    gap: 6px;
}

.tour-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    transition: background 0.3s;
}

.tour-dot.active {
    background: var(--primary);
    width: 20px;
    border-radius: 4px;
}

/* === MEGA MENU === */
.mega-menu {
    position: fixed;
    top: calc(var(--header-height) + 44px);
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-200);
    padding: 0;
    display: none;
    z-index: 998;
    max-height: calc(100vh - var(--header-height) - 44px);
    overflow-y: auto;
}

.mega-menu.active {
    display: block;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0;
    max-width: var(--max-width);
    margin: 0 auto;
}

.mega-menu-categories {
    border-right: 1px solid var(--gray-200);
    padding: 16px 0;
    max-height: 500px;
    overflow-y: auto;
}

.mega-menu-category-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-800);
    text-decoration: none;
}

.mega-menu-category-item:hover,
.mega-menu-category-item.active {
    background: var(--gray-100);
    color: var(--primary);
    font-weight: 600;
}

.mega-menu-category-item .cat-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.mega-menu-subcategories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 24px;
}

.mega-menu-subcol h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.mega-menu-subcol a, .mega-menu-sub-item {
    display: block;
    padding: 5px 0;
    font-size: 13px;
    color: var(--gray-600);
    text-decoration: none;
}

.mega-menu-subcol a:hover, .mega-menu-sub-item:hover {
    color: var(--primary);
}

.mega-menu-view-all {
    border-top: 1px solid var(--gray-200);
    margin-top: 8px;
    padding-top: 12px !important;
    color: var(--primary) !important;
    font-weight: 600 !important;
}

/* === FORM ELEMENTS === */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--gray-800);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.form-control::placeholder {
    color: var(--gray-400);
}

/* === UTILITIES === */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-muted { color: var(--gray-500); }
.fw-bold { font-weight: 700; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.hidden { display: none !important; }

/* Lazy loading placeholder */
.lazy-placeholder {
    background: var(--gray-100);
    animation: pulse 1.5s infinite;
}

/* Listing card placeholder (no image) */
.listing-card-placeholder {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.listing-card-placeholder svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* === MOBILE NATIVE APP STYLES === */

/* --- Mobile Hamburger Button --- */
.mobile-hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--gray-800);
    padding: 8px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.mobile-hamburger:active {
    background: var(--gray-100);
}

/* --- Mobile Search Close --- */
.mobile-search-close {
    display: none;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    color: var(--gray-700);
    padding: 6px;
    cursor: pointer;
    z-index: 5;
}

/* --- Mobile Bottom Navigation --- */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--gray-200);
    z-index: 9998;
    padding: 6px 0;
    padding-bottom: calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
}
.mobile-bottom-nav .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--gray-500);
    font-size: 10px;
    gap: 2px;
    padding: 4px 0;
    transition: color 0.2s;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}
.mobile-bottom-nav .mobile-nav-item i {
    font-size: 20px;
}
.mobile-bottom-nav .mobile-nav-item.active {
    color: var(--primary);
}
.mobile-bottom-nav .mobile-nav-item.active i {
    font-weight: 900;
}
.mobile-nav-sell-btn {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    margin-top: -22px;
    box-shadow: 0 4px 12px rgba(255, 63, 85, 0.35);
    transition: transform 0.2s;
}
.mobile-nav-sell:active .mobile-nav-sell-btn {
    transform: scale(0.92);
}
.mobile-nav-sell span:last-child {
    margin-top: 2px;
    color: var(--primary);
    font-weight: 600;
}

/* --- Mobile Drawer --- */
.mobile-drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-drawer-overlay.active {
    display: block;
    opacity: 1;
}
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: #fff;
    z-index: 10001;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.mobile-drawer.active {
    transform: translateX(0);
}
.mobile-drawer-header {
    padding: 24px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}
.mobile-drawer-user {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mobile-drawer-user strong {
    display: block;
    font-size: 16px;
}
.mobile-drawer-user small {
    display: block;
    font-size: 12px;
    opacity: 0.8;
    margin-top: 2px;
}
.mobile-drawer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.mobile-drawer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mobile-drawer-avatar i {
    font-size: 20px;
    color: #fff;
}
.mobile-drawer-guest h3 {
    font-size: 22px;
    margin-bottom: 4px;
}
.mobile-drawer-guest p {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 16px;
}
.mobile-drawer-nav {
    padding: 12px 0;
}
.mobile-drawer-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--gray-800);
    font-size: 15px;
    font-weight: 500;
    transition: background 0.15s;
}
.mobile-drawer-nav a:active {
    background: var(--gray-100);
}
.mobile-drawer-nav a i {
    width: 22px;
    text-align: center;
    font-size: 17px;
    color: var(--gray-600);
}
.mobile-drawer-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 4px 0;
}
.mobile-drawer-categories {
    padding: 12px 0;
}
.mobile-drawer-categories h4 {
    padding: 8px 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
}
.mobile-drawer-categories a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--gray-800);
    font-size: 14px;
    transition: background 0.15s;
}
.mobile-drawer-categories a:active {
    background: var(--gray-100);
}
.drawer-cat-icon {
    width: 28px;
    text-align: center;
    font-size: 16px;
}
.mobile-drawer-footer {
    padding: 12px 0;
}
.drawer-logout {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--primary) !important;
    font-size: 15px;
    font-weight: 500;
}
.drawer-logout i {
    font-size: 17px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .listings-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-app-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .product-detail {
        grid-template-columns: 1fr;
    }
    .search-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 56px;
    }
    body {
        padding-bottom: 70px;
    }
    .header-inner {
        gap: 8px;
    }
    .mobile-hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .logo {
        font-size: 22px;
    }
    .location-selector {
        display: none;
    }
    .header-actions .btn-ghost {
        display: none;
    }
    .header-actions .btn-sell {
        display: none;
    }
    .search-box {
        display: none;
    }
    .header-inner {
        flex-wrap: nowrap;
    }
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    .category-nav {
        display: none;
    }
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .footer-app-badges {
        flex-direction: column;
    }
    .hero-banner .banner-slide {
        padding: 20px;
        min-height: 140px;
    }
    .banner-slide h2 {
        font-size: 18px;
    }
    .banner-slide div:last-child {
        font-size: 40px !important;
    }
    .mega-menu-grid {
        grid-template-columns: 1fr;
    }
    .mega-menu-subcategories {
        display: none;
    }
    .plus-section {
        padding: 16px;
    }
    /* Mobile Search Fullscreen */
    .search-box.mobile-search-active {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10002;
        background: #fff;
        border-radius: 0;
        border: none;
        padding: 12px 16px;
        padding-left: 48px;
        max-width: 100%;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
    }
    .search-box.mobile-search-active .search-icon {
        display: none;
    }
    .search-box.mobile-search-active .mobile-search-close {
        display: flex;
    }
    .search-box.mobile-search-active #searchInput {
        font-size: 16px;
        padding: 14px 0;
        border-bottom: 1px solid var(--gray-200);
    }
    .search-box.mobile-search-active .search-dropdown {
        position: relative;
        top: 0;
        left: 0;
        box-shadow: none;
        border: none;
        display: block !important;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        width: 100%;
    }
    /* Listing cards native look */
    .listing-card {
        border-radius: var(--radius-md);
        box-shadow: none;
        border: 1px solid var(--gray-200);
    }
    .listing-card:active {
        transform: scale(0.98);
        transition: transform 0.1s;
    }
    /* Product detail mobile */
    .product-gallery {
        border-radius: 0;
        margin: -16px -16px 16px;
    }
    .product-right {
        position: static !important;
    }
    /* Footer hide on mobile (bottom nav replaces) */
    .site-footer {
        padding-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    .listing-card-info {
        padding: 8px;
    }
    .listing-card-price {
        font-size: 14px;
    }
    .listing-card-title {
        font-size: 11px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .trend-category-icon {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }
    .trend-category-item span {
        font-size: 10px;
    }
    .container {
        padding: 0 12px;
    }
    .hero-banner .banner-slide {
        padding: 16px;
        min-height: 120px;
    }
    .banner-slide h2 {
        font-size: 16px;
    }
    .mobile-nav-sell-btn {
        width: 44px;
        height: 44px;
        margin-top: -20px;
    }
}

/* === Verify Code Input === */
.verify-code-input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: var(--dark);
    background: var(--gray-100);
}
.verify-code-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
    background: #fff;
}
.verify-code-input:not(:placeholder-shown) {
    border-color: #667eea;
    background: #fff;
}

/* === TOUCH-FRIENDLY & NATIVE FEEL === */
@media (max-width: 768px) {
    /* Touch targets minimum size */
    .btn, button, a.btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    /* Tap highlight */
    a, button {
        -webkit-tap-highlight-color: rgba(255, 63, 85, 0.08);
    }
    /* Active press states */
    .btn:active {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    /* Smooth scroll */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    /* Prevent overscroll bounce */
    body {
        overscroll-behavior-y: contain;
    }
    /* Safe area for notched phones */
    .header {
        padding-top: env(safe-area-inset-top);
    }
    .mobile-bottom-nav {
        padding-bottom: calc(6px + env(safe-area-inset-bottom));
    }
    /* Native-like scrollbar hide */
    .category-nav-inner::-webkit-scrollbar,
    .trend-categories::-webkit-scrollbar,
    .plus-listings-scroll::-webkit-scrollbar {
        display: none;
    }
    /* Prevent text selection on interactive elements */
    .mobile-bottom-nav, .mobile-drawer, .btn {
        -webkit-user-select: none;
        user-select: none;
    }
    /* Container full width on mobile */
    .main-content > .container {
        padding: 0 12px;
    }
    /* Section titles tighter */
    .section-title {
        font-size: 18px;
    }
    /* Empty states */
    .empty-state {
        padding: 40px 20px;
    }
}

/* ========================================
   HEADER DESIGN VARIANTS
   ======================================== */

/* Design: Minimal - Slim single line, no category nav */
.header-design-minimal .header {
    height: 52px;
    border-bottom: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.header-design-minimal .header-inner {
    gap: 12px;
}
.header-design-minimal .logo {
    font-size: 24px;
}
.header-design-minimal .search-box {
    max-width: 520px;
}
.header-design-minimal .search-box input {
    padding: 8px 14px 8px 36px;
    font-size: 13px;
    border-radius: 20px;
    background: #f5f5f5;
    border: none;
}
.header-design-minimal .search-box input:focus {
    background: #fff;
    border: 1.5px solid var(--primary);
}
.header-design-minimal .location-selector {
    display: none;
}
.header-design-minimal .category-nav {
    display: none;
}
.header-design-minimal .btn-sell {
    padding: 6px 14px;
    font-size: 13px;
}
.header-design-minimal .header-actions .btn-ghost {
    padding: 4px 8px;
}

/* Design: Centered Logo - Logo centered, search below */
.header-design-centered .header {
    height: auto;
    padding-bottom: 0;
}
.header-design-centered .header-inner {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 0;
    gap: 0;
}
.header-design-centered .mobile-hamburger {
    order: 1;
}
.header-design-centered .logo {
    order: 2;
    flex: 1;
    text-align: center;
    font-size: 28px;
}
.header-design-centered .search-box {
    order: 5;
    max-width: 100%;
    width: 100%;
    margin-top: 8px;
    padding-bottom: 10px;
}
.header-design-centered .location-selector {
    order: 3;
    display: none;
}
.header-design-centered .header-actions {
    order: 4;
    gap: 6px;
}
.header-design-centered .header-actions .btn-ghost:not(.btn-icon-header) {
    display: none;
}
.header-design-centered .category-nav {
    border-top: 1px solid var(--gray-200);
}

/* Design: Dark Theme */
.header-design-dark .header {
    background: #1a1a2e;
    border-bottom: 1px solid #2a2a4e;
}
.header-design-dark .logo a {
    background: linear-gradient(135deg, #e94560, #ff6b8a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.header-design-dark .search-box input {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
}
.header-design-dark .search-box input::placeholder {
    color: rgba(255,255,255,0.4);
}
.header-design-dark .search-box input:focus {
    background: rgba(255,255,255,0.12);
    border-color: #e94560;
}
.header-design-dark .search-icon {
    color: rgba(255,255,255,0.4) !important;
}
.header-design-dark .header-actions .btn-ghost {
    color: rgba(255,255,255,0.8);
}
.header-design-dark .header-actions .btn-ghost:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}
.header-design-dark .btn-sell {
    background: #e94560;
}
.header-design-dark .btn-sell:hover {
    background: #d63851;
}
.header-design-dark .location-selector {
    color: rgba(255,255,255,0.7);
    border-color: rgba(255,255,255,0.15);
}
.header-design-dark .location-selector:hover {
    background: rgba(255,255,255,0.08);
}
.header-design-dark .category-nav {
    background: #16213e;
    border-bottom: 1px solid #2a2a4e;
}
.header-design-dark .category-nav-item {
    color: rgba(255,255,255,0.7);
}
.header-design-dark .category-nav-item:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.header-design-dark .category-nav-item.all-categories {
    color: #fff;
    background: rgba(255,255,255,0.1);
}
.header-design-dark .notification-bell-wrap .btn-ghost {
    color: rgba(255,255,255,0.8);
}
.header-design-dark .mobile-hamburger {
    color: rgba(255,255,255,0.8);
}

/* ========================================
   PROFILE DROPDOWN
   ======================================== */
.profile-dropdown-wrap {
    position: relative;
}
.header-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .2s;
}
.header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.header-avatar span {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}
.profile-trigger:hover .header-avatar,
.profile-dropdown-wrap.open .header-avatar {
    border-color: var(--accent);
}
.profile-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 300px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 9999;
    overflow: hidden;
    animation: profileDDFadeIn .2s ease;
}
.profile-dropdown-wrap.open .profile-dropdown {
    display: block;
}
@keyframes profileDDFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.profile-dd-header {
    background: linear-gradient(135deg, #ffc107, #ffca28);
    padding: 20px 16px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}
.profile-dd-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    flex-shrink: 0;
    background: #fff;
}
.profile-dd-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-dd-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 20px;
}
.profile-dd-info {
    flex: 1;
    min-width: 0;
}
.profile-dd-info strong {
    display: block;
    font-size: 15px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.profile-dd-info small {
    font-size: 12px;
    color: rgba(0,0,0,0.5);
}
.profile-dd-edit {
    font-size: 12px;
    color: #333;
    background: rgba(255,255,255,0.7);
    padding: 4px 10px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: background .15s;
}
.profile-dd-edit:hover {
    background: rgba(255,255,255,0.95);
}
.profile-dd-menu {
    padding: 8px 0;
    max-height: 320px;
    overflow-y: auto;
}
.profile-dd-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: background .12s;
}
.profile-dd-menu a:hover {
    background: #f5f5f5;
}
.profile-dd-menu a i {
    width: 20px;
    text-align: center;
    font-size: 15px;
    color: #666;
}
.profile-dd-logout {
    color: #e53935 !important;
}
.profile-dd-logout i {
    color: #e53935 !important;
}
.profile-dd-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 6px 16px;
}
