/* 
   mobiling.pk Global Stylesheet
   Premium Day Mode Design System
   Fonts: Outfit (Headings), Inter (Body)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Dynamic RGB Component Values for Alpha Transparency Layering */
    --primary-rgb: 239, 68, 68;     /* Red ef4444 (brand red) */
    --accent-rgb: 79, 70, 229;      /* Indigo-600 */
    --danger-rgb: 244, 63, 94;      /* Rose-500 */
    --success-rgb: 22, 163, 74;     /* Green-600 */
    --warning-rgb: 217, 119, 6;     /* Orange-600 */

    /* Color Palette */
    --primary: rgb(var(--primary-rgb));
    --primary-hover: #dc2626;       /* Red-600 */
    --primary-light: rgba(var(--primary-rgb), 0.05);
    --primary-gradient: linear-gradient(135deg, #ef4444 0%, #cc0000 100%);
    --primary-gradient-hover: linear-gradient(135deg, #dc2626 0%, #b20000 100%);
    
    --secondary: #0f172a;           /* Dark slate for headings/text */
    --accent: rgb(var(--accent-rgb));
    --accent-hover: #4338ca;        /* Indigo-700 */
    --accent-light: rgba(var(--accent-rgb), 0.05);
    --danger: rgb(var(--danger-rgb));
    --danger-hover: #e11d48;        /* Rose-600 */
    --danger-light: rgba(var(--danger-rgb), 0.05);
    --success: rgb(var(--success-rgb));
    --success-hover: #15803d;       /* Green-700 */
    --success-light: rgba(var(--success-rgb), 0.05);
    --warning: rgb(var(--warning-rgb));
    --warning-hover: #b45309;       /* Orange-700 */
    --warning-light: rgba(var(--warning-rgb), 0.05);
    
    /* Neutral Shades - Premium Light Mode Theme */
    --background: #f8fafc;          /* Slate-50 background */
    --surface: #ffffff;             /* Pure white card backgrounds */
    --surface-card: #f1f5f9;        /* Light slate-100 inputs/inner panels */
    --text-primary: #0f172a;        /* Slate-900 for high-contrast primary text */
    --text-secondary: #475569;      /* Slate-600 for secondary text */
    --text-muted: #64748b;          /* Slate-500 for helper/muted text */
    --border: rgba(15, 23, 42, 0.08); /* Clean light border */
    --border-hover: rgba(15, 23, 42, 0.18);
    
    /* Layout & Shadow constants */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 2px 8px -1px rgba(15, 23, 42, 0.02);
    --shadow-lg: 0 12px 30px -4px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(15, 23, 42, 0.02);
    --shadow-xl: 0 24px 48px -8px rgba(15, 23, 42, 0.1), 0 8px 16px -4px rgba(15, 23, 42, 0.03);
    --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1); /* Snappy transitions */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}



h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--secondary);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
}

/* Page Wrapper */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 9990;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.02);
}

.logo span {
    color: var(--secondary);
}

.logo svg {
    width: 34px;
    height: 34px;
    fill: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

/* Navigation Link Dropdowns */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    z-index: 1000;
    display: none;
    min-width: 180px;
    padding: 8px 0;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: left;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent var(--border) transparent;
}

.nav-dropdown-menu::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent var(--surface) transparent;
}

.nav-dropdown-menu a {
    display: block !important;
    width: 100% !important;
    padding: 8px 16px !important;
    font-size: 13.5px !important;
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    transition: var(--transition) !important;
}

.nav-dropdown-menu a::after {
    display: none !important;
}

.nav-dropdown-menu a:hover {
    background-color: var(--background) !important;
    color: var(--primary) !important;
    padding-left: 20px !important;
}

/* Automatic Dropdown on Hover */
.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .nav-dropdown-trigger .chevron-icon {
    transform: rotate(180deg);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.btn-secondary {
    background-color: var(--primary-light);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: #dbeafe;
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--text-muted);
    background-color: rgba(0, 0, 0, 0.02);
}

.btn-danger {
    background-color: var(--danger);
    color: #fff;
}

.btn-danger:hover {
    background-color: var(--danger-hover);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: var(--radius-sm);
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at 90% 10%, #fff2f2 0%, #f8fafc 65%, #eff6ff 100%);
    background-image: radial-gradient(circle at 90% 10%, #fff2f2 0%, #f8fafc 65%, #eff6ff 100%), radial-gradient(rgba(220, 38, 38, 0.02) 1px, transparent 0);
    background-size: 100% 100%, 24px 24px;
    padding: 60px 24px 110px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to top, var(--background), transparent);
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Premium Hero Pill Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background-color: rgba(220, 38, 38, 0.05);
    border: 1px solid rgba(220, 38, 38, 0.15);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.02);
    animation: heroBadgeFloat 4s ease-in-out infinite;
}

@keyframes heroBadgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.hero-badge-icon {
    font-size: 13px;
}

.hero-badge-text {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'Outfit', sans-serif;
}

.hero h1 {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--secondary);
    letter-spacing: -1.8px;
    text-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
    font-family: 'Outfit', sans-serif;
}

/* Premium Logo Container Badge */
.hero-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
    margin-left: 6px;
    vertical-align: middle;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-logo-badge:hover {
    transform: scale(1.05) rotate(1deg);
}

.hero-logo-badge img {
    height: 38px;
    object-fit: contain;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #f43f5e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.hero p {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 45px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

/* Search Bar Home */
.search-container {
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px;
    border-radius: 9999px;
    box-shadow: 0 15px 40px -10px rgba(15, 23, 42, 0.06);
    display: flex;
    max-width: 720px;
    margin: 0 auto;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.search-container:focus-within {
    border-color: var(--primary) !important;
    box-shadow: 0 24px 50px -10px rgba(var(--primary-rgb), 0.18), 0 0 0 5px rgba(var(--primary-rgb), 0.08) !important;
    transform: translateY(-2px);
}

.search-field {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 14px;
}

.search-field svg {
    color: var(--text-muted);
    width: 22px;
    height: 22px;
}

.search-field input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    color: var(--text-primary);
    background: transparent;
}

.search-container button {
    padding: 16px 38px;
    font-size: 15px;
    font-weight: 800;
    border-radius: 9999px;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.3);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Trending Searches Quick Tags */
.quick-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.quick-tags-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
}

.quick-tag-btn {
    background-color: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border);
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-primary);
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-tag-btn:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    border-color: rgba(220, 38, 38, 0.25);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 15px -3px rgba(220, 38, 38, 0.12);
}

.quick-tag-btn:active {
    transform: scale(0.96) translateY(0);
}

/* Formal Staggered Entrance Animation Delays */
.delay-1 { animation-delay: 0.08s !important; }
.delay-2 { animation-delay: 0.18s !important; }
.delay-3 { animation-delay: 0.28s !important; }
.delay-4 { animation-delay: 0.38s !important; }

/* Brands Grid */
.brands-section {
    max-width: 1200px;
    margin: -60px auto 70px auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.brands-container {
    background-color: var(--surface);
    border-radius: var(--radius-lg);
    padding: 45px;
    box-shadow: 0 20px 50px -15px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary);
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 15.5px;
    margin-bottom: 36px;
    line-height: 1.6;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
    justify-content: center;
}

.brand-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.brand-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    background-color: var(--surface);
    box-shadow: 0 12px 30px -8px rgba(220, 38, 38, 0.22);
}

