/* Eveneer Car Listing - Frontend Styles */
/* Modern Design with Ginto Font */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Ginto Font Face (using Inter as high-quality alternative) */
@font-face {
    font-family: 'Ginto';
    src: local('Inter'), local('Inter-Regular');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables for Modern Design */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --danger-color: #ef4444;
    --warning-color: #f97316;
    --success-color: #22c55e;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --text-muted: #d1d5db;
    --background-primary: #ffffff;
    --background-secondary: #f9fafb;
    --background-tertiary: #f3f4f6;
    --background-dark: #1f2937;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-cool: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.25s ease-out;
    --transition-slow: 0.4s ease-out;
}

/* Reset and Base Styles */
.webnify-car-listing * {
    box-sizing: border-box;
}

.webnify-car-listing {
    font-family: 'Ginto', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: var(--background-secondary);
    min-height: 100vh;
    font-weight: 400;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Modern Full Width Container */
.webnify-car-listing-container {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

/* Override any theme constraints */
.webnify-car-listing-container .webnify-car-listing {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 2rem 1.5rem !important;
    position: relative;
}

/* Modern Page Header */
.webnify-page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    background: var(--background-primary);
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.webnify-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.webnify-page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    letter-spacing: -0.03em;
    font-family: 'Ginto', 'Inter', sans-serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.webnify-page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
    font-family: 'Ginto', 'Inter', sans-serif;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Ensure table takes full width */
.webnify-cars-grid {
    width: 100% !important;
    max-width: none !important;
}

/* Modern Loading Spinner */
.webnify-loading {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--background-primary);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    margin: 2rem 0;
    border: 1px solid var(--border-light);
}

.webnify-loading p {
    color: var(--text-secondary);
    font-family: 'Ginto', 'Inter', sans-serif;
    font-weight: 500;
    margin: 0;
    font-size: 1.125rem;
}

.webnify-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-light);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: modernSpin 1s linear infinite;
    margin: 0 auto 1.5rem;
    position: relative;
}

.webnify-spinner::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary-light);
    border-radius: 50%;
    animation: modernSpin 2s linear infinite reverse;
}

@keyframes modernSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modern Responsive Design */
@media (max-width: 1200px) {
    .webnify-car-listing-container .webnify-car-listing {
        padding: 1.5rem 1rem !important;
    }
    
    .webnify-page-header {
        padding: 2.5rem 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .webnify-filters-section {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .webnify-car-listing-container .webnify-car-listing {
        padding: 1rem 0.75rem !important;
    }
    
    .webnify-page-header {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
        border-radius: var(--radius-2xl);
    }
    
    .webnify-page-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    
    .webnify-page-subtitle {
        font-size: 1.125rem;
    }
    
    .webnify-filters-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
        border-radius: var(--radius-2xl);
    }
    
    /* Mobile Search Container */
    .webnify-search-container {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .webnify-search-title {
        font-size: 1.5rem;
    }
    
    .webnify-search-subtitle {
        font-size: 0.9rem;
    }
    
    .webnify-search-box {
        flex-direction: column;
        gap: 1rem;
    }
    
    .webnify-search-input {
        height: 3rem;
        padding: 0 3rem 0 2.75rem;
        font-size: 0.9rem;
    }
    
    .webnify-search-icon-left {
        left: 1rem;
    }
    
    .webnify-search-clear {
        right: 0.75rem;
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .webnify-search-button {
        height: 3rem;
        padding: 0 1.5rem;
        font-size: 0.9rem;
        min-width: 100px;
    }
    
    .webnify-search-button-text {
        display: none;
    }
    
    .webnify-search-suggestions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .webnify-suggestions-label {
        width: 100%;
    }
    
    .webnify-suggestion-tags {
        width: 100%;
        justify-content: flex-start;
    }
    
    .webnify-suggestion-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Mobile table adjustments */
    .webnify-cars-table-header {
        grid-template-columns: 160px minmax(200px, 1fr) 100px 100px 100px 120px 100px 140px;
    }
    
    .webnify-car-listing[data-layout="list"] .webnify-car-item {
        grid-template-columns: 160px minmax(200px, 1fr) 100px 100px 100px 120px 100px 140px;
    }
    
    .webnify-car-listing[data-layout="list"] .webnify-car-image {
        width: 140px;
        height: 100px;
    }
    
    .webnify-header-cell,
    .webnify-car-cell {
        padding: 1rem 0.75rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .webnify-page-header {
        padding: 1.5rem 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .webnify-filters-section {
        padding: 1.25rem;
        margin: 1.25rem 0;
    }
    
    /* Extra Small Mobile Search */
    .webnify-search-container {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
        border-radius: var(--radius-2xl);
    }
    
    .webnify-search-header {
        margin-bottom: 1.5rem;
    }
    
    .webnify-search-title {
        font-size: 1.25rem;
    }
    
    .webnify-search-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .webnify-search-input {
        height: 2.75rem;
        padding: 0 2.75rem 0 2.5rem;
        font-size: 0.85rem;
        border-radius: var(--radius-xl);
    }
    
    .webnify-search-icon-left {
        left: 0.875rem;
    }
    
    .webnify-search-icon-left svg {
        width: 18px;
        height: 18px;
    }
    
    .webnify-search-clear {
        right: 0.625rem;
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .webnify-search-clear svg {
        width: 14px;
        height: 14px;
    }
    
    .webnify-search-button {
        height: 2.75rem;
        padding: 0 1.25rem;
        font-size: 0.85rem;
        min-width: 80px;
        border-radius: var(--radius-xl);
    }
    
    .webnify-search-button svg {
        width: 16px;
        height: 16px;
    }
    
    .webnify-search-help {
        font-size: 0.8rem;
        margin-bottom: 1.25rem;
    }
    
    .webnify-search-suggestions {
        padding-top: 1.25rem;
        gap: 0.75rem;
    }
    
    .webnify-suggestions-label {
        font-size: 0.8rem;
    }
    
    .webnify-suggestion-tag {
        padding: 0.35rem 0.7rem;
        font-size: 0.75rem;
        border-radius: var(--radius-md);
    }
}

/* Large Desktop Enhancements */
@media (min-width: 1400px) {
    .webnify-search-container {
        padding: 3rem;
    }
    
    .webnify-search-title {
        font-size: 2.25rem;
    }
    
    .webnify-search-subtitle {
        font-size: 1.125rem;
    }
    
    .webnify-search-input {
        height: 4rem;
        padding: 0 4rem 0 3.5rem;
        font-size: 1.125rem;
    }
    
    .webnify-search-icon-left {
        left: 1.5rem;
    }
    
    .webnify-search-icon-left svg {
        width: 22px;
        height: 22px;
    }
    
    .webnify-search-button {
        height: 4rem;
        padding: 0 2.5rem;
        font-size: 1.125rem;
        min-width: 140px;
    }
    
    .webnify-search-button svg {
        width: 20px;
        height: 20px;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .webnify-search-container {
        border: 2px solid var(--text-primary);
    }
    
    .webnify-search-input {
        border: 2px solid var(--text-primary);
    }
    
    .webnify-search-button {
        background: var(--text-primary);
        border: 2px solid var(--text-primary);
    }
    
    .webnify-suggestion-tag {
        border: 2px solid var(--text-secondary);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .webnify-search-container,
    .webnify-search-input,
    .webnify-search-button,
    .webnify-search-clear,
    .webnify-suggestion-tag,
    .webnify-search-icon-left {
        transition: none;
        animation: none;
    }
    
    .webnify-search-container::before {
        animation: none;
    }
}

/* Focus Visible Support */
.webnify-search-input:focus-visible,
.webnify-search-button:focus-visible,
.webnify-search-clear:focus-visible,
.webnify-suggestion-tag:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Screen Reader Only Text */
.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Ultra Modern Filters Section */
.webnify-filters-section {
    background: var(--background-primary);
    padding: 2.5rem;
    border-radius: var(--radius-3xl);
    margin: 2rem 0;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.webnify-filters-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.webnify-filters-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 32px 64px -12px rgb(0 0 0 / 0.15);
}

/* Ultra Modern Search Box */
/* Modern WordPress Search Container */
.webnify-search-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-3xl);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.webnify-search-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.webnify-search-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* Search Header */
.webnify-search-header {
    text-align: center;
    margin-bottom: 2rem;
}

.webnify-search-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    font-family: 'Ginto', 'Inter', sans-serif;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.webnify-search-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
}

/* Modern Search Form */
.webnify-search-form {
    width: 100%;
}

.webnify-search-box {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: stretch;
}

.webnify-search-input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.webnify-search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.webnify-search-icon-left {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease, color var(--transition-fast);
}

.webnify-search-input {
    width: 100%;
    height: 3.5rem;
    padding: 0 3.5rem 0 3.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-2xl);
    font-size: 1rem;
    font-family: 'Ginto', 'Inter', sans-serif;
    font-weight: 500;
    background: var(--background-primary);
    color: var(--text-primary);
    outline: none;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    letter-spacing: -0.01em;
}

.webnify-search-input::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.webnify-search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 10px 15px -3px rgb(0 0 0 / 0.1);
    transform: translateY(-1px);
}

.webnify-search-input:focus + .webnify-search-clear,
/* Clear button kept hidden to prevent unwanted shape appearance */
.webnify-search-input:not(:placeholder-shown) + .webnify-search-clear {
    display: none !important;
}

.webnify-search-input:focus ~ .webnify-search-icon-left {
    color: var(--primary-color);
}

.webnify-search-clear {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--background-secondary);
    border: none;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all var(--transition-fast);
    z-index: 3;
}

.webnify-search-clear:hover {
    background: var(--background-tertiary);
    color: var(--text-secondary);
    transform: translateY(-50%) scale(1.1);
}

.webnify-search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 2rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: var(--radius-2xl);
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Ginto', 'Inter', sans-serif;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    letter-spacing: -0.01em;
    min-width: 120px;
}

.webnify-search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgb(102 126 234 / 0.4), 0 4px 6px -4px rgb(102 126 234 / 0.1);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.webnify-search-button:active {
    transform: translateY(0);
}

.webnify-search-button-text {
    font-weight: 600;
}

.webnify-search-button svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

/* Search Help Text */
.webnify-search-help {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* Search Suggestions */
.webnify-search-suggestions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    position: relative;
    z-index: 1;
}

.webnify-suggestions-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.webnify-suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.webnify-suggestion-tag {
    padding: 0.5rem 1rem;
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: 'Ginto', 'Inter', sans-serif;
    position: relative;
    z-index: 2;
    outline: none;
}

.webnify-suggestion-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgb(37 99 235 / 0.2);
}

.webnify-suggestion-tag:active {
    transform: translateY(0);
}

/* Search Active States */
.webnify-search-active {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 15px -3px rgb(5 150 105 / 0.4), 0 4px 6px -4px rgb(5 150 105 / 0.1) !important;
}

.webnify-search-input:not(:placeholder-shown) {
    background: var(--background-primary);
    border-color: var(--primary-color);
}

/* Hide search icon completely */
.webnify-search-icon-left {
    display: none !important;
}

/* Loading State for Search Button */
.webnify-search-button.loading {
    pointer-events: none;
    opacity: 0.7;
}

.webnify-search-button.loading .webnify-search-button-text::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Focus States */
.webnify-search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 10px 15px -3px rgb(0 0 0 / 0.1);
    transform: translateY(-1px);
}

