/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: #f8f9fa;
}

/* ===== CONTAINERS ===== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.main-container {
    padding: 15px;
}

/* ===== CAR META INFO ===== */
.car-meta-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    font-size: 13px;
    color: #666;
}

.meta-left, .meta-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.posted-time, .view-count {
    display: flex;
    align-items: center;
    gap: 4px;
}

.posted-time svg, .view-count svg {
    fill: #666;
    width: 14px;
    height: 14px;
}

/* ===== MAIN LAYOUT ===== */
.car-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 20px;
    margin-bottom: 40px;
}

/* ===== LEFT COLUMN ===== */
.left-column {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    overflow: hidden;
}

.car-header {
    padding: 18px 20px;
    border-bottom: 1px solid #eaeaea;
}

.car-title {
    font-size: 26px;
    color: #333;
    margin-bottom: 6px;
    font-weight: 700;
    line-height: 1.2;
}

.car-subtitle {
    font-size: 15px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.car-subtitle .separator {
    color: #999;
}

.car-subtitle span:not(.separator) {
    background: #f5f5f5;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 500;
}

/* Mobile Sections */
.price-section-mobile {
    display: none;
    padding: 15px 20px;
    background: #fff;
    border-bottom: 1px solid #eaeaea;
}

.specifications-section-mobile {
    display: none;
    padding: 15px 20px;
    border-bottom: 1px solid #eaeaea;
}

.features-section-mobile {
    display: none;
    padding: 15px 20px;
    border-bottom: 1px solid #eaeaea;
}

.contact-buttons-mobile {
    display: none;
}

.contact-form-section-mobile {
    display: none;
}

.action-buttons-mobile {
    display: none;
}

/* Gallery */
.gallery-section {
    padding: 20px;
}

.gallery-layout {
    display: flex;
    gap: 15px;
}

.thumbnails-vertical {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100px;
    flex-shrink: 0;
    max-height: 450px;
    overflow-y: auto;
    padding-right: 5px;
}

.thumbnails-vertical::-webkit-scrollbar {
    width: 4px;
}

.thumbnails-vertical::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.thumbnails-vertical::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.thumbnails-horizontal {
    display: none;
}

.thumbnail {
    width: 100%;
    height: 75px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
    transition: all 0.15s;
    background: #f5f5f5;
}

.thumbnail:hover {
    border-color: #d32f2f;
}

.thumbnail.active {
    border-color: #d32f2f;
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-image-wrapper {
    flex: 1;
    min-width: 0;
}

.main-image-container {
    position: relative;
    background: #f5f5f5;
    border-radius: 6px;
    overflow: hidden;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sold-banner {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #d32f2f;
    color: white;
    padding: 6px 12px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.5);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0;
    z-index: 10;
}

.main-image-container:hover .nav-arrow {
    opacity: 1;
}

.nav-arrow:hover {
    background: rgba(0,0,0,0.7);
    transform: translateY(-50%) scale(1.05);
}

.nav-arrow svg {
    width: 22px;
    height: 22px;
    fill: white;
}

.nav-prev {
    left: 15px;
}

.nav-next {
    right: 15px;
}

.image-counter {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
}

.description-section {
    padding: 20px;
    border-top: 1px solid #eaeaea;
}

.section-title {
    font-size: 17px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
    padding-bottom: 6px;
    border-bottom: 1px solid #e0e0e0;
}

.description-content {
    color: #444;
    line-height: 1.7;
    font-size: 14px;
}

/* Desktop Sections */
.price-section-desktop {
    background: #fff;
    color: #333;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border: 1px solid #eaeaea;
    display: block;
}

.contact-buttons-desktop {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.btn-call {
    background: #3498db;
    color: white;
    border: 1px solid #3498db;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    border: 1px solid #25D366;
}

.btn-call:hover {
    background: #5faee3;
    color: white;
    border: 1px solid #5faee3;
    transform: none;
    box-shadow: 0 2px 5px rgba(52, 152, 219, 0.2);
}

.btn-whatsapp:hover {
    background: #5fdc82;
    color: white;
    border: 1px solid #5fdc82;
    transform: none;
    box-shadow: 0 2px 5px rgba(37, 211, 102, 0.2);
}

.specifications-section-desktop {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    display: block;
    margin-bottom: 15px;
}

.features-section-desktop {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    display: block;
    margin-bottom: 15px;
}

.contact-form-section-desktop {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    display: block;
    margin-bottom: 15px;
}

.action-buttons-desktop {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    min-height: 32px;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    color: #555;
    font-weight: 500;
    font-size: 13px;
}

.spec-value {
    color: #333;
    font-weight: 400;
    font-size: 13px;
    text-align: right;
}

.price-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    color: #777;
    font-weight: 500;
}

.price-value {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #d32f2f;
}

.sold-tag {
    display: inline-block;
    background: #d32f2f;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.features-list-left {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 6px;
    margin-top: 10px;
}

.feature-item-left {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    background: #f9f9f9;
    border-radius: 4px;
    border-left: 3px solid #555;
    font-size: 12px;
    color: #444;
    transition: all 0.15s;
    min-height: 30px;
}

.feature-item-left:hover {
    background: #f0f0f0;
    transform: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.feature-item-left .check-icon {
    width: 14px;
    height: 14px;
    fill: #555;
    flex-shrink: 0;
}

.right-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
    width: 100%;
}

.btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.btn-submit {
    background: #333;
    color: white;
    border: 1px solid #333;
}

.btn-submit:hover {
    background: #555;
    border-color: #555;
    transform: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.btn-secondary {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    border-color: #333;
    background: #f9f9f9;
    transform: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* ===== FORM STYLES - FIX ZOOM ON MOBILE ===== */
.contact-form {
    margin-top: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.15s;
    background: #fafafa;
    /* Parandalon zoom-in në mobile */
    -webkit-text-size-adjust: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #555;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(85, 85, 85, 0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Similar Cars */
.similar-cars-section {
    margin-top: 40px;
    padding: 30px 15px;
    border-top: 1px solid #eaeaea;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.similar-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.similar-cars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.similar-car {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border: 1px solid #eaeaea;
}

.similar-car:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-color: #555;
}

.similar-image {
    height: 160px;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.similar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}

.similar-car:hover .similar-img {
    transform: scale(1.03);
}

.similar-sold {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #d32f2f;
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.similar-info {
    padding: 15px;
}

.similar-car-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
    height: 39px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.similar-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.similar-year {
    font-size: 13px;
    color: #666;
}

.similar-price {
    font-size: 16px;
    font-weight: 800;
    color: #d32f2f;
}

/* ===== FULLSCREEN MODAL - IMPROVED VERSION ===== */
.fullscreen-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.98);
    z-index: 10000;
    flex-direction: column;
}

.modal-header {
    padding: 15px;
    text-align: right;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10001;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
}

.close-btn {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    margin-left: auto;
}

.close-btn:hover {
    background: rgba(0,0,0,0.9);
    transform: rotate(90deg);
}

.modal-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    height: 100%;
}

.fullscreen-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.fullscreen-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Butonat e navigimit - të vendosur në mes vertikalisht */
#fullscreen-prev,
#fullscreen-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10001;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    opacity: 0.8;
}

#fullscreen-prev:hover,
#fullscreen-next:hover {
    background: rgba(0,0,0,0.9);
    transform: translateY(-50%) scale(1.05);
    opacity: 1;
}

