/* ==========================================================================
   Ivy - AI Prime Realty | Editorial Luxury Stylesheet
   Single Responsibility: Typography, Omnibox HTML content, Shimmer & Dialogs
   ========================================================================== */

body {
  background-color: #FAF9F6;
  color: #14171B;
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}

.font-serif-luxury {
  font-family: 'Playfair Display', Georgia, serif;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #8F6F2E 0%, #B38E46 40%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-blur {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.store-badge-img {
  height: 48px;
  max-height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.store-badge-img:hover {
  transform: translateY(-2px);
}

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

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

/* Ivy Omnibox & HtmlTextOnlyWidget Styles */
.ivy-html-content {
  color: #1F1F1F;
  font-size: 15.5px;
  line-height: 1.6;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-align: left;
}

.ivy-html-content h1 {
  color: #1F1F1F;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 20px 0 12px 0;
}

.ivy-html-content h2 {
  color: #1F1F1F;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 18px 0 10px 0;
}

.ivy-html-content h3 {
  color: #1F1F1F;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin: 14px 0 8px 0;
}

.ivy-html-content h4 {
  color: #1F1F1F;
  font-size: 15.5px;
  font-weight: 600;
  margin: 12px 0 6px 0;
}

.ivy-html-content p {
  color: #1F1F1F;
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0 0 12px 0;
  letter-spacing: 0.15px;
}

.ivy-html-content ul,
.ivy-html-content ol {
  margin: 4px 0 12px 0;
  padding-left: 20px;
}

.ivy-html-content ul {
  list-style-type: disc;
}

.ivy-html-content ol {
  list-style-type: decimal;
}

.ivy-html-content li {
  line-height: 1.55;
  margin-bottom: 6px;
  color: #1F1F1F;
}

.ivy-html-content strong,
.ivy-html-content b {
  font-weight: 700;
  color: #1F1F1F;
}

.ivy-html-content a[data-ivy-prop-anchor],
.ivy-link-combo a,
.ivy-link-combo {
  color: #8F6F2E;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ivy-link-combo a:hover {
  color: #B38E46;
}

.ivy-html-content hr {
  margin: 18px 0;
  border: 0;
  border-bottom: 1px solid rgba(234, 230, 223, 0.8);
}

.ivy-html-content blockquote {
  margin: 12px 0;
  padding: 10px 14px 10px 16px;
  border-left: 3.5px solid #D1B27A;
  background-color: rgba(209, 178, 122, 0.05);
  font-style: italic;
  color: #8C8C8C;
  font-size: 15px;
}

@keyframes ivyShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.ivy-shimmer {
  background: linear-gradient(
    90deg,
    rgba(234, 230, 223, 0.45) 25%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(234, 230, 223, 0.45) 75%
  );
  background-size: 200% 100%;
  animation: ivyShimmer 1.5s infinite linear;
}

dialog.ivy-dialog {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
}

dialog.ivy-dialog::backdrop {
  background: rgba(20, 23, 27, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

@keyframes ivyBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.ivy-typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.15em;
  margin-left: 2px;
  margin-right: 2px;
  vertical-align: -0.15em;
  background-color: #B38E46;
  border-radius: 1px;
  animation: ivyBlink 0.8s infinite;
  pointer-events: none;
}

.ivy-prop-card-slot:empty {
  display: none;
}