/* Keyboard Navigation Support */
.webnify-suggestion-tag:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .webnify-search-container {
        background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
        border-color: #374151;
    }
    
    .webnify-search-title {
        color: #f9fafb;
    }
    
    .webnify-search-subtitle {
        color: #d1d5db;
    }
    
    .webnify-search-input {
        background: #374151;
        border-color: #4b5563;
        color: #f9fafb;
    }
    
    .webnify-search-input::placeholder {
        color: #9ca3af;
    }
    
    .webnify-search-help {
        color: #9ca3af;
    }
    
    .webnify-suggestion-tag {
        background: #374151;
        border-color: #4b5563;
        color: #d1d5db;
    }
}

/* Modern Filters */
.webnify-filters {
    margin-bottom: 30px;
}

.webnify-filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.webnify-filter-group {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.webnify-filter-group:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.webnify-filter-group label {
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-size: 14px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.webnify-filter-group select,
.webnify-filter-group input {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #1f2937;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
}

.webnify-filter-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23667eea' viewBox='0 0 16 16'%3E%3Cpath d='M8 10.5l4-4H4l4 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 45px;
}

.webnify-filter-group select:focus,
.webnify-filter-group input:focus {
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

/* Price Range */
.webnify-price-range {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 15px;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.webnify-price-range span {
    color: #667eea;
    font-weight: 600;
    text-align: center;
    font-size: 16px;
}

.webnify-price-inputs {
    display: flex;
    align-items: center;
    gap: 15px;
}

.webnify-price-inputs input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #1f2937;
    outline: none;
    transition: all 0.3s ease;
}

.webnify-price-inputs input:focus {
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

/* Filter Actions */
.webnify-filter-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.webnify-filter-actions button {
    padding: 16px 35px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.webnify-apply-filters {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.webnify-apply-filters:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.webnify-clear-filters {
    background: rgba(255, 255, 255, 0.8);
    color: #666;
    border: 2px solid rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.webnify-clear-filters:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

/* Buttons */
.webnify-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.webnify-btn-primary {
    background: #3498db;
    color: white;
}

.webnify-btn-primary:hover {
    background: #2980b9;
    color: white;
}

.webnify-btn-secondary {
    background: #6c757d;
    color: white;
}

.webnify-btn-secondary:hover {
    background: #5a6268;
    color: white;
}

.webnify-btn-outline {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.webnify-btn-outline:hover {
    background: #3498db;
    color: white;
}

/* View Options */
.webnify-view-options {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 0 20px;
}

.webnify-layout-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(102, 126, 234, 0.1);
    padding: 4px;
    gap: 4px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.webnify-layout-btn {
    background: transparent;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.webnify-layout-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.webnify-layout-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.webnify-layout-btn:not(.active):hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.webnify-results-info {
    color: #666;
    font-size: 14px;
}

/* Modern Cards Grid Layout */
.webnify-cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    padding: 20px 0;
    margin-bottom: 30px;
}

/* Beautiful Car Cards */
.webnify-car-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.webnify-car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.webnify-car-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.webnify-car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.webnify-car-card:hover .webnify-car-image img {
    transform: scale(1.05);
}

.webnify-no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #64748b;
    font-weight: 500;
    gap: 8px;
}

.webnify-no-image-placeholder .dashicons {
    font-size: 32px;
}

.webnify-car-availability {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.webnify-car-availability.available {
    background: rgba(209, 250, 229, 0.9);
    color: #059669;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.webnify-car-actions {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.webnify-car-card:hover .webnify-car-actions {
    opacity: 1;
    transform: translateY(0);
}

.webnify-action-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

.webnify-action-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.webnify-car-details {
    padding: 24px;
}

.webnify-car-header {
    margin-bottom: 16px;
}

.webnify-car-condition {
    font-size: 11px;
    color: #2563eb;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.webnify-car-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.webnify-car-package {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.webnify-car-specs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.webnify-spec-item {
    text-align: center;
    flex: 1;
}

.webnify-spec-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 4px;
}

.webnify-spec-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.webnify-car-price {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    text-align: center;
    padding: 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 8px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

/* Layout Transitions */
.webnify-car-listing {
    transition: opacity 0.3s ease;
}

/* Responsive Design for Car Cards */
@media (max-width: 1200px) {
    .webnify-cars-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .webnify-cars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px 0;
    }
    
    .webnify-car-image {
        height: 200px;
    }
    
    .webnify-car-details {
        padding: 20px;
    }
    
    .webnify-car-title {
        font-size: 16px;
    }
    
    .webnify-car-specs {
        padding: 12px;
        margin-bottom: 16px;
    }
    
    .webnify-spec-value {
        font-size: 16px;
    }
    
    .webnify-car-price {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .webnify-car-listing-container {
        padding: 0 10px;
    }
    
    .webnify-car-details {
        padding: 16px;
    }
    
    .webnify-car-specs {
        flex-direction: column;
        gap: 12px;
        text-align: left;
    }
    
    .webnify-spec-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .webnify-spec-value {
        font-size: 16px;
        margin-bottom: 0;
    }
}

.webnify-car-listing.layout-changing {
    opacity: 0.5;
}

/* Grid Layout */
.webnify-car-listing[data-layout="grid"] .webnify-cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 25px;
}

.webnify-car-listing[data-layout="grid"] .webnify-car-item {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.webnify-car-listing[data-layout="grid"] .webnify-car-image {
    width: 100%;
    height: 200px;
    margin: 0;
    border-radius: 0;
}

.webnify-car-listing[data-layout="grid"] .webnify-car-name {
    padding: 20px;
    text-align: center;
}

.webnify-car-listing[data-layout="grid"] .webnify-car-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.webnify-car-listing[data-layout="grid"] .webnify-car-subtitle {
    font-size: 14px;
}

.webnify-car-listing[data-layout="grid"] .webnify-car-meta {
    padding: 0 20px 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

/* Modern Table Header */
.webnify-cars-table-header {
    display: none;
    grid-template-columns: 200px minmax(250px, 1fr) 120px 120px 120px 140px 120px 160px;
    gap: 0;
    background: var(--background-primary);
    border: 1px solid var(--border-light);
    border-bottom: none;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Ginto', 'Inter', sans-serif;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.webnify-cars-table-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

.webnify-header-cell {
    padding: 1.25rem 1rem;
    text-align: center;
    border-right: 1px solid var(--border-light);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.webnify-header-cell:first-child {
    justify-content: flex-start;
    padding-left: 1.5rem;
}

.webnify-header-cell:last-child {
    border-right: none;
    justify-content: flex-end;
    padding-right: 1.5rem;
}

.webnify-header-cell:hover {
    background: var(--background-secondary);
    color: var(--text-primary);
}

/* Modern List Layout */
.webnify-car-listing[data-layout="list"] .webnify-cars-table-header {
    display: grid;
}

.webnify-car-listing[data-layout="list"] .webnify-cars-grid {
    display: block;
    width: 100%;
    border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.webnify-car-listing[data-layout="list"] .webnify-car-item {
    display: grid;
    grid-template-columns: 200px minmax(250px, 1fr) 120px 120px 120px 140px 120px 160px;
    gap: 0;
    background: var(--background-primary);
    border: 1px solid var(--border-light);
    border-top: none;
    margin-bottom: 0;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: 'Ginto', 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.webnify-car-listing[data-layout="list"] .webnify-car-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.webnify-car-listing[data-layout="list"] .webnify-car-item:hover {
    background: var(--background-secondary);
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.webnify-car-listing[data-layout="list"] .webnify-car-item:hover::before {
    width: 4px;
}

.webnify-car-listing[data-layout="list"] .webnify-car-item:last-child {
    border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
}

/* Hide grid-specific elements in list layout */
.webnify-car-listing[data-layout="list"] .webnify-grid-only,
.webnify-car-listing[data-layout="list"] .webnify-car-availability,
.webnify-car-listing[data-layout="list"] .webnify-car-actions {
    display: none !important;
}

/* Show list-specific cells in list layout */
.webnify-car-listing[data-layout="list"] .webnify-car-cell {
    display: block;
}

/* Grid Layout - Hide list-specific elements, show grid elements */
.webnify-car-listing[data-layout="grid"] .webnify-cars-table-header {
    display: none;
}

.webnify-car-listing[data-layout="grid"] .webnify-car-cell:not(.webnify-car-image) {
    display: none;
}

.webnify-car-listing[data-layout="grid"] .webnify-grid-only {
    display: block;
}

.webnify-car-listing[data-layout="grid"] .webnify-car-item {
    display: flex;
    flex-direction: column;
}

/* Default grid styles for car cards */
.webnify-car-listing[data-layout="grid"] .webnify-cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

/* Modern Table Cell Styles */
.webnify-car-cell {
    padding: 1.25rem 1rem;
    text-align: center;
    vertical-align: middle;
    border-right: 1px solid var(--border-light);
    display: none; /* Hidden by default, shown in list layout */
    font-family: 'Ginto', 'Inter', sans-serif;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition-fast);
    position: relative;
}

.webnify-car-cell:first-child {
    padding-left: 1.5rem;
}

.webnify-car-cell:last-child {
    border-right: none;
    padding-right: 1.5rem;
}

/* Modern List-specific Content Styles */
.webnify-car-title-cell {
    text-align: left !important;
    padding-left: 1.5rem !important;
}

.webnify-car-condition-list {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-md);
    display: inline-block;
    letter-spacing: 0.05em;
}

.webnify-car-title-list {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0.5rem 0 0.25rem 0;
    line-height: 1.3;
    font-family: 'Ginto', 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

.webnify-car-package-list {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    font-weight: 500;
}

.webnify-car-grade-cell,
.webnify-car-mileage-cell,
.webnify-car-year-cell,
.webnify-car-fuel-cell,
.webnify-car-transmission-cell {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.webnify-car-price-cell {
    font-weight: 800;
    color: var(--success-color);
    font-size: 1.25rem;
    font-family: 'Ginto', 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

/* Modern Car Image Cell */
.webnify-car-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-normal);
}

/* Modern List Layout Image Styling */
.webnify-car-listing[data-layout="list"] .webnify-car-image {
    width: 180px;
    height: 120px;
    margin: 0 auto;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.webnify-car-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.webnify-car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.webnify-no-image {
    color: #ccc;
    font-size: 24px;
}

/* Car Name Cell */
.webnify-car-name {
    text-align: center;
    padding: 0 20px;
}

.webnify-car-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 5px 0;
    line-height: 1.3;
    text-align: center;
}

.webnify-car-subtitle {
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* Grade Badge */
.webnify-car-grade {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    display: inline-block;
    min-width: 30px;
    text-align: center;
}

.grade-a { background: #27ae60; }
.grade-b { background: #3498db; }
.grade-c { background: #f39c12; }
.grade-d { background: #e67e22; }
.grade-e { background: #e74c3c; }

/* Table Cell Content */
.webnify-car-mileage,
.webnify-car-package,
.webnify-car-chassis,
.webnify-car-stock,
.webnify-car-price {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 500;
}

.webnify-car-price {
    font-size: 16px;
    font-weight: 700;
    color: #27ae60;
}

.webnify-car-stock {
    font-family: 'Courier New', monospace;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* Car Overlay */
.webnify-car-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.webnify-car-item:hover .webnify-car-overlay {
    opacity: 1;
}

.webnify-view-details-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.webnify-view-details-btn:hover {
    background: #2980b9;
    transform: scale(1.05);
}

/* Car Content */
.webnify-car-content {
    padding: 20px;
}

.webnify-car-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3;
}

/* Car Specs */
.webnify-car-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
}

.webnify-car-specs span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #666;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
}

.webnify-car-specs .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* Car Meta */
.webnify-car-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.webnify-car-stock {
    font-size: 13px;
    color: #666;
}

.webnify-car-price {
    font-size: 20px;
    font-weight: bold;
    color: #27ae60;
}

/* Car Excerpt */
.webnify-car-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* No Cars Message */
.webnify-no-cars {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.webnify-no-cars p {
    font-size: 18px;
    margin: 0;
}

/* Pagination */
.webnify-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.webnify-pagination a,
.webnify-pagination span {
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    min-width: 44px;
    text-align: center;
}

.webnify-pagination a:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.webnify-pagination .current {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* Load More */
.webnify-load-more-container {
    text-align: center;
    margin-top: 30px;
}

/* New Modal Design - Car Detail Page Style */
.webnify-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.webnify-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.4s ease;
}

.webnify-modal-content {
    position: relative;
    background: white;
    width: 100%;
    max-width: 1400px;
    max-height: 100vh;
    overflow-y: auto;
    animation: modalSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
    z-index: 10001;
}

/* Scrollable Container */
.webnify-car-modal-scroll {
    padding: 0;
    overflow-y: auto;
    max-height: 100vh;
}

/* Modal Header - New Professional Design */
.webnify-modal-header {
    padding: 30px 40px 25px;
    border-bottom: 1px solid #e8eaed;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    position: relative;
}

.webnify-modal-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #667eea, #764ba2);
}

.webnify-modal-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.webnify-modal-header-left {
    flex: 1;
    min-width: 0; /* Allow text truncation if needed */
}

.webnify-modal-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.webnify-modal-header-right {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.webnify-modal-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(52, 152, 219, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.webnify-modal-info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.15);
    border-color: rgba(52, 152, 219, 0.2);
}

.webnify-modal-info-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3498db, #667eea);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.webnify-modal-info-icon svg {
    width: 16px;
    height: 16px;
}

.webnify-modal-info-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.webnify-modal-info-label {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.webnify-modal-info-value {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Main Content Layout */
.webnify-modal-main {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 0;
    padding: 0;
}

/* Gallery Section */
.webnify-modal-gallery {
    padding: 40px;
    background: #f8f9fa;
}

.webnify-gallery-main {
    position: relative;
    width: 100%;
    height: 400px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.webnify-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.webnify-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.webnify-gallery-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.webnify-gallery-prev {
    left: 20px;
}

.webnify-gallery-next {
    right: 20px;
}

.webnify-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
}

.webnify-gallery-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.webnify-gallery-thumb.active,
.webnify-gallery-thumb:hover {
    border-color: #2563eb;
    transform: scale(1.05);
}

.webnify-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sidebar */
.webnify-modal-sidebar {
    padding: 40px 30px;
    background: white;
    border-left: 1px solid #eee;
}

/* Availability Badge */
.webnify-availability-badge {
    background: #d1fae5;
    color: #059669;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Pricing Section */
.webnify-pricing-section {
    margin-bottom: 30px;
}

.webnify-price-tabs {
    display: flex;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 20px;
}

.webnify-price-tab {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.webnify-price-tab.active {
    background: #2563eb;
    color: white;
}

.webnify-price-display {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 20px;
}

/* Action Buttons in Modal */
.webnify-main-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    width: 100%;
}

.webnify-main-actions .webnify-action-btn.primary-large {
    background: #2563eb;
    color: white;
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: none; /* Override conflicting flex: 1 */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
    min-height: 56px;
}

.webnify-main-actions .webnify-action-btn.primary-large:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.webnify-main-actions .webnify-action-btn.secondary-large {
    background: #f8fafc;
    color: #2563eb;
    padding: 16px 24px;
    border: 2px solid #2563eb;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: none; /* Override conflicting flex: 1 */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    min-height: 56px;
    position: relative;
    overflow: hidden;
}

.webnify-main-actions .webnify-action-btn.secondary-large:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Responsive adjustments for modal buttons */
@media (max-width: 768px) {
    .webnify-main-actions {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .webnify-main-actions .webnify-action-btn.primary-large,
    .webnify-main-actions .webnify-action-btn.secondary-large {
        padding: 14px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .webnify-main-actions {
        gap: 10px;
    }
    
    .webnify-main-actions .webnify-action-btn.primary-large,
    .webnify-main-actions .webnify-action-btn.secondary-large {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* Talk to Us Section */
.webnify-talk-section {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.webnify-talk-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    text-align: center;
}

.webnify-talk-buttons {
    display: flex;
    gap: 8px;
}

.webnify-talk-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.webnify-talk-btn.online {
    background: #e0f2fe;
    color: #0369a1;
}

.webnify-talk-btn.whatsapp {
    background: #dcfce7;
    color: #16a34a;
}

.webnify-talk-btn.call {
    background: #fef3c7;
    color: #d97706;
}

.webnify-talk-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.webnify-talk-btn svg {
    width: 16px;
    height: 16px;
}

/* Specifications Section */
.webnify-specs-section {
    padding: 40px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.webnify-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    padding: 5px;
}

.webnify-spec-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    overflow: hidden;
}

.webnify-spec-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #3b82f6, #6366f1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.webnify-spec-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
}

.webnify-spec-item:hover::before {
    opacity: 1;
}

.webnify-spec-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-radius: 12px;
    flex-shrink: 0;
}

.webnify-spec-icon svg {
    width: 24px;
    height: 24px;
    color: #3b82f6;
}

.webnify-spec-content {
    flex: 1;
    min-width: 0;
}

.webnify-spec-label {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.webnify-spec-value {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .webnify-specs-grid {
        gap: 16px;
        padding: 0;
    }

    .webnify-spec-item {
        padding: 16px;
    }

    .webnify-spec-icon {
        width: 40px;
        height: 40px;
    }

    .webnify-spec-icon svg {
        width: 20px;
        height: 20px;
    }

    .webnify-spec-value {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .webnify-specs-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 12px;
    }

    .webnify-spec-item {
        padding: 14px;
    }

    .webnify-spec-icon {
        width: 36px;
        height: 36px;
    }

    .webnify-spec-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* Full Width Tabs Section */
.webnify-full-tabs-section {
    padding: 40px;
    background: white;
    border-top: 1px solid #eee;
}

.webnify-main-tab-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.webnify-main-tab-btn {
    flex: 1;
    padding: 16px 24px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #64748b;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.webnify-main-tab-btn.active {
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.webnify-main-tab-content {
    min-height: 300px;
}

.webnify-main-tab-pane {
    display: none;
    animation: fadeInUp 0.3s ease;
}

.webnify-main-tab-pane.active {
    display: block;
}

.webnify-main-tab-text {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    line-height: 1.8;
    color: #374151;
    font-size: 16px;
}

/* Detailed Specifications */
.webnify-detailed-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2px;
    background: #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.webnify-detailed-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: white;
    transition: all 0.3s ease;
}

.webnify-detailed-spec-row:hover {
    background: #f8fafc;
}

.webnify-spec-row-label {
    font-weight: 500;
    color: #64748b;
}

.webnify-spec-row-value {
    font-weight: 600;
    color: #1a1a1a;
}

/* Options List */
.webnify-options-list {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
}

.webnify-option-item {
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #374151;
    font-size: 16px;
}

.webnify-option-item:last-child {
    border-bottom: none;
}

/* Related Cars Section */
.webnify-related-cars-section {
    padding: 40px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.webnify-related-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #64748b;
    margin: 0 0 40px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.webnify-related-cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.webnify-related-car-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.webnify-related-car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.webnify-related-car-card.loading-state {
    opacity: 0.7;
    transform: scale(0.98);
    transition: all 0.2s ease;
}

.webnify-related-car-card.loading-state::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

.webnify-related-car-card.current-car {
    border: 3px solid #667eea;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
}

.webnify-related-car-card.current-car::before {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    z-index: 5;
}

.webnify-related-car-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.webnify-related-car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.webnify-no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #64748b;
    font-weight: 500;
}

.webnify-car-availability {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.webnify-car-availability.available {
    background: #d1fae5;
    color: #059669;
}

    .webnify-related-actions {
        position: absolute;
        top: 15px;
        left: 15px;
        display: flex;
        gap: 8px;
    }

.webnify-related-action-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.webnify-related-action-btn:hover {
    background: white;
    transform: scale(1.1);
}

.webnify-related-car-details {
    padding: 20px;
}

.webnify-related-car-header {
    margin-bottom: 15px;
}

.webnify-related-condition {
    font-size: 11px;
    color: #2563eb;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.webnify-related-car-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}

.webnify-related-package {
    background: #fbbf24;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 15px;
}

.webnify-related-specs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.webnify-related-spec-item {
    text-align: center;
}

.webnify-related-spec-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.webnify-related-spec-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.webnify-related-car-price {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .webnify-modal-main {
        grid-template-columns: 1fr;
    }
    
    .webnify-modal-sidebar {
        border-left: none;
        border-top: 1px solid #eee;
    }
    
    .webnify-modal-header {
        padding: 20px;
    }
    
    .webnify-modal-title {
        font-size: 24px;
    }
    
    .webnify-modal-gallery {
        padding: 20px;
    }
    
    .webnify-gallery-main {
        height: 250px;
    }
    
    .webnify-specs-grid {
        grid-template-columns: 1fr;
    }
    
    .webnify-related-cars-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .webnify-main-tab-nav {
        flex-direction: column;
        max-width: none;
    }
}

/* Right section scrollable */
.webnify-car-detail-right {
    max-height: 100%;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 126, 234, 0.3) transparent;
}

.webnify-car-detail-right::-webkit-scrollbar {
    width: 6px;
}

.webnify-car-detail-right::-webkit-scrollbar-track {
    background: transparent;
}

.webnify-car-detail-right::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 3px;
}

.webnify-car-detail-right::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.5);
}

.webnify-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #333;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.webnify-modal-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.webnify-modal-close svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    transition: all 0.3s ease;
}

.webnify-modal-close:hover svg {
    transform: rotate(90deg);
}

/* Modal Animations */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
    to { 
        opacity: 1; 
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Car Detail Modal - Glass Morphism Layout */
.webnify-car-detail {
    display: grid;
    grid-template-columns: 1fr 420px;
    height: 100%;
    overflow: hidden;
    flex: 1;
    min-height: 0;
}

/* Left Section - Image Gallery */
.webnify-car-detail-left {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.1));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Right Section - Details */
.webnify-car-detail-right {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 30px;
    overflow-y: auto;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.webnify-car-detail-header {
    margin-bottom: 25px;
}

.webnify-car-detail-title {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.webnify-car-detail-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px 0;
}

.webnify-car-detail-price {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

/* Specifications Section */
.webnify-car-specs {
    margin-bottom: 30px;
}

.webnify-car-specs h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.webnify-car-detail-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 30px;
}

.webnify-car-detail-meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.webnify-car-detail-meta-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.webnify-car-detail-meta-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.webnify-car-detail-meta-value {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

/* Gallery */
.webnify-car-gallery {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.webnify-gallery-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.webnify-gallery-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.webnify-gallery-thumbs {
    display: flex;
    gap: 12px;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    overflow-x: auto;
}

.webnify-gallery-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.webnify-gallery-thumb.active,
.webnify-gallery-thumb:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.webnify-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Car Description */
.webnify-car-description {
    margin-bottom: 30px;
}

.webnify-car-description h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
}

.webnify-car-description p {
    color: #666;
    line-height: 1.6;
}

/* Status Badge */
.webnify-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #27ae60;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.webnify-status-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #27ae60;
    border-radius: 50%;
}

/* Action Buttons */
.webnify-action-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.webnify-action-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.webnify-action-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.webnify-action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.webnify-action-btn.secondary {
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.webnify-action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Tab Section */
.webnify-car-tabs {
    margin: 30px 0;
}

.webnify-tab-nav {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.webnify-tab-btn {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #666;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.webnify-tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.webnify-tab-btn:not(.active):hover {
    background: rgba(255, 255, 255, 0.2);
    color: #333;
}

.webnify-tab-content {
    min-height: 200px;
}

.webnify-tab-pane {
    display: none;
    animation: fadeInUp 0.3s ease;
}

.webnify-tab-pane.active {
    display: block;
}

.webnify-tab-content-text {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 25px;
    border-radius: 16px;
    line-height: 1.6;
    color: #333;
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 126, 234, 0.3) transparent;
}

.webnify-tab-content-text::-webkit-scrollbar {
    width: 6px;
}

.webnify-tab-content-text::-webkit-scrollbar-track {
    background: transparent;
}

.webnify-tab-content-text::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 3px;
}

.webnify-tab-content-text::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.5);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Section */
.webnify-car-contact {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 25px;
    border-radius: 16px;
    margin-top: 30px;
}

.webnify-car-contact h3 {
    margin: 0 0 20px 0;
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 600;
}

.webnify-contact-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Related Cars */
.webnify-related-cars {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.webnify-related-cars h3 {
    margin: 0 0 20px 0;
    color: #2c3e50;
}

.webnify-related-cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.webnify-related-car-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.webnify-related-car-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .webnify-cars-table-header,
    .webnify-car-item {
        grid-template-columns: 100px 1fr 70px 90px 100px 100px 90px 110px;
        font-size: 13px;
    }
    
    .webnify-car-detail {
        grid-template-columns: 1fr 380px;
    }
}

@media (max-width: 992px) {
    .webnify-cars-table-header,
    .webnify-car-item {
        grid-template-columns: 80px 1fr 60px 80px 90px 100px 80px 100px;
        font-size: 12px;
    }
    
    .webnify-car-detail {
        grid-template-columns: 1fr;
        grid-template-rows: 400px 1fr;
    }
    
    .webnify-car-detail-left {
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .webnify-gallery-main {
        padding: 20px;
    }
    
    .webnify-gallery-thumbs {
        padding: 15px 20px;
    }
}

@media (max-width: 768px) {
    .webnify-filter-row {
        grid-template-columns: 1fr;
    }
    
    .webnify-price-range {
        grid-column: span 1;
    }
    
    .webnify-view-options {
        justify-content: center;
    }
    
    /* Grid Layout Mobile */
    .webnify-car-listing[data-layout="grid"] .webnify-cars-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
        padding: 15px;
    }
    
    .webnify-car-listing[data-layout="grid"] .webnify-car-image {
        height: 160px;
    }
    
    /* List Layout Mobile */
    .webnify-cars-table-header,
    .webnify-car-listing[data-layout="list"] .webnify-car-item {
        grid-template-columns: 120px 1fr 90px 100px;
    }
    
    /* Hide less important columns on mobile */
    .webnify-cars-table-header div:nth-child(n+5),
    .webnify-car-listing[data-layout="list"] .webnify-car-item > div:nth-child(n+5) {
        display: none;
    }
    
    .webnify-car-detail-meta {
        grid-template-columns: 1fr;
    }
    
    .webnify-action-buttons {
        flex-direction: column;
    }
    
    .webnify-contact-buttons {
        flex-direction: column;
    }
    
    .webnify-modal-content {
        margin: 10px;
        max-height: calc(100vh - 20px);
        border-radius: 16px;
    }
    
    .webnify-car-detail-right {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .webnify-cars-table-header,
    .webnify-car-item {
        grid-template-columns: 60px 1fr 90px;
    }
    
    /* Hide more columns on very small screens */
    .webnify-cars-table-header div:nth-child(3),
    .webnify-cars-table-header div:nth-child(4),
    .webnify-cars-table-header div:nth-child(7),
    .webnify-car-item .webnify-car-cell:nth-child(3),
    .webnify-car-item .webnify-car-cell:nth-child(4),
    .webnify-car-item .webnify-car-cell:nth-child(7) {
        display: none;
    }
    
    .webnify-car-detail {
        grid-template-rows: 300px 1fr;
    }
    
    .webnify-gallery-main {
        padding: 15px;
    }
    
    .webnify-car-detail-right {
        padding: 20px 15px;
    }
    
    .webnify-search-box {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .webnify-cars-grid {
        grid-template-columns: 1fr;
    }
    
    .webnify-car-detail-meta {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .webnify-search-box {
        max-width: none;
    }
}

/* Print Styles */
@media print {
    .webnify-modal,
    .webnify-filters-section,
    .webnify-view-options,
    .webnify-pagination {
        display: none !important;
    }
} 

/* Enhanced Specification Tab Styling */
.webnify-spec-category {
    margin-bottom: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.webnify-spec-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(107, 114, 128, 0.3);
}

.webnify-spec-category-title {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(107, 114, 128, 0.2);
    position: relative;
}

.webnify-spec-category-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #6b7280, #9ca3af);
    border-radius: 1px;
}

.webnify-spec-category-content {
    display: grid;
    gap: 8px;
}

.webnify-detailed-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.webnify-detailed-spec-row:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(4px);
}

.webnify-spec-row-label {
    font-weight: 500;
    color: #64748b;
    font-size: 14px;
}

.webnify-spec-row-value {
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
}

/* Stunning Options Tab Design */
.webnify-options-hero {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
}

.webnify-options-hero-title {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.webnify-options-hero-subtitle {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
    font-weight: 300;
}

.webnify-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 10px 0;
}

.webnify-option-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.webnify-option-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(37, 99, 235, 0.4);
}

.webnify-option-card:hover .webnify-option-glow {
    opacity: 1;
    transform: scale(1.2);
}

.webnify-option-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.webnify-option-icon {
    position: relative;
    z-index: 1;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6b7280, #9ca3af);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 8px 20px rgba(107, 114, 128, 0.3);
    transition: all 0.3s ease;
}

.webnify-option-card:hover .webnify-option-icon {
    transform: rotateY(180deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(107, 114, 128, 0.4);
    background: linear-gradient(135deg, #4b5563, #6b7280);
}

.webnify-option-hovered .webnify-option-icon {
    background: linear-gradient(135deg, #4b5563, #6b7280);
}

.webnify-option-icon i {
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
}

.webnify-option-content {
    position: relative;
    z-index: 1;
}

.webnify-option-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
}

.webnify-option-category {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.webnify-option-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #059669;
    font-weight: 500;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.webnify-option-card:hover .webnify-option-status {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
}

/* Options Content Fallback */
.webnify-options-content {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    line-height: 1.6;
    color: #374151;
}

/* Animation for option cards */
@keyframes optionCardEnter {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.webnify-option-card {
    animation: optionCardEnter 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.webnify-option-card:nth-child(1) { animation-delay: 0.1s; }
.webnify-option-card:nth-child(2) { animation-delay: 0.2s; }
.webnify-option-card:nth-child(3) { animation-delay: 0.3s; }
.webnify-option-card:nth-child(4) { animation-delay: 0.4s; }
.webnify-option-card:nth-child(5) { animation-delay: 0.5s; }
.webnify-option-card:nth-child(6) { animation-delay: 0.6s; }
.webnify-option-card:nth-child(7) { animation-delay: 0.7s; }
.webnify-option-card:nth-child(8) { animation-delay: 0.8s; }

/* Responsive design for options */
@media (max-width: 768px) {
    .webnify-options-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .webnify-option-card {
        padding: 15px;
    }
    
    .webnify-option-icon {
        width: 50px;
        height: 50px;
    }
    
    .webnify-option-icon i {
        font-size: 20px;
    }
    
    .webnify-options-hero-title {
        font-size: 20px;
    }
    
    .webnify-options-hero-subtitle {
        font-size: 14px;
    }
} 

/* Click and hover effects for option cards */
.webnify-option-clicked {
    transform: translateY(-4px) scale(0.98) !important;
    transition: all 0.1s ease !important;
}

.webnify-option-hovered .webnify-option-icon {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.webnify-option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.05), rgba(156, 163, 175, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
    pointer-events: none;
}

.webnify-option-card:hover::before {
    opacity: 1;
}

/* Responsive design for options */
@media (max-width: 768px) {
    .webnify-options-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .webnify-option-card {
        padding: 15px;
    }
    
    .webnify-option-icon {
        width: 50px;
        height: 50px;
    }
    
    .webnify-option-icon i {
        font-size: 20px;
    }
    
    .webnify-options-hero-title {
        font-size: 20px;
    }
    
    .webnify-options-hero-subtitle {
        font-size: 14px;
    }
} 

/* Specification item styling - ensure all spec types are covered */
.webnify-spec-item.color-spec,
.webnify-spec-item.feature-spec,
.webnify-spec-item.grade-spec,
.webnify-spec-item.mileage-spec,
.webnify-spec-item.transmission-spec,
.webnify-spec-item.seater-spec,
.webnify-spec-item.engine-spec {
    /* Common styling for all spec items */
}

.webnify-option-icon {
    display: none;
}

.webnify-option-card:hover .webnify-option-icon {
    display: none;
}

.webnify-option-hovered .webnify-option-icon {
    display: none;
}

/* Filter Toggle Button */
.webnify-filter-toggle-container {
    display: flex;
    align-items: center;
}

.webnify-filter-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.webnify-filter-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.webnify-filter-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    min-width: 20px;
    text-align: center;
}

/* Filter Sidebar */
.webnify-filter-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.webnify-filter-sidebar.active {
    opacity: 1;
    pointer-events: all;
}

.webnify-filter-sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
}

.webnify-filter-sidebar-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.webnify-filter-sidebar.active .webnify-filter-sidebar-content {
    transform: translateX(0);
}

/* Sidebar Header */
.webnify-filter-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.8);
}

.webnify-filter-sidebar-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
}

.webnify-filter-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    color: #64748b;
    transition: all 0.2s ease;
}

.webnify-filter-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #1e293b;
}

/* Sidebar Body */
.webnify-filter-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 25px;
}

.webnify-filter-section {
    margin-bottom: 30px;
}

.webnify-filter-section h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    border-bottom: 2px solid rgba(102, 126, 234, 0.2);
    padding-bottom: 8px;
}

.webnify-filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.webnify-filter-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.webnify-filter-option:hover {
    background: rgba(102, 126, 234, 0.1);
}

.webnify-filter-option input[type="radio"],
.webnify-filter-option input[type="checkbox"] {
    display: none;
}

.webnify-filter-radio,
.webnify-filter-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    background: white;
    transition: all 0.2s ease;
    position: relative;
}

.webnify-filter-radio {
    border-radius: 50%;
}

.webnify-filter-checkbox {
    border-radius: 4px;
}

.webnify-filter-option input[type="radio"]:checked + .webnify-filter-radio {
    border-color: #667eea;
    background: #667eea;
}

.webnify-filter-option input[type="radio"]:checked + .webnify-filter-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.webnify-filter-option input[type="checkbox"]:checked + .webnify-filter-checkbox {
    border-color: #667eea;
    background: #667eea;
}

.webnify-filter-option input[type="checkbox"]:checked + .webnify-filter-checkbox::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    color: white;
    font-size: 12px;
    font-weight: bold;
    transform: translate(-50%, -50%);
}

.webnify-filter-label {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
    flex: 1;
}

/* Price Range */
.webnify-price-range-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.webnify-price-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.webnify-price-input-group label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
}

.webnify-price-input-group input {
    padding: 10px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.8);
}

.webnify-price-input-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Sidebar Footer */
.webnify-filter-sidebar-footer {
    padding: 20px 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    gap: 12px;
}

.webnify-btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    flex: 1;
}

.webnify-btn-outline {
    background: transparent;
    border: 2px solid #d1d5db;
    color: #6b7280;
}

.webnify-btn-outline:hover {
    border-color: #9ca3af;
    color: #374151;
}

.webnify-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.webnify-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .webnify-filter-sidebar-content {
        width: 100%;
        max-width: 350px;
    }
    
    .webnify-filter-sidebar-header,
    .webnify-filter-sidebar-body,
    .webnify-filter-sidebar-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Prevent body scroll when sidebar is open */
body.filter-sidebar-open {
    overflow: hidden;
}

/* Simple Price Display with Shining Effect */
.webnify-simple-price {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 20px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 15px;
    border-radius: 12px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: priceGlow 3s ease-in-out infinite;
}

.webnify-simple-price::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        rgba(102, 126, 234, 0.2),
        rgba(255, 255, 255, 0.3),
        rgba(118, 75, 162, 0.2),
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: priceShine 4s linear infinite;
    pointer-events: none;
}

.webnify-simple-price::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.05) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(118, 75, 162, 0.05) 100%);
    border-radius: 12px;
    opacity: 0;
    animation: priceHighlight 2.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes priceShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes priceGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    }
    50% {
        box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4), 
                    0 0 20px rgba(118, 75, 162, 0.3),
                    inset 0 0 15px rgba(255, 255, 255, 0.1);
    }
}

@keyframes priceHighlight {
    0%, 100% {
        opacity: 0;
    }
    25%, 75% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.8;
    }
}

/* Price Text Animation */
.webnify-simple-price {
    background-clip: text;
    -webkit-background-clip: text;
    background-image: linear-gradient(
        90deg,
        #1e293b 0%,
        #3b82f6 25%,
        #8b5cf6 50%,
        #06b6d4 75%,
        #1e293b 100%
    );
    background-size: 200% 100%;
    animation: 
        priceGlow 3s ease-in-out infinite,
        textShimmer 6s linear infinite;
}

@keyframes textShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Enhanced pulse effect on hover */
.webnify-simple-price:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.4);
    animation-duration: 1.5s; /* Speed up animations on hover */
}

