/* Centralized from elan.evi.az/app/views/listing_detail.php — 2026-09-27 */

/* =========================================================
   EVI.AZ â€” MODERN LISTING DETAIL
========================================================= */

.listing-detail-modern {
  --detail-brand: #009e8e;
  --detail-brand-dark: #00877a;
  --detail-bg: #f5f6f8;
  --detail-card: #fff;
  --detail-border: #e7eaed;
  --detail-text: #15191f;
  --detail-muted: #757d87;

  min-height: 100vh;
  padding: 18px 12px calc(110px + env(safe-area-inset-bottom));
  background: var(--detail-bg);
}

.listing-detail-modern *,
.listing-detail-modern *::before,
.listing-detail-modern *::after {
  box-sizing: border-box;
}

.listing-detail-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.listing-breadcrumb {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: #89919a;
  font-size: 12px;
}

.listing-breadcrumb a {
  color: #6d757e;
  text-decoration: none;
}

.listing-breadcrumb a:hover {
  color: var(--detail-brand);
}

.listing-status-alert {
  margin-bottom: 14px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #f2d79e;
  border-radius: 16px;
  background: #fff8e8;
}

.listing-status-alert div {
  display: flex;
  flex-direction: column;
}

.listing-status-alert strong {
  color: #7b5513;
  font-size: 14px;
}

.listing-status-alert span {
  margin-top: 2px;
  color: #98723a;
  font-size: 11px;
}

.listing-status-alert a {
  padding: 9px 12px;
  border-radius: 11px;
  background: #2c3137;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}


/* STATUS VARIANTLARI */
.listing-status-alert.status-pending {
  border-color: #f2d79e;
  background: #fff8e8;
}

.listing-status-alert.status-pending strong {
  color: #7b5513;
}

.listing-status-alert.status-pending span {
  color: #98723a;
}

.listing-status-alert.status-expired {
  border-color: #f1c6c2;
  background: #fff2f1;
}

.listing-status-alert.status-expired strong {
  color: #a8322d;
}

.listing-status-alert.status-expired span {
  color: #b85c56;
}

.listing-status-alert.status-deleted {
  border-color: #d8dde3;
  background: #f2f4f6;
}

.listing-status-alert.status-deleted strong {
  color: #4a5159;
}

.listing-status-alert.status-deleted span {
  color: #747c85;
}

.listing-status-alert.status-inactive {
  border-color: #d8dde3;
  background: #f6f7f8;
}

.listing-status-alert.status-inactive strong {
  color: #4d5660;
}

.listing-status-alert.status-inactive span {
  color: #7a838d;
}

.listing-status-alert .status-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  font-size: 17px;
}

.listing-status-alert .status-content {
  flex: 1;
  min-width: 0;
}

.listing-status-alert .status-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
}

@media (max-width: 575.98px) {
  .listing-status-alert {
    align-items: flex-start;
  }

  .listing-status-alert .status-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .listing-status-alert a {
    text-align: center;
  }
}

.listing-detail-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.88fr) minmax(320px, .92fr);
  align-items: stretch;
  gap: 16px;
}

.listing-detail-main {
  min-width: 0;
}

.listing-gallery-card,
.listing-content-card,
.listing-sidebar-card,
.listing-owner-card {
  border: 1px solid rgba(15, 23, 42, .055);
  border-radius: 22px;
  background: var(--detail-card);
  box-shadow:
    0 8px 30px rgba(15, 23, 42, .05),
    0 1px 3px rgba(15, 23, 42, .025);
}

.listing-gallery-card,
.listing-content-card {
  margin-bottom: 14px;
}

.listing-gallery-card {
  overflow: hidden;
}

.listing-detail-modern .listing-main-image-wrap {
  position: relative;
  width: 100%;
  height: min(560px, 58vw);
  min-height: 390px;
  overflow: hidden;
  background: #e9ecef;
  cursor: zoom-in;
}

.listing-detail-modern #listingMainImage {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: #101214;
  transform: none !important;
  transition: opacity .16s ease;
}


.listing-detail-modern #listingMainImage.is-error,
.gallery-modal-stage img.is-error {
  object-fit: contain;
}

.listing-detail-modern #listingMainImage,
.gallery-modal-stage img {
  opacity: 1;
  visibility: visible;
  transition: transform .3s ease;
}

.listing-main-image-wrap:hover .listing-detail-modern #listingMainImage {
  transform: none;
}

.listing-image-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.32), transparent 24%),
    linear-gradient(0deg, rgba(0,0,0,.38), transparent 30%);
}

