.consult-astro-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)),
    url('/assets/images/Dreamy_b.png');
  background-attachment: fixed, fixed;
  background-size: cover, cover;
  background-position: center top, center top;
  background-repeat: no-repeat, no-repeat;
  padding-bottom: 2rem;
}

.consult-astro-detail-page {
  min-height: 100vh;
}

.consult-astro-page .get-instant h1 {
  font-weight: 700;
  color: #1f2937;
}
.consult-astro-page .get-instant p {
  color: #6b7280;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.consult-astro-page .consult-title-accent {
  color: #7b47d1;
}

@media (min-width: 992px) {
  .consult-astro-filters {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
    margin-left: 0;
    margin-right: 0;
  }
  .consult-astro-filters > [class*="col-"],
  .consult-astro-filters > .consult-filter-search-col,
  .consult-astro-filters > .consult-filter-item-col {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0 !important;
  }
  .consult-astro-filters > .consult-filter-search-col {
    flex: 2.2 1 0px;
  }
  .consult-astro-filters > .consult-filter-item-col {
    flex: 1 1 0;
  }
}

.consult-astro-filters .consult-search-wrap {
  position: relative;
  height: 100%;
}
.consult-astro-filters .consult-search-wrap .bi-search {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #7b47d1;
  pointer-events: none;
  z-index: 2;
  font-size: 1rem;
}
/* Override style.css .search_top_filter { border-radius: 4px !important } */
.consult-astro-page .search_top_filter input,
.consult-astro-page .search_top_filter button,
.consult-astro-page .search_top_filter select.form-select,
.consult-astro-filters .consult-search-wrap .form-control,
.consult-astro-filters .consult-filter-btn {
  border-radius: 10px !important;
}

.consult-astro-filters .consult-search-wrap .form-control {
  padding-left: 40px;
  border: 1px solid #e5e7eb;
  min-height: 44px;
  height: 100%;
  box-shadow: none;
  background: #fff;
}
.consult-astro-filters .dropdown {
  height: 100%;
}
.consult-astro-filters .consult-filter-btn {
  border: 1px solid #e5e7eb;
  background: #fff;
  min-height: 44px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #374151;
  box-shadow: none;
  width: 100%;
  padding-right: 2rem;
  position: relative;
  white-space: nowrap;
}
.consult-astro-filters .consult-filter-btn .consult-filter-label {
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
  text-align: left;
}
.consult-astro-filters .consult-filter-btn.dropdown-toggle::after {
  position: absolute;
  right: 14px;
  top: 50%;
  margin-left: 0;
  transform: translateY(-50%);
  flex-shrink: 0;
}
.consult-astro-filters .consult-filter-btn .consult-filter-icon {
  color: #7b47d1;
  font-size: 1rem;
  flex-shrink: 0;
}
.consult-astro-filters .consult-filter-btn .consult-filter-icon-rating {
  color: #eab308;
}

.consult-astro-list {
  margin-top: 0.5rem;
}

.consult-astro-card-wrap {
  margin-bottom: 0;
}
.consult-astro-card {
  background: #fff;
  border: 1px solid #ebe6f5;
  border-radius: 16px;
  padding: 14px 14px 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 8px 30px rgba(107, 70, 193, 0.08);
}
.consult-astro-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  color: #ef4444;
  font-size: 1.1rem;
  line-height: 1;
}
.consult-astro-fav:hover {
  color: #dc2626;
}