/* Add sparkle effect */
.webnify-simple-price:hover::before {
    animation-duration: 2s; /* Faster shine on hover */
}

/* Mobile-friendly adjustments */
@media (max-width: 768px) {
    .webnify-simple-price {
        font-size: 28px;
        padding: 12px;
        margin: 15px 0;
    }
    
    /* Reduce animation intensity on mobile for battery saving */
    .webnify-simple-price {
        animation-duration: 4s; /* Slower on mobile */
    }
    
    .webnify-simple-price::before {
        animation-duration: 5s; /* Slower shine on mobile */
    }
}

/* Accessibility: Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .webnify-simple-price,
    .webnify-simple-price::before,
    .webnify-simple-price::after {
        animation: none;
    }
    
    .webnify-simple-price {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    }
}

/* Message Popup Modal */
.webnify-message-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.webnify-message-popup.active {
    opacity: 1;
    pointer-events: all;
}

.webnify-message-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

.webnify-message-popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.webnify-message-popup.active .webnify-message-popup-content {
    transform: translate(-50%, -50%) scale(1);
}

/* Message Popup Header */
.webnify-message-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.webnify-message-popup-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
}

.webnify-message-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    color: #64748b;
    transition: all 0.2s ease;
}

.webnify-message-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #1e293b;
}

