body.grads-mentor-browse #titlebar .grads-mentor-titlebar__tagline {
  margin: 8px 0 0;
  max-width: 46rem;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  color: #4d443c;
}

.grads-mentor-template .grads-mentor-content {
  padding: 24px 16px 48px;
  background: #f5f3ef;
}
.grads-mentor-template .grads-mentor-search input[type="text"] {
  border-radius: 10px;
  height: 47px;
}

.grads-mentor-template .grads-mentor-search {
  max-width: 1220px;
  margin: 0 auto 24px;
  background: #ffffff;
  border: 1px solid #e5ddd4;
  border-radius: 18px;
  padding: 18px;
}

.grads-mentor-template .grads-mentor-search-header {
  margin-bottom: 12px;
}

.grads-mentor-template .grads-mentor-title {
  color: #1a1108;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 6px;
}

.grads-mentor-template .grads-mentor-subtitle {
  color: #7d7369;
  font-size: 14px;
  margin: 0;
}

.grads-mentor-template .grads-mentor-search-inner {
  background: #f8f6f2;
  border-radius: 14px;
  padding: 14px;
  box-shadow: none;
}

.grads-mentor-template .grads-mentor-search-form {
  margin-bottom: 0;
}

.grads-mentor-template .main-search-form {
  margin-bottom: 0;
}

.grads-mentor-template .main-search-input-item {
  background: transparent;
}

.grads-mentor-template .split-top-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.grads-mentor-template .row.with-forms.split-top-inputs {
  margin-left: 0;
  margin-right: 0;
}

.grads-mentor-template .row.with-forms.split-top-inputs::before,
.grads-mentor-template .row.with-forms.split-top-inputs::after {
  content: none !important;
  display: none !important;
}

.grads-mentor-template .split-top-inputs > div {
  flex: 1 1 calc(22% - 10px);
  min-width: 220px;
  float: none;
  padding: 0;
}

/* Wider keyword column only while that field is still in the row. */
.grads-mentor-template .split-top-inputs > div:first-child:has(#keyword_search) {
  flex-basis: calc(34% - 10px);
  min-width: 320px;
}

.grads-mentor-template .main-search-input-item input[type="text"],
.grads-mentor-template .main-search-input-item input[type="search"],
.grads-mentor-template .main-search-input-item input[type="email"],
.grads-mentor-template .main-search-input-item input[type="number"],
.grads-mentor-template .main-search-input-item input[type="tel"],
.grads-mentor-template .main-search-input-item select,
.grads-mentor-template .grads-mentor-search-inner .drilldown-menu,
.grads-mentor-template .bootstrap-select .dropdown-toggle {
  height: 48px;
  border: 1px solid #dfd6cb;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}
.grads-mentor-template .grads-mentor-search-inner .drilldown-menu {
  width: 100%;
}

.grads-mentor-template .main-search-input-item input[type="checkbox"],
.grads-mentor-template .panel-dropdown-content input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0 6px;
}

.grads-mentor-template .bootstrap-select.btn-group .dropdown-menu {
  border-radius: 10px;
}

.grads-mentor-template .more-search-options-trigger {
  display: none !important;
}

.widget .more-search-options.relative,
.widget .more-search-options {
  display: block !important;
  position: static;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e4dbd0;
  min-height: 70px;
}

.grads-mentor-template .panel-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 10px;
  align-items: start;
  margin-top: 10px;
}

.grads-mentor-template .panel-dropdown {
  position: static !important;
  margin: 0;
  width: 100%;
}

.grads-mentor-template .panel-dropdown > a {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border: 1px solid #dfd6cb;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.grads-mentor-template .panel-dropdown-content {
  border: 1px solid #e3dbcf;
  border-radius: 12px;
  box-shadow: none;
  background: #fff;
}

/* Keep panel filters expanded by default (no click-to-open). */
.grads-mentor-template .panel-wrapper .panel-dropdown {
  flex: 1 1 260px;
  min-width: 240px;
}

/* Rating pills — separate rounded chips (fixes broken middle radius) */
.grads-mentor-search-ui .rating-filter,
body.grads-mentor-browse .rating-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  box-shadow: none;
}

.grads-mentor-search-ui .rating-filter__field,
body.grads-mentor-browse .rating-filter__field {
  flex: 1 1 calc(25% - 6px);
  min-width: 72px;
  margin: 0;
}

.grads-mentor-search-ui .rating-filter__text,
body.grads-mentor-browse .rating-filter__text {
  width: 100%;
  border-radius: 999px !important;
  padding: 8px 10px;
  min-height: 38px;
}

.grads-mentor-search-ui .rating-filter__input + .rating-filter__text:after,
body.grads-mentor-browse .rating-filter__input + .rating-filter__text:after {
  display: none !important;
}

.grads-mentor-search-ui .rating-filter__text i,
body.grads-mentor-browse .rating-filter__text i {
  margin-inline-end: 4px;
  top: 0;
}

/* Search field icons (RTL-safe) */
.grads-mentor-search-ui .search-input-icon,
body.grads-mentor-browse .search-input-icon {
  position: relative;
}

.grads-mentor-search-ui .search-input-icon input,
body.grads-mentor-browse .search-input-icon input {
  padding-inline-end: 42px;
}

.grads-mentor-search-ui .search-input-icon i,
body.grads-mentor-browse .search-input-icon i {
  position: absolute;
  top: 50%;
  inset-inline-end: 14px;
  inset-inline-start: auto;
  right: auto;
  left: auto;
  transform: translateY(-50%);
  margin: 0;
  pointer-events: none;
}

/* Inline always-open date calendar (single month) */
.grads-mentor-search-ui .grads-mentor-date-inline,
body.grads-mentor-browse .grads-mentor-date-inline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

/* Hide the raw date_range input row, keep only calendar block. */
.grads-mentor-search-ui .grads-mentor-date-inline > input.date_range,
.grads-mentor-search-ui .grads-mentor-date-inline > i.fa-calendar,
body.grads-mentor-browse .grads-mentor-date-inline > input.date_range,
body.grads-mentor-browse .grads-mentor-date-inline > i.fa-calendar,
.widget .grads-mentor-date-inline > input.date_range,
.widget .grads-mentor-date-inline > i.fa-calendar,
.listeo-form-sidebar_search .grads-mentor-date-inline > input.date_range,
.listeo-form-sidebar_search .grads-mentor-date-inline > i.fa-calendar {
  display: none !important;
}

.grads-mentor-search-ui .grads-mentor-date-inline .daterangepicker,
body.grads-mentor-browse .grads-mentor-date-inline .daterangepicker,
.widget .grads-mentor-date-inline .daterangepicker,
.listeo-form-sidebar_search .grads-mentor-date-inline .daterangepicker {
  position: static !important;
  display: block !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  margin: 0;
  border: 1px solid #e3dbcf;
  border-radius: 4px;
  margin-bottom: 18px;
  box-shadow: none;
  z-index: 1;
}
.widget .grads-mentor-date-inline .daterangepicker.rtl,
.widget
  .grads-mentor-date-inline
  .daterangepicker.rtl
  .drp-calendar.left
  .calendar-table {
  padding-right: 12px;
}