.brand-logo-wrapper {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: var(--transition);
}

.brand-card:hover .brand-logo-wrapper {
    transform: scale(1.1);
}

.brand-logo-wrapper svg,
.brand-logo-wrapper img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin: auto;
    display: block;
}

.brand-card span {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

/* Buying Instructions Section */
.instructions-section {
    background-color: var(--surface);
    padding: 90px 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.instructions-container {
    max-width: 1200px;
    margin: 0 auto;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.instruction-card {
    padding: 35px;
    border-radius: var(--radius-lg);
    background-color: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.instruction-card:hover {
    box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.08), 0 0 25px rgba(220, 38, 38, 0.05);
    border-color: rgba(220, 38, 38, 0.15);
    transform: translateY(-8px);
}

.instruction-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(220, 38, 38, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
}

.instruction-icon svg {
    width: 26px;
    height: 26px;
}

.instruction-card h3 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.instruction-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Popular Smartphone Comparisons */
.home-comparisons-section {
    background-color: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 85px 0;
    position: relative;
}

.home-comparisons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.home-comparison-card {
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 35px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.home-comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(220, 38, 38, 0.15);
}

.home-comparison-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
}

.home-comparison-vs {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-muted);
    transition: var(--transition);
}

.home-comparison-card:hover .home-comparison-vs {
    color: var(--primary);
    transform: rotate(360deg);
}

/* Vetting Blog & Technical Advice */
.home-blog-section {
    border-top: 1px solid var(--border);
    padding: 85px 0;
    background-color: var(--background);
}

.home-blog-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 45px;
    flex-wrap: wrap;
    gap: 20px;
}

.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

.home-blog-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.home-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
    border-color: rgba(220, 38, 38, 0.12);
}