/* Message Popup Body */
.webnify-message-popup-body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.webnify-form-group {
    margin-bottom: 20px;
}

.webnify-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.webnify-form-group input,
.webnify-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.9);
    box-sizing: border-box;
}

.webnify-form-group input:focus,
.webnify-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.webnify-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Message Popup Footer */
.webnify-message-popup-footer {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Success Message */
.webnify-message-success {
    text-align: center;
    padding: 40px 20px;
}

.webnify-success-icon {
    margin-bottom: 20px;
}

.webnify-success-icon svg {
    color: #10b981;
    width: 48px;
    height: 48px;
}

.webnify-message-success h4 {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
}

.webnify-message-success p {
    margin: 0;
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
}

/* Prevent body scroll when message popup is open */
body.message-popup-open {
    overflow: hidden;
}

/* Mobile Responsive for Message Popup */
@media (max-width: 768px) {
    .webnify-message-popup-content {
        width: 95%;
        margin: 20px;
    }
    
    .webnify-message-popup-header,
    .webnify-message-popup-body {
        padding: 20px;
    }
    
    .webnify-message-popup-footer {
        flex-direction: column;
    }
}

/* Side Menu for Book Now and Test Drive Forms */
.webnify-side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 11000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.webnify-side-menu.active {
    opacity: 1;
    pointer-events: all;
}

.webnify-side-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

.webnify-side-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 450px;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.webnify-side-menu.active .webnify-side-menu-content {
    transform: translateX(0);
}

/* Side Menu Header */
.webnify-side-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.webnify-side-menu-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.webnify-side-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    color: #64748b;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.webnify-side-menu-close:hover {
    background: rgba(100, 116, 139, 0.1);
    color: #1e293b;
    transform: scale(1.1);
}

