:root {
  --ld-page-bg: #f6f7fb;
  --ld-card-bg: #ffffff;
  --ld-card-bg-soft: #fbfcff;
  --ld-text: #0f172a;
  --ld-text-soft: #475569;
  --ld-text-muted: #6b7280;
  --ld-border: rgba(15, 23, 42, 0.08);
  --ld-border-strong: rgba(15, 23, 42, 0.12);
  --ld-primary: #1f4fff;
  --ld-primary-hover: #193fe0;
  --ld-primary-soft: rgba(31, 79, 255, 0.08);
  --ld-danger: #d92d20;
  --ld-danger-hover: #b42318;
  --ld-success: #15803d;
  --ld-success-bg: #ebf8ef;
  --ld-success-border: #cfead8;
  --ld-warning-bg: #fff4d6;
  --ld-warning-text: #9a6700;
  --ld-shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.05);
  --ld-shadow-md: 0 14px 34px rgba(15, 23, 42, 0.08);
  --ld-shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.12);
  --ld-radius-sm: 14px;
  --ld-radius-md: 18px;
  --ld-radius-lg: 24px;
  --ld-radius-xl: 30px;
  --ld-container: 1320px;
}

.listing-page {
  min-height: 100vh;
  padding: 18px 16px 96px;
  background: linear-gradient(180deg, #f8f9fc 0%, #f3f5fa 100%);
}

.listing-page__inner {
  max-width: var(--ld-container);
  margin: 0 auto;
}

.listing-detail-shell {
  display: grid;
  gap: 28px;
}

.block-card {
  background: var(--ld-card-bg);
  border: 1px solid var(--ld-border);
  border-radius: var(--ld-radius-lg);
  box-shadow: var(--ld-shadow-sm);
}

/* sticky header */
.listing-sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform .24s ease, opacity .24s ease;
}

.listing-sticky-header.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.listing-sticky-header__product {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.listing-sticky-header__inner {
  max-width: var(--ld-container);
  margin: 0 auto;
  padding: 0 16px;
  min-height: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
}

.listing-sticky-header__thumb,
.listing-sticky-header__thumb--placeholder {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 auto;
}

.listing-sticky-header__thumb--placeholder {
  display: grid;
  place-items: center;
  background: #eaf0ff;
  color: var(--ld-primary);
  font-weight: 900;
}

.listing-sticky-header__meta {
  min-width: 0;
}

.listing-sticky-header__title {
  font-size: 14px;
  font-weight: 800;
  color: var(--ld-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-sticky-header__subtitle-row {
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.listing-sticky-header__subtitle {
  font-size: 12px;
  color: var(--ld-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-sticky-header__badge {
  flex: 0 0 auto;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  padding: 5px 8px;
  border-radius: 999px;
  color: #35507d;
  background: #e9eef7;
  border: 1px solid #d5deeb;
}

.listing-sticky-header__badge--auto {
  color: #166534;
  background: #e9f9ef;
  border-color: #c8edd5;
}

.listing-sticky-header__price {
  justify-self: end;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  color: var(--ld-primary);
  white-space: nowrap;
}


.listing-sticky-header__cta {
  width: 146px;
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ld-primary), #1538cf);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(31, 79, 255, 0.24);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.listing-sticky-header__cta:hover {
  background: linear-gradient(135deg, var(--ld-primary-hover), #1233bd);
  transform: translateY(-1px);
}

.listing-sticky-header__cta--disabled {
  background: #dbe3f0;
  color: #4f617f;
  box-shadow: none;
  pointer-events: none;
}

/* hero layout */
.listing-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(340px, .88fr);
  gap: 24px;
  align-items: start;
}

.listing-gallery-column,
.listing-buy-column {
  display: grid;
}

.listing-gallery-column {
  gap: 14px;
}

.listing-buy-column {
  gap: 16px;
}

.listing-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ld-text-muted);
  margin-bottom: 18px;
}

.listing-breadcrumbs a {
  color: var(--ld-text-muted);
  text-decoration: none;
  transition: color .18s ease;
}

.listing-breadcrumbs a:hover {
  color: var(--ld-primary);
}

/* gallery */
.listing-gallery {
  --listing-gallery-radius: 22px;
  position: relative;
  overflow: hidden;
  border-radius: var(--listing-gallery-radius);
  background: #0b1020;
  aspect-ratio: 4 / 3;
  box-shadow: var(--ld-shadow-md);
  isolation: isolate;
}

.listing-gallery--single {
  aspect-ratio: 4 / 3;
}

.listing-gallery__media {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
  transition: none;
}

.listing-gallery__media:hover {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.listing-gallery__blur-bg {
  position: absolute;
  inset: -20px;
  background-position: center;
  background-size: cover;
  filter: blur(36px);
  opacity: 0.48;
  transform: scale(1.08);
}

.listing-gallery__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18);
  transition: transform .18s ease, background .18s ease;
}

.listing-gallery__nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.04);
}