.listing-image-badges {
  position: absolute;
  left: 12px;
  top: 12px;
  max-width: calc(100% - 80px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.detail-badge {
  height: 30px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(20,24,28,.42);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.detail-badge-store i {
  color: #45d8c7;
}

.detail-badge-premium i {
  color: #ffb125;
}

.detail-badge-vip i {
  color: #ff5148;
}

.gallery-favorite-button,
.gallery-count {
  position: absolute;
  right: 12px;
  z-index: 2;
}

.gallery-favorite-button {
  top: 12px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20,24,28,.42);
  color: #fff;
  font-size: 19px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gallery-favorite-button.active {
  color: #ff3b30;
}

.gallery-call-button {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  height: 42px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 13px;
  background: rgba(0,158,142,.88);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gallery-count {
  bottom: 12px;
  height: 34px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: rgba(20,24,28,.46);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gallery-open-hint {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 3;
  transform: translateX(-50%);
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
  background: rgba(15,18,21,.46);
  color: #fff;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
  pointer-events: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}






.listing-gallery-info {
  padding: 16px 17px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.listing-gallery-info h1 {
  margin: 0;
  color: var(--detail-text);
  font-size: clamp(20px, 2.4vw, 29px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -.45px;
}

.listing-gallery-meta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--detail-muted);
  font-size: 11.5px;
}

.listing-gallery-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.listing-gallery-price {
  flex: 0 0 auto;
  color: var(--detail-brand);
  font-size: clamp(22px, 2.4vw, 31px);
  font-weight: 900;
  white-space: nowrap;
}

.listing-content-card {
  padding: 18px;
}

.listing-section-heading {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.listing-section-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #edf9f7;
  color: var(--detail-brand);
}

.listing-section-heading h2 {
  margin: 0;
  color: var(--detail-text);
  font-size: 16px;
  font-weight: 850;
}

.listing-section-heading p {
  margin: 2px 0 0;
  color: var(--detail-muted);
  font-size: 10.5px;
}

.listing-spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid #e9edf0;
  border-radius: 15px;
  background: #fff;
}

.listing-spec-card {
  min-height: 48px;
  padding: 10px 13px;
  display: grid;
  grid-template-columns: minmax(125px, 34%) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border: 0;
  border-bottom: 1px solid #edf0f2;
  border-radius: 0;
  background: #fff;
  transition: background .15s ease;
}

.listing-spec-card:last-child {
  border-bottom: 0;
}

.listing-spec-card:hover {
  background: #fafcfc;
}

.listing-spec-card > span {
  min-width: 0;
  color: #7c858e;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 650;
}

.listing-spec-card > strong {
  min-width: 0;
  margin: 0;
  color: #252b31;
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 800;
  word-break: break-word;
}

.listing-spec-card > strong a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  color: #087f73 !important;
  text-decoration: none !important;
  font-weight: 850;
}

.listing-spec-card > strong a:hover {
  color: #00685f !important;
  text-decoration: underline !important;
}

.listing-spec-filter-arrow {
  flex: 0 0 auto;
  color: #a6afb6;
  font-size: 8px;
}

@media (max-width: 575.98px) {
  .listing-spec-card {
    min-height: 44px;
    padding: 9px 10px;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 9px;
  }

  .listing-spec-card > span {
    font-size: 9.5px;
  }

  .listing-spec-card > strong {
    font-size: 11px;
  }
}

.listing-description {
  color: #3e454d;
  font-size: 14px;
  line-height: 1.75;
  word-break: break-word;
}

.listing-detail-sidebar {
  min-width: 0;
  align-self: stretch;
  position: relative;
}

.listing-sidebar-sticky {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

/* JavaScript desktopda bu sinifləri idarə edir. */
.listing-sidebar-sticky.is-fixed {
  position: fixed !important;
  margin: 0 !important;
}

.listing-sidebar-sticky.is-bottom {
  position: absolute !important;
  top: auto !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  margin: 0 !important;
}

.listing-sidebar-sticky.is-fixed,
.listing-sidebar-sticky.is-bottom {
  max-height: none;
  overflow: visible;
  overscroll-behavior: auto;
}

/*
 * Sticky element parent olan row-un sonunda dayanÄ±r.
 * BelÉ™liklÉ™ soldakÄ± mÉ™zmun uzundursa aÅŸaÄŸÄ± doÄŸru hÉ™rÉ™kÉ™t edir,
 * bÉ™nzÉ™r elanlar bÃ¶lmÉ™sinÉ™ Ã§atanda sticky davranÄ±ÅŸ bitir.
 */

.listing-sidebar-card,
.listing-owner-card {
  padding: 14px;
}

.promo-section-heading {
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.promo-section-heading div {
  display: flex;
  flex-direction: column;
}

.promo-section-heading strong {
  color: var(--detail-text);
  font-size: 15px;
  font-weight: 850;
}

.promo-section-heading span {
  margin-top: 2px;
  color: var(--detail-muted);
  font-size: 10.5px;
}

.promo-section-heading > i {
  color: var(--detail-brand);
  font-size: 18px;
}

.promo-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.promo-action-card {
  min-width: 0;
  padding: 9px 4px 8px;
  border: 1px solid #e8ebee;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fafbfb;
  color: #272c32;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.promo-action-card:hover {
  border-color: rgba(0,158,142,.35);
  background: #f0faf9;
  transform: translateY(-2px);
}

.promo-action-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  font-size: 15px;
}

.promo-boost {
  background: #eaf4ff;
  color: #3185d6;
}

.promo-vip {
  background: #fff0ef;
  color: #ef4339;
}

.promo-premium {
  background: #fff7df;
  color: #e69600;
}

.promo-daily-deal {
  background: #fff0e9;
  color: #f05a28;
}

.promo-action-card strong {
  max-width: 100%;
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
}

.promo-action-card small {
  margin-top: 2px;
  max-width: 100%;
  color: #8a9199;
  font-size: 8.5px;
  white-space: nowrap;
}

.sidebar-price-row {
  margin-top: 13px;
  padding: 13px 0;
  border-top: 1px solid #edf0f2;
  border-bottom: 1px solid #edf0f2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sidebar-price-row div {
  display: flex;
  flex-direction: column;
}

.sidebar-price-row span {
  color: #8b929a;
  font-size: 10px;
}

.sidebar-price-row strong {
  margin-top: 2px;
  color: var(--detail-brand);
  font-size: 25px;
  font-weight: 900;
}

.sidebar-price-row button {
  padding: 7px 9px;
  border: 0;
  border-radius: 9px;
  background: #f0f2f4;
  color: #59616a;
  font-size: 9.5px;
  font-weight: 700;
}

.sidebar-actions {
  margin-top: 11px;
  display: grid;
  gap: 7px;
}

.sidebar-action-button {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #e5e8eb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  color: #505861;
  font-size: 12px;
  font-weight: 700;
}

.sidebar-action-button i {
  width: 19px;
  color: #6b737c;
  text-align: center;
}

.sidebar-action-button.favorite.active,
.sidebar-action-button.favorite.active i {
  color: #e63b35;
}

.modern-store-card,
.seller-name-card {
  margin-top: 11px;
  padding: 11px;
  border: 1px solid #e8ebee;
  border-radius: 14px;
  background: #f8f9fa;
}

.modern-store-card {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #262b31;
  text-decoration: none;
}

.modern-store-card img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
}

.modern-store-card div {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.modern-store-card strong {
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modern-store-card span,
.seller-name-card span {
  margin-top: 2px;
  color: #858c94;
  font-size: 10px;
}

.modern-store-card > i {
  color: #a0a6ad;
  font-size: 11px;
}

.seller-name-card {
  display: flex;
  flex-direction: column;
}

.seller-name-card strong {
  margin-top: 3px;
  color: #252a30;
  font-size: 14px;
}

.primary-contact-button,
.message-contact-button {
  width: 100%;
  min-height: 50px;
  margin-top: 9px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.primary-contact-button {
  padding: 7px 11px 7px 13px;
  gap: 11px;
  border: 0;
  background: linear-gradient(135deg, #0caf9f, #008a7e);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0,158,142,.20);
  cursor: pointer;
  text-align: left;
}

.primary-contact-button:hover {
  color: #fff;
}

.primary-contact-button > i {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(255,255,255,.15);
}

.primary-contact-button .phone-reveal-content {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.primary-contact-button small {
  color: rgba(255,255,255,.72);
  font-size: 9px;
}

.primary-contact-button strong {
  margin-top: 1px;
  color: #fff;
  font-size: 15px;
  letter-spacing: .15px;
  white-space: nowrap;
}

.phone-reveal-action {
  min-height: 34px;
  padding: 0 10px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.primary-contact-button.is-revealed .phone-reveal-action {
  background: rgba(255,255,255,.22);
}

.message-contact-button {
  padding: 0 13px;
  justify-content: center;
  gap: 8px;
  border: 1px solid #cfe0ef;
  background: #f1f7fc;
  color: #2e6f9f;
  font-size: 12px;
  font-weight: 750;
}

.message-contact-button i {
  font-size: 17px;
}

.sidebar-meta-list {
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid #edf0f2;
  display: grid;
  gap: 8px;
}

.sidebar-meta-list > div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #747c85;
  font-size: 11px;
}

.sidebar-meta-list i {
  width: 17px;
  color: #9aa0a7;
  text-align: center;
}

.report-listing-button {
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: #a66a67;
  font-size: 10.5px;
}

.owner-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.owner-card-heading div {
  display: flex;
  flex-direction: column;
}

.owner-card-heading span {
  color: var(--detail-brand);
  font-size: 10px;
  font-weight: 750;
}

.owner-card-heading strong {
  margin-top: 2px;
  color: #21262c;
  font-size: 14px;
}

.owner-card-heading em {
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef1f3;
  color: #6b737c;
  font-size: 8.5px;
  font-style: normal;
  font-weight: 750;
}

.owner-stat-grid {
  margin-top: 11px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
}

.owner-stat-grid > div {
  min-width: 0;
  padding: 8px 2px;
  border: 1px solid #edf0f2;
  border-radius: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fafbfb;
}

.owner-stat-grid i {
  color: var(--detail-brand);
  font-size: 13px;
}

.owner-stat-grid strong {
  margin-top: 4px;
  color: #22272d;
  font-size: 13px;
}

.owner-stat-grid span {
  margin-top: 1px;
  max-width: 100%;
  color: #818891;
  font-size: 7.5px;
  white-space: nowrap;
}

.owner-performance-note {
  margin: 10px 0 0;
  padding: 9px 10px;
  border-radius: 11px;
  background: #eef9f7;
  color: #53616a;
  font-size: 9.5px;
  line-height: 1.4;
}

.owner-edit-button {
  min-height: 43px;
  margin-top: 9px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #242a30;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 750;
}

.owner-edit-button:hover {
  color: #fff;
}

.similar-listings-section {
  margin-top: 25px;
}

.similar-listings-heading {
  margin-bottom: 11px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.similar-listings-heading span {
  color: var(--detail-brand);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.similar-listings-heading h2 {
  margin: 3px 0 0;
  color: #1c2127;
  font-size: 21px;
  font-weight: 900;
}

.similar-listings-heading a {
  color: var(--detail-brand);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
}

/* FULLSCREEN GALLERY */

body.gallery-open {
  overflow: hidden;
}

.listing-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;
  background: rgba(7,9,11,.97);
  color: #fff;
}

.listing-gallery-modal.active {
  display: block;
}

.gallery-modal-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 66px;
  z-index: 4;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0,0,0,.65), transparent);
}

.gallery-modal-topbar div {
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 700;
}

.gallery-modal-topbar button,
.gallery-modal-favorite,
.gallery-modal-arrow {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gallery-modal-topbar button,
.gallery-modal-favorite {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.gallery-modal-stage {
  position: absolute;
  inset: 0;
  padding: 72px 75px 105px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
}

.gallery-modal-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transform: translateY(-50%);
}

.gallery-modal-prev {
  left: 16px;
}

.gallery-modal-next {
  right: 16px;
}

.gallery-modal-favorite {
  position: absolute;
  top: 12px;
  right: 72px;
  z-index: 5;
}

.gallery-modal-favorite.active {
  color: #ff3b30;
}

.gallery-modal-call {
  position: absolute;
  left: 18px;
  bottom: 22px;
  z-index: 5;
  height: 45px;
  padding: 0 16px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,158,142,.92);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.gallery-modal-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 92px;
  z-index: 3;
  padding: 17px 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(0deg, rgba(0,0,0,.86), transparent);
  pointer-events: none;
}

.gallery-modal-caption div {
  min-width: 0;
  padding-left: 115px;
}

.gallery-modal-caption h3 {
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-modal-caption span {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,.68);
  font-size: 10px;
}

.gallery-modal-caption > strong {
  flex: 0 0 auto;
  color: #52d8ca;
  font-size: 23px;
  font-weight: 900;
}


.gallery-modal-thumbs {
  position: absolute;
  left: 50%;
  bottom: 102px;
  z-index: 6;
  width: min(760px, calc(100% - 150px));
  padding: 8px 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  transform: translateX(-50%);
  scrollbar-width: none;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(10,12,14,.48);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gallery-modal-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-modal-thumb {
  width: 64px;
  height: 52px;
  flex: 0 0 64px;
  padding: 2px;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,.10);
  cursor: pointer;
  opacity: .68;
  transition:
    opacity .18s ease,
    border-color .18s ease,
    transform .18s ease;
}

.gallery-modal-thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.gallery-modal-thumb.active {
  opacity: 1;
  border-color: #45d8c7;
}

.gallery-modal-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 6px;
  object-fit: cover;
  pointer-events: none;
}

.modern-basic-modal {
  border: 0;
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(15,23,42,.20);
}

.share-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.share-action {
  min-height: 80px;
  border: 1px solid #e7eaed;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #fafbfb;
  color: #3f474f;
  font-size: 11px;
  font-weight: 750;
}

.share-action i {
  font-size: 21px;
}

.share-action.whatsapp i {
  color: #22a760;
}

.share-action.telegram i {
  color: #278dcc;
}

.share-action.copy i {
  color: #626b74;
}



.sidebar-price-value,
.listing-gallery-price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.price-drop-icon {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #eaf8f2;
  color: #18a56f;
  font-size: 12px;
  box-shadow: inset 0 0 0 1px rgba(24, 165, 111, .12);
}

.mobile-detail-actions {
  position: fixed;
  left: 8px;
  right: 8px;
  bottom: calc(8px + env(safe-area-inset-bottom));
  z-index: 1080;
  height: 62px;
  padding: 7px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 35px rgba(15,23,42,.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.mobile-detail-actions a,
.mobile-detail-actions button {
  border: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.mobile-call-action {
  background: linear-gradient(135deg, #0caf9f, #008a7e);
  color: #fff;
}

.mobile-call-action:hover {
  color: #fff;
}

.mobile-message-action {
  background: #1f2937;
  color: #fff;
}

.mobile-detail-actions i {
  font-size: 16px;
}

@media (max-width: 991.98px) {
  .listing-detail-layout {
    grid-template-columns: 1fr;
  }

  .listing-detail-sidebar {
    position: static;
    align-self: auto;
    order: 2;
  }

  .listing-sidebar-sticky,
  .listing-sidebar-sticky.is-fixed,
  .listing-sidebar-sticky.is-bottom {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .listing-detail-modern .listing-main-image-wrap {
    height: min(520px, 70vw);
  }
}

@media (max-width: 767.98px) {
  .listing-detail-modern {
    padding: 10px 8px calc(178px + env(safe-area-inset-bottom));
  }

  .listing-detail-layout {
    gap: 10px;
  }

  .listing-gallery-card,
  .listing-content-card,
  .listing-sidebar-card,
  .listing-owner-card {
    border-radius: 18px;
  }

  .listing-detail-modern .listing-main-image-wrap {
    height: 66vw;
    min-height: 250px;
  }

  .listing-gallery-info {
    padding: 13px 13px 15px;
    flex-direction: column;
    gap: 8px;
  }

  .listing-gallery-info h1 {
    font-size: 20px;
  }

  .listing-gallery-price {
    font-size: 24px;
  }

  .listing-content-card {
    padding: 14px;
  }

  .listing-sidebar-card,
  .listing-owner-card {
    padding: 12px;
  }

  .promo-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promo-action-card strong {
    font-size: 10px;
  }

  .promo-action-card small {
    font-size: 7.8px;
  }

  .owner-stat-grid {
    grid-template-columns: repeat(5, minmax(54px, 1fr));
    overflow-x: auto;
  }

  .gallery-modal-stage {
    padding: 65px 0 168px;
  }

  .gallery-modal-thumbs {
    bottom: 102px;
    width: calc(100% - 20px);
    justify-content: flex-start;
    padding: 7px 8px;
  }

  .gallery-modal-thumb {
    width: 58px;
    height: 48px;
    flex-basis: 58px;
  }

  .gallery-modal-arrow {
    display: none;
  }

  .gallery-modal-caption {
    min-height: 105px;
    padding: 17px 14px;
  }

  .gallery-modal-caption div {
    padding-left: 105px;
  }

  .gallery-modal-caption h3 {
    font-size: 14px;
  }

  .gallery-modal-caption > strong {
    font-size: 19px;
  }

  .gallery-modal-call {
    left: 12px;
    bottom: 28px;
  }

  .gallery-modal-favorite {
    right: 64px;
  }
}

@media (max-width: 390px) {
  .promo-action-grid {
    gap: 5px;
  }

  .promo-action-card {
    padding-right: 2px;
    padding-left: 2px;
  }

  .promo-action-card small {
    font-size: 7px;
  }

  .primary-contact-button strong {
    font-size: 14px;
  }
} 

/* =========================================================
   SELLER PROFILE — PREMIUM AWARE
========================================================= */

.seller-profile-card{
  margin-top:11px;
  min-height:66px;
  padding:10px 11px;
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid #e7ebee;
  border-radius:16px;
  background:linear-gradient(145deg,#fbfcfc,#f7f9fa);
  color:#20262c;
  text-decoration:none;
  overflow:hidden;
  position:relative;
}

.seller-profile-card:hover{
  color:#20262c;
}

.seller-profile-card.is-premium{
  border-color:#ead38a;
  background:
    radial-gradient(circle at 100% 0%,rgba(245,192,52,.18),transparent 34%),
    linear-gradient(145deg,#fffdf6,#fff8df);
  box-shadow:0 8px 20px rgba(151,105,0,.08);
}

.seller-profile-card.is-premium::after{
  content:"";
  position:absolute;
  width:72px;
  height:72px;
  right:-28px;
  bottom:-38px;
  border-radius:50%;
  background:#efbd34;
  opacity:.10;
  pointer-events:none;
}

.seller-profile-avatar{
  width:44px;
  height:44px;
  flex:0 0 44px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:14px;
  background:#edf5f4;
  color:#008d81;
  font-size:15px;
  font-weight:950;
}

.seller-profile-card.is-premium .seller-profile-avatar{
  background:linear-gradient(135deg,#f7d76d,#e6ad20);
  color:#634300;
  box-shadow:0 6px 16px rgba(160,104,0,.16);
}

.seller-profile-avatar img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.seller-profile-copy{
  min-width:0;
  flex:1;
  position:relative;
  z-index:2;
}

.seller-profile-copy > small{
  display:block;
  color:#899199;
  font-size:8.5px;
  line-height:1.15;
  font-weight:750;
}

.seller-profile-name-row{
  min-width:0;
  margin-top:3px;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
}

.seller-profile-name-row strong{
  min-width:0;
  max-width:100%;
  overflow:hidden;
  color:#242a30;
  font-size:13px;
  line-height:1.2;
  font-weight:900;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.seller-premium-chip{
  min-height:21px;
  padding:4px 7px;
  display:inline-flex;
  align-items:center;
  gap:4px;
  flex:0 0 auto;
  border:1px solid rgba(210,160,31,.30);
  border-radius:999px;
  background:rgba(255,241,188,.86);
  color:#835b00;
  font-size:7.5px;
  line-height:1;
  font-weight:950;
  white-space:nowrap;
}

.seller-premium-chip i{
  font-size:7px;
}

.seller-profile-note{
  display:block;
  margin-top:4px;
  color:#8b939a;
  font-size:8.5px;
  line-height:1.2;
  font-weight:650;
}

.seller-profile-card.is-premium .seller-profile-note{
  color:#8c6c20;
}

.seller-profile-chevron{
  flex:0 0 auto;
  position:relative;
  z-index:2;
  color:#a3abb2;
  font-size:10px;
}

.detail-badge-user-premium{
  border-color:rgba(255,222,122,.48);
  background:linear-gradient(
    135deg,
    rgba(91,64,0,.78),
    rgba(166,111,0,.72)
  );
}

.detail-badge-user-premium i{
  color:#ffd969;
}


/* =========================================================
   MOBILE DETAIL HEADER
========================================================= */

.listing-mobile-topbar{
  display:none;
}

@media (max-width:767.98px){

  /*
   * Listing detaildə ümumi sayt headeri və app banner görünmür.
   * JS body class fallback verir, :has isə ilk paint-i də qoruyur.
   */
  html body.listing-detail-page #siteHeader,
  html body.listing-detail-page .site-header,
  html body.listing-detail-page #appInstallBanner,
  body:has(.listing-detail-modern) #siteHeader,
  body:has(.listing-detail-modern) .site-header,
  body:has(.listing-detail-modern) #appInstallBanner{
    display:none !important;
  }

  html body.listing-detail-page,
  body:has(.listing-detail-modern){
    padding-top:
      calc(
        58px + env(safe-area-inset-top)
      ) !important;
  }

  html body.listing-detail-page.has-app-banner,
  body.has-app-banner:has(.listing-detail-modern){
    padding-top:
      calc(
        58px + env(safe-area-inset-top)
      ) !important;
  }

  .listing-mobile-topbar{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:1095;
    height:
      calc(
        58px + env(safe-area-inset-top)
      );
    padding:
      env(safe-area-inset-top)
      8px
      0;
    display:block;
    border-bottom:1px solid rgba(15,23,42,.07);
    background:rgba(255,255,255,.97);
    box-shadow:0 5px 18px rgba(15,23,42,.06);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
  }

  .listing-mobile-topbar-inner{
    width:100%;
    height:58px;
    display:grid;
    grid-template-columns:82px minmax(0,1fr) 82px;
    align-items:center;
    gap:4px;
  }

  .listing-mobile-topbar-left,
  .listing-mobile-topbar-actions{
    display:flex;
    align-items:center;
  }

  .listing-mobile-topbar-left{
    justify-content:flex-start;
  }

  .listing-mobile-topbar-actions{
    justify-content:flex-end;
    gap:5px;
  }

  .listing-mobile-topbar-button{
    width:37px;
    height:37px;
    flex:0 0 37px;
    display:grid;
    place-items:center;
    padding:0;
    border:1px solid #e5e9ec;
    border-radius:12px;
    background:#f8fafb;
    color:#4e5962;
    font-size:14px;
    cursor:pointer;
  }

  .listing-mobile-topbar-button:active{
    transform:scale(.94);
  }

  .listing-mobile-topbar-button.favorite.active{
    border-color:#ffd3cf;
    background:#fff1ef;
    color:#e33f37;
  }

  .listing-mobile-topbar-title{
    min-width:0;
    text-align:center;
  }

  .listing-mobile-topbar-title strong{
    display:block;
    width:100%;
    overflow:hidden;
    color:#182027;
    font-size:12.5px;
    line-height:1.25;
    font-weight:900;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .listing-mobile-topbar-title span{
    display:block;
    margin-top:2px;
    color:#98a0a7;
    font-size:7.5px;
    line-height:1;
    font-weight:750;
  }

  .listing-breadcrumb{
    display:none !important;
  }

  /*
   * Seçilmişlər artıq mobile header-dədir.
   */
  .listing-detail-modern .gallery-favorite-button{
    display:none !important;
  }

  /*
   * Mesaj yaz aşağı fixed action bar-da olduğuna görə
   * telefonun altındakı təkrar düymə mobile-da gizlənir.
   */
  .listing-detail-modern .message-contact-button{
    display:none !important;
  }

  .listing-detail-modern{
    padding-top:8px !important;
  }

  .seller-profile-card{
    min-height:62px;
    padding:9px 10px;
    border-radius:15px;
  }

  .seller-profile-avatar{
    width:42px;
    height:42px;
    flex-basis:42px;
    border-radius:13px;
  }

  .seller-profile-name-row strong{
    font-size:12px;
  }

  .seller-premium-chip{
    min-height:20px;
    padding:4px 6px;
    font-size:7px;
  }

  .detail-badge-user-premium{
    height:28px;
    padding:0 9px;
    font-size:9.5px;
  }
}

@media (max-width:390px){
  .listing-mobile-topbar-inner{
    grid-template-columns:77px minmax(0,1fr) 77px;
  }

  .listing-mobile-topbar-button{
    width:35px;
    height:35px;
    flex-basis:35px;
    border-radius:11px;
    font-size:13px;
  }

  .listing-mobile-topbar-actions{
    gap:4px;
  }

  .listing-mobile-topbar-title strong{
    font-size:11.5px;
  }
}


/* =========================================================
   PROMO CHANCE
========================================================= */
.promo-chance{
  margin-top:3px !important;
  min-height:17px;
  padding:3px 6px;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#eef9f7;
  color:#008f82 !important;
  font-size:7.5px !important;
  line-height:1 !important;
  font-weight:950 !important;
  white-space:nowrap;
}

.promo-chance i{
  margin-right:3px;
  font-size:6.5px;
}

/* =========================================================
   MOBILE PROMO CARDS — COMPACT
========================================================= */
@media (max-width:767.98px){

  .listing-sidebar-card .promo-section-heading{
    margin-bottom:8px;
  }

  .listing-sidebar-card .promo-section-heading strong{
    font-size:13px;
  }

  .listing-sidebar-card .promo-section-heading span{
    margin-top:1px;
    font-size:8.5px;
  }

  .listing-sidebar-card .promo-section-heading > i{
    font-size:15px;
  }

  .listing-sidebar-card .promo-action-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:5px;
  }

  .listing-sidebar-card .promo-action-card{
    min-height:82px;
    padding:7px 2px 6px;
    border-radius:12px;
  }

  .listing-sidebar-card .promo-action-icon{
    width:29px;
    height:29px;
    margin-bottom:4px;
    border-radius:9px;
    font-size:12px;
  }

  .listing-sidebar-card .promo-action-card strong{
    font-size:8.3px;
    line-height:1.1;
    font-weight:850;
  }

  .listing-sidebar-card .promo-action-card > small:not(.promo-chance){
    margin-top:2px;
    font-size:6.5px;
    line-height:1.1;
  }

  .listing-sidebar-card .promo-chance{
    margin-top:4px !important;
    min-height:15px;
    padding:3px 4px;
    font-size:6.4px !important;
  }

  .listing-sidebar-card .promo-chance i{
    margin-right:2px;
    font-size:5.7px;
  }
}

@media (max-width:390px){

  .listing-sidebar-card .promo-action-grid{
    gap:4px;
  }

  .listing-sidebar-card .promo-action-card{
    min-height:78px;
    padding:6px 1px 5px;
    border-radius:11px;
  }

  .listing-sidebar-card .promo-action-icon{
    width:27px;
    height:27px;
    margin-bottom:4px;
    font-size:11px;
  }

  .listing-sidebar-card .promo-action-card strong{
    font-size:7.7px;
  }

  .listing-sidebar-card .promo-action-card > small:not(.promo-chance){
    font-size:6px;
  }

  .listing-sidebar-card .promo-chance{
    min-height:14px;
    padding:2px 3px;
    font-size:6px !important;
  }
}


/* =========================================================
   PROMO MODAL — CHANCE INFO
========================================================= */
.promo-modal-chance-info{
  margin:0 0 12px;
  padding:10px 11px;
  display:flex;
  align-items:flex-start;
  gap:9px;
  border:1px solid #d9eee9;
  border-radius:13px;
  background:linear-gradient(135deg,#f2fbf9,#fbfefd);
}

.promo-modal-chance-icon{
  width:32px;
  height:32px;
  flex:0 0 32px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#e4f7f3;
  color:#009e8e;
  font-size:13px;
}

.promo-modal-chance-copy{
  min-width:0;
  flex:1;
}

.promo-modal-chance-copy strong{
  display:block;
  color:#176e65;
  font-size:11px;
  line-height:1.25;
  font-weight:900;
}

.promo-modal-chance-copy span{
  display:block;
  margin-top:3px;
  color:#6c7f7c;
  font-size:8.5px;
  line-height:1.4;
  font-weight:650;
}

@media(max-width:575.98px){
  .promo-modal-chance-info{
    margin-bottom:10px;
    padding:9px 10px;
    border-radius:12px;
  }

  .promo-modal-chance-icon{
    width:29px;
    height:29px;
    flex-basis:29px;
    border-radius:9px;
    font-size:12px;
  }

  .promo-modal-chance-copy strong{
    font-size:10px;
  }

  .promo-modal-chance-copy span{
    font-size:8px;
  }
}


/* =========================================================
   PROMO MODAL — SERVICE VISUALS
========================================================= */
.promo-modal-service-head{
  margin-bottom:11px;
  display:flex;
  align-items:center;
  gap:10px;
}

.promo-modal-service-icon{
  width:39px;
  height:39px;
  flex:0 0 39px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#eef4f6;
  color:#52606a;
  font-size:16px;
  box-shadow:inset 0 0 0 1px rgba(15,23,42,.04);
}

.promo-modal-service-copy{
  min-width:0;
  flex:1;
}

.promo-modal-service-copy h5{
  margin:0;
  color:#172027;
  font-size:15px;
  line-height:1.2;
  font-weight:900;
}

.promo-modal-service-copy span{
  display:block;
  margin-top:2px;
  color:#89939a;
  font-size:8.5px;
  line-height:1.25;
  font-weight:650;
}

/* SERVICE COLORS */
.promo-modal-service-head.service-boost .promo-modal-service-icon{
  background:#eaf4ff;
  color:#3185d6;
}

.promo-modal-service-head.service-vip .promo-modal-service-icon{
  background:#fff0ef;
  color:#ef4339;
}

.promo-modal-service-head.service-premium .promo-modal-service-icon{
  background:#fff7df;
  color:#d99300;
}

.promo-modal-service-head.service-daily-deal .promo-modal-service-icon{
  background:#fff0e9;
  color:#f05a28;
}

/* PACKAGE CARD */
#promoList .promo-item{
  min-height:64px;
  padding:10px 11px;
  display:flex;
  align-items:center;
  gap:9px;
  border:1px solid #e5eaed;
  border-radius:13px;
  background:#fff;
  cursor:pointer;
  transition:
    border-color .16s ease,
    background .16s ease,
    transform .16s ease,
    box-shadow .16s ease;
}

#promoList .promo-item + .promo-item{
  margin-top:7px;
}

#promoList .promo-item:hover{
  transform:translateY(-1px);
  border-color:#ccd7dc;
  box-shadow:0 5px 16px rgba(15,23,42,.05);
}

#promoList .promo-item.active{
  border-color:rgba(0,158,142,.42);
  background:#f2fbf9;
  box-shadow:0 5px 16px rgba(0,158,142,.08);
}

.promo-package-service-icon{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#eef4f6;
  color:#53616a;
  font-size:14px;
}

.promo-package-service-icon.boost{
  background:#eaf4ff;
  color:#3185d6;
}

.promo-package-service-icon.vip{
  background:#fff0ef;
  color:#ef4339;
}

.promo-package-service-icon.premium{
  background:#fff7df;
  color:#d99300;
}

.promo-package-service-icon.daily-deal{
  background:#fff0e9;
  color:#f05a28;
}

.promo-package-main{
  min-width:0;
  flex:1;
}

.promo-package-main b{
  display:block;
  color:#232b31;
  font-size:11.5px;
  line-height:1.25;
  font-weight:900;
}

.promo-package-main small{
  display:block;
  margin-top:3px;
  color:#7f8991;
  font-size:8.5px;
  line-height:1.35;
}

.promo-package-side{
  flex:0 0 auto;
  text-align:right;
}

.promo-package-side b{
  color:#1d272d;
  font-size:11.5px;
  font-weight:900;
}

.promo-radio{
  width:16px;
  height:16px;
  margin:5px 0 0 auto;
  border:2px solid #c9d1d6;
  border-radius:50%;
  background:#fff;
  position:relative;
}

#promoList .promo-item.active .promo-radio{
  border-color:#009e8e;
}

#promoList .promo-item.active .promo-radio::after{
  content:"";
  position:absolute;
  inset:3px;
  border-radius:50%;
  background:#009e8e;
}

@media(max-width:575.98px){
  .promo-modal-service-head{
    gap:8px;
    margin-bottom:9px;
  }

  .promo-modal-service-icon{
    width:35px;
    height:35px;
    flex-basis:35px;
    border-radius:11px;
    font-size:15px;
  }

  .promo-modal-service-copy h5{
    font-size:13.5px;
  }

  .promo-modal-service-copy span{
    font-size:8px;
  }

  #promoList .promo-item{
    min-height:59px;
    padding:8px 9px;
    gap:8px;
    border-radius:12px;
  }

  .promo-package-service-icon{
    width:31px;
    height:31px;
    flex-basis:31px;
    border-radius:9px;
    font-size:13px;
  }

  .promo-package-main b,
  .promo-package-side b{
    font-size:10.5px;
  }

  .promo-package-main small{
    font-size:7.7px;
  }
}


/* =========================================================
   PROMO PACKAGE — PRICE + CHANCE
========================================================= */
.promo-package-price-line{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:5px;
  color:#1d272d;
  font-size:11px;
  line-height:1.15;
  font-weight:900;
  white-space:nowrap;
}

.promo-package-price-line .promo-package-chance-inline{
  color:#008f82;
  font-weight:950;
}

.promo-package-price-line .promo-package-plus{
  color:#a0a8ae;
  font-weight:800;
}

/* =========================================================
   PROMO MODAL — TOP BAR / CLOSE
========================================================= */
.promo-modal-toprow{
  display:flex;
  align-items:center;
  gap:8px;
}

.promo-modal-service-head{
  flex:1;
  min-width:0;
  margin-bottom:0;
}

.promo-modal-close{
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  border-radius:12px;
  background:#f1f4f5;
  color:#59636b;
  font-size:14px;
  cursor:pointer;
}

.promo-modal-close:hover{
  background:#e9edef;
}

.promo-modal-body-scroll{
  min-height:0;
}

.promo-modal-footer-actions{
  margin-top:10px;
}

/* =========================================================
   PROMO MODAL — DESKTOP SIZE / SPACING
========================================================= */
#promoteModal .modal-dialog{
  width:calc(100% - 32px);
  max-width:580px;
  margin-right:auto;
  margin-left:auto;
}

#promoteModal .modal-content{
  overflow:hidden;
}

#promoteModal .promo-modal-mobile-header{
  padding:20px 22px 16px;
  border-bottom:1px solid #edf0f2;
  background:#fff;
}

#promoteModal .promo-modal-body-scroll{
  padding:18px 22px 20px;
}

#promoteModal .promo-modal-footer-actions{
  margin-top:0;
  padding:16px 22px 20px;
  border-top:1px solid #edf0f2;
  background:#fff;
}

#promoteModal .promo-modal-footer-actions .btn{
  min-height:46px;
  border-radius:13px;
  font-weight:800;
}

#promoteModal #balanceBox{
  margin-bottom:10px !important;
}