.grads-mentor-date-inline .daterangepicker .calendar-table .next span,
.grads-booking-date-inline .daterangepicker .calendar-table .next span {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}
.grads-mentor-date-inline .daterangepicker .calendar-table .prev span,
.grads-booking-date-inline .daterangepicker .calendar-table .prev span {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.grads-mentor-search-ui
  .grads-mentor-date-inline
  .daterangepicker
  .drp-calendar.right,
body.grads-mentor-browse
  .grads-mentor-date-inline
  .daterangepicker
  .drp-calendar.right,
.widget .grads-mentor-date-inline .daterangepicker .drp-calendar.right,
.listeo-form-sidebar_search
  .grads-mentor-date-inline
  .daterangepicker
  .drp-calendar.right {
  display: none !important;
}

.grads-mentor-search-ui
  .grads-mentor-date-inline
  .daterangepicker
  .drp-calendar.left,
body.grads-mentor-browse
  .grads-mentor-date-inline
  .daterangepicker
  .drp-calendar.left,
.widget .grads-mentor-date-inline .daterangepicker .drp-calendar.left,
.listeo-form-sidebar_search
  .grads-mentor-date-inline
  .daterangepicker
  .drp-calendar.left {
  width: 100%;
  max-width: 100%;
}

.grads-mentor-date-inline .daterangepicker.rtl {
  direction: rtl;
  text-align: right;
}

/* Improve booking range clarity vs disabled dates. */
.grads-mentor-date-inline .daterangepicker td.off,
.grads-mentor-date-inline .daterangepicker td.disabled {
  opacity: 0.45;
}

.grads-mentor-date-inline .daterangepicker td.in-range {
  background: var(
    --listeo-primary-color,
    var(--primary-color, #c9922a)
  ) !important;
  color: #fff !important;
}

.grads-mentor-date-inline .daterangepicker td.active,
.grads-mentor-date-inline .daterangepicker td.active:hover,
.grads-mentor-date-inline .daterangepicker td.start-date,
.grads-mentor-date-inline .daterangepicker td.end-date {
  background: var(
    --listeo-primary-color,
    var(--primary-color, #c9922a)
  ) !important;
  color: #fff !important;
}

.grads-mentor-search-ui .grads-mentor-date-inline .daterangepicker:before,
.grads-mentor-search-ui .grads-mentor-date-inline .daterangepicker:after,
body.grads-mentor-browse .grads-mentor-date-inline .daterangepicker:before,
body.grads-mentor-browse .grads-mentor-date-inline .daterangepicker:after,
.widget .grads-mentor-date-inline .daterangepicker:before,
.widget .grads-mentor-date-inline .daterangepicker:after,
.listeo-form-sidebar_search .grads-mentor-date-inline .daterangepicker:before,
.listeo-form-sidebar_search .grads-mentor-date-inline .daterangepicker:after {
  display: none !important;
}

/* Keep filter warnings inside the search card */
.grads-mentor-search-ui .more-search-options,
.grads-mentor-search-ui .more-search-options.relative,
body.grads-mentor-browse .more-search-options,
body.grads-mentor-browse .more-search-options.relative {
  overflow: hidden;
}

.grads-mentor-search-ui .notification,
body.grads-mentor-browse .notification {
  margin: 12px 0 0;
  max-width: 100%;
  border-radius: 10px;
}

.grads-mentor-template .panel-wrapper .panel-dropdown > a {
  display: block !important;
  pointer-events: none;
  height: auto;
  min-height: 20px;
  margin: 0 0 8px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  color: #1a1108;
}

.grads-mentor-template .panel-wrapper .panel-dropdown > a .caret,
.grads-mentor-template .panel-wrapper .panel-dropdown > a .bs-caret {
  display: none !important;
}

.grads-mentor-template .panel-wrapper .panel-dropdown .panel-dropdown-content {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  transform: none !important;
  pointer-events: auto !important;
  margin-top: 0;
  padding: 10px 0;
  width: 100%;
  min-width: 0;
  z-index: auto !important;
  background: none;
  border: none;
  overflow: hidden;
}

.grads-mentor-template .panel-wrapper .panel-buttons {
  display: none !important;
}

/* Render taxonomy checkboxes as compact chips in second row */
.grads-mentor-template .panel-checkboxes-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}

.grads-mentor-template .panel-checkbox-wrap {
  display: inline-flex;
  position: relative;
  justify-content: center;
  align-items: center;
  border: 1px solid #dfd6cb;
  border-radius: 999px;
  background: #fff;
  height: 38px;
  padding: 0 6px;
  transition: all 0.18s ease;
  overflow: hidden;
}

.grads-mentor-template .panel-checkbox-wrap input[type="checkbox"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  display: block;
}

.grads-mentor-template .panel-checkbox-wrap label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  font-weight: 600;
  font-size: 12px;
  padding-right: 0;
  pointer-events: none;
}
.grads-mentor-template .panel-checkbox-wrap label::before {
  display: none;
}

.grads-mentor-template .rating-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.grads-mentor-template .rating-filter__field {
  display: inline-flex;
  margin: 0;
}

.grads-mentor-template .rating-filter__input {
  display: none;
}

.grads-mentor-template .rating-filter__text {
  border: 1px solid #dfd6cb;
  background: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
  min-height: 38px;
  min-width: 78px;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.grads-mentor-template .rating-filter__text i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  line-height: 1;
  font-size: 0.95em;
  margin-top: -5px;
}

.grads-mentor-template .panel-checkbox-wrap:has(input:checked),
.grads-mentor-template .rating-filter__input:checked + .rating-filter__text {
  background: var(--listeo-primary-color, var(--primary-color, #c9922a));
  border-color: var(--listeo-primary-color, var(--primary-color, #c9922a));
  color: #fff;
}

.grads-mentor-template .panel-checkbox-wrap:has(input:checked) label {
  color: #fff;
}

.grads-mentor-template .panel-dropdown-content .range-slider-container,
.grads-mentor-template .panel-dropdown-content .rating-filter {
  width: 100%;
}

.grads-mentor-template .panel-dropdown-content .panel-buttons,
.grads-mentor-template .panel-dropdown-content .slider-disable {
  display: none !important;
}

.grads-mentor-template .panel-dropdown-content .range-slider-subtitle {
  display: none;
}

/* Hide empty panel cards when taxonomy has no terms */
.grads-mentor-template
  .panel-dropdown:has(
    .panel-checkboxes-container:not(:has(.panel-checkbox-wrap))
  ) {
  display: none !important;
}

.grads-mentor-template .range-slider-container {
  border-radius: 12px;
  padding-top: 5px;
}
.grads-mentor-template .range-slider-container .range-slider-headline {
  display: none;
}

.grads-mentor-template .grads-mentor-listings {
  max-width: 1220px;
  margin: 0 auto;
}

.grads-mentor-template .listings-container {
  margin-top: 0;
}

.grads-mentor-template .listing-item {
  border-radius: 14px;
  overflow: hidden;
}

.grads-mentor-template .mentor-name-nl {
  margin-bottom: 4px;
}

.grads-mentor-template .listing-service-title-nl {
  font-weight: 600;
  color: #1a1108;
  font-size: 14px;
  margin: 0;
}

.grads-mentor-template .listing-university-nl,
.grads-mentor-template .listing-location-nl,
.grads-mentor-template .listing-mentor-stats-nl {
  margin: 0 0 5px;
  font-size: 13px;
  color: #4d443c;
}

.grads-mentor-template .listing-mentor-stats-nl {
  margin-top: 8px;
  font-weight: 500;
}

.layout-switcher {
  text-align: right !important;
  justify-content: flex-start;
  display: flex;
  align-items: center;
}
#tax-listing_category-panel,
#tax-listing_feature-panel {
  display: none;
}

.widget .type-and-hit-enter {
  left: 60px;
}
@media (max-width: 991px) {
  .grads-mentor-template .grads-mentor-content {
    padding: 16px 12px 30px;
  }

  .grads-mentor-template .grads-mentor-title {
    font-size: 24px;
  }

  .grads-mentor-template .split-top-inputs {
    display: flex;
    flex-wrap: wrap;
  }

  .grads-mentor-template .split-top-inputs > div,
  .grads-mentor-template .split-top-inputs > div:first-child {
    flex-basis: 100%;
    min-width: 100%;
  }

  .grads-mentor-template .panel-wrapper {
    grid-template-columns: 1fr;
  }
}
.listing-title-nl {
  margin-bottom: 10px;
}
body .listing-excerpt-nl {
  margin-top: 0;
}

/* -------------------------------------------------------------------------
   Mentor single listing (service)
   ------------------------------------------------------------------------- */

body.grads-mentor-single .listeo-grid-gallery-title #titlebar.listing-titlebar {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  padding-bottom: 10px;
  margin-top: 0;
}

body.grads-mentor-single #titlebar.listing-titlebar .listing-titlebar-title {
  width: 100%;
  max-width: 100%;
  margin: 0;
  text-align: start;
}

body.grads-mentor-single .hero-mentor-header {
  width: 100%;
}

body.grads-mentor-single .hero-mentor-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px 24px;
  width: 100%;
}

body.grads-mentor-single .hero-mentor-inner__avatar {
  position: relative;
  flex: 0 0 auto;
}

body.grads-mentor-single .hero-mentor-inner__avatar img,
body.grads-mentor-single .hero-mentor-inner__avatar .avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

body.grads-mentor-single .hero-mentor-inner__verified {
  position: absolute;
  bottom: 4px;
  inset-inline-start: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #3e7d5a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  border: 2px solid #fff;
}

body.grads-mentor-single .hero-mentor-inner__content {
  flex: 1 1 auto;
  min-width: 0;
}

body.grads-mentor-single .hero-mentor-inner__name {
  margin: 0 0 4px;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
}

body.grads-mentor-single .hero-mentor-inner__subtitle {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.5;
  color: #666;
}

body.grads-mentor-single .hero-mentor-inner__meta {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.6;
  color: #777;
}

body.grads-mentor-single .hero-mentor-inner__meta .fa {
  margin-inline-end: 4px;
}

body.grads-mentor-single .hero-mentor-inner__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

body.grads-mentor-single .hero-mentor-inner__content .listing-tag,
body.grads-mentor-single .hero-mentor-inner__content .listing-pricing-tag {
  margin: 0;
}

body.grads-mentor-single .hero-mentor-inner__stats {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

body.grads-mentor-single .hero-mentor-stat {
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
}

body.grads-mentor-single .hero-mentor-stat__value {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

body.grads-mentor-single .hero-mentor-stat__value .fa-star {
  font-size: 14px;
  margin-inline-start: 2px;
}

body.grads-mentor-single .hero-mentor-stat__label {
  font-size: 12px;
  color: #888;
}

body.grads-mentor-single .hero-mentor-stat__divider {
  width: 1px;
  height: 34px;
  background: #e5e5e5;
}

body.grads-mentor-single .hero-mentor-response {
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(62, 125, 90, 0.08);
  border: 1px solid rgba(62, 125, 90, 0.15);
  font-size: 13px;
  color: #3e7d5a;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.grads-mentor-single .hero-mentor-response__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3e7d5a;
  flex: 0 0 auto;
}

body.grads-mentor-single .grads-mentor-categories {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

body.grads-mentor-single
  .grads-mentor-category-group
  + .grads-mentor-category-group {
  margin-top: 16px;
}

body.grads-mentor-single .grads-mentor-category-group__title {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  font-size: 14px;
}

body.grads-mentor-single .grads-mentor-category-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.grads-mentor-single .grads-mentor-category-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.3;
  color: inherit;
  text-decoration: none;
  background: #fafafa;
}

body.grads-mentor-single .grads-mentor-category-chip:hover {
  border-color: #d5d5d5;
  background: #fff;
}

body.grads-mentor-single .grads-mentor-category-chip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

body.grads-mentor-single .grads-mentor-category-chip__icon i {
  font-size: 13px;
}

body.grads-mentor-single .grads-mentor-category-chip__icon svg {
  width: 14px;
  height: 14px;
}

/* Content cards */
body.grads-mentor-single .listeo-single-listing-content .listing-section {
  background: #fff;
  border: 1px solid #eceff3;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

body.grads-mentor-single .listeo-single-listing-content .listing-desc-headline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  font-size: 16px;
  font-weight: 700;
}

body.grads-mentor-single
  .listeo-single-listing-content
  .listing-desc-headline::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 17px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.35;
}

body.grads-mentor-single .listing-nav-container {
  display: none;
}

/* Services / pricing grid */
body.grads-mentor-single .grads-mentor-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.grads-mentor-single .grads-mentor-service-card {
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

body.grads-mentor-single .grads-mentor-service-card:hover {
  border-color: #d7d7d7;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.grads-mentor-single .grads-mentor-service-card__media {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
}

body.grads-mentor-single .grads-mentor-service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.grads-mentor-single .grads-mentor-service-card__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  font-weight: bold;
}

body.grads-mentor-single .grads-mentor-service-card__desc {
  font-size: 13px;
  line-height: 1.7;
  color: #666;
}

body.grads-mentor-single .grads-mentor-service-card__desc p {
  margin: 0;
}

body.grads-mentor-single .grads-mentor-service-card__price {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
}

/* Kimia #10: no gallery block on mentor singles. Circular avatars stay. */
body.grads-mentor-single #listing-gallery,
body.grads-mentor-single .grads-mentor-gallery-section,
body.grads-mentor-single li:has(> a[href="#listing-gallery"]) {
  display: none !important;
}

/* Gallery moved below overview for service listings */
body.grads-mentor-single .grads-mentor-gallery-section .listing-slider {
  max-width: 100%;
}

body.grads-mentor-single .grads-mentor-gallery-section .listing-slider-small,
body.grads-mentor-single .grads-mentor-gallery-section .listing-slider-large {
  border-radius: 12px;
  overflow: hidden;
}

body.grads-mentor-single
  .grads-mentor-gallery-section
  .listing-slider-small
  .item,
body.grads-mentor-single
  .grads-mentor-gallery-section
  .listing-slider-large
  .item {
  height: 180px;
}

body.grads-mentor-single
  .grads-mentor-gallery-section
  .listing-slider-small
  .item
  a,
body.grads-mentor-single
  .grads-mentor-gallery-section
  .listing-slider-large
  .item
  a,
body.grads-mentor-single
  .grads-mentor-gallery-section
  .listing-slider-small
  .item
  img,
body.grads-mentor-single
  .grads-mentor-gallery-section
  .listing-slider-large
  .item
  img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ */
body.grads-mentor-single #listing-faq .fp-accordion .accordion h3 {
  font-size: 14px;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.grads-mentor-single #listing-faq .fp-accordion .accordion > div {
  font-size: 13px;
  line-height: 1.8;
  color: #555;
  padding-bottom: 12px;
}

/* Reviews */
body.grads-mentor-single #listing-reviews .comment-list > li {
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

body.grads-mentor-single #listing-reviews .comment-list > li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

body.grads-mentor-single #listing-reviews .rating-overview {
  margin-bottom: 20px;
}