/* Side Menu Body */
.webnify-side-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 126, 234, 0.3) transparent;
}

.webnify-side-menu-body::-webkit-scrollbar {
    width: 6px;
}

.webnify-side-menu-body::-webkit-scrollbar-track {
    background: transparent;
}

.webnify-side-menu-body::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 3px;
}

.webnify-side-menu-body::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.5);
}

/* Form Hero Section */
.webnify-form-hero {
    text-align: center;
    margin-bottom: 30px;
    padding: 25px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}

.webnify-form-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    animation: heroGlow 3s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

.webnify-form-icon {
    position: relative;
    z-index: 1;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.webnify-form-icon.test-drive {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.3);
}

.webnify-form-icon svg {
    color: white;
    width: 40px;
    height: 40px;
}

.webnify-form-hero h4 {
    position: relative;
    z-index: 1;
    margin: 0 0 12px 0;
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
}

.webnify-form-hero p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 16px;
    color: #64748b;
    line-height: 1.5;
}

/* Form Styling */
.webnify-form {
    position: relative;
}

.webnify-form-group {
    margin-bottom: 20px;
}

.webnify-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.webnify-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    position: relative;
}

.webnify-form-group label::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.webnify-form-group input:focus + label::after,
.webnify-form-group textarea:focus + label::after,
.webnify-form-group select:focus + label::after {
    width: 30px;
}

