.ai-disclaimer {
  background-color: #f3e8ff;
  color: #7b2cbf;
  font-size: 0.65rem;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  text-align: center;
  align-items: center;
  margin-top: 1rem;
}


/* Root container */
.rasi-detail-container {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Noto Sans Tamil', sans-serif;
}

/* Breadcrumb */
.breadcrumb-nav {
  font-size: 0.75rem;
  color: #6c757d;
  margin-bottom: 1rem;
}
.breadcrumb-nav a {
  text-decoration: none;
  color: #7b2cbf;
  font-weight: 500;
}

/* Main Content Layout */
.raasi-detail-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Header */
.rasi-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.rasi-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  filter: brightness(0) saturate(100%) invert(24%) sepia(100%) saturate(410%) hue-rotate(240deg) brightness(90%) contrast(88%);
}
.rasi-title {
  font-size: 20px;
  font-weight: bold;
  color: #7b2cbf;
}
.rasi-subtitle {
  font-size: 17px;
  color: #555;
  margin-bottom: 0.2rem;
}

/* Description */
.rasi-description {
  font-size: 17px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 6px;
}

.rasi-subdescription {
  font-size: 0.65rem;
  color: #7b2cbf;
  margin-top: 1.1rem;
  margin-bottom: 0.8rem;
  border-radius: 6px;
  text-align: center;
  align-items: center;
  background-color: #f3e8ff;
  
}
/* Ratings */
.rasi-ratings {
  margin-top: 1rem;
}
.rating-item {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}
.rating-item:nth-child(even) {
  background-color: #f4f0fb;
}
.purple-stars {
  color: #7b2cbf;
  font-size: 1.1rem;
}

/* Lucky Info */
.rasi-lucky {
  margin-top: 2rem;
  font-size: 1rem;
  color: #555;
}
.rasi-lucky-detail {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
.lucky-color-indicator {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  margin-left: 0.5rem;
  border: 1px solid #888;
}

/* Back Button */
.btn-back {
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  background-color: transparent;
  color: #7b2cbf;
  border: 1px solid #7b2cbf;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}
.btn-back:hover {
  background-color: #7b2cbf;
  color: white;
}

/* Carousel */
.rasi-carousel-scroll {
  overflow-x: auto;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.3rem;
}

.rasi-carousel-scroll::-webkit-scrollbar {
  display: none;
}
.rasi-carousel-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: #f4edfb; /* light lavender bg */
  padding: 0.6rem 1rem;
  border-radius: 10px;
  text-align: center;
  min-width: 80px;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  color: #7b2cbf;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.rasi-carousel-item.active {
  border-color: #7b2cbf;
  background-color: #e9dcf9;
  font-weight: 600;
}

.rasi-carousel-item:hover {
  background: #e9dcf9;
  border-color: #7b2cbf;
}
/* Warning */
.alert-warning {
  background-color: #fff3cd;
  color: #856404;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
}

/* Update equal-width-back for outlined style and equal width */
.equal-width-back {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 0;
}

.equal-width-back a {
  display: block;
  box-sizing: border-box;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  border-radius: 25px;
  padding: 10px 20px;
  margin: 0;
  text-align: center;
  white-space: nowrap;
  min-width: 180px;
  max-width: 100%;
  width: auto;
  background: #fff;
  color: #7b2cbf;
  border: 2px solid #7b2cbf;
  transition: background 0.2s, color 0.2s, border 0.2s;
}

/* Hover/focus for outlined buttons */
.equal-width-back a:hover,
.equal-width-back a:focus {
  background: #f3eaff;
  color: #5a189a;
  border-color: #5a189a;
}

/* Responsive: stack buttons full width on mobile */
@media (max-width: 576px) {
  .equal-width-back {
    flex-direction: column;
    gap: 8px;
  }
  .equal-width-back a {
    min-width: 100%;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .raasi-detail-grid {
    flex-direction: column;
  }
}

.rasi-carousel-scroll { scroll-snap-type: x proximity; }
.rasi-carousel-item   { scroll-snap-align: center; }

.rasi-carousel-scroll { opacity: 0; transition: opacity .12s ease-out; }
.rasi-carousel-scroll.ready { opacity: 1; }

/* Breadcrumb spacing — reduce the gap below */
.breadcrumb-nav{
  margin-bottom: .9rem;   /* was ~1rem */
  font-size: .74rem;       /* slightly smaller for mobile */
}

/* Reduce the header row spacing above the title */
.rasi-header{
  margin-top: .25rem;
  margin-bottom: .65rem;   /* was ~1rem */
}