.listing-gallery__nav--prev {
  left: 14px;
}

.listing-gallery__nav--next {
  right: 14px;
}

.listing-gallery__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
  color: #c7d0e1;
}

.listing-gallery__placeholder-icon {
  font-size: 38px;
}

.listing-gallery__placeholder-title {
  font-size: 18px;
  font-weight: 800;
  color: #edf2ff;
}

.listing-gallery__placeholder-text {
  font-size: 14px;
  color: #b8c3db;
}


.listing-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.listing-gallery__thumb {
  height: 92px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--listing-gallery-radius);
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.listing-gallery__thumb:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 79, 255, 0.26);
}

.listing-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-gallery__thumb.is-active {
  border-color: rgba(31, 79, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(31, 79, 255, 0.12);
}

/* buy card */
.listing-product-head {
  display: grid;
  gap: 8px;
}

.listing-product-head__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #64748b;
}

.listing-buy-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--ld-shadow-sm);
}

.listing-title {
  margin: 0;
  max-width: 100%;
  color: var(--ld-text);
  font-size: clamp(24px, 1.55vw, 30px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.listing-buy-card__price,
.listing-price-row {
  display: grid;
  gap: 7px;
}

.listing-price-discount {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.listing-price-discount__old {
  font-size: 19px;
  color: #97a3b8;
  text-decoration: line-through;
  font-weight: 700;
}

.listing-price-discount__pct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
}

.listing-price {
  font-size: clamp(34px, 2.35vw, 44px);
  line-height: 1;
  font-weight: 800;
  color: var(--ld-text);
  letter-spacing: -0.04em;
}

.listing-unavailable-title {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.05;
  color: var(--ld-text);
}

.listing-subscriber-note,
.listing-note {
  font-size: 13px;
  line-height: 1.45;
}

.listing-buy-card__subscriber-note,
.listing-subscriber-note {
  color: var(--ld-primary);
  font-weight: 700;
}

.listing-note {
  color: var(--ld-text-muted);
}

.listing-note--blocked {
  color: var(--ld-danger);
  font-weight: 700;
}


.listing-owner-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 6px 12px;
  margin-bottom: 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  color: #334155;
  background: #e2e8f0;
}

.listing-owner-status--approved {
  color: #166534;
  background: #dcfce7;
}

.listing-owner-status--pending_moderation {
  color: #92400e;
  background: #fef3c7;
}

.listing-owner-status--archived {
  color: #1e3a8a;
  background: #dbeafe;
}

.listing-owner-status--rejected,
.listing-owner-status--blocked {
  color: #991b1b;
  background: #fee2e2;
}

.listing-cta-form,
.listing-owner-actions {
  display: grid;
  gap: 10px;
}

.listing-owner-actions {
  align-items: stretch;
}

.listing-owner-actions > *,
.listing-owner-actions .listing-cta-form,
.listing-owner-actions .listing-cta {
  width: 100%;
}

.listing-cta,
.listing-sticky-header__cta,
.listing-mobile-bar__cta,
.ld-btn {
  appearance: none;
  border: 0;
  outline: 0;
}

.listing-cta {
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid #6d28d9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  background: linear-gradient(180deg, #8b5cf6 0%, #7c3aed 58%, #6d28d9 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(76, 29, 149, 0.24);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
}

.listing-cta::before {
  content: none;
}

.listing-cta__label {
  line-height: 1;
}

.listing-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex: 0 0 auto;
}

.listing-cta__icon {
  font-size: 17px;
  line-height: 1;
  transform: translateY(-0.5px);
}