.consult-astro-card-body {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.consult-astro-photo {
  flex: 0 0 96px;
  position: relative;
}
.consult-astro-photo-img-wrap {
  position: relative;
  display: block;
  width: 96px;
}
.consult-astro-photo img {
  width: 96px;
  /* height: 130px; */
  object-fit: cover;
  border-radius: 10px;
  display: block;
  aspect-ratio: 1/1;
}
.consult-astro-photo-img-wrap .consult-status-badge {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 10px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}
.consult-status-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.consult-status-online {
  background: #ffffff;
  color: #15803d;
  border: 2px solid #22c55e
}
.consult-status-online .dot {
  background: #22c55e;
}
.consult-status-busy {
  background: #fff;
  color: #c2410c;
  border: 1px solid #f97316;
}
.consult-status-busy .dot {
  background: #f97316;
}
.consult-status-offline {
  background: #fff;
  color: #b91c1c;
  border: 1px solid #ef4444;
}
.consult-status-offline .dot {
  background: #ef4444;
}

.consult-astro-photo .live_option {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.consult-astro-photo .consult-astro-rating {
  margin-top: 10px;
  padding-top: 6px;
  font-size: 12px;
  color: #374151;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px;
  line-height: 1.3;
}
.consult-astro-photo .consult-astro-rating .bi-star-fill {
  color: #fbbf24;
  font-size: 13px;
}
.consult-astro-photo .consult-astro-rating .muted {
  color: #9ca3af;
  font-size: 11px;
}

.consult-astro-main {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
  padding-right: 22px;
}
.consult-astro-name-row {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.consult-astro-name-row .consult-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  text-decoration: none;
}
.consult-astro-name-row .consult-name:hover {
  color: #7b47d1;
}
.consult-astro-name-row .consult-verified {
  color: #7b47d1;
  font-size: 1rem;
}
.consult-astro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.consult-astro-tags .tag-pill {
  font-size: 10px;
  padding: 4px 7px;
  border-radius: 999px;
  background: #f3effc;
  color: #6b46c1;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.consult-astro-meta {
  list-style: none;
  padding: 0;
  margin: 0;
}
.consult-astro-meta li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #1d2b3c;
  font-weight: 500;
  margin-bottom: 5px;
}
.consult-astro-meta li i {
  color: #a78bfa;
  margin-top: 1px;
  font-size: 13px;
}
.consult-astro-listing-badge {
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
}

.consult-astro-footer {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 0;
  border-top: none;
  min-height: 52px;
}
.consult-astro-footer.footer-online:not(.footer-talk),
.consult-astro-footer.footer-offline {
  align-items: center;
  background: #f3f4f6;
  border-radius: 12px;
  padding: 8px 12px !important;
  min-height: 52px;
}
.consult-astro-footer.footer-talk.footer-online {
  background: transparent;
  padding: 0;
  border-radius: 0;
  min-height: 0;
}
.consult-astro-footer.footer-busy {
  align-items: center;
  background: #fff9f1;
  border-radius: 12px;
  padding: 8px 12px;
  min-height: 52px;
}
.consult-astro-footer.footer-offline .footer-panel-offline,
.consult-astro-footer.footer-busy .footer-panel-busy {
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.consult-astro-footer.footer-busy .footer-panel-busy {
  color: #a0522d;
}
.consult-astro-footer.footer-busy .footer-panel-busy i {
  color: #ea580c;
  font-size: 1.15rem;
  margin-top: 0;
}
.consult-astro-footer.footer-busy .footer-panel-busy strong {
  color: #9a3412;
  font-weight: 700;
}
.consult-astro-footer.footer-busy .footer-panel-busy .sub {
  color: #c2410c;
}
.consult-astro-footer-left {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  max-width: 210px;
}

.consult-astro-price .price-now {
  color: #dc2626;
  font-weight: 700;
  font-size: 19px;
}
.consult-astro-price .price-was {
  color: #9ca3af;
  text-decoration: line-through;
  margin-left: 6px;
  font-size: 15px;
  font-weight: 700;
}

.consult-astro-footer-msg.footer-panel {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
}
.footer-panel-busy {
  background: #fff9f1;
  color: #a0522d;
}
.footer-panel-busy i {
  color: #ea580c;
}
.footer-panel-busy strong {
  color: #9a3412;
}
.footer-panel-busy .sub {
  color: #c2410c;
}
.footer-panel-offline {
  background: #f8fafc;
  color: #475569;
}
.footer-panel-offline i {
  color: #64748b;
  font-size: 25px;
}
.consult-astro-footer-msg .sub {
  display: block;
  font-size: 12px;
  color: #9ca3af;
  margin-top: 2px;
  font-weight: 400;
}
.consult-astro-footer-msg strong {
  font-weight: 600;
  font-size: 14px;
  color: inherit;
}

.consult-astro-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.consult-btn-chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #7b47d1;
  color: #fff !important;
  border: none;
  border-radius: 25px;
  padding: 7px 22px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  min-width: 172px;
}
.consult-btn-chat:hover {
  background: #6938b8;
  color: #fff;
}
.consult-btn-outline.btn-notify {
  cursor: pointer;
  background: transparent;
}
.consult-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fff;
  color: #7b47d1 !important;
  border: 1px solid #7b47d1;
  border-radius: 25px;
  padding: 4px 14px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}