/* Sidebar widgets as cards */
body.grads-mentor-single .listeo-single-listing-sidebar .widget {
  background: #fff;
  border: 1px solid #eceff3;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

body.grads-mentor-single .listeo-single-listing-sidebar .widget .widget-title,
body.grads-mentor-single .listeo-single-listing-sidebar .widget h4 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 700;
}

body.grads-mentor-single .grads-listing-sidebar-shell > .widget:first-child {
  border-width: 2px;
}

body.grads-mentor-single .grads-listing-sidebar-shell .booking-widget .button,
body.grads-mentor-single
  .grads-listing-sidebar-shell
  .booking-widget
  input[type="submit"],
body.grads-mentor-single
  .grads-listing-sidebar-shell
  .booking-widget
  button[type="submit"] {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 700;
}
body.grads-mentor-single
  .grads-listing-sidebar-shell
  .booking-widget
  .button.listeo-booking-widget-apply_new_coupon {
  border-radius: 5px;
  width: fit-content;
}

body.grads-mentor-single .grads-listing-sidebar-shell .booking-widget input,
body.grads-mentor-single .grads-listing-sidebar-shell .booking-widget select,
body.grads-mentor-single
  .grads-listing-sidebar-shell
  .booking-widget
  .panel-dropdown
  > a {
  border-radius: 10px;
  min-height: 46px;
}