/* Tablet */
@media(min-width:576px) and (max-width:767.98px){
  #promoteModal .modal-dialog{
    max-width:540px;
  }

  #promoteModal .promo-modal-mobile-header{
    padding:18px 18px 14px;
  }

  #promoteModal .promo-modal-body-scroll{
    padding:16px 18px 18px;
  }

  #promoteModal .promo-modal-footer-actions{
    padding:14px 18px 18px;
  }
}


/* =========================================================
   MOBILE PROMO MODAL — FULL SCREEN
========================================================= */
@media(max-width:575.98px){

  #promoteModal{
    padding:0 !important;
  }

  #promoteModal .modal-dialog{
    width:100%;
    max-width:none;
    height:100dvh;
    margin:0;
    display:block;
  }

  #promoteModal .modal-content{
    width:100%;
    height:100dvh;
    max-height:100dvh;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    background:#f7f9fa;
    box-shadow:none !important;
  }

  #promoteModal .promo-modal-mobile-header{
    flex:0 0 auto;
    padding:
      calc(10px + env(safe-area-inset-top))
      12px
      10px;
    border-bottom:1px solid #e5e9ec;
    background:rgba(255,255,255,.98);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
  }

  #promoteModal .promo-modal-toprow{
    gap:7px;
  }

  #promoteModal .promo-modal-service-head{
    margin:0;
  }

  #promoteModal .promo-modal-close{
    width:40px;
    height:40px;
    flex-basis:40px;
    border-radius:12px;
    background:#f0f3f4;
    font-size:15px;
  }

  #promoteModal .promo-modal-body-scroll{
    flex:1 1 auto;
    min-height:0;
    padding:12px 12px 18px;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }

  #promoteModal .promo-modal-chance-info{
    margin-bottom:10px;
  }

  #promoteModal #promoList{
    margin-bottom:0 !important;
  }

  #promoteModal .promo-item{
    min-height:64px;
  }

  #promoteModal .promo-package-side{
    min-width:86px;
  }

  #promoteModal .promo-package-price-line{
    font-size:9.5px;
  }

  #promoteModal .promo-modal-footer-actions{
    flex:0 0 auto;
    margin:0;
    padding:
      10px
      12px
      calc(10px + env(safe-area-inset-bottom));
    border-top:1px solid #e2e7ea;
    background:#fff;
    box-shadow:0 -8px 24px rgba(15,23,42,.08);
  }

  #promoteModal .promo-modal-footer-actions .btn{
    min-height:48px;
    border-radius:13px;
    font-size:13px;
    font-weight:800;
  }

  #promoteModal #balanceBox{
    margin-bottom:8px !important;
    font-size:10px !important;
  }
}