.consult-btn-outline:hover {
  background: #f5f0fc;
  color: #7b47d1;
}
.consult-btn-outline.btn-notify {
  cursor: pointer;
}
.consult-btn-outline i{
  font-size: 20px;
}

.consult-astro-footer.footer-talk {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.consult-talk-footer-stack {
  width: 100%;
}
.consult-talk-actions-wrap {
  width: 100%;
}
.consult-talk-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}
.consult-talk-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.consult-talk-price-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f3f4f6;
  border: none;
  border-radius: 10px;
  padding: 8px 10px;
  min-height: 45px;
}
.consult-talk-price-box > i {
  color: #7b47d1;
  font-size: 16px;
  flex-shrink: 0;
}
.consult-talk-price-lines {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  flex: 1;
}
.consult-talk-price-lines .price-now {
  color: #dc2626;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
}
.consult-talk-price-lines .price-was {
  color: #9ca3af;
  text-decoration: line-through;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  white-space: nowrap;
}
.consult-talk-action-btn {
  width: 100%;
  justify-content: center;
}
.consult-btn-call {
  min-width: 0;
}
.consult-btn-video {
  min-width: 0;
}
/* Talk listing: Video solid button same height as Call outline (chat listing unchanged) */
.consult-astro-card-talk .consult-talk-action-btn.consult-btn-call,
.consult-astro-card-talk .consult-talk-action-btn.consult-btn-video {
  min-height: 44px;
  padding: 9px 14px;
  font-size: 14px;
  line-height: 1.25;
  box-sizing: border-box;
}
.consult-astro-card-talk .consult-talk-action-btn.consult-btn-video {
  min-width: 0;
}

@media (max-width: 575.98px) {
  .consult-astro-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .consult-astro-actions {
    width: 100%;
  }
  .consult-btn-chat,
  .consult-btn-outline {
    width: 100%;
  }
}

