/* ============================================
   LISTING.CSS — Elan detal səhifəsi (Mobil + Desktop)
   ============================================ */

.listing-page {
    background: var(--bg-soft);
    min-height: calc(100vh - 80px);
    padding: 24px 0 64px;
}

/* Mobil-də geri düyməsi */
.mobile-back-btn {
    display: none;
    align-items: center;
    gap: 4px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 8px 14px 8px 10px;
    color: var(--ink);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    margin-bottom: 14px;
    transition: background 0.15s;
}
.mobile-back-btn:hover { background: var(--bg-soft); }

/* === BREADCRUMB === */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--ink-mute);
    margin-bottom: 20px;
}
.breadcrumb a {
    color: var(--ink-mute);
    text-decoration: none;
    transition: color 0.15s;
}
.breadcrumb a:hover { color: var(--accent); }
.bc-sep { color: var(--ink-mute); opacity: 0.6; }
.bc-current { color: var(--ink); font-weight: 500; }

/* === LAYOUT === */
.listing-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}

.listing-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.listing-aside {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Mobil başlıq — desktop-da gizli */
.mobile-title-section {
    display: none;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
}
.mobile-title-section .listing-cat-badge {
    margin-bottom: 8px;
}
.listing-title-mobile {
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 8px;
    line-height: 1.3;
    letter-spacing: -0.3px;
}
.listing-price-mobile {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.4px;
}

/* ============================================
   GALERREYA
   ============================================ */
.listing-gallery {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.gallery-main {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #000;
    overflow: hidden;
}

.gallery-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.gallery-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, transform 0.15s;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.gallery-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.08);
}

.gallery-vip-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #5a3000;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.4);
    z-index: 2;
}

.gallery-zoom-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    backdrop-filter: blur(8px);
    transition: background 0.15s, transform 0.15s;
}
.gallery-zoom-btn:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: scale(1.08);
}

.gallery-counter {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.65);
    color: white;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    z-index: 2;
}

/* Mobil dot indikatorları (yalnız mobildə görünür) */
.gallery-dots {
    display: none;
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    gap: 6px;
    z-index: 2;
}
.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.15s, width 0.2s;
}
.gallery-dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

/* Thumbnaillar */
.gallery-thumbs {
    display: flex;
    gap: 6px;
    padding: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.gallery-thumbs::-webkit-scrollbar { height: 4px; }
.gallery-thumbs::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: 100px;
}

.gallery-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 54px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    background: var(--bg-soft);
    cursor: pointer;
    padding: 0;
    transition: border-color 0.15s, transform 0.15s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { transform: translateY(-1px); }
.gallery-thumb.active { border-color: var(--accent); }

/* ============================================
   SECTION (təsvir, xüsusiyyətlər)
   ============================================ */
.listing-section {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px 24px;
}

.listing-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 14px 0;
    letter-spacing: -0.2px;
}
.listing-section-title svg { color: var(--accent); }

.listing-description {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--ink);
    margin: 0;
    white-space: pre-wrap;
    position: relative;
}
.listing-description::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(transparent, var(--bg));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}
.listing-description[style*="max-height"]::after { opacity: 1; }

.description-toggle {
    margin-top: 10px;
    background: none;
    border: none;
    color: var(--accent);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    font-family: inherit;
}
.description-toggle:hover { text-decoration: underline; }

/* Xüsusiyyətlər */
.listing-attrs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 0;
}
.listing-attr-row { display: contents; }
.listing-attr-row dt,
.listing-attr-row dd {
    padding: 10px 14px;
    margin: 0;
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
}
.listing-attr-row:nth-child(odd) dt,
.listing-attr-row:nth-child(odd) dd {
    background: var(--bg-soft);
}
.listing-attr-row dt {
    color: var(--ink-mute);
    font-weight: 500;
}
.listing-attr-row dd {
    color: var(--ink);
    font-weight: 600;
    text-align: right;
}
.listing-attr-row:last-child dt,
.listing-attr-row:last-child dd {
    border-bottom: none;
}

.listing-attr-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.listing-chip {
    padding: 6px 14px;
    background: var(--bg-soft);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    border: 1px solid var(--line);
}