body.grads-mentor-single
  .grads-listing-sidebar-shell
  .booking-widget
  .panel-dropdown-content {
  border-radius: 12px;
}

/* ── Mentor booking card (sidebar) ── */
body.grads-mentor-single .grads-mentor-booking-card {
  background: #fff;
  border: 1px solid #e8e0d5;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: sticky;
  top: 80px;
}

body.grads-mentor-single .grads-mentor-booking-card__header {
  --booking-header-primary: var(
    --listeo-primary-color,
    var(--primary-color, #f91942)
  );
  background: linear-gradient(
    135deg,
    var(--booking-header-primary),
    color-mix(in srgb, var(--booking-header-primary), black 10%)
  );
  padding: 18px 20px;
  text-align: center;
}

body.grads-mentor-single .grads-mentor-booking-card__title {
  margin: 0 0 4px;
  color: white;
  font-size: 15px;
  font-weight: 800;
}

body.grads-mentor-single .grads-mentor-booking-card__subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.5;
}

body.grads-mentor-single .grads-mentor-session-row {
  display: flex;
  gap: 6px;
  padding: 16px 18px 0;
}

body.grads-mentor-single .grads-mentor-session-btn {
  flex: 1;
  border: 1.5px solid
    var(--listeo-primary-color-light, var(--primary-color-light, #f919421a));
  border-radius: 10px;
  padding: 9px 6px;
  text-align: center;
  cursor: pointer;
  background: transparent;
  font-family: inherit;
  transition:
    border-color 0.18s,
    background 0.18s;
}

body.grads-mentor-single .grads-mentor-session-btn.is-active {
  border-color: var(--listeo-primary-color, var(--primary-color, #f91942));
  background: var(
    --listeo-primary-color-light,
    var(--primary-color-light, #f919421a)
  );
}

body.grads-mentor-single .grads-mentor-session-btn__icon {
  display: block;
  font-size: 16px;
  margin-bottom: 3px;
  line-height: 1;
}

body.grads-mentor-single .grads-mentor-session-btn__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #1a1108;
}

body.grads-mentor-single .grads-mentor-duration-row {
  display: flex;
  gap: 6px;
  padding: 14px 18px 0;
}

body.grads-mentor-single .grads-mentor-duration-btn {
  flex: 1;
  border: 1.5px solid
    var(--listeo-primary-color-light, var(--primary-color-light, #f919421a));
  border-radius: 10px;
  padding: 9px 6px;
  text-align: center;
  cursor: pointer;
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #1a1108;
  transition:
    border-color 0.18s,
    background 0.18s;
}

body.grads-mentor-single .grads-mentor-duration-btn.is-active {
  border-color: var(--listeo-primary-color, var(--primary-color, #f91942));
  background: var(
    --listeo-primary-color-light,
    var(--primary-color-light, #f919421a)
  );
  color: var(--listeo-primary-color, var(--primary-color, #f91942));
}

body.grads-mentor-single .grads-mentor-duration-btn__price {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 500;
  color: #7a6f63;
}

body.grads-mentor-single
  .grads-mentor-duration-btn.is-active
  .grads-mentor-duration-btn__price {
  color: var(--listeo-primary-color, var(--primary-color, #f91942));
}

body.grads-mentor-single .grads-mentor-duration-summary {
  margin: 8px 18px 0;
  font-size: 12px;
  color: #5c5348;
  line-height: 1.5;
}

body.grads-mentor-single .grads-mentor-duration-price-hint {
  margin: 4px 18px 0;
  font-size: 11px;
  color: #7a6f63;
  line-height: 1.45;
}

body.grads-mentor-single
  .grads-mentor-booking-card
  .time-slot.grads-slot-too-short {
  display: none !important;
}

body.grads-mentor-single .grads-mentor-platform-row {
  margin: 12px 18px 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(60, 120, 200, 0.07);
  border: 1px solid rgba(60, 120, 200, 0.15);
  font-size: 12px;
  color: #6090cc;
}

body.grads-mentor-single .grads-mentor-platform-row__icon {
  margin-left: 4px;
}

body.grads-mentor-single .grads-mentor-booking-card__body {
  padding: 14px 18px 0;
}
body.grads-mentor-single .grads-mentor-booking-card__body .opening-hours {
  display: none;
}
body.grads-mentor-single .grads-mentor-booking-card__body .hosted-by-bio p,
body.grads-mentor-single .grads-mentor-booking-card__body .hosted-by-bio {
  margin-bottom: 0;
}
/* Booking widget field labels + date input */
body.grads-mentor-single .grads-mentor-booking-card .booking-widget-title-wrap {
  display: none !important;
}

body.grads-mentor-single .grads-booking-field-label {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #8c7e72;
}

body.grads-mentor-single .grads-booking-slot-prompt {
  margin: 8px 0 12px;
  font-size: 12px;
  font-weight: 600;
  color: #8c7e72;
  text-align: center;
}

body.grads-mentor-single .grads-booking-field-label--slots,
body.grads-mentor-single .grads-booking-field-label--services {
  margin-top: 4px;
}

body.grads-mentor-single .grads-booking-guest-field {
  margin-bottom: 12px;
}

body.grads-mentor-single .grads-booking-guest-qty {
  margin-top: 0;
}

body.grads-mentor-single .grads-booking-date-field {
  margin-bottom: 12px;
}

body.grads-mentor-single .grads-booking-date-wrap {
  position: relative;
}

/* Inline calendar — mentor-profile-v2 mini-cal (theme tokens) */
body.grads-mentor-single .grads-booking-date-inline {
  --grads-cal-ink: #1a1108;
  --grads-cal-muted: #8c7e72;
  --grads-cal-past: #d0c8c0;
  --grads-cal-border: #e8e0d5;
  --grads-cal-accent: var(
    --listeo-primary-color,
    var(--primary-color, #c9922a)
  );
  --grads-cal-accent-soft: color-mix(
    in srgb,
    var(--grads-cal-accent) 14%,
    transparent
  );
  margin-top: 4px;
}

body.grads-mentor-single .grads-booking-date-inline #date-picker {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

body.grads-mentor-single .grads-booking-date-inline::before {
  display: none;
}

body.grads-mentor-single .grads-booking-date-inline .daterangepicker {
  position: static !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  z-index: 1;
}

body.grads-mentor-single .grads-booking-date-inline .daterangepicker:before,
body.grads-mentor-single .grads-booking-date-inline .daterangepicker:after {
  display: none !important;
}

body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  .drp-calendar.left,
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  .drp-calendar.right {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

body.grads-mentor-single
  .grads-booking-date-inline:not(.grads-cal-persian)
  .daterangepicker
  .drp-calendar.right,
body.grads-mentor-single
  .grads-booking-date-inline.grads-cal-persian
  .daterangepicker
  .drp-calendar.left,
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  .drp-buttons,
body.grads-mentor-single .grads-booking-date-inline .daterangepicker .ranges {
  display: none !important;
}

body.grads-mentor-single
  .grads-booking-date-inline.grads-cal-persian
  .daterangepicker
  .drp-calendar.right {
  display: block !important;
}

body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker.calendar-hidden {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  .calendar-table {
  border: 0;
  background: transparent;
}

body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  .calendar-table
  table {
  border-spacing: 3px;
  border-collapse: separate;
}

body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  .calendar-table
  th.month {
  font-size: 15px;
  font-weight: 700;
  color: var(--grads-cal-ink);
  padding: 0 0 10px;
  line-height: 1.3;
}

body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  .calendar-table
  th:not(.month):not(.prev):not(.next) {
  font-size: 12px;
  font-weight: 600;
  color: var(--grads-cal-muted);
  padding-bottom: 6px;
  line-height: 1.3;
}

body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  .calendar-table
  th.prev,
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  .calendar-table
  th.next {
  width: 32px;
  min-width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--grads-cal-border);
  border-radius: 8px;
  color: var(--grads-cal-ink);
  background: transparent;
  vertical-align: middle;
}

body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  .calendar-table
  th.prev
  span,
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  .calendar-table
  th.next
  span {
  padding: 4px;
  border-color: var(--grads-cal-muted);
}

body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  .calendar-table
  td {
  position: relative;
  font-size: 14px;
  min-width: 36px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  padding: 0;
  border-radius: 8px;
  border: 1.5px solid transparent;
  background: transparent !important;
  color: var(--grads-cal-ink);
  transition:
    background 0.12s,
    border-color 0.12s,
    color 0.12s;
}
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  .calendar-table
  td:hover,
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  .calendar-table
  td:active {
  border-radius: 8px;
}

/* Reset Listeo green / pink availability blocks */
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  .calendar-table
  td.available:not(.active, .in-range, .disabled, :hover),
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker.daterangepicker
  td.disabled,
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker.daterangepicker
  option.disabled,
body.grads-mentor-single .grads-booking-date-inline .daterangepicker td.off,
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  td.disabled,
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  td.in-range {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

body.grads-mentor-single .grads-booking-date-inline .daterangepicker td.off,
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  td.disabled,
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker.daterangepicker
  td.disabled,
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  td.off.in-range,
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  td.off.start-date,
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  td.off.end-date {
  color: var(--grads-cal-past) !important;
  opacity: 1;
  text-decoration: none;
  cursor: default;
  pointer-events: none;
}

body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  td.available:hover,
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  th.available:hover,
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  th.prev:hover,
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  th.next:hover {
  background: var(--grads-cal-accent-soft) !important;
  border-color: var(--grads-cal-border) !important;
  color: var(--grads-cal-ink) !important;
}

body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  td.available:not(.off):not(.disabled):not(.active) {
  font-weight: 700;
  color: var(--grads-cal-ink);
}

/* Availability dot — bookable days (including selected) */
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  td.active::after,
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  td.start-date::after,
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  td.end-date::after,
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  td.available:not(.off):not(.disabled)::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--grads-cal-accent);
  pointer-events: none;
}

body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  td.today:not(.active) {
  border-color: var(--grads-cal-accent);
  font-weight: 700;
}

body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  td.available:not(.off):not(.disabled):not(.active):hover {
  background: var(--grads-cal-accent-soft) !important;
  color: var(--grads-cal-ink) !important;
  border-color: transparent !important;
}

/* Selected day — outline, not solid fill */
body.grads-mentor-single .grads-booking-date-inline .daterangepicker td.active,
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  td.active:hover,
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  td.start-date,
body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker
  td.end-date {
  background: transparent !important;
  color: var(--grads-cal-ink) !important;
  border-color: var(--grads-cal-accent) !important;
  font-weight: 700;
}

body.grads-mentor-single .grads-booking-date-inline .daterangepicker.rtl {
  direction: rtl;
  text-align: right;
}

body.grads-mentor-single
  .grads-booking-date-inline
  .daterangepicker.rtl
  .calendar-table {
  padding-right: 0;
}

body.grads-mentor-single .grads-booking-date-summary {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #8c7e72;
  font-weight: 600;
}

body.grads-mentor-single
  .grads-booking-date-field.has-value
  .grads-booking-date-summary {
  color: #1a1108;
}

body.grads-mentor-single .grads-booking-date-wrap::before {
  content: "\f073";
  font-family: "FontAwesome";
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--listeo-primary-color, var(--primary-color, #c9922a));
  font-size: 15px;
  pointer-events: none;
  z-index: 1;
}

body.grads-mentor-single .grads-mentor-booking-card #date-picker {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px 10px 42px;
  padding-inline-start: 42px;
  padding-inline-end: 14px;
  border: 1.5px solid #e8e0d5;
  border-radius: 12px;
  background: #faf7f2;
  font-size: 14px;
  font-weight: 700;
  color: #1a1108;
  text-align: start;
  direction: ltr;
  unicode-bidi: isolate;
  cursor: pointer;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}

body.grads-mentor-single .grads-booking-date-field.is-empty #date-picker {
  color: #8c7e72;
  font-weight: 600;
}

body.grads-mentor-single .grads-booking-date-field.has-value #date-picker {
  border-color: var(--listeo-primary-color, var(--primary-color, #c9922a));
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201, 146, 42, 0.12);
}

/* Time slots — auto-fill grid, flattened panel */
body.grads-mentor-single
  .grads-mentor-booking-card
  .grads-mentor-slots-panel
  > a {
  display: none;
}

body.grads-mentor-single
  .grads-mentor-booking-card
  .time-slots-dropdown.has-slots
  .no-slots-information {
  display: none !important;
}

body.grads-mentor-single
  .grads-mentor-booking-card
  .time-slots-dropdown
  .panel-dropdown-scrollable.grads-mentor-time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 6px;
  max-height: none !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.grads-mentor-single
  .grads-mentor-booking-card
  .grads-mentor-time-slots-grid
  .time-slot,
body.grads-mentor-single
  .grads-mentor-booking-card
  .grads-mentor-time-slots-grid
  .grads-mentor-time-slot {
  width: 100%;
  float: none;
  margin: 0;
}

body.grads-mentor-single
  .grads-mentor-booking-card
  .grads-mentor-time-slots-grid
  .time-slot
  label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  height: 100%;
  margin-bottom: 0 !important;
  padding: 8px 6px !important;
  text-align: center;
}

/* Time slots — LTR digits inside RTL layout; "تا" stays natural Persian */
body.grads-mentor-single .grads-mentor-booking-card .time-slot label strong {
  display: block;
  text-align: center;
}

body.grads-mentor-single .grads-mentor-booking-card .time-slot label > p.day {
  display: none;
}

body.grads-mentor-single
  .grads-mentor-booking-card
  .grads-mentor-time-slot
  label
  > span {
  display: none !important;
}

body.grads-mentor-single .grads-mentor-booking-card .booking-estimated-cost {
  display: block !important;
  margin-top: 12px;
}

body.grads-mentor-single
  .grads-mentor-booking-card
  .grads-booking-price-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  line-height: 1.5;
}

body.grads-mentor-single .grads-mentor-booking-card .grads-booking-price-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

body.grads-mentor-single
  .grads-mentor-booking-card
  .grads-booking-price-line-label {
  color: var(--gg-text-muted, #64748b);
}

body.grads-mentor-single
  .grads-mentor-booking-card
  .grads-booking-price-line-value {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

body.grads-mentor-single .grads-mentor-booking-card .grads-booking-price-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--gg-border, #e2e8f0);
  font-weight: 700;
}

body.grads-mentor-single
  .grads-mentor-booking-card
  .grads-booking-price-total-value {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

body.grads-mentor-single .grads-mentor-booking-card .grads-booking-price-empty,
body.grads-mentor-single
  .grads-mentor-booking-card
  .grads-booking-price-loading {
  margin: 0;
  color: var(--gg-text-muted, #64748b);
}

body.grads-mentor-single
  .grads-mentor-booking-card.is-price-loading
  .grads-booking-price-breakdown {
  opacity: 0.7;
}

body.grads-mentor-single .grads-mentor-booking-card .grads-time-range {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.15em;
  max-width: 100%;
}

body.grads-mentor-single .grads-mentor-booking-card .grads-time-part {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  unicode-bidi: isolate;
  white-space: nowrap;
}

body.grads-mentor-single
  .grads-mentor-booking-card
  .grads-time-part[dir="rtl"] {
  direction: rtl;
}

body.grads-mentor-single
  .grads-mentor-booking-card
  .grads-time-part[dir="ltr"] {
  direction: ltr;
}

body.grads-mentor-single .grads-mentor-booking-card .grads-time-value {
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}

body.grads-mentor-single .grads-mentor-booking-card .grads-time-ampm {
  font-size: 0.92em;
  unicode-bidi: isolate;
  white-space: nowrap;
}

body.grads-mentor-single .grads-mentor-booking-card .grads-time-sep {
  font-weight: 600;
  color: #8c7e72;
  unicode-bidi: isolate;
}

body.grads-mentor-booking-confirmation
  #booking-confirmation-summary
  .grads-time-range {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.15em;
  max-width: 100%;
}

body.grads-mentor-booking-confirmation
  #booking-confirmation-summary
  .grads-time-part {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  unicode-bidi: isolate;
  white-space: nowrap;
}

body.grads-mentor-booking-confirmation
  #booking-confirmation-summary
  .grads-time-part[dir="rtl"] {
  direction: rtl;
}

body.grads-mentor-booking-confirmation
  #booking-confirmation-summary
  .grads-time-part[dir="ltr"] {
  direction: ltr;
}

body.grads-mentor-booking-confirmation
  #booking-confirmation-summary
  .grads-time-value {
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}

body.grads-mentor-booking-confirmation
  #booking-confirmation-summary
  .grads-time-ampm {
  font-size: 0.92em;
  unicode-bidi: isolate;
  white-space: nowrap;
}

body.grads-mentor-booking-confirmation
  #booking-confirmation-summary
  .grads-time-sep {
  font-weight: 600;
  color: #8c7e72;
  unicode-bidi: isolate;
}

body.grads-mentor-my-bookings #booking-requests .grads-time-range,
body.grads-mentor-bookings-dashboard #booking-requests .grads-time-range {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15em;
}

body.grads-mentor-my-bookings #booking-requests .grads-time-part,
body.grads-mentor-bookings-dashboard #booking-requests .grads-time-part {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  unicode-bidi: isolate;
  white-space: nowrap;
}

body.grads-mentor-my-bookings #booking-requests .grads-time-part[dir="rtl"],
body.grads-mentor-bookings-dashboard
  #booking-requests
  .grads-time-part[dir="rtl"] {
  direction: rtl;
}

body.grads-mentor-my-bookings #booking-requests .grads-time-part[dir="ltr"],
body.grads-mentor-bookings-dashboard
  #booking-requests
  .grads-time-part[dir="ltr"] {
  direction: ltr;
}

body.grads-mentor-my-bookings #booking-requests .grads-time-value,
body.grads-mentor-bookings-dashboard #booking-requests .grads-time-value {
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}

body.grads-mentor-my-bookings #booking-requests .grads-time-ampm,
body.grads-mentor-bookings-dashboard #booking-requests .grads-time-ampm {
  font-size: 0.92em;
  unicode-bidi: isolate;
  white-space: nowrap;
}

body.grads-mentor-my-bookings #booking-requests .grads-time-sep,
body.grads-mentor-bookings-dashboard #booking-requests .grads-time-sep {
  font-weight: 600;
  color: #8c7e72;
  unicode-bidi: isolate;
}

.grads-bacs-payment-instructions {
  margin: 0 0 1.5rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid #e3dbcf;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(47, 38, 31, 0.06);
  text-align: start;
  font-size: 16px;
  line-height: 1.65;
}

.grads-bacs-payment-instructions__lead {
  margin: 0 0 1rem !important;
  padding-bottom: 1rem !important;
  border-bottom: 1px solid #efe8de;
  font-size: 14px;
  line-height: 1.75;
  color: #3d342c;
}

.grads-bacs-payment-instructions .woocommerce-bacs-bank-details {
  margin: 0;
}

.grads-bacs-payment-instructions .woocommerce-bacs-bank-details > p {
  margin: 0 0 1rem;
  font-size: 14px;
  line-height: 1.7;
  color: #3d342c;
}

.grads-bacs-payment-instructions .wc-bacs-bank-details-heading {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #2f261f;
}

.grads-bacs-payment-instructions .wc-bacs-bank-details-account-name {
  margin: 0 0 0.85rem;
  font-size: 14px;
  font-weight: 600;
  color: #3d342c;
}

.grads-bacs-payment-instructions ul.wc-bacs-bank-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  max-width: 100%;
}

.grads-bacs-payment-instructions ul.wc-bacs-bank-details li {
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: #faf7f2;
  font-size: 14px;
  line-height: 1.6;
  color: #3d342c;
}

.grads-bacs-payment-instructions ul.wc-bacs-bank-details li strong {
  font-weight: 700;
  color: #2f261f;
  unicode-bidi: plaintext;
  word-break: break-word;
}

.booking-confirmation-page .grads-bacs-payment-instructions,
.booking-card .grads-bacs-payment-instructions {
  max-width: 100%;
}

.grads-booking-success.booking-confirmation-page {
  max-width: 36rem;
  margin: 2rem auto 3rem;
  padding: 0 1rem;
  text-align: center;
}

.grads-booking-success.booking-confirmation-page > .fa-check-circle,
.grads-booking-success.booking-confirmation-page > .fa-exclamation-circle,
.grads-booking-success.booking-confirmation-page > h2.margin-top-30 {
  display: none;
}

.grads-booking-success__hero {
  margin-bottom: 1.75rem;
}

.grads-booking-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 2rem;
  line-height: 1;
}

.grads-booking-success__icon--error {
  background: #fdecea;
  color: #c62828;
}

.grads-booking-success__title {
  margin: 0.5rem 0 0.5rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: #2f261f;
}

.grads-booking-success__subtitle,
.grads-booking-success__message {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #4a4038;
}

.grads-booking-success__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.25rem;
}

.grads-booking-success__actions .button {
  margin: 0;
  min-width: 10rem;
}

.grads-booking-success__actions .button.grads-booking-success__receipt {
  background: #faf7f2;
  border: 1px solid #e3dbcf;
  color: #3d342c;
}

.grads-booking-success .registration-confirmation-info {
  margin: 0 0 1.25rem;
  font-size: 14px;
  line-height: 1.65;
  color: #4a4038;
}

body.grads-mentor-booking-confirmation
  .booking-confirmation-page.grads-booking-success {
  max-width: 40rem;
}

body.grads-mentor-order-received .woocommerce-order.grads-order-received {
  max-width: 42rem;
  margin: 2rem auto 3rem;
  padding: 0 1rem;
}

body.grads-mentor-order-received .grads-order-received-card.booking-card {
  background: #fff;
  border: 1px solid #e3dbcf;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(47, 38, 31, 0.06);
  overflow: hidden;
}

body.grads-mentor-order-received
  .grads-order-received-card
  .grads-booking-success__hero {
  padding: 1.75rem 1.5rem 0;
  text-align: center;
}

body.grads-mentor-order-received
  .grads-order-received-card
  .booking-content-grid {
  padding: 1.25rem 1.5rem 0.5rem;
}

body.grads-mentor-order-received
  .grads-order-received-card
  .booking-section-header {
  margin-bottom: 0.85rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: #faf7f2;
}

body.grads-mentor-order-received
  .grads-order-received-card
  .booking-section-header
  h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #3d342c;
}

body.grads-mentor-order-received .grads-order-received-details {
  display: grid;
  gap: 0.65rem;
}

body.grads-mentor-order-received
  .grads-order-received-details
  .booking-detail-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: #faf7f2;
}

body.grads-mentor-order-received
  .grads-order-received-details
  .booking-date-label {
  font-size: 14px;
  color: #4a4038;
}

body.grads-mentor-order-received
  .grads-order-received-details
  .booking-date-value {
  font-size: 14px;
  font-weight: 700;
  color: #2f261f;
  text-align: end;
}

body.grads-mentor-order-received .grads-order-received-details .booking-price {
  unicode-bidi: plaintext;
}

body.grads-mentor-order-received
  .grads-order-received-card
  .booking-address-info {
  display: grid;
  gap: 0.35rem;
  font-size: 16px;
  line-height: 1.65;
  color: #3d342c;
}
.booking-card .avatar {
  margin-right: 0 !important;
  margin-left: 10px;
}
body.grads-mentor-order-received
  .grads-order-received-card
  .booking-card-footer {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid #efe8de;
  margin-top: 0.5rem;
}

body.grads-mentor-order-received .grads-order-received-card .booking-actions {
  justify-content: center;
  padding-top: 1.25rem;
}

body.grads-mentor-order-received .notification.woo-summary,
body.grads-mentor-order-received ul.order_details {
  /* display: none; */
}

body.grads-mentor-order-received .woocommerce-customer-details,
body.grads-mentor-order-received .woocommerce-order-details {
  display: none;
}

body.grads-mentor-order-received .grads-bacs-payment-instructions {
  margin-top: 0.25rem;
}

.bookable-services input[type="radio"] + label,
.bookable-services input[type="checkbox"] + label,
body.grads-mentor-single .grads-mentor-booking-card .time-slot label {
  border: 1.5px solid #e8e0d5 !important;
  border-radius: 12px !important;
  background: #faf7f2 !important;
  margin-bottom: 8px;
  transition:
    border-color 0.18s,
    background 0.18s,
    color 0.18s;
}
.booking-widget .panel-dropdown .panel-dropdown-content:before {
  display: none;
}
.bookable-services input[type="radio"] + label span,
.bookable-services input[type="checkbox"] + label span,
body.grads-mentor-single .grads-mentor-booking-card .time-slot label span {
  opacity: 1;
  color: #8c7e72;
  font-size: 11px;
  margin-top: 2px;
}
body.grads-mentor-single
  .grads-mentor-booking-card
  .bookable-services
  input[type="radio"]:checked
  + label,
body.grads-mentor-single
  .grads-mentor-booking-card
  .bookable-services
  input[type="checkbox"]:checked
  + label,
body.grads-mentor-single
  .grads-mentor-booking-card
  .time-slot
  input:checked
  ~ label {
  background: var(
    --listeo-primary-color,
    var(--primary-color, #f91942)
  ) !important;
  border-color: var(
    --listeo-primary-color,
    var(--primary-color, #f91942)
  ) !important;
  color: #1a1108 !important;
}

body.grads-mentor-single
  .grads-mentor-booking-card
  .bookable-services
  input[type="radio"]:checked
  + label
  .single-service-price,
body.grads-mentor-single
  .grads-mentor-booking-card
  .bookable-services
  input[type="checkbox"]:checked
  + label
  .single-service-price,
body.grads-mentor-single
  .grads-mentor-booking-card
  .time-slot
  input:checked
  ~ label
  span {
  color: #ffffff !important;
}
.bookable-services
  input[type="checkbox"]:checked
  + label
  .single-service-price {
  background-color: var(
    --listeo-primary-color-light,
    var(--primary-color-light, #f919421a)
  ) !important;
}

body.grads-mentor-single .grads-mentor-booking-card__body.widget,
body.grads-mentor-single
  .grads-mentor-booking-card
  .grads-mentor-booking-widget,
body.grads-mentor-single
  .grads-mentor-booking-card
  .grads-listing-sidebar-shell
  > .widget {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

body.grads-mentor-single .grads-mentor-booking-card__guarantee {
  margin: 0;
  padding: 12px 18px 16px;
  text-align: center;
  font-size: 12px;
  color: #8c7e72;
}

body.grads-mentor-single .grads-mentor-tz-notice {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(60, 120, 200, 0.07);
  border: 1px solid rgba(60, 120, 200, 0.15);
  font-size: 12px;
  color: #6090cc;
}

/* Duration / bookable services — 2-column grid, price under title, no scroll */
body.grads-mentor-single
  .grads-mentor-booking-card
  .booking-services
  .panel-dropdown-scrollable {
  max-height: none !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.grads-mentor-single
  .grads-mentor-booking-card
  .grads-mentor-services-content {
  padding: 0 !important;
}

body.grads-mentor-single
  .grads-mentor-booking-card
  .bookable-services.grads-mentor-booking-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 12px;
  padding: 0;
  list-style: none;
}
body.grads-mentor-single .grads-mentor-booking-card .bookable-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1 1 auto;
}
body.grads-mentor-single
  .grads-mentor-booking-card
  .bookable-services
  .single-service {
  width: 100%;
  float: none;
  margin: 0;
  overflow: visible;
}

body.grads-mentor-single
  .grads-mentor-booking-card
  .bookable-services
  .single-service
  .qtyButtons {
  display: none;
}

body.grads-mentor-single
  .grads-mentor-booking-card
  .bookable-services
  input[type="radio"]
  + label,
body.grads-mentor-single
  .grads-mentor-booking-card
  .bookable-services
  input[type="checkbox"]
  + label,
body.grads-mentor-single
  .grads-mentor-booking-card
  .bookable-services
  .grads-mentor-service-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  min-height: 0;
  padding: 8px 6px !important;
  margin-bottom: 0 !important;
  text-align: center;
  line-height: 1.25;
}

body.grads-mentor-single
  .grads-mentor-booking-card
  .bookable-services
  .single-service
  h5 {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  float: none;
}

body.grads-mentor-single
  .grads-mentor-booking-card
  .bookable-services
  .single-service-price {
  position: static;
  top: auto;
  right: auto;
  transform: none;
  display: block;
  margin: 0;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

body.grads-mentor-single
  .grads-mentor-booking-card
  .grads-mentor-booking-services-grid
  li {
  flex: none;
  min-width: 0;
  margin: 0;
  padding: 0;
}

body.grads-mentor-single .grads-mentor-service-btn {
  display: block;
  width: 100%;
  border: 1.5px solid #e8e0d5;
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  color: #1a1108;
  transition:
    border-color 0.18s,
    background 0.18s,
    color 0.18s;
  margin: 0;
}

body.grads-mentor-single .grads-mentor-service-btn.is-active {
  border-color: #c9922a;
  background: rgba(201, 146, 42, 0.1);
  color: #c9922a;
}

body.grads-mentor-single .grads-mentor-service-btn input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Inline calendar inside booking card (legacy panel-dropdown path) */
body.grads-mentor-single
  .grads-mentor-booking-card
  .grads-mentor-date-inline
  .daterangepicker,
body.grads-mentor-single
  .grads-mentor-booking-card
  .panel-dropdown-content
  .daterangepicker {
  position: static !important;
  display: block !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  margin: 0 0 12px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

body.grads-mentor-single .grads-mentor-booking-card .panel-dropdown > a {
  display: none;
}

body.grads-mentor-single .grads-mentor-booking-card .panel-dropdown-content {
  display: block !important;
  position: static;
  opacity: 1;
  visibility: visible;
  padding: 0;
  border: 0;
  box-shadow: none;
  /* Listeo sets pointer-events:none until .active; we keep panels open without the trigger. */
  pointer-events: auto !important;
}

/* Coupon — Listeo uses display:flex!important so jQuery .toggle() cannot hide it */
body.grads-mentor-single
  .grads-mentor-booking-card
  .coupon-widget-wrapper:not(.is-coupon-open)
  .coupon-form {
  display: none !important;
}

body.grads-mentor-single
  .grads-mentor-booking-card
  .coupon-widget-wrapper.is-coupon-open
  .coupon-form {
  display: flex !important;
  margin-top: 5px;
}

body.grads-mentor-single
  .grads-mentor-booking-card
  .coupon-form
  .listeo-booking-widget-apply_new_coupon {
  border-radius: 5px;
  width: fit-content;
}

@media (max-width: 768px) {
  body.grads-mentor-single .hero-mentor-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  body.grads-mentor-single .hero-mentor-inner__stats {
    justify-content: center;
  }

  body.grads-mentor-single .grads-mentor-services-grid {
    grid-template-columns: 1fr;
  }
}