/* =========================================================
   PROMO MODAL — LAYER FIX
========================================================= */
#promoteModal{
  z-index:30050 !important;
}

body.promo-modal-open .modal-backdrop{
  z-index:30040 !important;
}

body.promo-modal-open .listing-mobile-topbar{
  pointer-events:none !important;
}

/* =========================================================
   PROMO — INCLUDED SERVICES
========================================================= */
.promo-service-includes{
  margin:0 0 10px;
  padding:10px 11px;
  border:1px solid #e6eaed;
  border-radius:13px;
  background:#fff;
}

.promo-service-includes-label{
  display:block;
  margin-bottom:7px;
  color:#8a9299;
  font-size:8px;
  line-height:1;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.promo-service-benefits{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:5px;
}

.promo-service-benefit{
  min-height:25px;
  padding:5px 8px;
  display:inline-flex;
  align-items:center;
  gap:5px;
  border-radius:999px;
  background:#f1f5f6;
  color:#49545c;
  font-size:8.5px;
  line-height:1;
  font-weight:850;
}

.promo-service-benefit i{
  font-size:8px;
}

.promo-service-benefit.boost{
  background:#eaf4ff;
  color:#317dc3;
}

.promo-service-benefit.vip{
  background:#fff0ef;
  color:#db4139;
}

.promo-service-benefit.premium{
  background:#fff7df;
  color:#a76f00;
}

.promo-service-benefit.daily-deal{
  background:#fff0e9;
  color:#d64d20;
}

/* =========================================================
   CURRENT ACTIVE PROMO STATUS
========================================================= */
.promo-current-status{
  margin:0 0 10px;
  padding:10px 11px;
  border:1px solid #dfe6e8;
  border-radius:13px;
  background:#f9fbfb;
}

.promo-current-status-title{
  display:flex;
  align-items:center;
  gap:6px;
  margin-bottom:7px;
  color:#59656c;
  font-size:9px;
  font-weight:900;
}

.promo-current-status-title i{
  color:#009e8e;
}

.promo-current-status-list{
  display:grid;
  gap:6px;
}

.promo-current-status-item{
  min-height:35px;
  padding:7px 8px;
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid #edf0f2;
  border-radius:10px;
  background:#fff;
}

.promo-current-status-icon{
  width:26px;
  height:26px;
  flex:0 0 26px;
  display:grid;
  place-items:center;
  border-radius:8px;
  font-size:10px;
}

.promo-current-status-item.boost .promo-current-status-icon{
  background:#eaf4ff;
  color:#3185d6;
}

.promo-current-status-item.vip .promo-current-status-icon{
  background:#fff0ef;
  color:#ef4339;
}

.promo-current-status-item.premium .promo-current-status-icon{
  background:#fff7df;
  color:#d99300;
}

.promo-current-status-copy{
  min-width:0;
  flex:1;
}

.promo-current-status-copy strong{
  display:block;
  color:#273138;
  font-size:8.8px;
  line-height:1.25;
  font-weight:850;
}

.promo-current-status-copy span{
  display:block;
  margin-top:2px;
  color:#889198;
  font-size:7.5px;
  line-height:1.25;
}

/* =========================================================
   MOBILE PROMO — FULL SCREEN / ABOVE DETAIL HEADER
========================================================= */
@media(max-width:767.98px){

  body.promo-modal-open .listing-mobile-topbar{
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
  }

  #promoteModal{
    padding:0 !important;
  }

  #promoteModal .modal-dialog{
    width:100% !important;
    max-width:none !important;
    height:100dvh !important;
    min-height:100dvh !important;
    margin:0 !important;
    display:block !important;
  }

  #promoteModal .modal-content{
    width:100% !important;
    height:100dvh !important;
    max-height:100dvh !important;
    border:0 !important;
    border-radius:0 !important;
    overflow:hidden !important;
  }

  #promoteModal .promo-modal-mobile-header{
    position:relative;
    z-index:2;
    padding:
      calc(10px + env(safe-area-inset-top))
      12px
      10px !important;
    background:#fff;
  }

  #promoteModal .promo-modal-close{
    position:relative;
    z-index:5;
    width:42px !important;
    height:42px !important;
    flex-basis:42px !important;
    background:#edf1f2 !important;
    color:#303a41 !important;
    font-size:16px !important;
  }

  #promoteModal .promo-modal-body-scroll{
    padding:11px 12px 18px !important;
  }

  #promoteModal .promo-service-includes,
  #promoteModal .promo-current-status{
    border-radius:12px;
  }
}