.listing-mobile-bar__cta .listing-cta__icon {
  font-size: 18px;
}

.listing-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(76, 29, 149, 0.28);
  background: linear-gradient(180deg, #7c3aed 0%, #6d28d9 60%, #5b21b6 100%);
}

.listing-cta:active {
  transform: translateY(0);
  box-shadow: 0 7px 14px rgba(76, 29, 149, 0.22);
}

.listing-cta--secondary {
  background: #f6f8ff;
  color: #1f2a44;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: none;
}

.listing-cta--secondary::before {
  content: none;
}

.listing-cta--secondary:hover {
  background: #eef3ff;
  box-shadow: none;
}

.listing-cta--danger {
  background: linear-gradient(135deg, var(--ld-danger), var(--ld-danger-hover));
  box-shadow: none;
}

.listing-cta--danger::before {
  content: none;
}

.listing-cta--ghost,
.listing-sticky-header__cta--disabled {
  background: #dbe4f2;
  color: #40516f;
  box-shadow: none;
}

.listing-cta--ghost::before {
  content: none;
}




/* content */
.listing-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.listing-content-layout .listing-service-meta {
  margin-top: 4px;
  margin-bottom: 0;
  padding: 0;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.listing-facts {
  padding: 28px;
  border-radius: var(--ld-radius-xl);
}

.listing-desc {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  min-width: 0;
}

.listing-facts {
  max-width: 100%;
  margin-left: 0;
}

.listing-section-title {
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ld-border);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(22px, 1.8vw, 34px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ld-text);
}

.listing-section-title__icon {
  font-size: 22px;
  line-height: 1;
  color: var(--ld-primary);
}

.listing-desc__text {
  color: var(--ld-text-soft);
  font-size: 16px;
  line-height: 1.72;
  white-space: pre-line;
  max-width: 78ch;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.listing-desc__text > * + * {
  margin-top: 14px;
}

.listing-description-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(320px, 30vw, 360px);
  gap: 24px;
  align-items: start;
  width: 100%;
}

.listing-guarantees-card {
  position: relative;
  align-self: start;
  min-width: 0;
  margin: 0;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid #dde5ef;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.listing-guarantees-card__title {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--ld-text);
}

.listing-guarantees-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.listing-guarantees-card__item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 10px 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  min-height: 96px;
}

.listing-guarantees-card__item--priority {
  border-color: #d7e4ff;
  background: linear-gradient(180deg, #f6f9ff 0%, #eef4ff 100%);
  box-shadow: 0 6px 16px rgba(47, 91, 255, 0.10);
}

.listing-guarantees-card__icon {
  color: #2f5bff;
  font-size: 21px;
  line-height: 1;
  margin-top: 1px;
}

.listing-guarantees-card__icon--priority {
  color: #1f49f0;
  font-size: 23px;
}

.listing-guarantees-card__item strong {
  display: block;
  margin: 0;
  color: var(--ld-text);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}

.listing-guarantees-card__item--priority strong {
  color: #0f234f;
  font-weight: 800;
}

.listing-guarantees-card__item p {
  margin: 4px 0 0;
  color: var(--ld-text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.listing-facts__title {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(22px, 1.8vw, 34px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ld-text);
}

.listing-facts__title-icon {
  color: #2f5bff;
  font-size: 20px;
  line-height: 1;
}

.listing-facts__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.listing-facts__row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #d8e0ea;
  background: #f8fafc;
  transition: border-color .2s ease, background-color .2s ease;
}

.listing-facts__row:hover {
  border-color: #c5d1df;
  background: #f3f6fa;
  box-shadow: none;
}

.listing-facts__label {
  color: #72839a;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
}

.listing-facts__value {
  color: #1f2937;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
}

.listing-facts__value--accent {
  color: #13a56f;
}

/* service line */
.listing-service-meta,
.listing-report-row {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ld-text-muted);
}

.listing-report-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}

.listing-service-meta__icon {
  font-size: 16px;
  line-height: 1;
  color: #8090a7;
  flex: 0 0 auto;
}

.listing-service-meta__text {
  color: #627389;
  font-size: 13px;
  white-space: nowrap;
}


.listing-service-meta__dot {
  margin: 0 8px;
}