/* Info grid */
.listing-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}
.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    background: var(--bg-soft);
    border-radius: 10px;
}
.info-label {
    font-size: 11.5px;
    color: var(--ink-mute);
    font-weight: 600;
}
.info-item strong {
    font-size: 14px;
    color: var(--ink);
    font-weight: 700;
}
.copyable {
    cursor: pointer;
    color: var(--accent) !important;
    text-decoration: none;
    border-bottom: 1px dashed var(--accent);
    width: fit-content;
}
.copyable:hover { opacity: 0.7; }

/* Təhlükəsizlik */
.safety-alert {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(5, 118, 66, 0.06), rgba(5, 118, 66, 0.02));
    border: 1px solid rgba(5, 118, 66, 0.2);
    border-radius: 12px;
}
.safety-alert svg {
    color: var(--green);
    flex-shrink: 0;
    margin-top: 2px;
}
.safety-alert strong {
    display: block;
    font-size: 14px;
    color: var(--green);
    margin-bottom: 2px;
}
.safety-alert p {
    margin: 0;
    font-size: 12.5px;
    color: var(--ink-mute);
    line-height: 1.5;
}
.safety-alert a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
}

/* ============================================
   SAĞ ASIDE
   ============================================ */
.listing-headcard {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
}

.listing-meta-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.listing-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(10, 102, 194, 0.1);
    color: var(--accent);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.listing-fav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    color: var(--ink-mute);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s, transform 0.15s;
    flex-shrink: 0;
}
.listing-fav-btn:hover {
    background: #fee;
    color: #d93025;
    transform: scale(1.05);
}
.listing-fav-btn.active {
    background: #d93025;
    color: white;
    border-color: #d93025;
}
.listing-fav-btn.active svg { fill: white; }

.listing-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 14px 0;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.listing-price-box {
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.08), rgba(10, 102, 194, 0.02));
    border: 1px solid rgba(10, 102, 194, 0.15);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
}

.listing-price-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    background: rgba(10, 102, 194, 0.12);
    padding: 2px 8px;
    border-radius: 6px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.listing-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.listing-time-loc {
    display: flex;
    gap: 14px;
    font-size: 12.5px;
    color: var(--ink-mute);
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.listing-time-loc span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.listing-time-loc svg { opacity: 0.7; }

/* Əlaqə düymələri */
.listing-contact-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-phone-btn {
    width: 100%;
    padding: 13px 16px;
    background: linear-gradient(135deg, var(--green), #04603a);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 2px 8px rgba(5, 118, 66, 0.3);
}
.contact-phone-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 118, 66, 0.4);
}
.contact-phone-btn.revealed {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 2px 8px rgba(10, 102, 194, 0.3);
}
.phone-text { letter-spacing: 0.3px; }

.contact-whatsapp-btn {
    width: 100%;
    padding: 11px 16px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    text-decoration: none;
    transition: transform 0.15s, background 0.15s;
}
.contact-whatsapp-btn:hover {
    background: #1ebd5b;
    transform: translateY(-1px);
}

.contact-message-btn {
    width: 100%;
    padding: 11px 16px;
    background: var(--bg-soft);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: inherit;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.contact-message-btn:hover {
    background: rgba(10, 102, 194, 0.06);
    border-color: var(--accent);
    color: var(--accent);
}

/* Satıcı kartı */
.listing-seller-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
}
.seller-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}
.seller-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(10, 102, 194, 0.2);
}
.seller-avatar-company {
    background: linear-gradient(135deg, #ff8a00, #ff6347);
    font-size: 22px;
    box-shadow: 0 2px 6px rgba(255, 138, 0, 0.3);
}
.seller-info { flex: 1; min-width: 0; }
.seller-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 2px;
}
.seller-verified {
    color: var(--accent);
    display: inline-flex;
}
.seller-type {
    font-size: 12px;
    color: var(--ink-mute);
    font-weight: 500;
}

