.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.gallery-thumb {
  opacity: 0.72;
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.gallery-thumb.is-active {
  opacity: 1;
  border-color: #000000;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}
/* 
/* Reset letter-spacing for Arabic (most important fix) */
:lang(ar) * {
  letter-spacing: 0 !important;
}

/* Only adjust line-height, no font-size change */
:lang(ar) {
  line-height: 1.8;
}

/* Slightly bump only small utility text that becomes illegible in Arabic */
:lang(ar) .text-xs,
:lang(ar) .text-\[10px\],
:lang(ar) .text-\[9px\] {
  font-size: 0.8rem;
} */


html[lang="ar"] .font-headline {
  font-family: "Noto Naskh Arabic", serif;
}

html[lang="ar"] .font-body,
html[lang="ar"] .font-label {
  font-family: "Cairo", Arial, sans-serif;
}

/* Animation for slide-in effect on elements (e.g., when a new bid is placed or a notification appears) */
@keyframes slide-in {
    from { opacity: 0; transform: translateX(12px); }
    to   { opacity: 1; transform: translateX(0); }
}
.animate-slide-in {
    animation: slide-in 0.2s ease;
}


/* Listing description (CKEditor output) */

.listing-description ul {
  list-style-type: disc;
  padding-inline-start: 1.5rem;
  margin: 0.75rem 0;
}

.listing-description ol {
  list-style-type: decimal;
  padding-inline-start: 1.5rem;
  margin: 0.75rem 0;
}

.listing-description li {
  margin-bottom: 0.25rem;
}

/* Marker color (nice touch) */
.listing-description li::marker {
  color: #9E7E4F;
}

/* Bold text */
.listing-description strong {
  font-weight: 700;
  color: #2D2D2A; /* ensures consistent tone */
}

/* Section headings */
.listing-description h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2D2D2A;
}

/* Paragraph spacing (important – CKEditor outputs <p>) */
.listing-description p {
  margin-bottom: 0.75rem;
}

/* Optional: links (CKEditor supports them) */
.listing-description a {
  text-decoration: underline;
}

/* Ensure CKEditor rich text uses the same site typography */
.listing-description,
.listing-description p,
.listing-description ul,
.listing-description ol,
.listing-description li,
.listing-description strong,
.listing-description h3 {
  font-family: inherit;
}

/* Arabic-specific refinement */
html[lang="ar"] .listing-description,
html[lang="ar"] .listing-description p,
html[lang="ar"] .listing-description ul,
html[lang="ar"] .listing-description ol,
html[lang="ar"] .listing-description li {
  font-family: inherit;
}

/* The bullet marker itself may use a fallback font */
.listing-description li::marker {
  color: #9E7E4F;
  font-family: inherit;
}

/* Heart pop animation for "like" button */
.heart-pop {
  transform: scale(1.2);
  transition: transform 0.2s ease;
}