/* —— Astrologer detail hero (reference layout) —— */
.astro-detail-hero-section {
  padding-bottom: 0.5rem;
}
.astro-detail-breadcrumb {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.astro-detail-breadcrumb a {
  color: #6b7280;
  text-decoration: none;
}
.astro-detail-breadcrumb a:hover {
  color: #7b47d1;
}
.astro-detail-breadcrumb .current {
  color: #374151;
  font-weight: 600;
}
.astro-detail-breadcrumb .sep {
  color: #9ca3af;
  font-size: 11px;
}
.astro-detail-hero-card {
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(123, 71, 209, 0.08);
  border: 1px solid rgba(123, 71, 209, 0.12);
  padding: 18px 16px;
}
@media (min-width: 768px) {
  .astro-detail-hero-card {
    padding: 22px 24px;
  }
}
.astro-detail-hero-row {
  --astro-detail-photo-size: 200px;
}
.astro-detail-info-actions-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}
.astro-detail-info {
  flex: 1 1 auto;
  min-width: 0;
}
.astro-detail-photo-wrap {
  width: var(--astro-detail-photo-size);
  border: none !important;
  box-shadow: none;
}
.astro-detail-photo-wrap.bor-green,
.astro-detail-photo-wrap.bor-red,
.astro-detail-photo-wrap.bor-gray {
  border: none !important;
}
.astro-detail-photo {
  width: var(--astro-detail-photo-size);
  height: var(--astro-detail-photo-size);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.astro-detail-photo-wrap.consult-astro-photo-img-wrap .consult-status-badge {
  bottom: 8px;
  font-size: 9px;
  padding: 2px 7px;
}
.astro-detail-photo-heart {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #fecaca;
  background: #fff;
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}
.astro-detail-photo-heart.is-following {
  background: #fef2f2;
}
.astro-detail-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.astro-detail-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e3a8a;
  margin: 0;
  line-height: 1.25;
}
.astro-detail-verified {
  color: #2563eb;
  font-size: 1.15rem;
}
.astro-detail-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #374151;
  margin: 0 0 8px;
  line-height: 1.45;
}
.astro-detail-line > i {
  color: #7b47d1;
  margin-top: 2px;
  flex-shrink: 0;
}
.astro-detail-line-split {
  flex-wrap: wrap;
  gap: 12px 20px;
}
.astro-detail-line-split > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
    font-weight: 500;
}
.astro-detail-line-split i {
  color: #7b47d1;
}
.astro-detail-rating-pill .bi-star-fill {
  color: #fbbf24;
}
.astro-detail-rating-pill .muted {
  color: #9ca3af;
  font-weight: 400;
}
.astro-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.astro-detail-tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  border: 1px solid #e5e7eb;
}
.astro-detail-actions-col {
  flex: 0 0 auto;
  width: 420px;
  max-width: 42%;
  min-width: 420px;
}
@media (max-width: 767.98px) {
  .astro-detail-hero-section {
    padding-top: 1.25rem;
  }
  .astro-detail-breadcrumb {
    margin-bottom: 18px;
  }
  .astro-detail-hero-card {
    padding: 14px 16px 18px;
    overflow: hidden;
  }
  .astro-detail-hero-row {
    --astro-detail-photo-size: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .astro-detail-hero-row > .col-auto,
  .astro-detail-hero-row > .col {
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
  }
  .astro-detail-hero-row > .col {
    padding-left: 0 !important;
  }
  .astro-detail-hero-row > .col-auto {
    order: -1;
    margin-top: 4px;
    margin-bottom: 14px;
  }
  .astro-detail-photo-wrap {
    max-width: none;
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
  }
  .astro-detail-photo {
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 340px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0;
  }
  .astro-detail-photo-wrap.consult-astro-photo-img-wrap .consult-status-badge {
    bottom: 12px;
    font-size: 10px;
    padding: 3px 9px;
  }
  .astro-detail-photo-heart {
    top: 12px;
    right: 12px;
  }
  .astro-detail-info-actions-row {
    flex-direction: column;
    flex-wrap: wrap;
  }
  .astro-detail-actions-col {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}
.astro-detail-actions-panel {
  border: 1px solid #e8ecf4;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}
.astro-detail-actions-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.astro-detail-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
  min-height: 118px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 12px 8px 10px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.astro-detail-action-call {
  background: #f0fdf4;
  border-color: #dcfce7;
}
.astro-detail-action-chat {
  background: #faf5ff;
  border-color: #ede9fe;
}
.astro-detail-action-video {
  background: #fdf2f8;
  border-color: #fce7f3;
}
.astro-detail-action-btn:hover:not(:disabled) {
  border-color: #c4b5fd;
  box-shadow: 0 2px 8px rgba(123, 71, 209, 0.1);
}
.astro-detail-action-btn.active {
  border-color: #7b47d1;
  box-shadow: 0 0 0 1px rgba(123, 71, 209, 0.25);
}
.astro-detail-action-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.astro-detail-action-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 17px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.astro-detail-action-call .astro-detail-action-icon {
  color: #059669;
}
.astro-detail-action-chat .astro-detail-action-icon {
  color: #7b47d1;
}
.astro-detail-action-video .astro-detail-action-icon {
  color: #db2777;
}
.astro-detail-action-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
}
.astro-detail-action-prices {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
}
.astro-detail-action-prices .price-now {
  color: #dc2626;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
}
.astro-detail-action-prices .price-was {
  color: #9ca3af;
  text-decoration: line-through;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}
.astro-detail-action-wait {
  justify-content: center;
}
.astro-detail-availability {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  border-radius: 8px;
  padding: 8px 10px;
  line-height: 1.35;
}
.astro-detail-availability-online {
  background: #ecfdf5;
  color: #065f46;
}
.astro-detail-availability-bussy {
  background: #fff7ed;
  color: #9a3412;
}
.astro-detail-availability-offline {
  background: #f3f4f6;
  color: #4b5563;
}
.astro-detail-availability .avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}
.astro-detail-availability-online .avail-dot {
  background: #22c55e;
}
.astro-detail-availability-bussy .avail-dot {
  background: #f97316;
}
.astro-detail-availability-offline .avail-dot {
  background: #9ca3af;
}
.astro-detail-availability .avail-sub {
  font-weight: 400;
  opacity: 0.9;
}
.astro-detail-notify-btn {
  border: 1px solid #7b47d1;
  background: #fff;
  color: #7b47d1;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
}
.astro-detail-share-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.astro-detail-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #e5e7eb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  margin-top: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.astro-detail-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  border-right: 1px solid #eef2f7;
}
.astro-detail-trust-item:last-child {
  border-right: none;
}
.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.trust-icon-shield {
  color: #7b47d1;
}
.trust-icon-lock {
  color: #7b47d1;
}
.trust-icon-star {
  color: #f59e0b;
}
.trust-icon-clients {
  color: #7b47d1;
}
.trust-icon-shield i, .trust-icon-lock i, .trust-icon-star i, .trust-icon-clients i{
  font-size: 27px;
}
.astro-detail-trust-item .trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.astro-detail-trust-item .trust-text strong {
  font-size: 17px;
  color: #111827;
  line-height: 1.25;
}
.astro-detail-trust-item .trust-text span {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.25;
}
@media (max-width: 991.98px) {
  .astro-detail-trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .astro-detail-trust-item:nth-child(2) {
    border-right: none;
  }
  .astro-detail-trust-item:nth-child(1),
  .astro-detail-trust-item:nth-child(2) {
    border-bottom: 1px solid #eef2f7;
  }
}
@media (max-width: 575.98px) {
  .astro-detail-trust-bar {
    grid-template-columns: 1fr;
  }
  .astro-detail-trust-item {
    border-right: none !important;
    border-bottom: 1px solid #eef2f7;
  }
  .astro-detail-trust-item:last-child {
    border-bottom: none;
  }
  .astro-detail-action-btn {
    min-height: 108px;
    padding: 10px 4px 8px;
  }
  .astro-detail-action-label {
    font-size: 12px;
  }
  .astro-detail-action-prices .price-now {
    font-size: 10px;
  }
  .astro-detail-action-prices .price-was {
    font-size: 9px;
  }
}