#fullscreen-prev svg,
#fullscreen-next svg {
    width: 28px;
    height: 28px;
    fill: white;
}

#fullscreen-prev {
    left: 12px;
}

#fullscreen-next {
    right: 12px;
}

.fullscreen-image-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 10001;
    pointer-events: none;
}

/* ===== POPUP NOTIFICATION - ULTRA FIXED VERSION ===== */
.popup-notification {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 999999 !important;
    display: none !important;
    max-width: 350px !important;
    min-width: 280px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    pointer-events: auto !important;
}

.popup-notification.show {
    display: block !important;
}

.popup-content {
    background: white !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-left: 4px solid transparent !important;
    position: relative !important;
}

.popup-content.success {
    border-left-color: #4CAF50 !important;
}

.popup-content.error {
    border-left-color: #d32f2f !important;
}

.popup-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 15px 20px !important;
    background: #f8f9fa !important;
    border-bottom: 1px solid #eee !important;
}

.popup-header h3 {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    color: #333 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.popup-header h3 svg {
    width: 20px !important;
    height: 20px !important;
}

.close-popup {
    background: none !important;
    border: none !important;
    font-size: 24px !important;
    cursor: pointer !important;
    color: #999 !important;
    line-height: 1 !important;
    padding: 0 5px !important;
    transition: color 0.15s !important;
}

.close-popup:hover {
    color: #333 !important;
}

.popup-body {
    padding: 15px 20px !important;
    font-size: 14px !important;
    color: #666 !important;
    line-height: 1.5 !important;
}

.popup-body strong {
    color: #333 !important;
    font-weight: 600 !important;
}

.popup-footer {
    padding: 12px 20px !important;
    background: #f8f9fa !important;
    border-top: 1px solid #eee !important;
    text-align: right !important;
}

.popup-footer button {
    padding: 6px 16px !important;
    background: #333 !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: background 0.15s !important;
}

.popup-footer button:hover {
    background: #555 !important;
}

.popup-progress {
    height: 3px !important;
    background: #e0e0e0 !important;
    width: 100% !important;
}

