/* ================================
   Listing Detail Page Styles
   ================================ */

/* Main Container */
.listing-detail-page {
    margin-top: 110px;
    min-height: 100vh;
    background: #ffffff;
    padding: 2rem 0 4rem;
    position: relative;
}

/* Glossy overlay effect */
.listing-detail-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(248, 249, 250, 0.6) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.detail-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    line-height: 1.6;
}

.breadcrumb a {
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #4a90e2;
}

.breadcrumb .separator {
    color: #999999;
}

.breadcrumb span:last-child {
    color: #2C2C2C;
    font-weight: 500;
}

/* Content Grid */
.detail-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Main Column */
.main-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Image Gallery */
.image-gallery {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(229, 221, 213, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #E8DDD3, #F2EBE3);
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
}

.main-image-container:hover .gallery-nav {
    opacity: 1;
}

.gallery-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav svg {
    width: 24px;
    height: 24px;
    color: #2C2C2C;
}

.gallery-nav.prev-btn {
    left: 1rem;
}

.gallery-nav.next-btn {
    right: 1rem;
}

.image-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Thumbnail Grid */
.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
}

.thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    border-color: #4a90e2;
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: #4a90e2;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

/* Listing Information */
.listing-information {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(229, 221, 213, 0.3);
    border-radius: 16px;
    padding: 2rem;
}

.listing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.listing-category {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4a90e2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.listing-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    color: #2C2C2C;
    margin: 0;
    line-height: 1.3;
}

.listing-badges {
    display: flex;
    gap: 0.5rem;
}

.badge {
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-featured {
    background: linear-gradient(135deg, #2F5D3A 0%, #4a90e2 100%);
    color: white;
}

.badge-new {
    background: rgba(74, 144, 226, 0.9);
    color: white;
}

.badge-bumped {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    color: white;
    animation: bump-pulse 2s ease-in-out infinite;
}

@keyframes bump-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4); }
    50%       { box-shadow: 0 0 0 6px rgba(6, 182, 212, 0); }
}

.badge-urgent {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

/* Price Section */
.price-section {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(229, 221, 213, 0.3);
    margin-bottom: 1.5rem;
}

.price {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2F5D3A;
    margin-bottom: 0.75rem;
}

.listing-meta-info {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #666666;
}

.meta-item svg {
    width: 16px;
    height: 16px;
}

/* Actions Row */
.actions-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 0.5rem 0;
}

/* Quick Contact Row */
.quick-contact-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-whatsapp {
    flex: 1;
    min-width: 200px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.875rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    filter: brightness(1.05);
}

.btn-sms {
    flex: 1;
    min-width: 200px;
    background: linear-gradient(135deg, #4F46E5 0%, #4338CA 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.875rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.btn-sms:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
    filter: brightness(1.05);
}

.whatsapp-icon, .sms-icon {
    width: 20px;
    height: 20px;
}

.action-buttons-group {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn-primary {
    flex: 1;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #2F5D3A 0%, #4a90e2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.3);
}

.btn-primary svg,
.btn-secondary svg {
    width: 20px;
    height: 20px;
}

.btn-secondary {
    width: 54px;
    height: 54px;
    padding: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(229, 221, 213, 0.4);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    border-color: #4a90e2;
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(74, 144, 226, 0.15);
}

.btn-secondary svg {
    color: #4b5563;
    transition: all 0.3s ease;
}

.btn-secondary:hover svg {
    color: #4a90e2;
}

/* Specific Report button refinement in main row */
.actions-row .report-btn:hover {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.actions-row .report-btn:hover svg {
    color: #ef4444;
}

/* Favorite button states */
.favorite-btn svg {
    transition: all 0.3s ease;
}

.favorite-btn.favorited {
    background: rgba(255, 71, 87, 0.1);
    border-color: #ff4757;
}

.favorite-btn.favorited svg {
    color: #ff4757;
    fill: #ff4757;
    stroke: #ff4757;
}

/* Image Favorite Button Overlay */
.image-favorite-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(229, 221, 213, 0.3);
    z-index: 10;
    opacity: 1;
    /* Always visible */
    transition: all 0.3s ease;
}

.image-favorite-btn:hover {
    background: white;
    transform: scale(1.1);
    border-color: #ff4757;
}

.image-favorite-btn.favorited {
    opacity: 1;
}

/* Sections */
.section-heading {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2C2C2C;
    margin: 0 0 1rem 0;
}

.description-section {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(229, 221, 213, 0.3);
    margin-bottom: 2rem;
}

.description-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #444444;
    white-space: pre-wrap;
}

/* Details Grid */
.details-section {
    margin-bottom: 2rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #666666;
}

.detail-value {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #2C2C2C;
}

/* Sidebar */
.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Cards */
.seller-card,
.safety-card,
.report-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(229, 221, 213, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
}

.card-heading {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #2C2C2C;
    margin: 0 0 1.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-heading svg {
    width: 20px;
    height: 20px;
    color: #4a90e2;
}

/* Seller Card */
.seller-info {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.seller-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.seller-details {
    flex: 1;
}

.seller-name-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
}

.seller-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #2C2C2C;
}

.verified-badge svg {
    width: 18px;
    height: 18px;
    color: #4a90e2;
}

.seller-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.rating-stars {
    color: #FFD700;
    font-size: 0.875rem;
}

.rating-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    color: #666666;
}

.seller-joined {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    color: #999999;
}

.btn-outline {
    width: 100%;
    padding: 0.875rem;
    background: transparent;
    border: 2px solid rgba(74, 144, 226, 0.5);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #4a90e2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(74, 144, 226, 0.1);
    border-color: #4a90e2;
}