/* =========================================================
   PROMO ACTION CARD — PRICE / CHANCE / INCLUDED SERVICE
========================================================= */
.promo-action-meta{
  margin-top:3px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  color:#6f7880;
  font-size:8px;
  line-height:1;
  font-weight:800;
  white-space:nowrap;
}

.promo-action-meta .chance{
  color:#008f82;
  font-weight:950;
}

.promo-action-extra{
  margin-top:4px;
  min-height:17px;
  padding:3px 6px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#f2f5f6;
  color:#59646c;
  font-size:7px;
  line-height:1;
  font-weight:900;
  white-space:nowrap;
}

.promo-action-card.promo-action-card-vip .promo-action-extra{
  background:#fff0ef;
  color:#c8443d;
}

.promo-action-card.promo-action-card-premium .promo-action-extra{
  background:#fff7df;
  color:#956500;
}

@media(max-width:767.98px){
  .listing-sidebar-card .promo-action-meta{
    margin-top:2px;
    gap:3px;
    font-size:6.5px;
  }

  .listing-sidebar-card .promo-action-extra{
    margin-top:3px;
    min-height:14px;
    padding:2px 4px;
    font-size:5.8px;
  }
}

/* =========================================================
   PROMO MODAL — SINGLE CONTEXTUAL ACTIVE STATUS
========================================================= */
#promoCurrentServiceStatus{
  display:none;
}

