/* ==========================================================================
   MENE.NG — PRODUCT LISTING DETAILS PAGE (MOBILE-FIRST EXECUTIVE DESIGN)
   ========================================================================== */

/* ── PAGE BASE ──────────────────────────────────────────────── */
.listing-page {
  background: #f8fafc;
  color: #0f172a;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* Hide general app dock on listing page if mobile sticky bar is active */
@media (max-width: 860px) {
  body.listing-page .bottom-app-dock {
    display: none !important;
  }
  body.listing-page {
    padding-bottom: 80px !important;
  }
}

/* ── BREADCRUMB BAR ─────────────────────────────────────────── */
.lp-breadcrumb-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 0;
  font-size: 12.5px;
}
.lp-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  flex-wrap: wrap;
}
.lp-breadcrumbs a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s;
}
.lp-breadcrumbs a:hover { color: #1d4ed8; text-decoration: underline; }
.bc-sep { color: #cbd5e1; font-size: 11px; }
#bc-title {
  color: #1e293b;
  font-weight: 700;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── MAIN LAYOUT ─────────────────────────────────────────────── */
.lp-main {
  padding: 20px 0 60px;
}

.lp-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}

.lp-left-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ── GALLERY CARD ────────────────────────────────────────────── */
.lp-gallery-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
}

.lp-gallery-stage {
  position: relative;
  width: 100%;
  height: 460px;
  background: #f1f5f9;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}

.lp-gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-gallery-stage:hover .lp-gallery-main-img { transform: scale(1.03); }

.lp-gallery-tier-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #2563eb;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 6px;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.lp-gallery-tier-badge.gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
.lp-gallery-tier-badge.silver {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.lp-gallery-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.72);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.lp-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
  z-index: 6;
}
.lp-gallery-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
}
.lp-gallery-arrow--prev { left: 12px; }
.lp-gallery-arrow--next { right: 12px; }

.lp-gallery-counter {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.72);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
}

/* ── THUMBNAILS ──────────────────────────────────────────────── */
.lp-thumbs-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.lp-thumb,
.lp-thumb-item {
  width: 68px;
  height: 68px;
  border-radius: 8px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  background: #f8fafc;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.lp-thumb img,
.lp-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-thumb.active,
.lp-thumb-item.active {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}

/* ── INFO CARD ───────────────────────────────────────────────── */
.lp-info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
}