.webnify-form-group input,
.webnify-form-group textarea,
.webnify-form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-sizing: border-box;
    position: relative;
}

.webnify-form-group input:focus,
.webnify-form-group textarea:focus,
.webnify-form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 1);
}

.webnify-form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.webnify-form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23667eea' viewBox='0 0 16 16'%3E%3Cpath d='M8 10.5l4-4H4l4 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 45px;
    appearance: none;
    -webkit-appearance: none;
}

/* Form Actions */
.webnify-form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.webnify-btn {
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.webnify-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.webnify-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.webnify-btn-primary:hover::before {
    left: 100%;
}

.webnify-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.webnify-btn-primary:disabled {
    opacity: 0.7;
    transform: none;
    cursor: not-allowed;
}

.webnify-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.webnify-btn:hover svg {
    transform: scale(1.1);
}

/* Success Message */
.webnify-form-success {
    text-align: center;
    padding: 40px 20px;
    animation: successSlideIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.webnify-success-icon {
    margin-bottom: 25px;
    animation: successIcon 0.8s ease-out 0.3s both;
}

@keyframes successIcon {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    50% {
        transform: scale(1.2) rotate(0deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.webnify-success-icon svg {
    color: #10b981;
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 4px 15px rgba(16, 185, 129, 0.3));
}

.webnify-form-success h4 {
    margin: 0 0 15px 0;
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.webnify-form-success p {
    margin: 0;
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
}

/* Form Validation Styling */
.webnify-form-group input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.webnify-form-group input:valid:not(:focus):not(:placeholder-shown) {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Loading State */
.webnify-btn[disabled] {
    position: relative;
    color: transparent;
}

.webnify-btn[disabled]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Prevent body scroll when side menu is open */
body.side-menu-open {
    overflow: hidden;
}

/* Mobile Responsive for Side Menu */
@media (max-width: 768px) {
    .webnify-side-menu-content {
        width: 100%;
        max-width: 400px;
    }
    
    .webnify-side-menu-header,
    .webnify-side-menu-body {
        padding: 20px;
    }
    
    .webnify-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .webnify-form-hero {
        padding: 20px 15px;
    }
    
    .webnify-form-icon {
        width: 60px;
        height: 60px;
    }
    
    .webnify-form-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .webnify-form-hero h4 {
        font-size: 20px;
    }
    
    .webnify-form-hero p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .webnify-side-menu-content {
        width: 100%;
    }
    
    .webnify-side-menu-header h3 {
        font-size: 20px;
    }
    
    .webnify-form-group input,
    .webnify-form-group textarea,
    .webnify-form-group select {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .webnify-btn {
        padding: 14px 20px;
        font-size: 14px;
    }
}

/* Enhanced hover effects */
.webnify-form-group input:hover,
.webnify-form-group textarea:hover,
.webnify-form-group select:hover {
    border-color: #94a3b8;
    transform: translateY(-1px);
}

/* Focus animations */
.webnify-form-group {
    position: relative;
}

.webnify-form-group input:focus,
.webnify-form-group textarea:focus,
.webnify-form-group select:focus {
    animation: focusPulse 0.3s ease;
}

@keyframes focusPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Car Modal Side Menu Styles */
.webnify-car-side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 12000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.webnify-car-side-menu.active {
    opacity: 1;
    pointer-events: all;
}

.webnify-car-side-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.webnify-car-side-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    max-width: 90vw;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.webnify-car-side-menu.active .webnify-car-side-menu-content {
    transform: translateX(0);
}

.webnify-car-side-menu-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    position: sticky;
    top: 0;
    z-index: 10;
}

.webnify-car-side-menu-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.webnify-car-side-menu-close {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.webnify-car-side-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.webnify-car-side-menu-body {
    flex: 1;
    padding: 0;
}

.webnify-car-form-hero {
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8eaff 100%);
    border-bottom: 1px solid #e2e8f0;
}

.webnify-car-form-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    margin-bottom: 20px;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.webnify-car-form-hero h3 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
}

.webnify-car-form-hero p {
    margin: 0 0 20px 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.5;
}

.webnify-selected-car-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-radius: 12px;
    border: 2px solid #667eea;
    margin: 0 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.webnify-selected-car-info span:first-child {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 16px;
}

.webnify-selected-car-info span:last-child {
    font-weight: 700;
    color: #667eea;
    font-size: 18px;
}

.webnify-car-form {
    padding: 30px;
}

.webnify-form-section {
    margin-bottom: 35px;
}

.webnify-form-section h4 {
    margin: 0 0 20px 0;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.webnify-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.webnify-form-group {
    flex: 1;
    margin-bottom: 20px;
}

.webnify-form-group.half {
    flex: 1;
}

.webnify-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.webnify-form-group input,
.webnify-form-group select,
.webnify-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
}

.webnify-form-group input:focus,
.webnify-form-group select:focus,
.webnify-form-group textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.webnify-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.webnify-trade-in-section {
    animation: slideDown 0.3s ease;
}

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

.webnify-car-form-actions {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    padding: 25px 30px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8eaff 100%);
    border-top: 1px solid #e2e8f0;
    margin: 0 -30px -30px -30px;
    position: sticky;
    bottom: 0;
}

.webnify-btn-secondary {
    flex: 1;
    padding: 12px 20px;
    background: #f1f5f9;
    color: #64748b;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.webnify-btn-secondary:hover {
    background: #e2e8f0;
    color: #475569;
    transform: translateY(-1px);
}

.webnify-btn-primary {
    flex: 2;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.webnify-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.webnify-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.webnify-btn-icon {
    font-size: 16px;
}

.webnify-form-success {
    text-align: center;
    padding: 40px;
}

.webnify-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    margin-bottom: 20px;
    color: white;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.webnify-form-success h4 {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.webnify-form-success p {
    margin: 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .webnify-car-side-menu-content {
        width: 100%;
        max-width: 100%;
    }
    
    .webnify-car-form {
        padding: 20px;
    }
    
    .webnify-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .webnify-car-form-actions {
        flex-direction: column;
        padding: 20px;
    }
    
    .webnify-selected-car-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        margin: 0 10px;
    }
    
    .webnify-car-form-hero {
        padding: 20px;
    }
    
    .webnify-car-form-icon {
        width: 60px;
        height: 60px;
    }
    
    .webnify-car-form-hero h3 {
        font-size: 24px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .webnify-car-side-menu-content {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        color: #f1f5f9;
    }
    
    .webnify-car-form-hero {
        background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    }
    
    .webnify-form-group input,
    .webnify-form-group select,
    .webnify-form-group textarea {
        background: #334155;
        border-color: #475569;
        color: #f1f5f9;
    }
    
    .webnify-selected-car-info {
        background: #334155;
        border-color: #667eea;
    }
}

/* Modal Loading and Error States */
.webnify-modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.webnify-modal-loading .webnify-spinner {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
}

.webnify-modal-loading p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.webnify-error-message {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.webnify-error-message p {
    color: #dc3545;
    font-size: 16px;
    margin: 0;
    padding: 20px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
}

/* Contact Information Section */
.webnify-contact-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid #e2e8f0;
}

.webnify-contact-title {
    color: #1e293b;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}



.webnify-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.webnify-contact-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.webnify-contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.webnify-contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.webnify-contact-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.webnify-contact-item:hover .webnify-contact-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.webnify-contact-details {
    flex: 1;
}

.webnify-contact-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.webnify-contact-value {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.webnify-contact-value:hover {
    color: #667eea;
}

.webnify-contact-info {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.webnify-contact-info p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
    font-size: 14px;
}

@media (max-width: 768px) {
    .webnify-contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .webnify-contact-section {
        padding: 20px;
        margin: 20px 0;
    }
    
    .webnify-contact-item {
        padding: 15px;
    }
}

.webnify-related-action-btn.favorite,
.webnify-related-action-btn.share {
    display: none !important;
}

/* Status Badge Styles */
.webnify-availability-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 20px;
}

.webnify-availability-badge.available {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.webnify-availability-badge.sold {
    background-color: #ffebee;
    color: #c62828;
}

.webnify-availability-badge.reserved {
    background-color: #fff3e0;
    color: #ef6c00;
}

.webnify-availability-badge.pending {
    background-color: #e3f2fd;
    color: #1565c0;
}

.webnify-availability-badge.maintenance {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

/* Responsive Modal Header Styles */
@media (max-width: 768px) {
    .webnify-modal-header {
        padding: 20px 20px 20px;
    }
    
    .webnify-modal-header-content {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .webnify-modal-title {
        font-size: 24px;
    }
    
    .webnify-modal-header-right {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .webnify-modal-info-item {
        padding: 10px 14px;
        border-radius: 10px;
    }
    
    .webnify-modal-info-icon {
        width: 28px;
        height: 28px;
    }
    
    .webnify-modal-info-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .webnify-modal-info-label {
        font-size: 10px;
    }
    
    .webnify-modal-info-value {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .webnify-modal-header {
        padding: 15px 15px 15px;
    }
    
    .webnify-modal-title {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .webnify-modal-header-right {
        gap: 10px;
    }
    
    .webnify-modal-info-item {
        padding: 8px 12px;
        gap: 8px;
    }
    
    .webnify-modal-info-icon {
        width: 24px;
        height: 24px;
        border-radius: 6px;
    }
    
    .webnify-modal-info-icon svg {
        width: 12px;
        height: 12px;
    }
}

/* Comprehensive Mobile Responsive Modal Styles */
@media (max-width: 768px) {
    /* Modal Container */
    .webnify-modal {
        align-items: flex-start;
        padding: 0;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
    
    .webnify-modal-overlay {
        background: rgba(0, 0, 0, 0.7);
    }
    
    .webnify-modal-content {
        width: 100%;
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
        box-shadow: none;
    }
    
    .webnify-car-modal-scroll {
        padding: 0;
        max-height: 100vh;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Modal Header Mobile */
    .webnify-modal-header {
        padding: 20px;
        position: sticky;
        top: 0;
        z-index: 100;
        background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    }
    
    .webnify-modal-header-content {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .webnify-modal-title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    .webnify-modal-header-right {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .webnify-modal-info-item {
        padding: 10px 14px;
        border-radius: 10px;
        min-width: auto;
        flex: 0 1 auto;
    }
    
    .webnify-modal-info-icon {
        width: 28px;
        height: 28px;
    }
    
    .webnify-modal-info-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .webnify-modal-info-label,
    .webnify-modal-info-value {
        font-size: 11px;
    }
    
    /* Close Button Mobile */
    .webnify-modal-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        z-index: 10002;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        color: #333;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        font-size: 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .webnify-modal-close:hover {
        background: rgba(255, 255, 255, 1);
        transform: scale(1.1);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    }
    
    /* Main Content Mobile Layout */
    .webnify-modal-main {
        display: block;
        grid-template-columns: none;
        gap: 0;
    }
    
    /* Gallery Mobile */
    .webnify-modal-gallery {
        padding: 20px 15px;
        background: #f8f9fa;
    }
    
    .webnify-gallery-main {
        height: 250px;
        margin-bottom: 15px;
        border-radius: 8px;
    }
    
    .webnify-gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .webnify-gallery-prev {
        left: 10px;
    }
    
    .webnify-gallery-next {
        right: 10px;
    }
    
    .webnify-gallery-thumbs {
        gap: 8px;
        padding: 10px 0;
    }
    
    .webnify-gallery-thumb {
        width: 60px;
        height: 45px;
        border-radius: 6px;
    }
    
    /* Sidebar Mobile */
    .webnify-modal-sidebar {
        padding: 20px 15px;
        border-left: none;
        border-top: 1px solid #eee;
    }
    
    /* Price Section Mobile */
    .webnify-simple-price {
        font-size: 28px;
        padding: 12px;
        margin: 15px 0;
    }
    
    /* Specs Grid Mobile */
    .webnify-specs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 20px 0;
    }
    
    .webnify-spec-item {
        padding: 15px;
        border-radius: 8px;
        gap: 12px;
    }
    
    .webnify-spec-icon {
        width: 35px;
        height: 35px;
        border-radius: 8px;
    }
    
    .webnify-spec-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .webnify-spec-label {
        font-size: 11px;
        letter-spacing: 0.8px;
    }
    
    .webnify-spec-value {
        font-size: 15px;
        margin-top: 4px;
    }
    
    /* Tabs Mobile */
    .webnify-full-tabs-section {
        margin: 20px 0;
    }
    
    .webnify-main-tab-nav {
        padding: 0 15px;
        gap: 8px;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .webnify-main-tab-nav::-webkit-scrollbar {
        display: none;
    }
    
    .webnify-main-tab-btn {
        font-size: 14px;
        padding: 10px 16px;
        border-radius: 8px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .webnify-main-tab-content {
        padding: 20px 15px;
    }
    
    .webnify-main-tab-text {
        font-size: 15px;
        line-height: 1.6;
    }
    
    /* Specification Categories Mobile */
    .webnify-detailed-specs {
        gap: 20px;
    }
    
    .webnify-spec-category {
        padding: 20px 15px;
        border-radius: 8px;
    }
    
    .webnify-spec-category-title {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .webnify-detailed-spec-row {
        padding: 12px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .webnify-spec-row-label {
        font-size: 12px;
        font-weight: 600;
        color: #64748b;
    }
    
    .webnify-spec-row-value {
        font-size: 15px;
        font-weight: 500;
        color: #1e293b;
    }
    
    /* Options Grid Mobile */
    .webnify-options-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
    }
    
    .webnify-option-card {
        padding: 20px 15px;
        border-radius: 8px;
    }
    
    .webnify-option-icon {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }
    
    .webnify-option-title {
        font-size: 16px;
    }
    
    .webnify-option-category,
    .webnify-option-status {
        font-size: 12px;
    }
    
    /* Contact Section Mobile */
    .webnify-contact-section {
        padding: 20px 15px;
        background: #f8f9fa;
    }
    
    .webnify-contact-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .webnify-contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .webnify-contact-item {
        padding: 15px;
        border-radius: 10px;
        gap: 12px;
    }
    
    .webnify-contact-icon {
        width: 45px;
        height: 45px;
    }
    
    .webnify-contact-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .webnify-contact-label {
        font-size: 11px;
        margin-bottom: 3px;
    }
    
    .webnify-contact-value {
        font-size: 15px;
    }
    
    /* Related Cars Mobile */
    .webnify-related-cars-section {
        padding: 20px 15px;
        background: white;
    }
    
    .webnify-related-title {
        font-size: 20px;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .webnify-related-cars-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 15px;
    }
    
    .webnify-related-car-card {
        border-radius: 10px;
        overflow: hidden;
    }
    
    .webnify-related-car-image {
        height: 180px;
    }
    
    .webnify-related-car-content {
        padding: 15px;
    }
    
    .webnify-related-car-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .webnify-related-condition {
        font-size: 11px;
        padding: 4px 8px;
        border-radius: 4px;
    }
    
    .webnify-related-price {
        font-size: 18px;
        margin: 10px 0;
    }
    
    /* Form Elements Mobile */
    .webnify-car-form {
        padding: 20px 15px;
    }
    
    .webnify-form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .webnify-form-group {
        margin-bottom: 15px;
    }
    
    .webnify-form-input,
    .webnify-form-textarea,
    .webnify-form-select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 15px;
        border-radius: 8px;
    }
    
    .webnify-car-form-actions {
        padding: 20px 15px;
        flex-direction: column;
        gap: 12px;
        position: sticky;
        bottom: 0;
        background: white;
        border-top: 1px solid #eee;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .webnify-btn-secondary,
    .webnify-btn-primary {
        padding: 14px 20px;
        font-size: 16px;
        border-radius: 10px;
        min-height: 50px;
    }
    
    /* Loading State Mobile */
    .webnify-modal-loading {
        padding: 40px 20px;
    }
    
    .webnify-modal-loading .webnify-spinner {
        width: 50px;
        height: 50px;
    }
    
    /* Touch Improvements */
    .webnify-modal-content {
        touch-action: pan-y;
    }
    
    /* Hide hover effects on touch devices */
    @media (hover: none) {
        .webnify-spec-item:hover,
        .webnify-contact-item:hover,
        .webnify-option-card:hover {
            transform: none;
            box-shadow: initial;
        }
        
        .webnify-modal-info-item:hover {
            transform: none;
            box-shadow: initial;
        }
    }
}

/* Extra Small Mobile Devices (iPhone SE, etc.) */
@media (max-width: 480px) {
    .webnify-modal-header {
        padding: 15px;
    }
    
    .webnify-modal-title {
        font-size: 20px;
    }
    
    .webnify-modal-gallery {
        padding: 15px 10px;
    }
    
    .webnify-gallery-main {
        height: 200px;
    }
    
    .webnify-modal-sidebar {
        padding: 15px 10px;
    }
    
    .webnify-simple-price {
        font-size: 24px;
        padding: 10px;
    }
    
    .webnify-main-tab-content {
        padding: 15px 10px;
    }
    
    .webnify-contact-section,
    .webnify-related-cars-section {
        padding: 15px 10px;
    }
    
    .webnify-related-cars-grid {
        grid-template-columns: 1fr;
    }
    
    .webnify-car-form-actions {
        padding: 15px 10px;
    }
}

/* Landscape Mobile Adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .webnify-modal-header {
        position: relative;
        padding: 15px 20px;
    }
    
    .webnify-gallery-main {
        height: 200px;
    }
    
    .webnify-modal-close {
        position: absolute;
        top: 10px;
        right: 10px;
    }
}

/* ========================================
   MOBILE RESPONSIVE CAR LISTING SECTION
   ======================================== */

/* Desktop: Hide mobile details, show grid details */
@media (min-width: 769px) {
    .webnify-mobile-car-details {
        display: none !important;
    }
    
    .webnify-car-details.webnify-grid-only {
        display: block !important;
    }
}

/* Mobile Search and Filter Section */
@media (max-width: 768px) {
    .webnify-car-listing-container {
        padding: 0 10px;
        width: 100vw;
        max-width: 100vw;
        margin: 0;
        position: relative;
        left: 50%;
        margin-left: -50vw;
        box-sizing: border-box;
    }
    
    .webnify-car-listing {
        width: 100%;
        max-width: none;
        padding: 0 !important;
    }
    
    /* Mobile Filters Section */
    .webnify-filters-section {
        padding: 20px 15px;
        margin: 15px 0;
        border-radius: 16px;
        background: var(--background-primary);
        border: 1px solid var(--border-light);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }
    
    .webnify-filters-section::before {
        height: 2px;
    }
    
    /* Mobile Search Box */
    .webnify-search-box {
        margin-bottom: 20px;
        width: 100%;
    }
    
    .webnify-search-box input {
        padding: 14px 50px 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 12px;
        border: 2px solid var(--border-light);
        background: var(--background-secondary);
        width: 100%;
        box-sizing: border-box;
    }
    
    .webnify-search-box button {
        width: 40px;
        height: 40px;
        right: 6px;
        border-radius: 10px;
    }
    
    .webnify-search-box button svg {
        width: 18px;
        height: 18px;
    }
    
    /* Filter Toggle Button Mobile */
    .webnify-filter-toggle-container {
        margin-bottom: 15px;
    }
    
    .webnify-filter-toggle {
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
        border-radius: 12px;
        background: var(--background-secondary);
        border: 2px solid var(--border-light);
        color: var(--text-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        cursor: pointer;
        transition: all 0.3s ease;
        min-height: 50px;
    }
    
    .webnify-filter-toggle:hover {
        background: var(--background-primary);
        border-color: var(--primary-color);
        transform: translateY(-1px);
    }
    
    .webnify-filter-toggle svg {
        width: 20px;
        height: 20px;
    }
    
    .webnify-filter-count {
        background: var(--primary-color);
        color: white;
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 50px;
        font-weight: 600;
        margin-left: 8px;
    }
    
    /* Mobile Filter Dropdowns */
    .webnify-filter-row {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }
    
    .webnify-filter-group {
        width: 100%;
    }
    
    .webnify-filter-select {
        width: 100%;
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 12px;
        border: 2px solid var(--border-light);
        background: var(--background-secondary);
        color: var(--text-primary);
        min-height: 50px;
        box-sizing: border-box;
    }
    
    .webnify-filter-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        outline: none;
    }
    
    /* Price Range Inputs Mobile */
    .webnify-price-range {
        display: flex;
        gap: 10px;
        width: 100%;
    }
    
    .webnify-price-input {
        flex: 1;
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 12px;
        border: 2px solid var(--border-light);
        background: var(--background-secondary);
        min-height: 50px;
        box-sizing: border-box;
    }
    
    .webnify-price-input:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        outline: none;
    }
    
    /* View Options Mobile */
    .webnify-view-options {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--border-light);
    }
    
    .webnify-layout-buttons {
        display: flex;
        gap: 10px;
        width: 100%;
    }
    
    .webnify-layout-btn {
        flex: 1;
        padding: 12px 16px;
        border-radius: 10px;
        border: 2px solid var(--border-light);
        background: var(--background-secondary);
        color: var(--text-primary);
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 44px;
    }
    
    .webnify-layout-btn.active {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }
    
    .webnify-sort-container {
        width: 100%;
    }
    
    .webnify-sort-select {
        width: 100%;
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 12px;
        border: 2px solid var(--border-light);
        background: var(--background-secondary);
        min-height: 50px;
        box-sizing: border-box;
    }
}

/* Mobile Car Listing - Two Column Layout (Image + Details) */
@media (max-width: 768px) {
    /* Force list layout on mobile and modify it */
    .webnify-car-listing[data-layout="grid"] .webnify-cars-grid,
    .webnify-car-listing[data-layout="list"] .webnify-cars-grid {
        display: block;
        padding: 15px 0;
        border-radius: 0;
        box-shadow: none;
    }
    
    /* Hide table header on mobile */
    .webnify-car-listing[data-layout="list"] .webnify-cars-table-header {
        display: none;
    }
    
    /* Mobile Car Item - Two Column Layout */
    .webnify-car-listing .webnify-car-item {
        display: grid !important;
        grid-template-columns: 140px 1fr !important;
        gap: 15px !important;
        background: white;
        border: 1px solid var(--border-light);
        border-radius: 12px;
        margin-bottom: 15px;
        padding: 15px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        cursor: pointer;
        overflow: hidden;
        position: relative;
    }
    
    .webnify-car-listing .webnify-car-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        border-color: var(--primary-color);
    }
    
    .webnify-car-listing .webnify-car-item::before {
        display: none;
    }
    
    /* Mobile Car Image */
    .webnify-car-listing .webnify-car-image,
    .webnify-car-listing .webnify-car-cell.webnify-car-image {
        display: block !important;
        width: 140px !important;
        height: 100px !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
        position: relative !important;
        padding: 0 !important;
    }
    
    .webnify-car-listing .webnify-car-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 8px !important;
    }
    
    /* Mobile Car Details Container */
    .webnify-mobile-car-details {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 8px;
        min-height: 100px;
    }
    
    /* Hide all table cells on mobile except image */
    .webnify-car-listing .webnify-car-cell:not(.webnify-car-image) {
        display: none !important;
    }
    
    /* Show mobile details, hide grid details on mobile */
    .webnify-mobile-car-details {
        display: flex !important;
    }
    
    .webnify-car-details.webnify-grid-only {
        display: none !important;
    }
    
    /* Mobile Car Title */
    .webnify-car-listing .webnify-car-name,
    .webnify-car-listing .webnify-car-title {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: var(--text-primary) !important;
        margin: 0 0 4px 0 !important;
        line-height: 1.3 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    
    /* Mobile Car Subtitle */
    .webnify-car-listing .webnify-car-subtitle {
        font-size: 12px !important;
        color: var(--text-light) !important;
        margin: 0 0 8px 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    
    /* Mobile Car Meta Info */
    .webnify-car-listing .webnify-car-meta {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin: 8px 0 !important;
        font-size: 11px !important;
    }
    
    .webnify-car-listing .webnify-car-meta .webnify-meta-item {
        background: var(--background-secondary) !important;
        color: var(--text-secondary) !important;
        padding: 3px 6px !important;
        border-radius: 4px !important;
        font-weight: 500 !important;
        white-space: nowrap !important;
    }
    
    /* Mobile Car Price */
    .webnify-car-listing .webnify-car-price {
        font-size: 18px !important;
        font-weight: 700 !important;
        color: var(--primary-color) !important;
        margin: 8px 0 0 0 !important;
        align-self: flex-end !important;
    }
    
    /* Mobile Car Actions */
    .webnify-car-listing .webnify-car-actions {
        display: flex !important;
        gap: 8px !important;
        margin-top: 8px !important;
    }
    
    .webnify-car-listing .webnify-car-actions .webnify-btn {
        padding: 6px 12px !important;
        font-size: 12px !important;
        border-radius: 6px !important;
        flex: 1 !important;
        text-align: center !important;
        min-height: 32px !important;
    }
    
    /* Mobile Availability Badge */
    .webnify-car-listing .webnify-car-availability {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        display: block !important;
        font-size: 10px !important;
        padding: 4px 8px !important;
        border-radius: 12px !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    
    .webnify-availability-badge.available {
        background: #10b981 !important;
        color: white !important;
    }
    
    .webnify-availability-badge.sold {
        background: #ef4444 !important;
        color: white !important;
    }
    
    .webnify-availability-badge.reserved {
        background: #f59e0b !important;
        color: white !important;
    }
    
    /* Mobile Pagination */
    .webnify-pagination {
        margin-top: 30px;
        padding: 0 15px;
    }
    
    .webnify-pagination-container {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .webnify-pagination-btn {
        min-width: 44px;
        min-height: 44px;
        padding: 8px 12px;
        font-size: 14px;
        border-radius: 8px;
        border: 1px solid var(--border-light);
        background: white;
        color: var(--text-primary);
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .webnify-pagination-btn:hover,
    .webnify-pagination-btn.current {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }
    
    .webnify-pagination-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }
    
    /* Mobile Load More Button */
    .webnify-load-more-container {
        text-align: center;
        margin-top: 30px;
        padding: 0 15px;
    }
    
    .webnify-load-more {
        width: 100%;
        max-width: 300px;
        padding: 14px 20px;
        font-size: 16px;
        border-radius: 12px;
        background: var(--primary-color);
        color: white;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 600;
        min-height: 50px;
    }
    
    .webnify-load-more:hover {
        background: var(--primary-dark);
        transform: translateY(-1px);
    }
    
    .webnify-load-more:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .webnify-car-listing-container {
        padding: 0 8px;
    }
    
    .webnify-filters-section {
        padding: 15px 10px;
        margin: 10px 0;
        border-radius: 12px;
    }
    
    .webnify-search-box input {
        padding: 12px 45px 12px 14px;
        font-size: 16px;
    }
    
    .webnify-search-box button {
        width: 36px;
        height: 36px;
        right: 4px;
    }
    
    .webnify-filter-toggle {
        padding: 12px 16px;
        font-size: 15px;
    }
    
    .webnify-car-listing .webnify-car-item {
        grid-template-columns: 120px 1fr !important;
        gap: 12px !important;
        padding: 12px !important;
        margin-bottom: 12px !important;
    }
    
    .webnify-car-listing .webnify-car-image,
    .webnify-car-listing .webnify-car-cell.webnify-car-image {
        width: 120px !important;
        height: 85px !important;
    }
    
    .webnify-car-listing .webnify-car-name,
    .webnify-car-listing .webnify-car-title {
        font-size: 15px !important;
    }
    
    .webnify-car-listing .webnify-car-subtitle {
        font-size: 11px !important;
    }
    
    .webnify-car-listing .webnify-car-price {
        font-size: 16px !important;
    }
    
    .webnify-car-listing .webnify-car-meta {
        font-size: 10px !important;
        gap: 6px !important;
    }
}