.home-blog-img-container {
    height: 180px;
    overflow: hidden;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.home-blog-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.home-blog-card:hover .home-blog-img-container img {
    transform: scale(1.08);
}

.home-blog-card-body {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* App Download Section */
.app-section {
    padding: 30px 24px;
}

.app-container-inner {
    max-width: 650px;
    margin: 0 auto;
    background: #f1f5f9;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 30px;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.app-content {
    width: 100%;
    z-index: 2;
}

.app-content h2 {
    color: var(--secondary) !important;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.app-content p {
    color: var(--text-secondary) !important;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.5;
}

/* Modern Action Buttons */
.cta-action-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.btn-modern-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.btn-modern-cta svg {
    width: 16px;
    height: 16px;
}

.btn-buy-cta {
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
}

.btn-buy-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-sell-cta {
    background: transparent !important;
    color: var(--primary) !important;
    border: 2px solid var(--primary) !important;
}

.btn-sell-cta:hover {
    transform: translateY(-2px) !important;
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.25) !important;
}

/* Responsive QR Code & Install Button styling */
.app-qr-desktop {
    display: block;
}
.app-install-mobile {
    display: none;
}

@media (max-width: 768px) {
    .app-qr-desktop {
        display: none;
    }
    .app-install-mobile {
        display: block;
    }
}

/* Brand Models Drawer Dynamic Slide Down */
#models-drawer {
    animation: drawerSlideDown 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes drawerSlideDown {
    from { 
        opacity: 0; 
        transform: translateY(-12px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.phone-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
}

.phone-txt {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.phone-line {
    height: 5px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    width: 75%;
}

.phone-line-sm {
    height: 4px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    width: 45%;
}

/* Footer styling */
footer {
    background-color: #0b0f19;
    color: #94a3b8;
    padding: 80px 24px 30px 24px;
    border-top: 1px solid #111827;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand img {
    filter: brightness(1.2);
    transition: var(--transition);
}

.footer-brand img:hover {
    transform: scale(1.02);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: #94a3b8;
    margin-top: 16px;
}

.footer-links h3 {
    color: #f3f4f6;
    font-size: 16px;
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    font-size: 14px;
    color: #94a3b8;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid #111827;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: #94a3b8;
    padding-right: 80px; /* Default right padding to clear scroll-to-top button */
}

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-right: 0; /* Center properly on mobile devices without off-center padding */
    }
}

/* Forms (Login / Register / Add Listing) */
.form-container {
    max-width: 480px;
    margin: 50px auto;
    background-color: var(--surface);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.form-title {
    font-size: 26px;
    text-align: center;
    margin-bottom: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    outline: none;
    font-size: 14px;
    background-color: var(--background);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-danger {
    background-color: var(--danger-light);
    color: var(--danger);
    border: 1px solid rgba(var(--danger-rgb), 0.2);
}

.alert-success {
    background-color: var(--success-light);
    color: var(--success);
    border: 1px solid rgba(var(--success-rgb), 0.2);
}

/* Browse Page styling */
.browse-layout {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.filter-sidebar {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    height: fit-content;
    box-shadow: var(--shadow-sm);
}

.filter-group {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-group h3 {
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--secondary);
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
}

.filter-item input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.listings-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.listings-header h2 {
    font-size: 22px;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.listing-card {
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background-color: var(--surface);
    overflow: hidden;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.02);
}

.listing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 10px 10px -5px rgba(15, 23, 42, 0.03);
    border-color: rgba(220, 38, 38, 0.2);
}

.listing-badge,
.badge-condition {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.badge-featured-label {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.2);
}

.listing-image-wrapper,
.listing-image-container {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fdfbfb 0%, #f4f6f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.listing-image-wrapper img,
.listing-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.listing-card:hover .listing-image-wrapper img,
.listing-card:hover .listing-image-container img {
    transform: scale(1.06);
}

.listing-card.featured-card {
    border: 1.5px solid #f59e0b !important;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.08) !important;
    background: linear-gradient(to bottom, #fffdfa, #ffffff) !important;
}

.listing-card.featured-card:hover {
    box-shadow: 0 20px 25px -5px rgba(245, 158, 11, 0.15), 0 10px 10px -5px rgba(245, 158, 11, 0.05) !important;
    border-color: #f59e0b !important;
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.listing-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 8px;
}

.listing-card-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    height: 40px;
}

.listing-card-price {
    font-size: 20px;
    font-weight: 950;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
    line-height: 1;
}

.listing-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

.specs-row-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 4px 0;
}

.spec-chip-mini {
    font-size: 11px;
    font-weight: 700;
    background-color: #f1f5f9;
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(15, 23, 42, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.listing-card-footer {
    padding: 14px 20px;
    background-color: transparent;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.listing-card-footer svg {
    width: 14px;
    height: 14px;
    color: var(--primary);
}

/* Listings Detail Page */
.detail-layout {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 24px;
    overflow-x: hidden;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 992px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.main-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 20px;
}

.main-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.main-image-container:hover img {
    transform: scale(1.02);
}

/* Float overlay badges on main image */
.image-overlay-badge-left {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 15;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.image-overlay-badge-right {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 15;
}

.image-overlay-badge-bottom-left {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 15;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    opacity: 0;
}

.main-image-container:hover .gallery-nav-btn {
    opacity: 1;
}

.gallery-nav-btn:hover {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.25);
}

.gallery-nav-btn.prev-btn {
    left: 20px;
}

.gallery-nav-btn.next-btn {
    right: 20px;
}

.gallery-zoom-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 12;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    opacity: 0;
}

.main-image-container:hover .gallery-zoom-btn {
    opacity: 1;
}

.gallery-zoom-btn:hover {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: scale(1.08);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.25);
}

.thumbnail-row {
    margin-top: 20px;
    gap: 12px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.thumbnail {
    width: 90px;
    height: 68px;
    border-radius: 12px;
    border: 2px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: var(--surface);
    padding: 3px;
    box-shadow: var(--shadow-sm);
}

.thumbnail:hover, .thumbnail.active {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.thumbnail.active {
    background-color: rgba(220, 38, 38, 0.02);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.detail-info {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.04);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-id {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    background-color: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
    width: fit-content;
}

.status-pill {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    width: fit-content;
}

.status-pill.approved {
    background-color: #ecfdf5;
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.status-pill.pending {
    background-color: #fffbeb;
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.detail-params {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    border: none;
    padding: 10px 0;
}

.param-item {
    background-color: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.param-item:hover {
    background-color: #ffffff;
    border-color: rgba(var(--primary-rgb), 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(15, 23, 42, 0.06);
}

.param-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.param-val {
    font-weight: 800;
    font-size: 15.5px;
    color: var(--secondary);
    font-family: 'Outfit', sans-serif;
}

.seller-box {
    border-top: none;
    border: 1px solid var(--border);
    border-radius: 20px;
    background-color: #ffffff;
    padding: 24px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.02);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.seller-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
}

.seller-box:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 23, 42, 0.12);
}

.btn-call-seller {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-call-seller:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

/* Lightbox Modal */
.zoom-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zoom-lightbox.active {
    display: flex;
    opacity: 1;
}

.zoom-lightbox-content {
    position: relative;
    max-width: 85%;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.zoom-lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    cursor: zoom-in;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.zoom-lightbox-close {
    position: absolute;
    top: -55px;
    right: -20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s;
}

.zoom-lightbox-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.zoom-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zoom-lightbox-nav:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.08);
}

.zoom-lightbox-nav.prev {
    left: -80px;
}

.zoom-lightbox-nav.next {
    right: -80px;
}

@media (max-width: 1024px) {
    .zoom-lightbox-nav.prev { left: 15px; background-color: rgba(15, 23, 42, 0.7); }
    .zoom-lightbox-nav.next { right: 15px; background-color: rgba(15, 23, 42, 0.7); }
    .zoom-lightbox-close { top: 15px; right: 20px; z-index: 100001; }
}

/* Map Card */
.osm-container {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.03);
    margin-top: 40px;
}

.osm-map-wrapper {
    height: 350px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-top: 16px;
}

/* Specs Details Table Styling */
.specs-table-detail {
    width: 100%;
    font-size: 13.5px;
    border-collapse: collapse;
}

.specs-table-detail tr {
    border-bottom: 1px solid var(--border);
    transition: background-color 0.2s ease;
}

.specs-table-detail tr:hover {
    background-color: #f8fafc;
}

.specs-table-detail tr:last-child {
    border-bottom: none;
}

.specs-table-detail td {
    padding: 12px 16px;
    vertical-align: middle;
}

.specs-table-detail td.spec-key {
    font-weight: 700;
    color: var(--text-secondary);
    width: 38%;
    background-color: #f8fafc;
}

.specs-table-detail td.spec-val {
    color: var(--secondary);
    width: 62%;
    font-weight: 600;
}

/* Related Listings Section Card Grid styling */
.related-listings-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 250, 252, 0.8) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px 35px;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.03);
    margin-top: 40px;
}

/* Specs Browser Tab */
.specs-layout {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 24px;
}

.specs-search-box {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 16px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.specs-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition);
}

.specs-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.specs-card-title {
    font-size: 18px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}

.specs-table {
    font-size: 13px;
    width: 100%;
}

.specs-table tr {
    border-bottom: 1px solid #f1f5f9;
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 6px 0;
}

.specs-table td:first-child {
    color: var(--text-secondary);
    font-weight: 500;
    width: 100px;
}

.specs-table td:last-child {
    font-weight: 600;
    color: var(--secondary);
}

/* Chat Module Layout */
.chat-layout {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
    height: calc(100vh - 160px);
    min-height: 500px;
}

.chat-sidebar {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.chat-threads {
    flex-grow: 1;
    overflow-y: auto;
}

.chat-thread-item {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chat-thread-item:hover,
.chat-thread-item.active {
    background-color: var(--primary-light);
}

.chat-thread-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--secondary);
}

.chat-thread-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-thread-meta {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-muted);
}

.chat-window {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-window-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-messages {
    flex-grow: 1;
    padding: 24px;
    overflow-y: auto;
    background-color: var(--background);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-bubble {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    position: relative;
}

.chat-bubble.sent {
    background-color: var(--primary);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-bubble.received {
    background-color: #fff;
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.chat-bubble-time {
    font-size: 9px;
    margin-top: 4px;
    text-align: right;
    opacity: 0.8;
}

.chat-window-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    background-color: #fff;
}

.chat-form {
    display: flex;
    gap: 12px;
}

/* Empty placeholder inside chats */
.chat-empty {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    gap: 16px;
    background-color: var(--background);
}

.chat-empty svg {
    width: 64px;
    height: 64px;
    stroke-width: 1;
}

/* Dropdown brand select model flow in Add Listing */
.brand-select-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Leaflet marker customization styling */
.leaflet-popup-content-wrapper {
    border-radius: var(--radius-sm) !important;
    font-family: 'Inter', sans-serif;
    font-size: 13px !important;
}

.leaflet-popup-tip {
    background: white !important;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
    .browse-layout,
    .detail-grid,
    .chat-layout {
        grid-template-columns: 1fr;
    }
    
    body.page-chat footer {
        display: none !important;
    }

    .chat-layout {
        height: calc(100vh - 72px) !important;
        height: calc(100dvh - 72px) !important;
        min-height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
        gap: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Hide active thread panel or list pane based on navigation state */
    .chat-layout:not(.has-active-thread) .chat-sidebar {
        display: flex !important;
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    
    .chat-layout:not(.has-active-thread) .chat-threads {
        overflow-y: auto !important;
        max-height: none !important;
        height: 100% !important;
        padding: 10px !important;
    }
    
    .chat-layout:not(.has-active-thread) .chat-window {
        display: none !important;
    }
    
    .chat-layout.has-active-thread .chat-sidebar {
        display: none !important;
    }
    
    .chat-layout.has-active-thread .chat-window {
        display: flex !important;
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    
    .chat-mobile-back-btn {
        /* display controlled by JS */
    }
    
    .chat-window-header {
        padding: 12px 16px !important;
    }
    
    .chat-mini-ad-bar {
        padding: 8px 12px !important;
        margin-top: 8px !important;
        font-size: 12px !important;
    }
    
    .chat-messages {
        height: auto !important;
        min-height: 0 !important;
        padding: 14px 12px !important;
        gap: 4px !important;
        overflow-y: auto !important;
        flex-grow: 1 !important;
        flex-shrink: 1 !important;
    }

    .chat-bubble {
        max-width: 78% !important;
        padding: 7px 11px 5px !important;
        font-size: 13px !important;
    }
    
    .chat-window-footer {
        padding: 8px 12px !important;
    }
    
    .chat-form {
        gap: 8px !important;
    }
    
    .chat-form input {
        padding: 11px 16px !important;
        font-size: 14px !important;
    }
    
    .chat-form button {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
    }
    
    .app-container-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .app-badges {
        justify-content: center;
    }
    
    .app-mockup {
        height: 250px;
    }
    
    .phone-frame {
        bottom: -150px;
    }
}

@media (max-width: 600px) {
    .header-container {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 12px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .search-container {
        flex-direction: column;
        border-radius: var(--radius-md);
        gap: 8px;
    }
    
    .search-container button {
        width: 100%;
    }
}

/* Header User Dropdown */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.dropdown-trigger:hover {
    color: var(--primary);
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.dropdown-trigger .chevron-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-dropdown:hover .dropdown-trigger .chevron-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 16px -6px rgba(0, 0, 0, 0.03);
    width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s;
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 550;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

.dropdown-menu a:hover svg {
    color: var(--primary);
}

.dropdown-menu a.logout-link:hover {
    background-color: var(--danger-light);
    color: var(--danger);
}

.dropdown-menu a.logout-link:hover svg {
    color: var(--danger);
}

/* Dashboard Page Layout */
.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    padding: 40px 24px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.dashboard-sidebar {
    position: relative;
    z-index: 50;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    height: fit-content;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.user-profile-summary {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.user-profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 16px auto;
}

.user-profile-summary h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.user-profile-summary p {
    font-size: 13px;
    color: var(--text-secondary);
}

.dashboard-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dashboard-nav-item {
    position: relative;
    z-index: 60;
    pointer-events: auto !important;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    transition: var(--transition);
}

.dashboard-nav-item svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.dashboard-nav-item:hover,
.dashboard-nav-item.active {
    color: var(--primary);
    background-color: var(--primary-light);
}

.dashboard-nav-item:hover svg,
.dashboard-nav-item.active svg {
    color: var(--primary);
}

.dashboard-content-panel {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    min-height: 500px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-header {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}

.panel-header h2 {
    font-size: 22px;
    color: var(--secondary);
}

/* User Listings Grid & Cards */
.user-listings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.user-listing-card {
    display: flex;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--surface);
    transition: var(--transition);
    position: relative;
}

.user-listing-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--text-muted);
}

.user-listing-img {
    width: 160px;
    height: 120px;
    object-fit: cover;
    background-color: #cbd5e1;
    flex-shrink: 0;
}

.user-listing-details {
    flex-grow: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.user-listing-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.user-listing-title-row h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.user-listing-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.user-listing-meta {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    gap: 12px;
    align-items: center;
}

.user-listing-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-approved {
    background-color: var(--success-light);
    color: var(--success);
    border: 1px solid rgba(var(--success-rgb), 0.2);
}

.badge-pending {
    background-color: var(--warning-light);
    color: var(--warning);
    border: 1px solid rgba(var(--warning-rgb), 0.25);
}

.badge-disapproved {
    background-color: var(--danger-light);
    color: var(--danger);
    border: 1px solid rgba(var(--danger-rgb), 0.2);
}

.badge-sold {
    background-color: #f3f4f6;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.badge-new {
    background-color: #ecfdf5;
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-open {
    background-color: #f0f9ff;
    color: #0284c7;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.badge-gently {
    background-color: #fffbeb;
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-heavily {
    background-color: #f8fafc;
    color: #475569;
    border: 1px solid rgba(100, 116, 139, 0.2);
}

/* Form layouts in dashboard */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 900px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-form-section {
    background-color: var(--background);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    height: fit-content;
}

.dashboard-form-section h3 {
    font-size: 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.dashboard-form-section h3 svg {
    color: var(--primary);
}

.edit-listing-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.edit-listing-preview-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 1;
}

.edit-listing-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.edit-listing-preview-delete {
    position: absolute;
    top: 4px;
    right: 4px;
    background-color: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.edit-listing-preview-delete:hover {
    background-color: var(--danger-hover);
}

/* Mobile Sidebar Drawer Overlay Styling */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Mobile Sidebar Drawer Navigation Panel */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -280px;
    bottom: 0;
    width: 280px;
    background-color: var(--surface);
    box-shadow: var(--shadow-xl);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid var(--border);
}

.mobile-drawer.open {
    transform: translateX(280px);
}

.drawer-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: var(--transition);
}

.drawer-close:hover {
    color: var(--danger);
}

.drawer-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer-profile-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--background);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.drawer-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.drawer-profile-info {
    min-width: 0;
}

.drawer-profile-info h4 {
    font-size: 14px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-profile-info p {
    font-size: 11px;
    color: var(--text-secondary);
    margin: 2px 0 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.drawer-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.drawer-nav a:hover,
.drawer-nav a.active {
    color: var(--primary);
    background-color: var(--primary-light);
}

/* Acrylic Glassmorphism Bottom Floating Navigation Bar */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    display: none;
    justify-content: space-around;
    align-items: center;
    z-index: 9998;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05) !important;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #64748b !important;
    font-size: 10px;
    font-weight: 600;
    flex-grow: 1;
    height: 100%;
    transition: none;
}

.bottom-nav-item svg {
    color: #64748b !important;
    transition: none;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: var(--primary) !important;
}

.bottom-nav-item:hover svg,
.bottom-nav-item.active svg {
    color: var(--primary) !important;
    transform: none;
}

.mobile-hamburger-btn {
    background: none;
    border: none;
    padding: 6px;
    display: none; /* hidden on desktop */
    cursor: pointer;
    color: var(--text-primary);
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}

.mobile-hamburger-btn:hover {
    color: var(--primary);
    background-color: var(--primary-light);
}

.mobile-hamburger-btn svg {
    width: 24px;
    height: 24px;
}

/* Responsive media queries adjustments for mobile screens */
@media (max-width: 768px) {
    .nav-links, 
    .nav-actions .btn, 
    .nav-actions .user-dropdown {
        display: none !important;
    }
    
    .mobile-hamburger-btn {
        display: inline-flex !important;
    }
    
    .mobile-bottom-nav {
        display: flex !important;
    }
    
    body {
        padding-bottom: 70px; /* Make space for floating bottom nav */
    }
    
    .header-container {
        padding: 12px 16px;
    }
    
    body.page-chat {
        padding-bottom: 0 !important;
        overflow: hidden !important;
    }
    
    body.page-chat .chat-layout {
        height: calc(100vh - 116px) !important;
        height: calc(100dvh - 116px) !important;
    }
}

/* ==========================================================================
   Dashboard Modernization & SaaS Cockpit Styles
   ========================================================================== */

.dashboard-stats-cockpit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 35px;
}

.stat-cockpit-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-cockpit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: transparent;
    transition: var(--transition);
}

.stat-cockpit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    border-color: var(--border);
}

.stat-cockpit-card.active-listings:hover::before { background-color: var(--accent); }
.stat-cockpit-card.unread-alerts:hover::before { background-color: var(--primary); }
.stat-cockpit-card.profile-verified:hover::before { background-color: #2563eb; }
.stat-cockpit-card.chat-threads:hover::before { background-color: #7c3aed; }
.stat-cockpit-card.shop-orders:hover::before { background-color: #ec4899; }

.stat-cockpit-info {
    display: flex;
    flex-direction: column;
}

.stat-cockpit-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.stat-cockpit-value {
    font-size: 26px;
    font-weight: 800;
    color: var(--secondary);
    margin-top: 4px;
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-cockpit-desc {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

.stat-cockpit-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.stat-cockpit-card:hover .stat-cockpit-icon {
    transform: scale(1.08);
}

.stat-cockpit-icon.red { background-color: var(--primary-light); color: var(--primary); }
.stat-cockpit-icon.green { background-color: #f0fdf4; color: var(--accent); }
.stat-cockpit-icon.blue { background-color: #eff6ff; color: #2563eb; }
.stat-cockpit-icon.purple { background-color: #faf5ff; color: #7c3aed; }

/* Status dot pulse */
.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    animation: dot-pulse 1.8s infinite;
}

@keyframes dot-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Sidebar upgrades */
.dashboard-sidebar-header-card {
    background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
    color: #fff;
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dashboard-sidebar-header-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.1);
    z-index: 1;
}

.dashboard-sidebar-header-card .user-profile-avatar {
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.dashboard-sidebar-header-card h3 {
    color: #ffffff;
    font-size: 18px;
    margin-top: 12px;
    position: relative;
    z-index: 2;
}

.dashboard-sidebar-header-card p {
    color: #94a3b8;
    font-size: 13px;
    margin-top: 2px;
    position: relative;
    z-index: 2;
}

.dashboard-nav-item {
    position: relative;
    overflow: hidden;
    padding-left: 20px;
}

.dashboard-nav-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 20px;
    background-color: var(--primary);
    border-radius: 0 4px 4px 0;
    transition: var(--transition);
}

.dashboard-nav-item.active::after {
    transform: translateY(-50%) scaleY(1);
}

.dashboard-nav-item.active {
    background-color: var(--primary-light) !important;
    color: var(--primary) !important;
}

.user-listing-card {
    transition: var(--transition);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    overflow: hidden;
}

.user-listing-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border);
}

.user-listing-actions .btn {
    padding: 8px 16px;
    font-size: 12px;
    border-radius: var(--radius-sm);
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬
   Global State-of-the-Art Animations & Micro-Interactions System
   ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢-šÂ¬Ã‚ÂÃƒÂ¢-Å¡Ã‚Â¬ */

/* 1. Page Load Global Slide-up Entrance */
@keyframes globalPageFadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main {
    animation: globalPageFadeInUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* 2. Global Transition Easing System (Smooth Hover states) */
a, button, input, select, textarea, .btn, .card, .listing-card, .brand-card, .home-comparison-card, .home-blog-card, .instruction-card, .model-item-btn {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3. Staggered Grid popped-in entrance animations */
.listings-grid > *, .brands-grid > *, .home-comparisons-grid > *, .home-blog-grid > *, .instructions-grid > * {
    opacity: 0;
    animation: globalPageFadeInUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.listings-grid > *:nth-child(1), .brands-grid > *:nth-child(1), .home-comparisons-grid > *:nth-child(1), .home-blog-grid > *:nth-child(1) { animation-delay: 0.04s; }
.listings-grid > *:nth-child(2), .brands-grid > *:nth-child(2), .home-comparisons-grid > *:nth-child(2), .home-blog-grid > *:nth-child(2) { animation-delay: 0.08s; }
.listings-grid > *:nth-child(3), .brands-grid > *:nth-child(3), .home-comparisons-grid > *:nth-child(3), .home-blog-grid > *:nth-child(3) { animation-delay: 0.12s; }
.listings-grid > *:nth-child(4), .brands-grid > *:nth-child(4), .home-comparisons-grid > *:nth-child(4) { animation-delay: 0.16s; }
.listings-grid > *:nth-child(5), .brands-grid > *:nth-child(5), .home-comparisons-grid > *:nth-child(5) { animation-delay: 0.20s; }
.listings-grid > *:nth-child(6), .brands-grid > *:nth-child(6), .home-comparisons-grid > *:nth-child(6) { animation-delay: 0.24s; }
.listings-grid > *:nth-child(n+7), .brands-grid > *:nth-child(n+7) { animation-delay: 0.28s; }

/* 4. Global Cards Enhanced Hovers */
.listing-card:hover {
    transform: translateY(-8px) scale(1.01) !important;
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.08) !important;
    border-color: rgba(220, 38, 38, 0.25) !important;
}

.brand-card:hover {
    transform: translateY(-6px) scale(1.03) !important;
    box-shadow: 0 16px 30px rgba(220, 38, 38, 0.15) !important;
    border-color: var(--primary) !important;
}

.home-comparison-card:hover, .home-blog-card:hover, .instruction-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08) !important;
    border-color: rgba(220, 38, 38, 0.18) !important;
}

/* 5. Header Navigation Links Underline Micro-Animation */
.nav-links a {
    position: relative;
    padding-bottom: 4px;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
    left: 0;
}

/* 6. Dynamic buttons pulsing shine hover and micro-feedback scale down on click */
.btn-primary:active, .btn-secondary:active, .btn-outline:active, .btn-modern-cta:active {
    transform: scale(0.96) !important;
}

/* 7. Global Staggered Fade-In Slide-Up Animation Utility */
.animate-fade-in {
    opacity: 0;
    animation: fadeInUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 8. Modern Dynamic Brand Models Buttons Style */
.model-item-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px !important;
    background-color: var(--background) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: var(--secondary) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.model-item-btn:hover {
    background-color: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 12px 25px rgba(220, 38, 38, 0.18) !important;
}

/* 9. Hero Section Glowing Backdrop Blobs & Floating Keyframes */
.hero-glow-1 {
    position: absolute;
    top: -10%; left: 5%;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatGlow1 9s ease-in-out infinite;
    z-index: 1;
}

.hero-glow-2 {
    position: absolute;
    bottom: 5%; right: 10%;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatGlow2 9s ease-in-out infinite;
    animation-delay: 2.2s;
    z-index: 1;
}

@keyframes floatGlow1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(35px, 20px) scale(1.18); }
}

@keyframes floatGlow2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-35px, -20px) scale(1.18); }
}

/* -------------------------------------------------------------
   mobiling.pk responsive layouts and word-wrap enhancements
   ------------------------------------------------------------- */

/* Global text breaking to prevent half words or trailing scrollbar overflows */
h1, h2, h3, h4, h5, h6, p, span, a, button, li, td, th {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: normal !important;
}

/* Fix grid layouts minimum bounds to fit smallest viewport widths (>= 320px) */
.home-comparisons-grid, 
.home-blog-grid, 
.specs-grid,
.brands-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
}

/* Ensure key dashboard column panels respect borders without horizontal scroll overflow */
.dashboard-content-panel {
    min-width: 0 !important;
    width: 100% !important;
    overflow-x: hidden !important;
}

/* Collapse brand selection or dynamic filtering dropdown row elements cleanly into columns on mobile viewports */
@media (max-width: 768px) {
    .brand-select-wrapper, 
    .form-row, 
    .search-filter-bar {
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    .brand-select-wrapper > *, 
    .form-row > *, 
    .search-filter-bar > * {
        width: 100% !important;
        margin-right: 0 !important;
    }
}

/* Collapse user dashboard listings card list to column vertical stack on mobile screens under 600px width */
@media (max-width: 600px) {
    .user-listing-card {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 16px !important;
        gap: 16px !important;
    }
    
    .user-listing-img {
        width: 100% !important;
        height: 180px !important;
        border-radius: var(--radius-md) !important;
        object-fit: cover !important;
    }
    
    .user-listing-details {
        padding: 0 !important;
        width: 100% !important;
    }
}

/* 10. Center main header logo perfectly on mobile viewports (< 768px) */
@media (max-width: 768px) {
    .header-container {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    
    .header-container .logo {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 10 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .mobile-hamburger-btn {
        position: relative !important;
        z-index: 15 !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .header-container .nav-actions {
        margin-left: auto !important;
        position: relative !important;
        z-index: 15 !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
}


/* ==========================================================================
   mobiling.pk Premium Chat Room â€“ Professional Day Mode
   ========================================================================== */

/* 1. Chat Layout */
.chat-layout {
    max-width: 1200px !important;
    margin: 40px auto !important;
    gap: 0 !important;
    height: calc(100vh - 120px) !important;
    min-height: 650px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 40px rgba(15, 23, 42, 0.08) !important;
    border: 1px solid #e5e7eb !important;
}

/* 2. Threads Sidebar */
.chat-sidebar {
    background: #ffffff !important;
    border: none !important;
    border-right: 1px solid #e5e7eb !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Sidebar header */
.chat-sidebar-header {
    padding: 14px 18px !important;
    border-bottom: 2px solid var(--primary) !important;
    background: #ffffff !important;
    flex-shrink: 0 !important;
}

.chat-sidebar-header h2 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    font-size: 17px !important;
    letter-spacing: -0.3px !important;
    color: var(--secondary) !important;
    margin: 0 !important;
}

/* Thread list â€“ vertical scroll only, never horizontal */
.chat-threads {
    padding: 0 !important;
    background: #ffffff !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
}

/* â”€â”€ Thread Items â”€â”€ */
.chat-thread-item {
    margin: 0 !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-left: 3px solid transparent !important;
    border-radius: 0 !important;
    padding: 12px 16px 12px 13px !important;
    transition: background 0.13s ease !important;
    background-color: #ffffff !important;
    cursor: pointer !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    min-width: 0 !important;
    display: block !important;
}

.chat-thread-item:hover {
    background-color: #f8fafc !important;
    transform: none !important;
}

.chat-thread-item.active {
    background: #fff8f8 !important;
    border-left-color: var(--primary) !important;
}

/* Thread card info block */
.thread-info-block {
    flex-grow: 1;
    min-width: 0;
    overflow: hidden;
    width: 100%;
    display: block;
}

/* Listing title — large, bold, primary text */
.chat-thread-title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #111827 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    display: block !important;
    line-height: 1.35 !important;
    margin-bottom: 4px !important;
}

.chat-thread-item.active .chat-thread-title {
    color: var(--primary) !important;
}

/* Meta row: user · price · time — all inline */
.chat-thread-meta-row {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    overflow: hidden !important;
    min-width: 0 !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}

.chat-thread-username {
    font-size: 11px !important;
    color: #6b7280 !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-width: 0 !important;
    max-width: 80px !important;
    flex-shrink: 1 !important;
}

.chat-thread-dot {
    font-size: 8px !important;
    color: #d1d5db !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
}

.chat-thread-price {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.chat-thread-time {
    font-size: 10.5px !important;
    color: #9ca3af !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
}

.chat-thread-new-badge {
    font-size: 9px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    background: var(--primary) !important;
    border-radius: 4px !important;
    padding: 1px 5px !important;
    letter-spacing: 0.3px !important;
    flex-shrink: 0 !important;
}

/* Hide old selectors from previous versions */
.chat-thread-meta { display: none !important; }
.chat-thread-subtitle { display: none !important; }

/* 3. Chat Window */
.chat-window {
    background: #f4f6f8 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Window header — clean white */
.chat-window-header {
    padding: 12px 20px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03) !important;
}

/* 4. Message Stream */
.chat-messages {
    background-color: #f4f6f8 !important;
    background-image: none !important;
    padding: 16px 14px !important;
    gap: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    flex-grow: 1 !important;
}

/* Message rows — tight spacing */
.chat-message-row {
    animation: bubbleSlideIn 0.16s ease both;
    margin-bottom: 2px !important;
    display: flex !important;
    flex-direction: column !important;
}

.chat-message-row.sent {
    align-items: flex-end !important;
}

.chat-message-row.received {
    align-items: flex-start !important;
}

/* Extra gap on direction change */
.chat-message-row.sent + .chat-message-row.received,
.chat-message-row.received + .chat-message-row.sent {
    margin-top: 8px !important;
}

@keyframes bubbleSlideIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Bubble — shrinks to content width, hard max at 52% */
.chat-bubble {
    max-width: 52% !important;
    width: fit-content !important;
    padding: 7px 12px 5px !important;
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    word-break: break-word !important;
    white-space: pre-wrap !important;
    overflow-wrap: break-word !important;
    position: relative !important;
}

/* Sent bubble — red */
.chat-bubble.sent {
    background: #e53935 !important;
    color: #ffffff !important;
    border-radius: 14px 4px 14px 14px !important;
    box-shadow: 0 1px 4px rgba(185, 28, 28, 0.2) !important;
}

/* Received bubble — white */
.chat-bubble.received {
    background: #ffffff !important;
    color: #1f2937 !important;
    border-radius: 4px 14px 14px 14px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.07) !important;
    border: none !important;
}

/* Timestamp — floats right inside bubble */
.bubble-timestamp {
    font-size: 9px !important;
    opacity: 0.5 !important;
    margin-top: 2px !important;
    text-align: right !important;
    display: block !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}


/* 5. Message Input Footer */
.chat-window-footer {
    padding: 10px 14px !important;
    background: #ffffff !important;
    border-top: 1px solid #e5e7eb !important;
    flex-shrink: 0 !important;
}

.chat-form {
    gap: 8px !important;
    align-items: center !important;
    display: flex !important;
}

.chat-form input {
    border-radius: 22px !important;
    border: 1px solid #e5e7eb !important;
    padding: 10px 17px !important;
    font-size: 13.5px !important;
    background: #f9fafb !important;
    box-shadow: none !important;
    flex: 1 !important;
    transition: all 0.2s ease !important;
}

.chat-form input:focus {
    border-color: var(--primary) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.07) !important;
    outline: none !important;
}

.chat-form button {
    border-radius: 50% !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    padding: 0 !important;
    background: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.22) !important;
    transition: all 0.18s ease !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
    border: none !important;
}

.chat-form button::after {
    content: '' !important;
    display: inline-block !important;
    width: 17px !important;
    height: 17px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M2.01 21L23 12 2.01 3 2 10l15 2-15 2z'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.chat-form button:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 3px 12px rgba(var(--primary-rgb), 0.32) !important;
    background: var(--primary-hover) !important;
}

/* 6. Empty state */
.chat-empty {
    background: #f4f6f8 !important;
    padding: 40px !important;
}

.chat-empty svg {
    color: #d1d5db !important;
    animation: emptyFloat 4s ease-in-out infinite !important;
}

/* ===== Shop Product Detail Modal (Desktop Default) ===== */
#product-detail-modal .uni-modal-card {
    max-width: 860px;
}
.pd-gallery {
    position: relative;
    background: #f1f5f9;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 18px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pd-main-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.25s ease;
}
.pd-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    z-index: 5;
}
.pd-gallery-nav:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
}
.pd-gallery-prev {
    left: 12px;
}
.pd-gallery-next {
    right: 12px;
}
.pd-gallery-counter {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(15, 23, 42, 0.6);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}
.pd-thumbs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.pd-thumb {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: var(--transition);
}
.pd-thumb.active,
.pd-thumb:hover {
    border-color: var(--primary);
}
.pd-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.pd-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.pd-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 16px 0;
}
.pd-spec-pill {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 12px;
}
.pd-spec-pill .label {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: block;
    margin-bottom: 2px;
}
.pd-spec-pill .val {
    color: var(--secondary);
    font-weight: 700;
    font-size: 13px;
}
.pd-desc {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.7;
    white-space: pre-line;
    margin: 0;
}
.pd-price {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
    margin: 4px 0 16px;
}

/* ==========================================================================
   mobiling.pk Official Shop Mobile Responsive Fixes
   ========================================================================== */
@media (max-width: 768px) {
    .shop-container {
        padding: 0 12px !important;
        margin: 20px auto !important;
    }
    .shop-header {
        margin-bottom: 24px !important;
    }
    .shop-header h1 {
        font-size: 28px !important;
    }
    .shop-header p {
        font-size: 14px !important;
    }
    .shop-filters {
        flex-direction: column !important;
        padding: 14px 16px !important;
        gap: 12px !important;
    }
    .shop-search-wrap,
    .shop-filter-select,
    .shop-filter-clear {
        width: 100% !important;
        flex: 1 1 100% !important;
    }
    .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
        gap: 16px !important;
        margin-bottom: 40px !important;
    }
    .product-card {
        max-width: 100% !important;
    }
    
    /* Responsive Universal Modals - Bound strictly to mobile viewport to prevent desktop scaling */
    .uni-modal-overlay {
        padding: 0 !important;
        align-items: flex-end !important;
    }
    .uni-modal-card {
        border-radius: 20px 20px 0 0 !important;
        max-width: 100% !important;
        max-height: 90vh !important;
        transform: translateY(100%) scale(1) !important;
        opacity: 0;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
        box-sizing: border-box !important;
    }
    .uni-modal-overlay.active .uni-modal-card {
        transform: translateY(0) scale(1) !important;
        opacity: 1 !important;
    }
    .uni-modal-header {
        padding: 16px 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .uni-modal-title {
        font-size: 16px !important;
    }
    .uni-modal-body {
        padding: 20px 16px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .uni-modal-body form {
        width: 100% !important;
        max-width: 100% !important;
    }
    .uni-modal-body .form-control {
        max-width: 100% !important;
        width: 100% !important;
    }
    .uni-modal-footer {
        padding: 14px 20px !important;
        flex-direction: column-reverse !important;
        gap: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .uni-modal-footer .btn,
    .uni-modal-footer button {
        width: 100% !important;
        margin: 0 !important;
        justify-content: center !important;
    }
    #checkout-map-container {
        height: 180px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    #checkout-map {
        width: 100% !important;
        height: 100% !important;
    }
    .bank-details-card {
        padding: 12px !important;
        font-size: 12.5px !important;
        line-height: 1.5 !important;
        margin-bottom: 14px !important;
        word-break: break-all !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }
    
    /* Product Detail Modal specific layout on mobile */
    #product-detail-modal .uni-modal-card {
        max-width: 100% !important;
    }
    .pd-gallery {
        height: 220px !important;
    }
    .pd-body {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
    .pd-specs-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .pd-thumbs {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .pd-desc {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
}


@keyframes emptyFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Listing Count Badges Styles */
.brand-count-badge {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--text-secondary) !important;
    background-color: var(--background) !important;
    padding: 2px 10px !important;
    border-radius: 9999px !important;
    border: 1px solid var(--border) !important;
    letter-spacing: normal !important;
    transition: all 0.3s ease !important;
    margin-top: -4px;
}

.brand-card:hover .brand-count-badge {
    background-color: var(--primary-light) !important;
    color: var(--primary) !important;
    border-color: rgba(220, 38, 38, 0.15) !important;
}

.model-badge-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    margin-left: 10px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.model-item-btn:hover .model-badge-circle {
    background-color: #ffffff;
    color: var(--primary);
}

/* Media query for phone view grid adjustments (max-width: 600px) */
@media (max-width: 600px) {
    /* 2 Brands in a line on homepage */
    .brands-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .brand-card {
        padding: 16px 12px !important;
        gap: 10px !important;
    }
    .brand-logo-wrapper {
        width: 44px !important;
        height: 44px !important;
    }
    .brand-card span {
        font-size: 13px !important;
    }
    .brand-count-badge {
        font-size: 10px !important;
        padding: 2px 8px !important;
        margin-top: 0 !important;
    }

    /* 2 Blogs in a line (home page and blog list page) */
    .home-blog-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .home-blog-card,
    .premium-blog-card {
        border-radius: 12px !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.02) !important;
    }
    .home-blog-img-container,
    .premium-blog-card > div:first-child {
        height: 110px !important;
    }
    .home-blog-card-body,
    .premium-blog-card > div:last-child {
        padding: 12px !important;
        gap: 6px !important;
    }
    .home-blog-card h3,
    .premium-blog-card h3 {
        font-size: 12px !important;
        line-height: 1.3 !important;
        margin-bottom: 4px !important;
    }
    .home-blog-card-body p,
    .premium-blog-card p {
        font-size: 11px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    .premium-blog-card span[style*="position: absolute"] {
        font-size: 8px !important;
        padding: 2px 6px !important;
    }
    .premium-blog-card .action-btn,
    .home-blog-card-body .btn-outline {
        padding: 6px 10px !important;
        font-size: 11px !important;
        margin-top: 4px !important;
    }

    /* 1 Spec card in a line on Specifications library (prevent horizontal scrolling) */
    .specs-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .specs-card {
        padding: 16px !important;
        border-radius: 12px !important;
    }
    .specs-card img {
        max-height: 120px !important;
    }
    .specs-card-title {
        font-size: 15px !important;
    }
    .specs-table td {
        padding: 6px 8px !important;
        font-size: 12px !important;
    }

    /* Stack specifications search boxes vertically on mobile view */
    #specs-filter-form {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }
    #specs-filter-form > div {
        width: 100% !important;
        min-width: 0 !important;
    }
    #specs-filter-form select,
    #specs-filter-form button,
    #specs-filter-form a {
        width: 100% !important;
    }
    #specs-filter-form div[style*="display: flex"] {
        flex-direction: row !important;
        width: 100% !important;
        height: auto !important;
    }
    #specs-filter-form div[style*="display: flex"] > * {
        flex: 1 !important;
        width: auto !important;
        height: 45px !important;
    }
}

/* ==========================================================================
   Global Pagination Styles (HSL-tailored Theme)
   ========================================================================== */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}
.page-link {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: var(--surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    box-sizing: border-box;
}
.page-link:hover {
    border-color: var(--primary);
    color: var(--primary) !important;
    background-color: var(--primary-light);
    transform: translateY(-2px);
}
.page-link.active {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}
.page-link.disabled {
    pointer-events: none;
    opacity: 0.5;
    background-color: var(--background);
    border-color: var(--border);
    color: var(--text-muted);
}

/* ==========================================================================
   mobiling.pk Universal Modals & Popups Styling System
   ========================================================================== */
.uni-modal-overlay {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(0px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, backdrop-filter 0.3s ease;
}
.uni-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    backdrop-filter: blur(12px);
}
.uni-modal-card {
    background: var(--surface, #ffffff);
    border: 1px solid var(--border);
    border-radius: 24px;
    width: 100%;
    max-width: 540px;
    max-height: calc(100vh - 40px);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: translateY(24px) scale(0.96);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    will-change: transform, opacity;
}
#product-detail-modal .uni-modal-card {
    max-width: 860px;
}
.uni-modal-overlay.active .uni-modal-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.uni-modal-header {
    background: var(--surface, #ffffff);
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--secondary, #0f172a);
    border-bottom: 1px solid var(--border, #e2e8f0);
}
.uni-modal-title-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}
.uni-modal-icon {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-muted);
    font-size: 16px;
}
.uni-modal-header.accent .uni-modal-icon {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}
.uni-modal-header.success .uni-modal-icon {
    background: rgba(var(--success-rgb), 0.1);
    color: var(--success);
}
.uni-modal-header.warning .uni-modal-icon {
    background: rgba(var(--warning-rgb), 0.12);
    color: var(--warning);
}
.uni-modal-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--secondary, #0f172a);
    margin: 0;
    line-height: 1.25;
}
.uni-modal-subtitle {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 3px;
}
.uni-modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    line-height: 1;
}
.uni-modal-close:hover {
    background: var(--background);
    color: var(--secondary, #0f172a);
    transform: scale(1.08);
}
.uni-modal-body {
    padding: 28px;
    overflow-y: auto;
    max-height: 70vh;
    box-sizing: border-box;
}
.uni-modal-footer {
    padding: 18px 28px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background: #f8fafc;
}



/* ===== Contact Page ===== */
.contact-page-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 24px 80px 24px;
    font-family: 'Inter', sans-serif;
}
.contact-page-hero {
    text-align: center;
    margin-bottom: 40px;
}
.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.15);
    color: var(--primary);
    padding: 5px 16px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}
.contact-hero-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: contactPulse 2s infinite;
}
@keyframes contactPulse {
    0%, 100% { transform: scale(0.9); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 1; }
}
.contact-hero-title {
    font-size: 38px;
    font-weight: 900;
    color: var(--secondary);
    margin: 0 0 12px 0;
    letter-spacing: -1px;
}
.contact-hero-desc {
    font-size: 15px;
    color: #64748b;
    max-width: 520px;
    margin: 0 auto 22px auto;
    line-height: 1.7;
}
.faq-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary);
    color: #ffffff;
    border: none;
    padding: 11px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.15);
}
.faq-trigger-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.faq-trigger-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.25);
}
.faq-count-badge {
    background: rgba(255, 255, 255, 0.25);
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 99px;
    min-width: 22px;
    text-align: center;
}
.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 28px;
    align-items: start;
}
@media (max-width: 760px) {
    .contact-form-wrapper {
        grid-template-columns: 1fr;
    }
}
.contact-form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}
.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 500px) {
    .contact-form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-card {
        padding: 24px 18px;
    }
    .contact-hero-title {
        font-size: 28px;
    }
}
.required-star {
    color: var(--primary);
}
.contact-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.2);
}
.contact-submit-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.contact-submit-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3);
}
.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s;
}
.contact-info-card:hover {
    border-color: rgba(239, 68, 68, 0.2);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
    transform: translateY(-2px);
}
.faq-card-cta {
    cursor: pointer;
    border-color: rgba(239, 68, 68, 0.15);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}