#promoCurrentServiceStatus.is-visible{
  display:block;
}

.promo-context-status{
  margin:0 0 10px;
  padding:10px 11px;
  border:1px solid #dfe7e9;
  border-radius:13px;
  background:#fff;
}

.promo-context-status-row{
  display:flex;
  align-items:center;
  gap:8px;
}

.promo-context-status-icon{
  width:30px;
  height:30px;
  flex:0 0 30px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#edf3f4;
  color:#53616a;
  font-size:11px;
}

.promo-context-status.vip .promo-context-status-icon{
  background:#fff0ef;
  color:#ef4339;
}

.promo-context-status.premium .promo-context-status-icon{
  background:#fff7df;
  color:#d99300;
}

.promo-context-status.boost .promo-context-status-icon{
  background:#eaf4ff;
  color:#3185d6;
}

.promo-context-status.daily-deal .promo-context-status-icon{
  background:#fff0e9;
  color:#f05a28;
}

.promo-context-status-copy{
  min-width:0;
  flex:1;
}

.promo-context-status-copy strong{
  display:block;
  color:#293239;
  font-size:9px;
  line-height:1.35;
  font-weight:900;
}

.promo-context-status-copy span{
  display:block;
  margin-top:2px;
  color:#8a9399;
  font-size:7.5px;
  line-height:1.3;
}

@media(max-width:767.98px){
  .promo-context-status{
    padding:9px 10px;
    border-radius:12px;
  }

  .promo-context-status-icon{
    width:28px;
    height:28px;
    flex-basis:28px;
  }

  .promo-context-status-copy strong{
    font-size:8.5px;
  }
}


/* =========================================================
   MOBILE PROMO CARDS — READABLE SIZE
========================================================= */
@media (max-width:767.98px){

  .listing-sidebar-card .promo-section-heading{
    margin-bottom:10px;
  }

  .listing-sidebar-card .promo-section-heading strong{
    font-size:14px;
  }

  .listing-sidebar-card .promo-section-heading span{
    margin-top:2px;
    font-size:9.5px;
  }

  .listing-sidebar-card .promo-section-heading > i{
    font-size:16px;
  }

  .listing-sidebar-card .promo-action-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:6px;
  }

  .listing-sidebar-card .promo-action-card{
    min-height:96px;
    padding:9px 3px 8px;
    border-radius:13px;
  }

  .listing-sidebar-card .promo-action-icon{
    width:32px;
    height:32px;
    margin-bottom:5px;
    border-radius:10px;
    font-size:13px;
  }

  .listing-sidebar-card .promo-action-card strong{
    font-size:9.6px;
    line-height:1.15;
    font-weight:900;
  }

  .listing-sidebar-card .promo-action-meta{
    margin-top:4px;
    gap:3px;
    font-size:7.6px;
    line-height:1.1;
  }

  .listing-sidebar-card .promo-action-extra{
    margin-top:5px;
    min-height:18px;
    max-width:100%;
    padding:4px 5px;
    font-size:6.8px;
    line-height:1.15;
    white-space:normal;
    text-align:center;
  }
}

@media (max-width:390px){

  .listing-sidebar-card .promo-action-grid{
    gap:5px;
  }

  .listing-sidebar-card .promo-action-card{
    min-height:92px;
    padding:8px 2px 7px;
  }

  .listing-sidebar-card .promo-action-icon{
    width:30px;
    height:30px;
    font-size:12px;
  }

  .listing-sidebar-card .promo-action-card strong{
    font-size:9px;
  }

  .listing-sidebar-card .promo-action-meta{
    font-size:7px;
  }

  .listing-sidebar-card .promo-action-extra{
    font-size:6.3px;
    padding:3px 4px;
  }
}


/* =========================================================
   SELLER -> PUBLIC USER PROFILE
========================================================= */
.seller-public-profile-action{
  width:max-content;
  max-width:100%;
  min-height:27px;
  margin-top:6px;
  padding:5px 8px;
  display:inline-flex;
  align-items:center;
  gap:5px;
  border:1px solid #dce7e6;
  border-radius:9px;
  background:#f0f8f7;
  color:#087c71;
  text-decoration:none;
  font-size:8px;
  line-height:1;
  font-weight:900;
  white-space:nowrap;
  transition:
    border-color .15s ease,
    background .15s ease,
    color .15s ease;
}

.seller-public-profile-action:hover{
  border-color:#b9dcd7;
  background:#e7f6f3;
  color:#006d63;
}

.seller-public-profile-action i{
  font-size:8px;
}

.seller-public-profile-action.is-loading{
  opacity:.72;
  pointer-events:none;
}

.seller-profile-card.is-premium
.seller-public-profile-action{
  border-color:#e6d79f;
  background:rgba(255,255,255,.72);
  color:#765600;
}

@media(max-width:767.98px){
  .seller-public-profile-action{
    min-height:29px;
    margin-top:6px;
    padding:6px 8px;
    border-radius:9px;
    font-size:8px;
  }
}