.lp-info-promo-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.lp-product-title {
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

/* ── PRIMARY PRICE BLOCK (VISIBLE DIRECTLY UNDER TITLE) ──────── */
.lp-primary-price-block {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-price-main-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.lp-price-main {
  font-size: 32px;
  font-weight: 900;
  color: #2563eb;
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 6px;
}

.lp-price-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 4px;
  margin-bottom: 4px;
}

.lp-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
}
.lp-pill--easy-buy {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.lp-pill--negotiable {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.lp-pill--condition {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.lp-pill--used {
  background: #fef3c7;
  color: #d97706;
  border: 1px solid #fde68a;
}

.lp-flexipay-hint {
  display: none !important;
}

/* ── META ROW ────────────────────────────────────────────────── */
.lp-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #64748b;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 18px;
}
.lp-meta-location, .lp-meta-views {
  display: flex;
  align-items: center;
  gap: 4px;
}
.lp-meta-dot { color: #cbd5e1; }
.lp-ad-id {
  background: #f1f5f9;
  color: #475569;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: auto;
}

/* ── TRUST BADGES STRIP ──────────────────────────────────────── */
.lp-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.lp-trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}
.lp-trust-tag--escrow {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.lp-trust-tag--merchant {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.lp-trust-tag--rated {
  background: #fefce8;
  color: #ca8a04;
  border: 1px solid #fef08a;
}
.lp-trust-tag--deal {
  background: #fdf4ff;
  color: #7c3aed;
  border: 1px solid #e9d5ff;
}

/* ── SPECS SECTION ───────────────────────────────────────────── */
.lp-specs-section { margin-bottom: 22px; }
.lp-specs-section h3 {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lp-specs-section h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background: linear-gradient(180deg, #2563eb, #7c3aed);
  border-radius: 2px;
}
.lp-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.lp-spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e8edf5;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12.5px;
}
.lp-spec-key { color: #64748b; font-weight: 600; }
.lp-spec-val { color: #0f172a; font-weight: 800; }

/* ── DESCRIPTION ─────────────────────────────────────────────── */
.lp-desc-section { margin-bottom: 22px; }
.lp-desc-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lp-desc-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background: linear-gradient(180deg, #10b981, #059669);
  border-radius: 2px;
}
.lp-desc-text {
  font-size: 14px;
  color: #334155;
  line-height: 1.75;
  white-space: pre-line;
}
.lp-show-more-btn {
  background: none;
  border: none;
  color: #2563eb;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  padding: 0;
}

/* ── BOTTOM MAKE OFFER CTA ───────────────────────────────────── */
.lp-bottom-ctas { margin-bottom: 18px; }
.lp-cta-make-offer {
  width: 100%;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #ffffff;
  border: none;
  padding: 13px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
  transition: all 0.2s ease;
}
.lp-cta-make-offer:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

/* ── SHARE ROW ───────────────────────────────────────────────── */
.lp-share-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}
.lp-share-label { font-size: 12px; font-weight: 700; color: #64748b; }
.lp-share-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.lp-share-btn:hover { transform: translateY(-2px); }
.lp-share-btn--fb { background: #1877f2; }
.lp-share-btn--tw { background: #000000; }
.lp-share-btn--wa { background: #25d366; }

/* ── RIGHT SIDEBAR ───────────────────────────────────────────── */
.lp-right-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 88px;
}

/* ── DESKTOP ACTION BOX ──────────────────────────────────────── */
.lp-price-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
}
.lp-cta-escrow {
  width: 100%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
  margin-bottom: 10px;
}
.lp-cta-escrow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}
.lp-cta-chat-inapp {
  width: 100%;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
  transition: all 0.2s ease;
  margin-bottom: 10px;
}
.lp-cta-chat-inapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.38);
}

.chat-preset-chip {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}
.chat-preset-chip:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #2563eb;
}

.lp-cta-show-contact {
  width: 100%;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: all 0.2s ease;
  margin-bottom: 10px;
}
.lp-cta-show-contact:hover {
  transform: translateY(-2px);
}
.lp-cta-chat {
  width: 100%;
  background: linear-gradient(135deg, #25d366 0%, #1eb857 100%);
  color: #ffffff;
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transition: all 0.2s ease;
  margin-bottom: 10px;
}
.lp-cta-chat:hover {
  transform: translateY(-2px);
}
.lp-cta-callback {
  width: 100%;
  background: #ffffff;
  color: #2563eb;
  border: 1.5px solid #2563eb;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.lp-cta-callback:hover {
  background: #eff6ff;
}

/* ── SELLER CARD ──────────────────────────────────────────────── */
.lp-seller-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px 18px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
}
.lp-seller-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.lp-seller-avatar-wrap { position: relative; flex-shrink: 0; }
.lp-seller-avatar {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-seller-online-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  background: #10b981;
  border: 2px solid #ffffff;
  border-radius: 50%;
}
.lp-seller-name {
  font-size: 15.5px;
  font-weight: 800;
  color: #0f172a;
}
.lp-seller-since {
  font-size: 11.5px;
  color: #10b981;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}
.lp-seller-actions-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}
.lp-seller-sub-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.07);
  color: #2563eb;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lp-seller-sub-btn:hover {
  background: #2563eb;
  color: #ffffff;
}
.lp-seller-sub-btn--sec {
  background: #f8fafc;
  color: #334155;
  border-color: #e2e8f0;
}
.lp-seller-sub-btn--sec:hover {
  background: #1e293b;
  color: #ffffff;
}

/* ── SAFETY CARD ──────────────────────────────────────────────── */
.lp-safety-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
}
.lp-safety-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}
.lp-safety-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.lp-safety-list li {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
  position: relative;
  padding-left: 18px;
}
.lp-safety-list li::before {
  content: '';
  position: absolute;
  left: 0;
  color: #10b981;
  font-size: 12px;
  font-weight: 800;
}
.lp-safety-report-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fff1f2;
  color: #e11d48;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* ── POST PROMO CARD ─────────────────────────────────────────── */
.lp-post-promo-card {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  padding: 20px 18px;
  text-align: center;
}
.lp-post-promo-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}
.lp-post-promo-text {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 12px;
}
.lp-post-promo-btn {
  width: 100%;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
}

/* ── SIMILAR SECTION ─────────────────────────────────────────── */
.lp-similar-section {
  margin-top: 36px;
  padding-top: 30px;
  border-top: 2px solid #e2e8f0;
}
.lp-similar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.lp-similar-title {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-similar-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, #2563eb, #7c3aed);
  border-radius: 2px;
}
.lp-similar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sim-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}
.sim-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: #bfdbfe;
}
.sim-card__img-wrap {
  position: relative;
  width: 100%;
  height: 175px;
  background: #f8fafc;
  overflow: hidden;
}
.sim-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.sim-card:hover .sim-card__img-wrap img { transform: scale(1.06); }
.sim-card__verified-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #2563eb;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 4px;
}
.sim-card__verified-badge--gold {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
}
.sim-card__rating-row {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  padding: 2px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
}
.sim-card__body { padding: 12px 14px; }
.sim-card__price {
  font-size: 16px;
  font-weight: 900;
  color: #2563eb;
  margin-bottom: 4px;
}
.sim-card__title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sim-card__location {
  font-size: 11.5px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── STICKY MOBILE BOTTOM BAR ─────────────────────────────────── */
.lp-mobile-sticky-bar {
  display: none;
}

/* ── MODALS / LIGHTBOX ────────────────────────────────────────── */
.lp-contact-overlay,
.lp-escrow-overlay,
.lp-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 23, 42, 0.72) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.22s ease, visibility 0.22s ease !important;
}
.lp-contact-overlay.open,
.lp-escrow-overlay.open,
.lp-overlay.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.lp-contact-modal,
.lp-escrow-modal,
.lp-overlay-card {
  background: #ffffff !important;
  border-radius: 18px !important;
  padding: 28px 22px !important;
  max-width: 440px !important;
  width: 100% !important;
  position: relative !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3) !important;
  text-align: center !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  transform: scale(0.95) !important;
  transition: transform 0.22s ease !important;
}
.lp-contact-overlay.open .lp-contact-modal,
.lp-escrow-overlay.open .lp-escrow-modal {
  transform: scale(1) !important;
}