/* Safety Card */
.safety-tips {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.safety-tips li {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: #444444;
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    border-bottom: 1px solid rgba(229, 221, 213, 0.2);
}

.safety-tips li:last-child {
    border-bottom: none;
}

.safety-tips li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: #2F5D3A;
    font-weight: 700;
}

.learn-more-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.learn-more-link:hover {
    color: #2F5D3A;
}

/* Report Card */
.report-btn {
    width: 100%;
    padding: 0.875rem;
    background: transparent;
    border: 1px solid rgba(229, 221, 213, 0.5);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #666666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.report-btn:hover {
    border-color: #ff4757;
    color: #ff4757;
    background: rgba(255, 71, 87, 0.05);
}

.report-btn svg {
    width: 18px;
    height: 18px;
}

/* Similar Listings */
.similar-listings {
    margin-top: 3rem;
}

.similar-listings .section-heading {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.similar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
    color: white;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav svg {
    width: 32px;
    height: 32px;
    color: white;
}

.lightbox-nav.prev {
    left: 2rem;
}

.lightbox-nav.next {
    right: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .detail-content {
        grid-template-columns: 1fr 320px;
        gap: 1.5rem;
    }

    .main-image-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .listing-detail-page {
        padding: 1.5rem 0 3rem;
    }

    .detail-container {
        padding: 0 1rem;
    }

    .detail-content {
        grid-template-columns: 1fr;
    }

    .sidebar-column {
        order: 2;
    }

    .main-column {
        order: 1;
    }

    .main-image-container {
        height: 300px;
    }

    .listing-title {
        font-size: 1.5rem;
    }

    .price {
        font-size: 2rem;
    }

    .actions-row {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .action-buttons-group {
        justify-content: center;
        width: 100%;
    }

    .btn-secondary {
        flex: 1;
        height: 50px;
    }

    .quick-contact-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-whatsapp, .btn-sms {
        width: 100%;
        min-width: 0;
        padding: 0.75rem;
    }

    .back-nav .post-ad-btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem !important;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .similar-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1rem;
    }

    .lightbox-nav {
        width: 48px;
        height: 48px;
    }

    .lightbox-nav.prev {
        left: 1rem;
    }

    .lightbox-nav.next {
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .thumbnail-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 0.5rem;
    }

    .thumbnail {
        height: 60px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
    }

    .gallery-nav svg {
        width: 20px;
        height: 20px;
    }

    .similar-grid {
        grid-template-columns: 1fr;
    }

    /* Small mobile tweaks */
    .breadcrumb {
        font-size: 0.8rem;
    }

    .listing-title {
        font-size: 1.25rem;
    }

    .price {
        font-size: 1.75rem;
    }
    
    .section-heading {
        font-size: 1.1rem;
        margin-top: 1.5rem;
    }
    
    .safety-card, .report-card {
        padding: 1rem;
    }
}

/* Modal Styling Refinement */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

/* When modal is shown via JS as block, we want it to center properly */
.modal[style*="display: block"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(255, 255, 255, 0.98);
    margin: auto;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(249, 250, 251, 0.5);
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #111827;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(229, 231, 235, 0.5);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    background: rgba(249, 250, 251, 0.5);
}

.close {
    font-size: 1.75rem;
    font-weight: 300;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    color: #111827;
    background: rgba(0, 0, 0, 0.05);
}

#reportForm .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

#reportForm .form-group select,
#reportForm .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
    box-sizing: border-box;
}

#reportForm .form-group select:focus,
#reportForm .form-group textarea:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

/* Shake Animation */
@keyframes btn-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.btn-shake {
    animation: btn-shake 0.3s ease-in-out;
}

/* Share Hub Premium Styles */
.share-modal .modal-content {
    max-width: 450px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.share-preview-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(249, 250, 251, 0.5);
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.share-preview-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.share-preview-info {
    flex: 1;
}

.share-preview-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    color: #2C2C2C;
}

.share-preview-info p {
    margin: 0;
    font-size: 0.875rem;
    color: #2F5D3A;
    font-weight: 600;
}

.share-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.share-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1rem 0.5rem;
    border-radius: 12px;
    background: transparent;
    border: 1px solid transparent;
    text-decoration: none;
}

.share-item:hover {
    background: rgba(0, 0, 0, 0.03);
    transform: translateY(-3px);
}

.share-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.share-item span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #4b5563;
}

/* Platform Colors */
.icon-whatsapp { background: #25D366; }
.icon-facebook { background: #1877F2; }
.icon-twitter { background: #000000; }
.icon-messenger { background: #0084FF; }
.icon-email { background: #ea4335; }
.icon-qr { background: #4a90e2; }

/* QR Section */
.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 1rem;
}

.qr-code-container {
    background: white;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
}

.qr-code-container img {
    display: block;
    width: 150px;
    height: 150px;
}

.qr-text {
    font-size: 0.8125rem;
    color: #6b7280;
    text-align: center;
}

/* Copy Link Area */
.copy-link-area {
    margin-top: 1.5rem;
    display: flex;
    background: #f3f4f6;
    border-radius: 10px;
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
}

.copy-link-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0 0.5rem;
    font-size: 0.875rem;
    color: #4b5563;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-copy {
    background: #2C2C2C;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-copy:hover {
    background: #000;
}
/* -- Vehicle Spec Table -------------------------------- */
.vehicle-specs-section {
    background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(139,92,246,0.04));
    border: 1.5px solid rgba(99,102,241,0.18);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.vehicle-specs-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #4338ca;
    margin-bottom: 1rem;
}
.vehicle-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 0.75rem;
}
.vehicle-spec-item {
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(99,102,241,0.12);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.vehicle-spec-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.vehicle-spec-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
}