.contact-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(239, 68, 68, 0.08);
    border-radius: 10px;
    color: var(--primary);
    margin-bottom: 12px;
}
.contact-info-icon svg {
    width: 20px;
    height: 20px;
}
.faq-icon-highlight {
    background: var(--primary);
    color: #ffffff;
}
.contact-info-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 6px 0;
}
.contact-info-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}
.contact-info-card a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}
.contact-info-card a:hover {
    text-decoration: underline;
}
.faq-open-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

/* ===== FAQ Modal Accordion List ===== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover {
    border-color: rgba(239, 68, 68, 0.2);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}
.faq-item.open {
    border-color: rgba(239, 68, 68, 0.25);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.04);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    text-align: left;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--secondary, #1e293b);
    transition: color 0.2s;
}
.faq-question:hover {
    color: var(--primary);
}
.faq-question span {
    padding-right: 12px;
}
.faq-arrow {
    width: 16px;
    height: 16px;
    color: #64748b;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer p {
    margin: 0;
    padding: 0 20px 20px 20px;
    font-size: 13.5px;
    line-height: 1.6;
    color: #475569;
}
.faq-answer strong {
    color: var(--secondary, #1e293b);
}
.faq-answer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.faq-answer a:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════
   Smart Device Tools Light Theme & Snappy Mini-Animations
   ═══════════════════════════════════════════════════════════════ */

