.dokan-see-gallery-btn.disabled {
  background-color: #ccc !important;
  color: #666 !important;
  cursor: not-allowed;
  pointer-events: none;
}

.dokan-see-gallery-btn.disabled:hover {
  background-color: #ccc;
}

.button-container {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.button-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  width: 100%;
}

.dokan-share-btn,
.dokan-store-support-btn,
.dokan-see-gallery-btn {
  align-items: center;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  justify-content: center;
  padding: 8px 12px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dokan-see-gallery-btn {
  background-color: #28a745;
  color: #fff;
}

.dokan-see-gallery-btn:hover {
  background-color: #1e7e34;
}

.dokan-share-btn.dokan-btn-theme {
  background-color: #0073aa;
  color: #fff;
}

.dokan-share-btn.dokan-btn-theme:hover {
  background-color: #005177;
}

.dokan-store-support-btn.dokan-btn-theme {
  background-color: #668b92;
  color: #fff;
}

.dokan-store-support-btn.dokan-btn-theme:hover {
  background-color: #005177;
  color: #fff;
}

.profile-table {
  border-collapse: collapse;
  width: 100%;
}

.profile-table td {
  border: none;
  padding: 15px;
  vertical-align: top;
}

.profile-info-summery,
.profile-info-summery h3,
.profile-info-summery p,
.profile-info-summery li {
  color: #000;
}

.profile-info-summery h3 {
  font-weight: bold;
}

.profile-info-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.profile-img {
  flex-shrink: 0;
  margin-right: 20px;
}

.avatar-img {
  border-radius: 50%;
  height: 150px;
  object-fit: cover;
  width: 150px;
}

.vendor-name {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.store-name {
  color: #000;
  margin: 0;
}

.profile-info-bio {
  color: #000;
  margin: 10px 0;
}

.vendor-biography-inline p {
  line-height: 1.5;
  margin: 0;
}

.profile-info-table {
  color: #000;
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}

.info-column {
  box-sizing: border-box;
  flex: 1;
  min-width: 200px;
  padding: 10px;
}

.vendor-certifications,
.vendor-teaching-locations,
.vendor-travel-radius,
.vendor-languages,
.vendor-other-languages {
  margin-bottom: 10px;
}

.vendor-certifications h3,
.vendor-teaching-locations h3,
.vendor-travel-radius h3,
.vendor-languages h3,
.vendor-other-languages h3 {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 5px;
}

.vendor-certifications ul,
.vendor-teaching-locations ul,
.vendor-languages ul,
.vendor-other-languages ul {
  list-style-type: disc;
  margin: 5px 0;
  padding-left: 15px;
}

.vendor-travel-radius p {
  margin: 5px 0;
}

.reviews-section {
  align-items: center;
  color: #000;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  text-align: center;
}

.dokan-store-rating i {
  color: #ffd700;
  margin-right: 5px;
}

.star-rating {
  color: #ffd700;
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  margin-bottom: 5px;
  position: relative;
}

.star-rating::before {
  color: #ccc;
  content: "\2605\2605\2605\2605\2605";
}

.star-rating span {
  color: #ffd700;
  display: block;
  height: 100%;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
}

.rating-label,
.rating-count {
  color: #555;
  font-size: 14px;
  margin-left: 5px;
}

.view-all-reviews {
  background-color: #0073aa;
  border-radius: 5px;
  color: #fff;
  margin-top: 10px;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.view-all-reviews:hover:not(.disabled) {
  background-color: #005177;
}

.view-all-reviews.disabled {
  background-color: #ccc !important;
  color: #666 !important;
  cursor: not-allowed;
  pointer-events: none;
}

.gallery-modal {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
  box-sizing: border-box;
  display: none;
  height: 100%;
  justify-content: center;
  left: 0;
  overflow: auto;
  padding: 20px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.gallery-modal-content {
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  overflow: hidden;
  position: relative;
  width: 80%;
}

.gallery-modal-close {
  background: transparent;
  border: none;
  color: #000;
  cursor: pointer;
  font-size: 30px;
  font-weight: bold;
  position: absolute;
  right: 15px;
  top: 10px;
  transition: color 0.3s ease;
  z-index: 1001;
}

.gallery-modal-close:hover,
.gallery-modal-close:focus {
  color: #f00;
  outline: none;
  text-decoration: none;
}

.gallery-carousel {
  height: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.gallery-slide {
  display: none;
}

.gallery-slide.active {
  display: block;
}

.gallery-slide img {
  display: block;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  width: 100%;
}

.prev,
.next {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 3px;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  margin-top: -22px;
  padding: 16px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0.6s ease;
  user-select: none;
  width: auto;
  z-index: 1001;
}

.next {
  border-radius: 3px 0 0 3px;
  right: 10px;
}

.prev {
  border-radius: 0 3px 3px 0;
  left: 10px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.image-counter {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 3px;
  bottom: 15px;
  color: #fff;
  font-size: 14px;
  left: 50%;
  padding: 5px 10px;
  position: absolute;
  transform: translateX(-50%);
  z-index: 1001;
}

.dokan-store-support-btn {
  display: block;
  margin: 0 auto;
  max-width: 200px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media screen and (max-width: 700px) {
  .gallery-modal-content {
    width: 95%;
  }

  .prev,
  .next {
    font-size: 16px;
    padding: 12px;
  }

  .image-counter {
    font-size: 12px;
    padding: 4px 8px;
  }
}

@media (max-width: 768px) {
  .profile-table,
  .profile-table tr {
    display: block;
  }

  .profile-table td {
    display: block;
    padding: 10px;
    width: 100%;
  }

  .profile-info-head,
  .profile-info-table,
  .button-container,
  .button-row {
    flex-direction: column;
  }

  .profile-img {
    margin-bottom: 10px;
    margin-right: 0;
  }

  .vendor-name {
    text-align: center;
  }

  .info-column {
    padding: 5px 0;
    width: 100%;
  }

  .reviews-section {
    margin-top: 10px;
    width: 100%;
  }

  .button-container,
  .button-row {
    align-items: center;
    justify-content: center;
  }

  .dokan-btn-theme {
    width: 100%;
  }
}