/* Astrologer detail — about card */
.astro-detail-about-section {
  margin-top: 16px;
  margin-bottom: 8px;
}
.astro-detail-about-card {
  background: #fff;
  border: 1px solid #e0e6ed;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  padding: 20px 22px;
}
@media (min-width: 768px) {
  .astro-detail-about-card {
    padding: 22px 26px;
  }
}
.astro-detail-about-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e3a8a;
  margin: 0 0 14px;
  line-height: 1.3;
}
.astro-detail-about-body {
  font-size: 14px;
  line-height: 1.65;
  color: #4f5b66;
  text-align: justify;
}
.astro-detail-about-body p {
  margin: 0 0 12px;
}
.astro-detail-about-body p:last-child {
  margin-bottom: 0;
}
.astro-detail-about-body ul,
.astro-detail-about-body ol {
  margin-bottom: 12px;
  padding-left: 1.25rem;
}

/* Consultation booking modal — Proceed / Cancel */
.astro-consult-modal-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
  margin-top: 1rem;
  width: 100%;
}
.astro-consult-modal-actions .consult-proceed-btn,
.astro-consult-modal-actions .consult-cancel-btn {
  flex: 1 1 140px;
  max-width: 220px;
  padding: 12px 20px;
  margin: 0;
  border-radius: 8px;
}
.astro-consult-modal-actions .consult-cancel-btn {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}
.astro-consult-modal-actions .consult-cancel-btn:hover,
.astro-consult-modal-actions .consult-cancel-btn:focus {
  background: #e5e7eb;
  color: #1f2937;
  border-color: #9ca3af;
}

/* Astrologer detail — gallery row (below trust bar) */
.astro-detail-gallery-section {
  margin-top: 14px;
}
.astro-detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
.astro-detail-gallery-item {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  min-height: 140px;
  background: #e5e7eb;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}
.astro-detail-gallery-item img,
.astro-detail-gallery-item video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.25s ease;
}
.astro-detail-gallery-item.is-image:hover img {
  transform: scale(1.03);
}
.astro-detail-gallery-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #7b47d1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}
@media (max-width: 991.98px) {
  .astro-detail-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .astro-detail-gallery-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .astro-detail-gallery-item {
    flex: 0 0 78%;
    max-width: 78%;
    scroll-snap-align: start;
  }
}