.popup-progress-bar {
    height: 100% !important;
    background: #4CAF50 !important;
    width: 100% !important;
    animation: progress 5s linear forwards !important;
    transform-origin: left !important;
}

.popup-progress-bar.error {
    background: #d32f2f !important;
}

/* Sigurohu që asnjë element tjetër nuk e mbishkruan popup-in */
.car-detail-page .popup-notification,
.container .popup-notification,
.main-container .popup-notification,
.left-column .popup-notification,
.right-column .popup-notification,
.similar-cars-section .popup-notification {
    display: none !important;
}

.car-detail-page .popup-notification.show,
.container .popup-notification.show,
.main-container .popup-notification.show,
.left-column .popup-notification.show,
.right-column .popup-notification.show,
.similar-cars-section .popup-notification.show {
    display: block !important;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes progress {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

/* ===== RESPONSIVE STYLES ===== */

/* Tablet and Mobile Layout */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 12px;
    }
    
    .main-container {
        padding: 12px;
    }
    
    .car-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .right-column {
        max-width: 100%;
        order: 2;
    }
    
    .left-column {
        order: 1;
        margin-bottom: 15px;
    }
    
    .price-section-desktop,
    .contact-buttons-desktop,
    .specifications-section-desktop,
    .features-section-desktop,
    .contact-form-section-desktop,
    .action-buttons-desktop {
        display: none !important;
    }
    
    .price-section-mobile {
        display: block;
        background: #fff;
        padding: 15px;
        border-bottom: 1px solid #eaeaea;
        margin: 0;
    }
    
    .specifications-section-mobile {
        display: block;
        background: #fff;
        padding: 15px;
        border-bottom: 1px solid #eaeaea;
        margin: 0;
    }
    
    .features-section-mobile {
        display: block;
        background: #fff;
        padding: 15px;
        border-bottom: 1px solid #eaeaea;
        margin: 0;
    }
    
    .contact-buttons-mobile {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 15px;
        border-top: 1px solid #eaeaea;
        background: #fff;
        margin: 0;
    }
    
    .contact-form-section-mobile {
        display: block;
        padding: 15px;
        border-top: 1px solid #eaeaea;
        background: #fff;
        margin: 0;
    }
    
    .action-buttons-mobile {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 15px;
        border-top: 1px solid #eaeaea;
        background: #fff;
        margin: 0 0 15px 0;
    }
    
    .gallery-section {
        padding: 15px;
    }
    
    .gallery-layout {
        flex-direction: column;
    }
    
    .thumbnails-vertical {
        display: none;
    }
    
    .thumbnails-horizontal {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        margin-top: 12px;
        padding-bottom: 5px;
    }
    
    .thumbnails-horizontal .thumbnail {
        width: 80px;
        height: 60px;
        flex-shrink: 0;
    }
    
    .main-image-container {
        height: 400px;
    }
    
    .description-section {
        padding: 15px;
        border-top: 1px solid #eaeaea;
        margin: 0;
    }
    
    .similar-cars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .similar-cars-section {
        padding: 25px 12px;
        margin-top: 25px;
    }
    
    .car-header {
        padding: 15px;
    }
    
    .price-section-mobile .price-value {
        font-size: 20px;
    }
    
    .features-list-left {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 6px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .main-container {
        padding: 10px;
    }
    
    .car-meta-info {
        padding: 8px 12px;
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .car-title {
        font-size: 22px;
    }
    
    .main-image-container {
        height: 320px;
    }
    
    .nav-arrow {
        width: 38px;
        height: 38px;
    }
    
    .nav-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .similar-cars-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .similar-cars-section {
        padding: 20px 10px;
    }
    
    .similar-image {
        height: 180px;
    }
    
    .action-buttons-mobile {
        flex-direction: column;
    }
    
    .features-list-left {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .spec-item {
        padding: 5px 0;
        min-height: 30px;
    }
    
    .feature-item-left {
        padding: 5px 8px;
        min-height: 30px;
    }
    
    /* ===== FORM FIX ZOOM ON MOBILE ===== */
    .form-group input,
    .form-group textarea {
        font-size: 16px !important;
    }
    
    /* Fullscreen Modal - Mobile Improvements */
    #fullscreen-prev,
    #fullscreen-next {
        width: 44px;
        height: 44px;
        background: rgba(0, 0, 0, 0.7);
        opacity: 0.9;
    }
    
    #fullscreen-prev svg,
    #fullscreen-next svg {
        width: 24px;
        height: 24px;
    }
    
    #fullscreen-prev {
        left: 10px;
    }
    
    #fullscreen-next {
        right: 10px;
    }
    
    .fullscreen-image-counter {
        bottom: 20px;
        padding: 6px 16px;
        font-size: 13px;
        background: rgba(0, 0, 0, 0.8);
    }
    
    .close-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
        background: rgba(0, 0, 0, 0.7);
    }
    
    /* Mobile Popup Fix */
    .popup-notification {
        top: 10px !important;
        right: 10px !important;
        left: 10px !important;
        bottom: auto !important;
        max-width: none !important;
        min-width: auto !important;
        width: calc(100% - 20px) !important;
        display: none !important;
        position: fixed !important;
        z-index: 999999 !important;
    }
    
    .popup-notification.show {
        display: block !important;
        animation: slideDown 0.3s ease-out !important;
    }
    
    .popup-content {
        width: 100% !important;
        border-radius: 10px !important;
        box-shadow: 0 5px 25px rgba(0,0,0,0.2) !important;
    }
    
    .popup-header {
        padding: 12px 15px !important;
    }
    
    .popup-header h3 {
        font-size: 15px !important;
    }
    
    .popup-body {
        padding: 12px 15px !important;
        font-size: 13px !important;
    }
    
    .popup-footer {
        padding: 10px 15px !important;
    }
    
    .popup-footer button {
        padding: 8px 20px !important;
        font-size: 14px !important;
    }
    
    .popup-progress {
        height: 4px !important;
    }
    
    @keyframes slideDown {
        from {
            transform: translateY(-20px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
}

/* Për iOS Safari specifikisht - Fix Zoom */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 768px) {
        .form-group input,
        .form-group textarea {
            font-size: 16px !important;
        }
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .main-container {
        padding: 8px;
    }
    
    .car-header {
        padding: 12px;
    }
    
    .car-meta-info {
        padding: 8px 10px;
        font-size: 11px;
        gap: 3px;
    }
    
    .meta-left, .meta-right {
        gap: 2px;
    }
    
    .posted-time svg, .view-count svg {
        width: 12px;
        height: 12px;
    }
    
    .car-title {
        font-size: 18px;
    }
    
    .car-subtitle {
        font-size: 13px;
        gap: 4px;
    }
    
    .car-subtitle span:not(.separator) {
        padding: 2px 6px;
    }
    
    .price-section-mobile,
    .specifications-section-mobile,
    .features-section-mobile,
    .gallery-section,
    .description-section,
    .contact-buttons-mobile,
    .contact-form-section-mobile,
    .action-buttons-mobile {
        padding: 12px;
    }
    
    .gallery-section {
        padding: 12px;
    }
    
    .main-image-container {
        height: 250px;
    }
    
    .nav-arrow {
        width: 34px;
        height: 34px;
    }
    
    .nav-arrow svg {
        width: 18px;
        height: 18px;
    }
    
    .thumbnails-horizontal .thumbnail {
        width: 70px;
        height: 52px;
    }
    
    .section-title {
        font-size: 16px;
        margin-bottom: 8px;
        padding-bottom: 4px;
    }
    
    .btn {
        padding: 9px 12px;
        font-size: 12px;
    }
    
    .btn svg {
        width: 14px;
        height: 14px;
    }
    
    .price-value {
        font-size: 18px;
    }
    
    .price-label {
        font-size: 10px;
    }
    
    .spec-label,
    .spec-value {
        font-size: 12px;
    }
    
    .feature-item-left {
        font-size: 11px;
        padding: 4px 6px;
    }
    
    .similar-car-title {
        font-size: 14px;
        height: 36px;
    }
    
    .similar-price {
        font-size: 15px;
    }
    
    .similar-cars-section {
        padding: 15px 8px;
    }
    
    .similar-cars-grid {
        gap: 10px;
    }
    
    .form-group {
        margin-bottom: 10px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 13px;
    }
    
    /* Fullscreen Modal - Extra Small Mobile */
    #fullscreen-prev,
    #fullscreen-next {
        width: 40px;
        height: 40px;
    }
    
    #fullscreen-prev svg,
    #fullscreen-next svg {
        width: 22px;
        height: 22px;
    }
    
    #fullscreen-prev {
        left: 8px;
    }
    
    #fullscreen-next {
        right: 8px;
    }
    
    .fullscreen-image-counter {
        bottom: 15px;
        padding: 5px 14px;
        font-size: 12px;
    }
    
    /* Extra Small Mobile Popup */
    .popup-notification {
        top: 5px !important;
        right: 5px !important;
        left: 5px !important;
        width: calc(100% - 10px) !important;
    }
    
    .popup-header {
        padding: 10px 12px !important;
    }
    
    .popup-body {
        padding: 10px 12px !important;
    }
    
    .popup-footer {
        padding: 8px 12px !important;
    }
    
    .popup-footer button {
        padding: 6px 16px !important;
        font-size: 13px !important;
    }
}