/* Modern Mobile Ad Detail Page Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Desktop View Rule (Keep Desktop 100% Untouched) */
@media (min-width: 992px) {
    .savdo-mobile-view {
        display: none !important;
    }
}

/* Mobile View Rule (Screens <= 991px) */
@media (max-width: 991px) {
    .savdo-desktop-view {
        display: none !important;
    }

    body, .details-page {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
        background-color: #ffffff !important;
        color: #0f172a !important;
        margin: 0;
        padding: 0;
    }

    .savdo-mobile-container {
        padding: 0 16px 85px 16px;
        background: #ffffff;
    }

    /* Photo Gallery Carousel */
    .savdo-mobile-gallery {
        border-radius: 16px;
        overflow: hidden;
        margin-bottom: 16px;
        background: #f8fafc;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
        position: relative;
    }
    .savdo-mobile-gallery img {
        width: 100%;
        height: 290px;
        object-fit: cover;
        border-radius: 16px;
    }

    /* Sub-meta Bar: 👁 49  Сегодня • ID: 333115 */
    .savdo-mobile-meta {
        font-size: 13px;
        color: #94a3b8;
        font-weight: 500;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    /* Price and Negotiate Badge */
    .savdo-mobile-price-row {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 8px;
    }
    .savdo-mobile-price {
        font-size: 28px;
        font-weight: 800;
        color: #0f172a;
        letter-spacing: -0.5px;
    }
    .savdo-mobile-negotiate {
        background: #e6f4ea;
        color: #1e8e3e;
        font-size: 13px;
        font-weight: 700;
        padding: 4px 10px;
        border-radius: 8px;
    }

    /* Listing Title */
    .savdo-mobile-title {
        font-size: 19px;
        font-weight: 700;
        color: #1e293b;
        line-height: 1.35;
        margin-bottom: 22px;
    }

    /* Attributes Specs Table */
    .savdo-mobile-specs {
        border-top: 1px solid #f1f5f9;
        margin-bottom: 24px;
    }
    .savdo-mobile-spec-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 13px 0;
        border-bottom: 1px solid #f1f5f9;
        font-size: 15px;
    }
    .savdo-mobile-spec-label {
        color: #64748b;
        font-weight: 500;
    }
    .savdo-mobile-spec-val {
        color: #0f172a;
        font-weight: 700;
        text-align: right;
    }
    .savdo-mobile-spec-link {
        color: #0284c7;
        font-weight: 700;
    }

    /* Description Section */
    .savdo-mobile-desc-box {
        margin-top: 20px;
        margin-bottom: 28px;
    }
    .savdo-mobile-heading {
        font-size: 20px;
        font-weight: 700;
        color: #0f172a;
        margin-bottom: 14px;
    }
    .savdo-mobile-desc-text {
        font-size: 15px;
        line-height: 1.7;
        color: #334155;
        white-space: pre-line;
    }

    /* Category Breadcrumbs Pill Line */
    .savdo-mobile-crumbs-line {
        font-size: 13.5px;
        color: #0284c7;
        font-weight: 600;
        margin-bottom: 24px;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px;
        background: #f8fafc;
        padding: 12px 14px;
        border-radius: 12px;
        border: 1px solid #f1f5f9;
    }

    /* Seller Info Card */
    .savdo-mobile-seller-card {
        background: #f8fafc;
        border-radius: 16px;
        padding: 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 24px;
        border: 1px solid #f1f5f9;
        text-decoration: none !important;
    }
    .savdo-mobile-seller-left {
        display: flex;
        align-items: center;
        gap: 14px;
    }
    .savdo-mobile-seller-avatar {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        object-fit: cover;
        border: 2px solid #e2e8f0;
    }
    .savdo-mobile-seller-name {
        font-size: 16px;
        font-weight: 700;
        color: #0f172a;
    }
    .savdo-mobile-seller-sub {
        font-size: 13.5px;
        font-weight: 600;
        color: #0284c7;
        margin-top: 2px;
    }
    .savdo-mobile-seller-date {
        font-size: 12px;
        color: #94a3b8;
        margin-top: 2px;
    }

    /* Report Link */
    .savdo-mobile-report {
        font-size: 14px;
        color: #94a3b8;
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 30px;
        text-decoration: none !important;
    }

    /* Similar Products Grid (2-Column Grid) */
    .savdo-mobile-similar-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .savdo-similar-card {
        background: #ffffff;
        border-radius: 16px;
        overflow: hidden;
        border: 1px solid #f1f5f9;
        text-decoration: none !important;
    }
    .savdo-similar-img-box {
        height: 150px;
        border-radius: 16px;
        overflow: hidden;
        position: relative;
    }
    .savdo-similar-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 16px;
    }
    .savdo-similar-info {
        padding: 10px;
    }
    .savdo-similar-price {
        font-size: 16.5px;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: 2px;
    }
    .savdo-similar-title {
        font-size: 13px;
        color: #334155;
        font-weight: 500;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .savdo-similar-sub {
        font-size: 11.5px;
        color: #94a3b8;
        margin-top: 6px;
    }

    /* Fixed Bottom Action Bar */
    .savdo-mobile-fixed-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 12px 16px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
        z-index: 9999;
        display: flex;
        gap: 10px;
        align-items: center;
    }
    .btn-call-dark {
        background: #2b2d33;
        color: #ffffff !important;
        border-radius: 14px;
        font-weight: 600;
        font-size: 15px;
        height: 50px;
        flex: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none !important;
        border: none;
    }
    .btn-chat-light {
        background: #f1f3f5;
        color: #1e293b !important;
        border-radius: 14px;
        font-weight: 600;
        font-size: 13px;
        height: 50px;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        text-decoration: none !important;
        border: none;
    }
    .btn-wa-green {
        background: #e6f9ed;
        color: #16a34a !important;
        border-radius: 14px;
        font-weight: 600;
        font-size: 13px;
        height: 50px;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        text-decoration: none !important;
        border: none;
    }
}