/* =========================================================
   PAYLAŞ & QAZAN — LISTING DETAIL SHARE EXPERIENCE
========================================================= */
#shareModal{z-index:30100 !important;}
body.share-game-modal-open .modal-backdrop{z-index:30090 !important;}
body.share-game-modal-open .listing-mobile-topbar{pointer-events:none !important;}
#shareModal .modal-dialog{max-width:500px;}
#shareModal .modal-content{
  overflow:hidden;
  border:0;
  border-radius:23px;
  box-shadow:0 28px 80px rgba(15,23,42,.24);
}
.share-game-header{
  position:relative;
  overflow:hidden;
  padding:18px 18px 16px;
  color:#fff;
  background:
    radial-gradient(circle at 100% 0%,rgba(113,235,218,.30),transparent 38%),
    linear-gradient(135deg,#087d73,#009e8e);
}
.share-game-header::after{
  content:"";
  position:absolute;
  width:120px;
  height:120px;
  right:-50px;
  bottom:-76px;
  border-radius:50%;
  background:rgba(255,255,255,.11);
}
.share-game-topline{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.share-game-kicker{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:24px;
  padding:5px 8px;
  border:1px solid rgba(255,255,255,.17);
  border-radius:999px;
  background:rgba(255,255,255,.12);
  font-size:8px;
  font-weight:950;
  letter-spacing:.05em;
}
.share-game-close{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid rgba(255,255,255,.17);
  border-radius:11px;
  background:rgba(255,255,255,.12);
  color:#fff;
}
.share-game-heading{
  position:relative;
  z-index:2;
  margin-top:10px;
  font-size:19px;
  line-height:1.2;
  font-weight:950;
  letter-spacing:-.2px;
}
.share-game-subtitle{
  position:relative;
  z-index:2;
  margin-top:5px;
  color:rgba(255,255,255,.80);
  font-size:9.5px;
  line-height:1.45;
  font-weight:650;
}
.share-game-progress{
  position:relative;
  z-index:2;
  margin-top:12px;
  padding:11px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:14px;
  background:rgba(255,255,255,.11);
}
.share-game-progress-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:8.5px;
  font-weight:900;
}
.share-game-progress-track{
  height:7px;
  margin-top:7px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(255,255,255,.18);
}
.share-game-progress-fill{
  height:100%;
  border-radius:inherit;
  background:#fff;
}
.share-game-next{
  margin-top:6px;
  color:rgba(255,255,255,.82);
  font-size:8px;
  line-height:1.35;
}
.share-game-body{padding:14px 16px 16px;}
.share-game-info{
  padding:10px 11px;
  display:flex;
  align-items:flex-start;
  gap:9px;
  border:1px solid #dcefeb;
  border-radius:13px;
  background:#f2fbf9;
}
.share-game-info-icon{
  width:31px;
  height:31px;
  flex:0 0 31px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#e2f7f3;
  color:#008f82;
  font-size:12px;
}
.share-game-info strong{
  display:block;
  color:#176e65;
  font-size:9.5px;
  font-weight:950;
}
.share-game-info span{
  display:block;
  margin-top:3px;
  color:#6e817d;
  font-size:8px;
  line-height:1.4;
  font-weight:650;
}
.share-game-milestones{
  margin-top:11px;
  display:flex;
  gap:6px;
  overflow-x:auto;
  scrollbar-width:none;
}
.share-game-milestones::-webkit-scrollbar{display:none;}
.share-game-milestone{
  min-width:94px;
  padding:8px;
  border:1px solid #e8edeb;
  border-radius:12px;
  background:#fafcfc;
}
.share-game-milestone.reached{
  border-color:#c8e9e3;
  background:#f0faf8;
}
.share-game-milestone.next{
  border-color:#8fd3ca;
  background:#eaf9f6;
}
.share-game-milestone b{
  display:block;
  color:#008d80;
  font-size:8.5px;
  font-weight:950;
}
.share-game-milestone span{
  display:block;
  margin-top:4px;
  color:#5e6966;
  font-size:7.5px;
  line-height:1.3;
  font-weight:800;
}
.share-game-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
  margin-top:12px;
}
.share-game-action{
  min-height:66px;
  padding:7px 3px;
  border:1px solid #e7eaed;
  border-radius:13px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  background:#fafbfb;
  color:#46504e;
  font-size:8px;
  font-weight:900;
  cursor:pointer;
}
.share-game-action i{font-size:18px;}
.share-game-action.whatsapp i{color:#22a760;}
.share-game-action.telegram i{color:#278dcc;}
.share-game-action.native i{color:#009e8e;}
.share-game-action.copy i{color:#626b74;}
.share-game-owner-cta{
  margin-top:11px;
  padding:11px;
  border-radius:13px;
  background:#f7f9fa;
  color:#66716e;
  text-align:center;
  font-size:8.5px;
  line-height:1.45;
}
.share-game-owner-cta a{
  display:inline-flex;
  margin-top:7px;
  padding:7px 10px;
  border-radius:10px;
  background:#009e8e;
  color:#fff;
  text-decoration:none;
  font-weight:900;
}
.share-game-loading{
  padding:13px;
  text-align:center;
  color:#71807c;
  font-size:9px;
}
.share-game-error{
  padding:9px 10px;
  border-radius:11px;
  background:#fff3f1;
  color:#a54a40;
  font-size:8.5px;
  line-height:1.4;
}
@media(max-width:575.98px){
  #shareModal{padding:0 !important;}
  #shareModal .modal-dialog{
    width:calc(100% - 16px);
    margin:8px auto;
    align-items:flex-end;
    min-height:calc(100% - 16px);
  }
  #shareModal .modal-content{border-radius:22px;}
  .share-game-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;}
  .share-game-action{min-height:62px;font-size:7.5px;}
}



/* =========================================================
   PAYLAŞ & QAZAN — REFERRAL FIRST V2
   =========================================================
   Share düyməsi heç vaxt birbaşa native share açmır.
   Əvvəl Evi.az popup-u açılır, owner üçün referral link
   hazırlanır və yalnız /s/CODE hazır olandan sonra paylaşılır.
========================================================= */

.share-game-link-card{
  margin-top:11px;
  padding:11px;
  border:1px solid #d9ebe7;
  border-radius:14px;
  background:linear-gradient(135deg,#f4fbfa,#fbfefd);
}

.share-game-link-label{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:7px;
}

.share-game-link-label strong{
  color:#175f58;
  font-size:9px;
  line-height:1.2;
  font-weight:950;
}

.share-game-link-label span{
  min-height:20px;
  padding:4px 7px;
  display:inline-flex;
  align-items:center;
  gap:4px;
  border-radius:999px;
  background:#e4f7f3;
  color:#008f82;
  font-size:7px;
  line-height:1;
  font-weight:950;
}

.share-game-link-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:7px;
}

.share-game-link-value{
  min-width:0;
  height:42px;
  padding:0 11px;
  border:1px solid #dfe9e7;
  border-radius:11px;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:#fff;
  color:#34413e;
  font-size:9px;
  font-weight:800;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.share-game-copy-primary{
  min-width:94px;
  height:42px;
  padding:0 12px;
  border:0;
  border-radius:11px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  background:#009e8e;
  color:#fff;
  font-size:9px;
  font-weight:950;
  box-shadow:0 7px 17px rgba(0,158,142,.16);
  cursor:pointer;
}

.share-game-copy-primary.copied{
  background:#16895d;
}

.share-game-bonus-note{
  margin-top:8px;
  padding:8px 9px;
  display:flex;
  align-items:flex-start;
  gap:7px;
  border-radius:10px;
  background:#fff;
  color:#687572;
  font-size:7.7px;
  line-height:1.42;
  font-weight:700;
}

.share-game-bonus-note i{
  margin-top:1px;
  color:#e39a12;
  font-size:10px;
}

.share-game-bonus-note b{
  color:#276c64;
}

.share-game-share-title{
  margin-top:13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.share-game-share-title strong{
  color:#28332f;
  font-size:10px;
  font-weight:950;
}

.share-game-share-title span{
  color:#89928f;
  font-size:7.5px;
  font-weight:700;
}

.share-game-actions-v2{
  margin-top:8px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
}

.share-game-action-v2{
  min-height:60px;
  padding:7px 4px;
  border:1px solid #e6ebea;
  border-radius:12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  background:#fff;
  color:#4b5753;
  font-size:8px;
  line-height:1;
  font-weight:900;
  cursor:pointer;
}

.share-game-action-v2 i{
  font-size:18px;
}

.share-game-action-v2.whatsapp i{color:#22a760;}
.share-game-action-v2.telegram i{color:#278dcc;}
.share-game-action-v2.more i{color:#009e8e;}

.share-game-retry{
  width:100%;
  min-height:40px;
  margin-top:9px;
  border:0;
  border-radius:11px;
  background:#17201f;
  color:#fff;
  font-size:9px;
  font-weight:900;
  cursor:pointer;
}

.share-game-referral-code{
  color:#008f82;
  font-weight:950;
  letter-spacing:.05em;
}

.share-game-safe-error{
  padding:11px;
  border:1px solid #f0d6d1;
  border-radius:13px;
  background:#fff5f3;
  color:#8d4e46;
  font-size:8.5px;
  line-height:1.45;
}

.share-game-safe-error strong{
  display:block;
  margin-bottom:3px;
  color:#a43e34;
  font-size:9.5px;
  font-weight:950;
}

.share-game-safe-error .small{
  color:#8d625c;
  font-size:7.6px;
}

#shareGameActionsWrap.is-locked{
  display:none;
}

@media(max-width:575.98px){
  .share-game-link-row{
    grid-template-columns:minmax(0,1fr) 88px;
  }

  .share-game-copy-primary{
    min-width:88px;
    padding:0 8px;
    font-size:8.4px;
  }

  .share-game-link-value{
    font-size:8.3px;
  }

  .share-game-actions-v2{
    gap:6px;
  }

  .share-game-action-v2{
    min-height:58px;
    font-size:7.6px;
  }
}



/* =========================================================
   LISTING DETAIL — MOBILE UX V2
========================================================= */

.listing-gallery-info h1{
  font-size:clamp(18px,2.05vw,25px);
  font-weight:800;
  line-height:1.22;
  letter-spacing:-.25px;
}

.listing-gallery-price{
  font-size:clamp(20px,2.1vw,27px);
  font-weight:850;
}

.listing-filters-card{
  padding:0 !important;
  overflow:hidden;
}

.listing-filters-card .listing-spec-grid{
  border:0;
  border-radius:0;
}

.listing-description-card{
  overflow:hidden;
}

.listing-description-wrap{
  position:relative;
}

.listing-description-wrap.is-collapsed .listing-description{
  max-height:7.2em;
  overflow:hidden;
}

.listing-description-wrap.is-collapsed::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:46px;
  pointer-events:none;
  background:linear-gradient(
    180deg,
    rgba(255,255,255,0),
    rgba(255,255,255,.96) 72%,
    #fff
  );
}

.listing-description-toggle{
  min-height:34px;
  margin-top:8px;
  padding:0;
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:0;
  background:transparent;
  color:#008f82;
  font-size:10px;
  line-height:1;
  font-weight:900;
  cursor:pointer;
}

.listing-description-toggle i{
  font-size:8px;
  transition:transform .18s ease;
}

.listing-description-toggle.is-expanded i{
  transform:rotate(180deg);
}

.gallery-count span{
  white-space:nowrap;
}

@media(max-width:767.98px){

  .listing-detail-modern .listing-main-image-wrap{
    background:#eef1f2 !important;
    touch-action:pan-y;
    overscroll-behavior-x:contain;
  }

  .listing-detail-modern #listingMainImage{
    object-fit:cover !important;
    object-position:center !important;
    background:#eef1f2 !important;
  }

  .listing-gallery-info{
    gap:5px;
  }

  .listing-gallery-info h1{
    font-size:17px;
    line-height:1.24;
    font-weight:800;
  }

  .listing-gallery-price{
    font-size:20px;
    line-height:1.1;
    font-weight:850;
  }

  .listing-filters-card{
    padding:0 !important;
  }

  .listing-filters-card .listing-spec-grid{
    border:0;
    border-radius:0;
  }

  .listing-description-card{
    padding:12px 13px !important;
  }

  .listing-description{
    font-size:12px;
    line-height:1.62;
  }

  .listing-description-wrap.is-collapsed .listing-description{
    max-height:6.5em;
  }

  /* Mobil seller kartında təkrar favorite/share gizlənir */
  .listing-sidebar-card .sidebar-actions{
    display:none !important;
  }

  .gallery-open-hint{
    bottom:12px;
    padding:6px 9px;
    font-size:8.5px;
  }

  .gallery-count{
    right:10px;
    bottom:10px;
    height:31px;
    padding:0 9px;
    font-size:9.5px;
  }
}

@media(max-width:390px){
  .listing-gallery-info h1{
    font-size:16.5px;
  }

  .listing-gallery-price{
    font-size:19px;
  }

  .listing-description{
    font-size:11.5px;
  }
}



/* =========================================================
   LISTING DETAIL — GALLERY + SELLER PROFILE V3
========================================================= */

/*
 * Desktop-da da əsas şəkil artıq qara boşluq saxlamır.
 * Full şəkli kəsilmədən görmək üçün istifadəçi şəkilə klik edib
 * fullscreen gallery aça bilər.
 */
.listing-detail-modern #listingMainImage{
  object-fit:cover !important;
  object-position:center !important;
  background:#eef1f2 !important;
}

/* Error/placeholder olduqda deformasiya etmə */
.listing-detail-modern #listingMainImage.is-error{
  object-fit:contain !important;
}

/* ---------------------------------------------------------
   DESKTOP INLINE THUMBNAILS
--------------------------------------------------------- */
.listing-inline-thumbs{
  width:100%;
  padding:10px 12px 11px;
  display:flex;
  align-items:center;
  gap:8px;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scrollbar-width:none;
  border-top:1px solid #eef1f3;
  border-bottom:1px solid #eef1f3;
  background:#fff;
}

.listing-inline-thumbs::-webkit-scrollbar{
  display:none;
}

.listing-inline-thumb{
  width:72px;
  height:58px;
  flex:0 0 72px;
  padding:2px;
  border:2px solid transparent;
  border-radius:11px;
  overflow:hidden;
  background:#f1f3f4;
  cursor:pointer;
  opacity:.76;
  transition:
    opacity .16s ease,
    border-color .16s ease,
    transform .16s ease,
    box-shadow .16s ease;
}

.listing-inline-thumb:hover{
  opacity:1;
  transform:translateY(-1px);
}

.listing-inline-thumb.active{
  opacity:1;
  border-color:#009e8e;
  box-shadow:0 0 0 2px rgba(0,158,142,.09);
}

.listing-inline-thumb img{
  width:100%;
  height:100%;
  display:block;
  border-radius:7px;
  object-fit:cover;
  pointer-events:none;
}

/* Desktop-da thumbnail olduğu üçün swipe hint lazım deyil */
@media(min-width:768px){
  .gallery-open-hint{
    display:none !important;
  }
}

/* ---------------------------------------------------------
   SELLER / STORE PROFILE CARD
--------------------------------------------------------- */
.seller-identity-card{
  margin-top:11px;
  min-height:72px;
  padding:9px 10px;
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid #e7ebee;
  border-radius:16px;
  background:linear-gradient(145deg,#fbfcfc,#f7f9fa);
  overflow:hidden;
}

.seller-identity-card.is-premium{
  border-color:#ead38a;
  background:
    radial-gradient(circle at 100% 0%,rgba(245,192,52,.14),transparent 35%),
    linear-gradient(145deg,#fffdf7,#fff9e5);
}

.seller-identity-main{
  min-width:0;
  flex:1;
  display:flex;
  align-items:center;
  gap:10px;
  color:#20262c;
  text-decoration:none;
}

.seller-identity-main:hover{
  color:#20262c;
}

.seller-identity-avatar{
  width:46px;
  height:46px;
  flex:0 0 46px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:14px;
  background:#eaf5f3;
  color:#008f82;
  font-size:15px;
  font-weight:950;
}

.seller-identity-card.is-premium .seller-identity-avatar{
  background:linear-gradient(135deg,#f7d76d,#e6ad20);
  color:#634300;
}

.seller-identity-avatar img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.seller-identity-copy{
  min-width:0;
  flex:1;
}

.seller-identity-label{
  display:block;
  color:#91989f;
  font-size:8px;
  line-height:1;
  font-weight:800;
}

.seller-identity-name-row{
  min-width:0;
  margin-top:4px;
  display:flex;
  align-items:center;
  gap:6px;
}

.seller-identity-name-row strong{
  min-width:0;
  overflow:hidden;
  color:#252b31;
  font-size:13px;
  line-height:1.2;
  font-weight:850;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.seller-identity-meta{
  display:block;
  margin-top:4px;
  overflow:hidden;
  color:#858e95;
  font-size:8.5px;
  line-height:1.25;
  font-weight:650;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.seller-all-listings-action{
  min-width:105px;
  min-height:48px;
  padding:7px 10px;
  flex:0 0 auto;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:center;
  border:1px solid #dce9e7;
  border-radius:13px;
  background:#fff;
  color:#087c71;
  text-decoration:none;
  transition:
    background .15s ease,
    border-color .15s ease,
    transform .15s ease;
}

.seller-all-listings-action:hover{
  border-color:#b9ddd8;
  background:#eff9f7;
  color:#006e64;
  transform:translateY(-1px);
}

.seller-all-listings-action span{
  display:flex;
  align-items:center;
  gap:5px;
  font-size:9px;
  line-height:1.1;
  font-weight:900;
  white-space:nowrap;
}

.seller-all-listings-action small{
  margin-top:4px;
  color:#8b9693;
  font-size:7.5px;
  line-height:1;
  font-weight:750;
}

.seller-all-listings-action i{
  font-size:7px;
}

/* Store variant */
.seller-identity-card.is-store .seller-identity-avatar{
  background:#fff;
  box-shadow:inset 0 0 0 1px #e9edef;
}

.seller-store-verified{
  color:#2494df;
  font-size:9px;
}

@media(max-width:767.98px){
  .listing-inline-thumbs{
    display:none !important;
  }

  .seller-identity-card{
    min-height:66px;
    padding:8px 9px;
    gap:7px;
    border-radius:15px;
  }

  .seller-identity-avatar{
    width:42px;
    height:42px;
    flex-basis:42px;
    border-radius:13px;
  }

  .seller-identity-name-row strong{
    font-size:12px;
  }

  .seller-identity-meta{
    font-size:7.8px;
  }

  .seller-all-listings-action{
    min-width:91px;
    min-height:44px;
    padding:6px 8px;
    border-radius:12px;
  }

  .seller-all-listings-action span{
    font-size:8.2px;
  }

  .seller-all-listings-action small{
    font-size:7px;
  }
}

@media(max-width:390px){
  .seller-all-listings-action{
    min-width:85px;
    padding-left:6px;
    padding-right:6px;
  }

  .seller-all-listings-action span{
    font-size:7.8px;
  }
}


/* =========================================================
   SOURCE: elan.evi.az/app/views/listing_detail.php [former inline styles]
========================================================= */
[data-evi-inline="evi-fc99214120"]{display:none}
[data-evi-inline="evi-8c7dd72aff"]{color:red;}
[data-evi-inline="evi-9ab8947f66"]{width:${percent.toFixed(1)}%}
[data-evi-inline="evi-9c1d8b3846"]{background:#eef9f7; color:#57706b}
[data-evi-inline="evi-d4cd9a5718"]{margin-top:5px}