/* ═══ Static/Optimized Background Orbs (No keyframe overhead) ═══ */
.dt-orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
    opacity: 0.05; /* Faint opacity for clean light-mode integration */
    z-index: -10;
}
.dt-orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(239,68,68,0.35), transparent 70%);
    top: -200px; left: -150px;
}
.dt-orb-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(99,102,241,0.3), transparent 70%);
    bottom: -100px; right: -100px;
}
.dt-orb-3 {
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(34,197,94,0.2), transparent 70%);
    top: 40%; left: 30%;
}

/* ═══ Snappy Mini Scroll-Triggered Reveal Animations ═══ */
[data-animate] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* ═══ Text Gradient Utilities ═══ */
.dt-text-gradient {
    background: linear-gradient(90deg, #ef4444, #6366f1, #ef4444);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══ Snappy Card Overrides (Mini Hover Lift) ═══ */
.listing-card, .blog-card, .brand-card, .home-comparison-card, .device-tools-feature-card {
    transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.2s ease, border-color 0.2s ease !important;
}
.listing-card:hover, .blog-card:hover, .brand-card:hover, .home-comparison-card:hover {
    transform: translateY(-3px) scale(1.005) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}
.listing-image-wrapper, .listing-image-container {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.04) !important;
}
.listing-card.featured-card {
    border: 1.5px solid rgba(245, 158, 11, 0.35) !important;
    background: linear-gradient(to bottom, rgba(245, 158, 11, 0.02), #ffffff) !important;
}
.listing-card.featured-card:hover {
    border-color: rgba(245, 158, 11, 0.6) !important;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

/* ═══ Element Styles for Light Mode ═══ */
p, .faq-answer p {
    color: var(--text-secondary) !important;
}
h1, h2, h3, h4, h5, h6 {
    color: var(--secondary) !important; /* var(--secondary) is slate-900 #0f172a */
}
input, select, textarea {
    background-color: var(--surface) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border) !important;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}
.card, .panel, .box, .modal-content, .uni-modal-body, .dropdown-menu {
    background-color: var(--surface) !important;
    border-color: var(--border) !important;
}
.nav-links a {
    color: var(--text-secondary) !important;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--primary) !important;
}

/* ═══ Glassmorphic Sticky Header Navbar ═══ */
header {
    background-color: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border) !important;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo span {
    color: #0f172a !important;
}

/* High-priority overrides for dark footer elements to bypass global !important rules */
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6 {
    color: #f3f4f6 !important;
}
footer p, footer span, footer li {
    color: #94a3b8 !important;
}
footer a {
    color: #94a3b8 !important;
    transition: var(--transition) !important;
}
footer a:hover {
    color: #ffffff !important;
}
