/* ==========================================================
   Classifieds Detail Page
   ========================================================== */

.classified-show_card {
  border: 1px solid rgba(50, 35, 24, 0.08);
  border-radius: 24px;
  background: #fff;
  padding: 2rem;
}

.classified-show-price-card__old-price {
  margin-bottom: 0.35rem;
  color: rgba(43, 31, 23, 0.42);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: line-through;
}

.classified-show-gallery {
  border-radius: 24px;
}

.classified-show-gallery {
  overflow: hidden;
}

.classified-show-gallery__main {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #17110d;
}

.classified-show-gallery__main .swiper-slide {
  height: clamp(360px, 52vw, 650px);
}

.classified-show-gallery__link {
  display: block;
  width: 100%;
  height: 100%;
}

.classified-show-gallery__link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.classified-show-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: #2b1f17;
  transform: translateY(-50%);
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

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

.classified-show-gallery__nav--prev {
  left: 1rem;
}

.classified-show-gallery__nav--next {
  right: 1rem;
}

.classified-show-gallery__thumbs {
  padding: 1rem;
  background: #fff;
  margin-top: 20px;
  margin-bottom: 20px;
}

.classified-show-gallery__thumbs .swiper-slide {
  width: 136px;
  height: 82px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  opacity: 0.62;
  transition:
    opacity 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.classified-show-gallery__thumbs .swiper-slide:hover,
.classified-show-gallery__thumbs .swiper-slide-thumb-active,
.classified-show-gallery__thumbs .is-active {
  border-color: #b51d2a;
  opacity: 1;
}

.classified-show-gallery__thumbs .swiper-slide:hover {
  transform: translateY(-1px);
}

.classified-show-gallery__thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.classified-show-gallery__badge,
.classified-show-gallery__fullscreen {
  position: absolute;
  z-index: 9;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 22, 28, 0.78);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.classified-show-gallery__badge {
  min-height: 34px;
  padding: 0 0.9rem;
}

.classified-show-gallery__badge--main {
  top: 1rem;
  left: 1rem;
}

.classified-show-gallery__badge--counter {
  top: 1rem;
  right: 1rem;
}

.classified-show-gallery__fullscreen {
  right: 1rem;
  bottom: 1rem;
  min-height: 38px;
  padding: 0 1rem;
}

.classified-show-gallery__fullscreen:hover {
  background: rgba(18, 22, 28, 0.92);
}

.classified-show-sidebar {
  position: sticky;
  top: 1.25rem;
  display: grid;
  gap: 1rem;
}

.classified-show-price-card {
  padding: 1.35rem;
}

.classified-show__price {
  color: #2b1f17;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  font-weight: 900;
  line-height: 1.05;
  text-align: right;
}

.classified-show-actions {
  display: grid;
  gap: 0.65rem;
}

.classified-show-secondary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.classified-show-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  border: 1px solid rgba(43, 31, 23, 0.14);
  border-radius: 999px;
  background: #fff;
  color: #2b1f17;
  font-weight: 850;
}

.classified-show-action.is-selected,
.classified-show-action.active {
  border-color: #2b1f17;
  background: #2b1f17;
  color: #fff;
}

.classified-show-action {
  text-decoration: none;
  padding: 0.5rem;
  text-align: center;
}

.classified-show-share h2 {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
}

.classified-show-share__actions {
  display: flex;
  gap: 0.75rem;
}

.classified-show-share__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid #e3e5e8;
  border-radius: 50%;
  background: #fff;
  color: #171c28;
  text-decoration: none;
}

.classified-show-share__button:hover {
  background: #f2f4f6;
  color: #171c28;
}

.classified-show-share__button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.classified-show-share__status {
  margin: 0;
  font-size: 0.875rem;
}

.classified-show-share__status:not(:empty) {
  margin-top: 0.75rem;
}

.classified-show-card__title,
.classified-show-card h2 {
  margin: 0 0 1rem;
  color: #2b1f17;
  font-size: 1.05rem;
  font-weight: 950;
}

.classified-show-seller {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.classified-show-seller__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #f2e7dc;
  color: #2b1f17;
}

.classified-show-seller__name {
  color: #2b1f17;
  font-weight: 900;
}

.classified-show-seller__meta {
  color: rgba(43, 31, 23, 0.58);
  font-size: 0.9rem;
}

.classified-show-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.classified-show-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: start;
  width: 100%;
}

.classified-show-header__content {
  min-width: 0;
}

.classified-show-header__price {
  min-width: 160px;
  text-align: right;
}