/* Astrologer detail — send gift grid */
.astro-detail-gift-section {
  margin-top: 16px;
  margin-bottom: 20px;
}
.astro-detail-gift-card {
  background: #fff;
  border: 1px solid #e0e6ed;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  padding: 20px 18px 22px;
}
@media (min-width: 768px) {
  .astro-detail-gift-card {
    padding: 22px 24px 26px;
  }
}
.astro-detail-gift-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.astro-detail-gift-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e3a8a;
  margin: 0 0 4px;
  line-height: 1.3;
}
.astro-detail-gift-subtitle {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}
.astro-detail-gift-info {
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 1.15rem;
  line-height: 1;
  padding: 4px;
  cursor: pointer;
}
.astro-detail-gift-info:hover {
  color: #7b47d1;
}
.astro-detail-gift-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}
.astro-detail-gift-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  min-width: 0;
}
.astro-detail-gift-item:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.astro-detail-gift-item.selected {
  border-color: #7b47d1;
  background: #faf5ff;
  box-shadow: 0 0 0 1px rgba(123, 71, 209, 0.2);
}
.astro-detail-gift-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fdf2f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-bottom: 8px;
  box-sizing: border-box;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}
.astro-detail-gift-thumb img {
  width: 100%;
  height: 100%;
  max-height: 72px;
  object-fit: contain;
}
.astro-detail-gift-name {
  font-size: 12px !important;
  font-weight: 700;
  color: #1e3a8a;
  margin: 0 0 4px;
  line-height: 1.25;
  word-break: break-word;
}
.astro-detail-gift-price {
  font-size: 12px;
  font-weight: 600;
  color: #1e3a8a;
  margin: 0;
  line-height: 1.2;
}
.astro-detail-gift-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
@media (max-width: 1199.98px) {
  .astro-detail-gift-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
@media (max-width: 991.98px) {
  .astro-detail-gift-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .astro-detail-gift-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .astro-detail-gift-thumb {
    padding: 8px;
  }
  .astro-detail-gift-thumb img {
    max-height: 115px;
  }
}

/* Astrologer detail — reviews & ratings */
.astro-detail-reviews-section {
  margin-top: 16px;
  margin-bottom: 20px;
}
.astro-detail-reviews-card {
  background: #f8fafc;
  border: 1px solid #e0e6ed;
  border-radius: 14px;
  padding: 20px 18px 22px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}
@media (min-width: 768px) {
  .astro-detail-reviews-card {
    padding: 22px 24px 26px;
  }
}
.astro-detail-reviews-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e3a8a;
  margin: 0 0 18px;
}
.astro-detail-reviews-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 992px) {
  .astro-detail-reviews-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }
}
.astro-detail-reviews-summary {
  flex: 0 0 auto;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px 20px;
}
.astro-detail-reviews-score-block {
  flex: 0 0 auto;
  min-width: 88px;
}
.astro-detail-reviews-score {
  line-height: 1;
  margin-bottom: 6px;
}
.astro-detail-reviews-score .score-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e3a8a;
}
.astro-detail-reviews-score .score-out-of {
  font-size: 1.1rem;
  font-weight: 600;
  color: #6b7280;
}
.astro-detail-reviews-stars {
  color: #f59e0b;
  font-size: 14px;
  margin-bottom: 4px;
}
.astro-detail-reviews-count {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}
.astro-detail-rating-bars {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}
.astro-detail-rating-bar-row {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #374151;
}
.astro-detail-rating-bar-row .bar-label {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}
.astro-detail-rating-bar-row .bar-label .bi-star-fill {
  color: #f59e0b;
  font-size: 10px;
}
.astro-detail-rating-bar-row .bar-track {
  height: 8px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}