.seller-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 10px;
}
.seller-stat {
    text-align: center;
    padding: 8px 4px;
    background: var(--bg-soft);
    border-radius: 8px;
}
.seller-stat strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 2px;
}
.seller-stat span {
    font-size: 10.5px;
    color: var(--ink-mute);
    font-weight: 500;
}
.seller-more-link {
    display: block;
    text-align: center;
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px;
    border-top: 1px solid var(--line);
    margin: 6px -18px -18px;
    transition: background 0.15s;
}
.seller-more-link:hover {
    background: rgba(10, 102, 194, 0.05);
    border-radius: 0 0 14px 14px;
}

/* Stat + report */
.listing-stats {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
}
.lst-stat {
    flex: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--ink-mute);
}
.lst-stat strong { color: var(--ink); font-weight: 700; }

.report-btn {
    width: 100%;
    padding: 9px 14px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink-mute);
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: inherit;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.report-btn:hover {
    color: #d93025;
    border-color: #d93025;
    background: #fee;
}

/* Paylaşma */
.share-section {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    flex-wrap: wrap;
}
.share-label {
    font-size: 12px;
    color: var(--ink-mute);
    font-weight: 600;
}
.share-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    cursor: pointer;
    color: var(--ink-mute);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s, background 0.15s, color 0.15s;
    font-family: inherit;
}
.share-btn[data-share="whatsapp"]:hover { color: #25D366; background: rgba(37, 211, 102, 0.1); }
.share-btn[data-share="telegram"]:hover { color: #229ED9; background: rgba(34, 158, 217, 0.1); }
.share-btn[data-share="facebook"]:hover { color: #1877F2; background: rgba(24, 119, 242, 0.1); }
.share-btn[data-share="copy"]:hover { color: var(--accent); background: rgba(10, 102, 194, 0.1); }
.share-btn:hover { transform: translateY(-2px); }

/* ============================================
   OXŞAR ELANLAR
   ============================================ */
.similar-section {
    margin-top: 40px;
}
.similar-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 16px;
    letter-spacing: -0.3px;
}
.similar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}
.similar-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
    display: block;
}
.similar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.similar-img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-soft);
}
.similar-img img { width: 100%; height: 100%; object-fit: cover; }
.similar-vip {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #5a3000;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.4px;
}
.similar-body { padding: 12px 14px; }
.similar-card-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
}
.similar-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 4px;
}
.similar-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 11.5px;
    color: var(--ink-mute);
}

/* ============================================
   MOBİL STİCKY BOTTOM ACTION BAR
   ============================================ */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
    padding: 10px 14px;
    gap: 10px;
    align-items: center;
    z-index: 50;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);
    /* Safari notch */
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
}

.mab-price {
    flex: 1;
    font-size: 18px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.3px;
}

.mab-fav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    color: var(--ink-mute);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}
.mab-fav-btn.active {
    background: #d93025;
    color: white;
    border-color: #d93025;
}
.mab-fav-btn.active svg { fill: white; }

.mab-call-btn {
    background: linear-gradient(135deg, var(--green), #04603a);
    color: white;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(5, 118, 66, 0.35);
}

/* ============================================
   LIGHTBOX (şəkil böyütmə)
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lightbox.active {
    display: flex;
    animation: fadeIn 0.2s ease;
}

#lightbox-img {
    max-width: calc(100vw - 80px);
    max-height: calc(100vh - 80px);
    object-fit: contain;
    transition: opacity 0.15s;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
    z-index: 2;
    transition: background 0.15s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.3); }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    z-index: 2;
    transition: background 0.15s;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.3); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* ============================================
   ŞİKAYƏT MODAL
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}
.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.modal-content {
    background: var(--bg);
    border-radius: 16px;
    padding: 24px;
    max-width: 420px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-soft);
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: var(--ink-mute);
}
.modal-close:hover { background: var(--line); color: var(--ink); }

.modal-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 4px;
}
.modal-content p {
    font-size: 13.5px;
    color: var(--ink-mute);
    margin: 0 0 16px;
}

.report-reasons {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}
.report-reasons label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: var(--bg-soft);
    border-radius: 8px;
    font-size: 13.5px;
    color: var(--ink);
    cursor: pointer;
    transition: background 0.15s;
}
.report-reasons label:hover { background: rgba(10, 102, 194, 0.06); }

.modal-content textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 13.5px;
    font-family: inherit;
    color: var(--ink);
    background: var(--bg);
    resize: vertical;
    margin-bottom: 14px;
}
.modal-content textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.modal-content .btn {
    width: 100%;
    justify-content: center;
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--ink);
    color: var(--bg);
    padding: 12px 22px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    max-width: 90vw;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
    .listing-layout {
        grid-template-columns: 1fr;
    }
    .listing-aside {
        position: static;
    }
    /* Desktop sticky-də başlıq sağ tərəfdə idi → mobil-də sol tərəfin üstündə göstər */
    .listing-headcard .listing-title,
    .listing-headcard .listing-price-box {
        display: none;
    }
    /* Mobil başlıq aktiv */
    .mobile-title-section {
        display: block;
    }
}