.classified-show-heading h1 {
  max-width: 920px;
  margin: 0;
  color: #2b1f17;
  font-size: clamp(1.7rem, 2.6vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.classified-show-heading__meta {
  margin-top: 0.7rem;
  color: rgba(43, 31, 23, 0.65);
  font-weight: 750;
}

.classified-show-description__text {
  color: rgba(43, 31, 23, 0.82);
  font-size: 1.04rem;
  line-height: 1.75;
}

.classified-show-specs__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2rem;
  row-gap: 0;
  border-top: 1px solid rgba(43, 31, 23, 0.1);
}

.classified-show-spec {
  display: grid;
  grid-template-columns: minmax(95px, 0.42fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  min-height: 0;
  margin: 0;
  padding: 0.82rem 0;
  border-bottom: 1px solid rgba(43, 31, 23, 0.1);
  border-radius: 0;
  background: transparent;
}

.classified-show-spec dt {
  margin: 0;
  color: rgba(43, 31, 23, 0.52);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.classified-show-spec dd {
  margin: 0;
  color: #2b1f17;
  font-size: 0.96rem;
  font-weight: 850;
  line-height: 1.22;
}

/* Seller */

.classified-show-seller-card {
  display: grid;
  gap: 1rem;
}

.classified-show-seller-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.classified-show-seller-card__eyebrow {
  color: rgba(43, 31, 23, 0.56);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.classified-show-seller-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: rgba(246, 241, 234, 0.9);
  color: rgba(43, 31, 23, 0.76);
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
}

.classified-show-seller-card__header {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.classified-show-seller-card__avatar {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 50%;
  background: #f2e7dc;
  color: #2b1f17;
  font-size: 1.25rem;
}

.classified-show-seller-card__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.classified-show-seller-card__identity {
  min-width: 0;
}

.classified-show-seller-card__name {
  color: #2b1f17;
  font-size: 1.12rem;
  font-weight: 950;
  line-height: 1.15;
}

.classified-show-seller-card__meta {
  margin-top: 0.22rem;
  color: rgba(43, 31, 23, 0.58);
  font-size: 0.88rem;
  font-weight: 650;
}

.classified-show-seller-card__facts,
.classified-show-seller-card__actions {
  display: grid;
  gap: 0.65rem;
}

.classified-show-seller-card__fact {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(43, 31, 23, 0.74);
  font-size: 0.9rem;
  font-weight: 700;
}

.classified-show-seller-card__fact i {
  width: 18px;
  color: rgba(43, 31, 23, 0.45);
  text-align: center;
}

.classified-show-seller-card__notice {
  display: flex;
  gap: 0.55rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(43, 31, 23, 0.08);
  border-radius: 14px;
  background: rgba(246, 241, 234, 0.55);
  color: rgba(43, 31, 23, 0.72);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.35;
}

.classified-show-seller-card__notice i {
  margin-top: 0.1rem;
  color: rgba(43, 31, 23, 0.5);
}

/* Company seller card */
.classified-show-seller-card--company {
  position: relative;
  overflow: hidden;
}

.classified-show-seller-card--company::before {
  position: absolute;
  inset: 0 0 auto;
  height: 96px;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(181, 29, 42, 0.1),
    rgba(43, 31, 23, 0.04)
  );
  content: "";
}

.classified-show-seller-card--company > * {
  position: relative;
}

.classified-show-seller-card__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
}

.classified-show-seller-card__badge--verified {
  background: rgba(36, 128, 87, 0.12);
  color: #1f7a52;
}

.classified-show-seller-card__badge--partner {
  background: linear-gradient(
    135deg,
    rgba(173, 132, 67, 0.18),
    rgba(112, 83, 45, 0.12)
  );
  color: #7a5424;
}

.classified-show-company-card__hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.15rem;
}

.classified-show-company-card__logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 1px solid rgba(43, 31, 23, 0.08);
  border-radius: 18px;
  background: #fff;
  color: #2b1f17;
  font-size: 1.5rem;
  box-shadow: 0 10px 30px rgba(36, 24, 16, 0.08);
}

.classified-show-company-card__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.classified-show-company-card__identity {
  min-width: 0;
}

.classified-show-company-card__name {
  color: #2b1f17;
  font-size: 1.18rem;
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.classified-show-company-card__legal-name {
  margin-top: 0.25rem;
  color: rgba(43, 31, 23, 0.62);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.25;
}

.classified-show-company-card__description {
  color: rgba(43, 31, 23, 0.76);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
}

.classified-show-company-card__facts {
  padding-top: 0.2rem;
}

.classified-show-seller-card__notice--company {
  background: rgba(181, 29, 42, 0.06);
}

/* End Seller */

@media (max-width: 991.98px) {
  .classified-show-sidebar {
    position: static;
  }

  .classified-show-gallery__main .swiper-slide {
    height: clamp(280px, 72vw, 520px);
  }

  .classified-show-gallery__thumbs .swiper-slide {
    width: 96px;
    height: 64px;
  }

  .classified-show-header {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .classified-show-header__price,
  .classified-show__price {
    text-align: left;
  }

  .classified-show-specs__grid {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .classified-show-spec {
    grid-template-columns: minmax(88px, 0.38fr) minmax(0, 1fr);
  }

  .classified-show-seller-card__badges {
    justify-content: flex-start;
  }

  .classified-show-company-card__logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .classified-show-gallery__fullscreen span {
    display: none;
  }
}

.classified-entry-content {
  line-height: 1.75;
}

.classified-entry-content p,
.classified-entry-content ul,
.classified-entry-content ol {
  margin-bottom: 1rem;
}

.classified-entry-content ul,
.classified-entry-content ol {
  padding-left: 1.35rem;
}

.classified-entry-content > :last-child {
  margin-bottom: 0;
}