/* Lightbox Full Screen Image Viewer */
.lp-lightbox {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.94) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  z-index: 99999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease, visibility 0.25s ease !important;
}
.lp-lightbox.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.lp-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.lp-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 100000;
}
.lp-lightbox-close:hover { background: rgba(255, 255, 255, 0.3); }
.lp-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 100000;
}
.lp-lightbox-arrow:hover { background: rgba(255, 255, 255, 0.3); }
.lp-lightbox-arrow--prev { left: 20px; }
.lp-lightbox-arrow--next { right: 20px; }
.lp-lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.65);
  padding: 5px 16px;
  border-radius: 20px;
}

/* ══════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVENESS (<= 860px) — CLEAN FULL WIDTH APP LAYOUT
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .app-container {
    padding: 0 10px !important;
  }

  .lp-main {
    padding: 10px 0 80px !important;
  }

  .lp-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .lp-left-col {
    gap: 12px !important;
    width: 100% !important;
  }

  /* Gallery Card: Sleek Full Width on Mobile */
  .lp-gallery-card {
    border-radius: 14px !important;
    padding: 8px !important;
  }

  .lp-gallery-stage {
    height: 330px !important;
    border-radius: 10px !important;
  }

  .lp-thumbs-row {
    margin-top: 8px !important;
    gap: 6px !important;
  }

  .lp-thumb,
  .lp-thumb-item {
    width: 58px !important;
    height: 58px !important;
    border-radius: 6px !important;
  }

  /* Info Card: Compact, High-Density */
  .lp-info-card {
    border-radius: 14px !important;
    padding: 18px 14px !important;
  }

  .lp-product-title {
    font-size: 20px !important;
    margin-bottom: 10px !important;
  }

  .lp-primary-price-block {
    padding: 12px 14px !important;
    margin-bottom: 14px !important;
  }

  .lp-price-main {
    font-size: 26px !important;
  }

  .lp-specs-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }

  .lp-spec-item {
    padding: 8px 10px !important;
    font-size: 11.5px !important;
  }

  .lp-trust-strip {
    gap: 6px !important;
    margin-bottom: 16px !important;
  }

  .lp-trust-tag {
    font-size: 10.5px !important;
    padding: 3px 8px !important;
  }

  /* Hide the redundant desktop price box on mobile since price is right under title */
  .lp-right-sidebar .lp-price-box {
    display: none !important;
  }

  .lp-right-sidebar {
    position: static !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .lp-seller-card {
    border-radius: 14px !important;
    padding: 16px 14px !important;
  }

  .lp-safety-card {
    border-radius: 14px !important;
    padding: 16px 14px !important;
  }

  .lp-post-promo-card {
    border-radius: 14px !important;
    padding: 16px 14px !important;
  }

  /* Similar Listings on Mobile: 2-column clean grid */
  .lp-similar-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .sim-card {
    border-radius: 12px !important;
  }

  .sim-card__img-wrap {
    height: 140px !important;
  }

  .sim-card__body {
    padding: 10px !important;
  }

  .sim-card__price {
    font-size: 14.5px !important;
  }

  .sim-card__title {
    font-size: 12px !important;
    -webkit-line-clamp: 2 !important;
  }

  /* ── STICKY BOTTOM ACTION BAR FOR MOBILE LISTING ── */
  .lp-mobile-sticky-bar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 500 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-top: 1px solid #e2e8f0 !important;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    gap: 8px !important;
    align-items: center !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1) !important;
  }

  .lp-mob-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: transform 0.15s ease;
  }

  .lp-mob-btn--chat-inapp {
    background: #eff6ff;
    color: #2563eb;
    border: 1.5px solid #bfdbfe;
    flex: 1.1;
  }

  .lp-mob-btn--call {
    background: #ffffff;
    color: #2563eb;
    border: 1.5px solid #2563eb;
    flex: 0.9;
  }

  .lp-mob-btn--chat {
    background: #25d366;
    color: #ffffff;
    flex: 1.1;
  }

  .lp-mob-btn--escrow {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    flex: 1.6;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.35);
  }

  .lp-mob-btn:active {
    transform: scale(0.97);
  }
}