@media (max-width: 700px) {
    .listing-page {
        padding: 12px 0 90px; /* mobile-action-bar üçün yer */
    }

    .mobile-back-btn {
        display: inline-flex;
    }

    /* Breadcrumb sadələşdir */
    .breadcrumb {
        font-size: 12px;
        margin-bottom: 12px;
    }

    /* Mobil-də galereya tam genişlik */
    .listing-gallery {
        border-radius: 12px;
    }

    /* Mobil dot indikatorları görsənsin */
    .gallery-dots {
        display: flex;
    }

    /* Mobil-də thumbnaillər kiçik */
    .gallery-thumb {
        width: 56px;
        height: 42px;
    }

    /* Mobil-də nav düymələri kiçilsin */
    .gallery-nav {
        width: 36px;
        height: 36px;
    }
    .gallery-prev { left: 8px; }
    .gallery-next { right: 8px; }

    .gallery-counter {
        bottom: 10px;
        right: 10px;
        font-size: 11px;
        padding: 3px 10px;
    }

    .gallery-zoom-btn {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
    }

    /* Section daha kompakt */
    .listing-section {
        padding: 16px 18px;
        border-radius: 12px;
    }
    .listing-section-title {
        font-size: 15px;
    }

    /* Atributlar 1 sütun (mobil-də daha oxunaqlı) */
    .listing-attrs {
        grid-template-columns: 1fr;
    }
    .listing-attr-row dt {
        padding-bottom: 4px;
        font-size: 11.5px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        background: var(--bg-soft);
    }
    .listing-attr-row dd {
        padding-top: 6px;
        padding-bottom: 12px;
        font-size: 14px;
        text-align: left;
        background: var(--bg-soft);
    }
    .listing-attr-row:nth-child(odd) dt,
    .listing-attr-row:nth-child(odd) dd {
        background: var(--bg);
    }

    /* Info grid - 2 sütun */
    .listing-info-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Mobil headcard daha kompakt */
    .listing-headcard {
        padding: 16px;
        border-radius: 12px;
    }

    .listing-seller-card,
    .listing-stats,
    .share-section {
        border-radius: 12px;
    }

    /* Mobil-də fav-btn sağda artıq lazımsız (mobile-action-bar var) */
    .listing-headcard .listing-fav-btn {
        display: none;
    }

    /* STİCKY BOTTOM BAR aktiv */
    .mobile-action-bar {
        display: flex;
    }

    /* Oxşar elanlar - 2 sütun mobildə */
    .similar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .similar-title {
        font-size: 17px;
    }
    .similar-card-title {
        font-size: 12.5px;
        min-height: 34px;
    }
    .similar-price {
        font-size: 14px;
    }

    /* Title mobil */
    .listing-title-mobile {
        font-size: 17px;
    }
    .listing-price-mobile {
        font-size: 22px;
    }
}

@media (max-width: 400px) {
    .similar-grid {
        grid-template-columns: 1fr;
    }
    .listing-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Dark mode tweaks */
[data-theme="dark"] .listing-page { background: #0a0a0a; }
[data-theme="dark"] .gallery-main { background: #000; }
[data-theme="dark"] .listing-headcard,
[data-theme="dark"] .listing-section,
[data-theme="dark"] .listing-gallery,
[data-theme="dark"] .listing-seller-card,
[data-theme="dark"] .listing-stats,
[data-theme="dark"] .share-section,
[data-theme="dark"] .info-item,
[data-theme="dark"] .mobile-action-bar {
    background: var(--bg-card);
}