.listing-report {
  appearance: none;
  border: 0;
  outline: none;
  background: transparent;
  box-shadow: none;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.listing-report:hover {
  color: #475569;
  text-decoration: underline;
}

.listing-report:focus,
.listing-report:focus-visible {
  outline: none;
  box-shadow: none;
}

/* recommendations */
.listing-recommendations-divider {
  margin-top: 14px;
  margin-bottom: 34px;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.14), rgba(15, 23, 42, 0));
}

.ld-recommendations {
  margin-top: 0;
  margin-bottom: 44px;
}

.ld-recommendations--category {
  margin-bottom: 56px;
}

.ld-recommendations--game {
  margin-bottom: 56px;
}

.ld-recommendations--other {
  margin-top: 10px;
  margin-bottom: 20px;
}

.ld-section-title {
  margin-bottom: 18px;
  font-size: clamp(22px, 1.7vw, 30px);
  line-height: 1.1;
  font-weight: 900;
  color: var(--ld-text);
  letter-spacing: -0.03em;
}

.ld-recommendations-grid.catalog-cards[data-view="grid"] {
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 24px;
}

.ld-recommendations-grid .listing-card {
  display: none;
}

.ld-recommendations-more {
  margin-top: 18px;
}

/* modal/lightbox */
.ld-modal,
.ld-lightbox {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ld-modal.is-open,
.ld-lightbox.is-open {
  display: flex;
}

.ld-modal__backdrop,
.ld-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.ld-modal__card,
.ld-lightbox-card {
  position: relative;
  z-index: 1;
  width: min(92vw, 560px);
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.20);
}

.ld-modal__card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.08;
  font-weight: 900;
  color: var(--ld-text);
}