.astro-detail-rating-bar-row .bar-fill {
  height: 100%;
  border-radius: 999px;
  min-width: 0;
  transition: width 0.2s ease;
}
.astro-detail-rating-bar-row .bar-fill-5 {
  background: #22c55e;
}
.astro-detail-rating-bar-row .bar-fill-4 {
  background: #eab308;
}
.astro-detail-rating-bar-row .bar-fill-3 {
  background: #f97316;
}
.astro-detail-rating-bar-row .bar-fill-2,
.astro-detail-rating-bar-row .bar-fill-1 {
  background: #9ca3af;
}
.astro-detail-rating-bar-row .bar-pct {
  text-align: right;
  color: #6b7280;
  font-size: 11px;
}
.astro-detail-reviews-list-wrap {
  flex: 1 1 auto;
  min-width: 0;
}
.astro-detail-reviews-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.astro-detail-review-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 12px;
  min-width: 0;
}
.astro-detail-review-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.astro-detail-review-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.astro-detail-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.astro-detail-review-name {
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 700;
  color: #1e3a8a;
  line-height: 1.2;
}
.astro-detail-review-stars {
  color: #f59e0b;
  font-size: 11px;
  line-height: 1;
}
.astro-detail-review-time {
  font-size: 11px;
  color: #9ca3af;
  white-space: nowrap;
  flex-shrink: 0;
}
.astro-detail-review-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #4b5563;
}
.astro-detail-reviews-empty {
  margin: 0;
  padding: 24px 12px;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  background: #fff;
  border: 1px dashed #e5e7eb;
  border-radius: 12px;
}
.astro-detail-reviews-pagination {
  margin-top: 18px;
}
@media (max-width: 575.98px) {
  .astro-detail-reviews-summary {
    flex-direction: column;
    max-width: none;
  }
  .astro-detail-rating-bars {
    width: 100%;
    padding-top: 0;
  }
}
@media (max-width: 991.98px) {
  .astro-detail-reviews-summary {
    max-width: none;
  }
  .astro-detail-reviews-list {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .astro-detail-reviews-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Detail page — Related Astrologers row */
.astro-detail-related-section {
  margin-top: 16px;
  margin-bottom: 20px;
}
.astro-detail-related-panel {
  background: #fff;
  border: 1px solid #e0e6ed;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  padding: 20px 18px 22px;
}
@media (min-width: 768px) {
  .astro-detail-related-panel {
    padding: 22px 24px 26px;
  }
}
.astro-detail-related-head {
  margin-bottom: 16px;
}
.astro-detail-related-title {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e3a8a;
  line-height: 1.3;
}
.astro-detail-related-subtitle {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}
.astro-detail-related-slider-wrap {
  min-width: 0;
}
.astro-detail-related-slider {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.astro-detail-related-card-wrap {
  min-width: 0;
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .astro-detail-related-slider {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}
@media (min-width: 992px) {
  .astro-detail-related-slider {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
  }
}
@media (max-width: 991.98px) {
  .astro-detail-related-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 4px;
    scrollbar-width: none;
    grid-template-columns: unset;
  }
  .astro-detail-related-slider::-webkit-scrollbar {
    display: none;
  }
  .astro-detail-related-card-wrap {
    flex: 0 0 calc(50% - 7px);
    max-width: calc(50% - 7px);
  }
}
@media (max-width: 575.98px) {
  .astro-detail-related-card-wrap {
    flex: 0 0 78%;
    max-width: 78%;
  }
}
.astro-detail-related-card {
  padding: 10px 10px 12px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(107, 70, 193, 0.06);
}
.astro-detail-related-card .consult-astro-fav {
  display: none;
}
.astro-detail-related-media.consult-astro-photo {
  flex: none;
  width: 100%;
  margin-bottom: 10px;
}
.astro-detail-related-photo-wrap {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}
.astro-detail-related-photo-wrap img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}
.astro-detail-related-photo-wrap .astro-detail-related-status {
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: auto;
  transform: none;
  z-index: 2;
  font-size: 9px;
  padding: 3px 7px;
}
.astro-detail-related-fav {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  line-height: 1;
}
.astro-detail-related-fav:hover {
  color: #dc2626;
}
.astro-detail-related-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 0;
}
.astro-detail-related-name {
  font-weight: 700;
  font-size: 13px;
  color: #111827;
  text-decoration: none;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.astro-detail-related-name:hover {
  color: #7b47d1;
}
.astro-detail-related-spec {
  margin: 0;
  font-size: 11px;
  color: #6b7280;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.astro-detail-related-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #374151;
}
.astro-detail-related-rating .bi-star-fill {
  color: #f59e0b;
  font-size: 11px;
}
.astro-detail-related-rating .muted {
  color: #9ca3af;
  font-weight: 500;
}
.astro-detail-related-price {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 700;
  color: #db2777;
  line-height: 1.2;
}
.astro-detail-related-price .price-was {
  color: #9ca3af;
  font-weight: 600;
  font-size: 11px;
  text-decoration: line-through;
  margin-left: 4px;
}
.astro-detail-related-footer.consult-astro-footer {
  margin-top: 10px;
  padding-top: 0;
  border-top: none;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.astro-detail-related-actions {
  width: 100%;
}
.astro-detail-related-chat-btn.consult-btn-outline {
  width: 100%;
  min-width: 0;
  padding: 7px 12px;
  font-size: 13px;
  border-radius: 999px;
}
.astro-detail-related-chat-btn.consult-btn-outline i {
  font-size: 16px;
}