.ld-modal__card .muted {
  margin: 0 0 16px;
  color: var(--ld-text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.ld-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.ld-lightbox-card {
  width: min(94vw, 980px);
  padding: 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
}

.ld-lightbox-img {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 14px;
}

.ld-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: #111827;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.ld-btn {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.ld-btn--primary {
  background: linear-gradient(135deg, var(--ld-primary), #1439d2);
  color: #fff;
}

.ld-btn--ghost {
  background: #f3f5f8;
  color: #334155;
}

.ld-btn--danger {
  background: linear-gradient(135deg, var(--ld-danger), var(--ld-danger-hover));
  color: #fff;
}

.inp,
#ldReportText,
textarea.inp,
.ld-modal textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  background: #fff;
  color: var(--ld-text);
  padding: 12px 14px;
  font: inherit;
  resize: vertical;
  min-height: 120px;
}

.ld-modal__error {
  margin-top: 10px;
  color: var(--ld-danger);
  font-size: 13px;
}

/* mobile bar */
.listing-mobile-bar {
  display: none;
}

/* states and focus */
.listing-cta:focus-visible,
.listing-sticky-header__cta:focus-visible,
.listing-mobile-bar__cta:focus-visible,
.listing-gallery__thumb:focus-visible,
.listing-gallery__nav:focus-visible,
.ld-lightbox-close:focus-visible,
.ld-btn:focus-visible {
  outline: 3px solid rgba(31, 79, 255, 0.18);
  outline-offset: 2px;
}

/* tablet */
@media (max-width: 1080px) {
  .listing-hero-layout {
    grid-template-columns: 1fr;
  }

  .listing-buy-column {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .listing-content-layout {
    grid-template-columns: 1fr;
  }

  .listing-description-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .listing-guarantees-card {
    max-width: none;
  }

  .listing-buy-card {
    height: 100%;
  }

  .listing-sticky-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .listing-sticky-header__price {
    display: none;
  }
}

/* mobile */
@media (max-width: 720px) {
  .listing-page {
    padding: 12px 10px 124px;
  }

  .listing-detail-shell {
    gap: 20px;
  }

  .listing-sticky-header {
    display: none;
  }

  .listing-sticky-header__thumb,
  .listing-sticky-header__thumb--placeholder {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .listing-sticky-header__title {
    font-size: 13px;
  }

  .listing-sticky-header__subtitle {
    font-size: 11px;
  }

  .listing-sticky-header__cta {
    min-width: 118px;
    height: 42px;
    padding: 0 14px;
    font-size: 13px;
    border-radius: 12px;
  }

  .listing-gallery-column,
  .listing-buy-column {
    gap: 16px;
  }

  .listing-buy-column {
    grid-template-columns: 1fr;
  }

  .listing-gallery,
  .listing-gallery--single {
    --listing-gallery-radius: 18px;
    aspect-ratio: 4 / 3;
  }


  .listing-gallery__nav {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .listing-gallery__thumbs {
    grid-template-columns: repeat(4, minmax(80px, 1fr));
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .listing-gallery__thumb {
    min-width: 84px;
    height: 76px;
    border-radius: var(--listing-gallery-radius);
  }

  .listing-buy-card {
    padding: 18px;
    border-radius: 18px;
  }

  .listing-desc {
    padding: 0;
    border-radius: 0;
  }

  .listing-description-grid {
    gap: 16px;
  }

  .listing-content-layout .listing-service-meta {
    margin-top: 2px;
    margin-bottom: 0;
    width: 100%;
    padding: 0;
  }

  .listing-service-meta__text {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .listing-recommendations-divider {
    margin-top: 12px;
    margin-bottom: 28px;
  }

  .listing-guarantees-card {
    padding: 18px;
    border-radius: 16px;
  }

  .listing-guarantees-card__title {
    margin-bottom: 14px;
    font-size: 18px;
  }

  .listing-guarantees-card__list {
    gap: 12px;
  }

  .listing-guarantees-card__item {
    min-height: 0;
    padding: 10px;
  }

  .listing-product-head {
    gap: 8px;
  }

  .listing-product-head__meta {
    font-size: 11px;
  }

  .listing-title {
    font-size: 24px;
    line-height: 1.2;
  }

  .listing-price {
    font-size: 34px;
  }

  .listing-price-discount__old {
    font-size: 18px;
  }

  .listing-cta {
    min-height: 48px;
    font-size: 14px;
    border-radius: 14px;
  }

  .listing-seller {
    padding: 16px;
  }


  .listing-facts {
    max-width: none;
    margin-left: 0;
    padding: 20px;
  }

  .listing-facts__title {
    margin-bottom: 12px;
    gap: 8px;
    font-size: clamp(26px, 7vw, 34px);
  }

  .listing-facts__title-icon {
    font-size: 18px;
  }

  .listing-section-title,
  .ld-section-title {
    font-size: 22px;
  }

  .listing-section-title {
    margin-bottom: 18px;
    padding-bottom: 12px;
    gap: 10px;
  }

  .listing-section-title__icon {
    font-size: 20px;
  }

  .listing-desc__text {
    font-size: 15px;
    line-height: 1.7;
  }

  .listing-facts__list {
    gap: 8px;
  }

  .listing-facts__row {
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
  }

  .listing-facts__label,
  .listing-facts__value {
    font-size: clamp(15px, 3.8vw, 18px);
  }

  .listing-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(68px + env(safe-area-inset-bottom));
    z-index: 110;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.08);
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
  }

  .listing-mobile-bar__product {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  .listing-mobile-bar__thumb {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: cover;
    flex: 0 0 auto;
  }

  .listing-mobile-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .listing-mobile-bar__price {
    font-size: 19px;
    line-height: 1;
    font-weight: 900;
    color: var(--ld-text);
    white-space: nowrap;
  }

  .listing-mobile-bar__cta {
    min-width: 138px;
    height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    background: linear-gradient(135deg, var(--ld-primary), #1439d2);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(31, 79, 255, 0.22);
  }

  .listing-mobile-bar__cta--disabled {
    background: #dbe4f2;
    color: #40516f;
    box-shadow: none;
  }

  .ld-recommendations-grid.catalog-cards[data-view="grid"] {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
  }
}

.listing-delivery-note {
  margin-top: 2px;
  min-height: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #d7f0e2;
  background: #ecfdf3;
}

.listing-delivery-note--auto {
  border-color: #d7f0e2;
  background: #ecfdf3;
}

.listing-delivery-note--manual {
  border-color: #e2e8f0;
  background: #f8fafc;
}

.listing-delivery-note__icon-wrap {
  width: auto;
  height: auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: none;
  border: 0;
  border-radius: 0;
  color: inherit;
}

.listing-delivery-note--manual .listing-delivery-note__icon-wrap {
  background: none;
  color: inherit;
}

.listing-delivery-note__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.listing-delivery-note__icon svg {
  width: 17px;
  height: 17px;
  display: block;
}

.listing-delivery-note__content {
  min-width: 0;
}

.listing-delivery-note__title {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  color: #065f46;
}

.listing-delivery-note--manual .listing-delivery-note__title {
  color: #0f172a;
}

.listing-delivery-note__text {
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(6, 95, 70, 0.82);
}

.listing-delivery-note--manual .listing-delivery-note__text {
  color: #64748b;
}

/* very small */
@media (max-width: 420px) {
  .listing-title {
    font-size: 22px;
  }

  .listing-price {
    font-size: 36px;
  }

  .listing-sticky-header__cta {
    min-width: 108px;
    padding: 0 12px;
  }

  .listing-mobile-bar {
    grid-template-columns: 1fr;
  }

  .listing-mobile-bar__cta {
    width: 100%;
  }
}

/* seller card — target style */
.listing-seller {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--ld-shadow-sm);
}

.listing-seller__click-area {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 1;
}

.listing-seller__main {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
}

.listing-seller__avatar,
.listing-seller__avatar-img {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.listing-seller__avatar {
  display: grid;
  place-items: center;
  background: #eef2ff;
  color: var(--ld-primary);
  font-size: 18px;
  font-weight: 800;
}

.listing-seller__avatar-img {
  display: block;
  object-fit: cover;
}

.listing-seller__who {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.listing-seller__name {
  min-width: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-seller__username {
  min-width: 0;
  font-size: 13px;
  line-height: 1.2;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-seller__activity {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  color: #4c1d95;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.listing-seller__profile-btn {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  text-decoration: none;
  background: #f3f5ff;
  color: #2f55ff;
  border: 1px solid rgba(47, 85, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
  transition: background .18s ease, transform .18s ease, color .18s ease;
}

.listing-seller__profile-btn:hover {
  background: #e9eeff;
  transform: translateY(-1px);
}

.listing-seller__activity:hover {
  text-decoration: underline;
}

.listing-seller__activity--empty {
  color: #64748b;
  font-weight: 600;
}

.listing-seller__activity--empty:hover {
  text-decoration: none;
}

.listing-seller__profile-btn-icon {
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 720px) {
  .listing-seller {
    padding: 14px;
    border-radius: 16px;
    gap: 12px;
  }

  .listing-seller__main {
    gap: 12px;
  }

  .listing-seller__avatar,
  .listing-seller__avatar-img {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }

  .listing-seller__name {
    font-size: 16px;
  }

  .listing-seller__username {
    font-size: 12px;
  }

  .listing-seller__profile-btn {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .listing-seller__profile-btn-text {
    display: none;
  }
}

.admin-surface{margin:0 0 24px;padding:18px;border:1px solid rgba(37,99,235,.22);border-radius:18px;background:rgba(239,246,255,.82);display:grid;gap:14px}
.admin-surface__head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.admin-surface__eyebrow{margin:0 0 4px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#1d4ed8}
.admin-surface__head h2{margin:0;font-size:20px}
.admin-surface__badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-weight:700;font-size:12px}
.admin-surface__note{margin:0;color:#334155}
.admin-surface__actions{display:flex;flex-wrap:wrap;gap:10px}
.admin-surface__feedback{padding:10px 12px;border-radius:12px;background:#eff6ff;color:#1e3a8a}
.admin-confirm-modal[hidden]{display:none!important}.admin-confirm-modal{position:fixed;inset:0;z-index:120}.admin-confirm-modal__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.55)}
.admin-confirm-modal__dialog{position:relative;z-index:1;width:min(560px,calc(100vw - 24px));margin:8vh auto 0;background:#fff;border-radius:20px;padding:20px;display:grid;gap:14px;box-shadow:0 24px 60px rgba(15,23,42,.24)}
.admin-confirm-modal__head{display:flex;justify-content:space-between;gap:12px;align-items:center}.admin-confirm-modal__head h3{margin:0}.admin-confirm-modal__close{border:0;background:transparent;font-size:28px;cursor:pointer}
.admin-confirm-modal__text{margin:0;color:#334155}.admin-confirm-modal textarea{width:100%;min-height:120px;padding:12px;border:1px solid #cbd5e1;border-radius:12px}.admin-confirm-modal__actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
