/* Business Card */
.business-card {
  background: white;
  overflow: hidden;
  margin-bottom: 0;
}

/* Banner */
.business-banner {
  height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 80px;
  padding-top: 15px;
  overflow: hidden;
}
.business-banner-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background-color: rgba(255, 255, 255, 0.8);
  background-blend-mode: overlay;
}
.business-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background-color: rgba(159, 109, 203, 0.65);
}
.business-banner-content {
  color: white;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
}
.business-title {
  font-size: 48px;
  font-weight: 700;
  color: white;
  margin: 0 0 24px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Info badges */
.grooming-badge-item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 40px;
  backdrop-filter: blur(4px);
}
.grooming-badge-days {
  font-weight: 600;
  color: white;
}
.grooming-badge-time {
  color: white;
}

/* Avatar */
.business-avatar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  margin-top: -70px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 10;
}
.business-avatar-container {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: white;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}
.business-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.business-avatar-placeholder {
  width: 100%;
  height: 100%;
  background-color: #544864;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  font-weight: bold;
}

/* Grooming badge */
.grooming-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #9F6DCB;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}
.grooming-badge:hover {
  background-color: #8b5cb8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(159, 109, 203, 0.3);
}
.grooming-badge-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}
.grooming-badge-text {
  color: white;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

/* Description */
.business-description {
  padding: 0 2rem;
  margin: 0 0 1rem 0;
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
}

/* Masters Section */
.masters-section {
  padding: 3rem 2rem;
  background: #f8f9fa;
}
.masters-container {
  max-width: 1200px;
  margin: 0 auto;
}
.masters-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.masters-title {
  font-size: 2rem;
  font-weight: 600;
  color: #3B2F2A;
  margin: 0;
}
.masters-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.master-card {
  text-align: center;
  transition: transform 0.3s ease;
}
.master-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto 1rem;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #A85A45 0%, #8A4A37 100%);
}
.master-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.master-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #A85A45 0%, #8A4A37 100%);
}
.master-card-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #3B2F2A;
  margin: 0.75rem 0 0;
}
.master-divider {
  width: 100px;
  height: 1px;
  background: #A85A45;
  margin: 1rem auto;
  opacity: 0.5;
}
.master-card-description {
  font-size: 0.9rem;
  color: #6F5E55;
  line-height: 1.4;
  margin: 0;
}

/* Booking widget container */
.booking-widget-container {
  margin: 16px 0 24px;
}

/* Map */
.business-map {
  width: 100%;
  margin: 0;
  line-height: 0;
}
.business-map #branch-map {
  width: 100%;
  height: 400px;
  border-radius: 0;
  border: none;
}

/* FAB */
.fab-booking {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9f6dcb 0%, #7b3fa0 100%);
  color: white;
  border: none;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(159, 109, 203, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  white-space: normal;
  word-break: break-word;
  padding: 16px;
}
.fab-booking:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(159, 109, 203, 0.5);
}

@media (max-width: 768px) {
  .business-card {
    margin: 0 -20px;
    border-radius: 0;
  }
  .business-banner {
    height: 250px;
    padding-bottom: 60px;
    padding-top: 10px;
  }
  .business-title {
    font-size: 36px;
    margin-bottom: 18px;
  }
  .grooming-badge-item {
    font-size: 12px;
    padding: 4px 10px;
  }
  .grooming-badge {
    padding: 6px 12px;
    font-size: 12px;
  }
  .business-avatar-wrapper {
    margin-top: -55px;
    padding: 0 1rem;
    margin-bottom: 0.75rem;
  }
  .business-avatar-container {
    width: 100px;
    height: 100px;
  }
  .business-description {
    padding: 0 1rem;
    font-size: 0.95rem;
  }
  .masters-section {
    padding: 2rem 1rem;
  }
  .masters-title {
    font-size: 1.5rem;
  }
  .masters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .business-map #branch-map {
    height: 350px;
  }
  .fab-booking {
    width: 80px;
    height: 80px;
    font-size: 14px;
    bottom: 16px;
    right: 16px;
    padding: 12px;
  }
}

@media (max-width: 600px) {
  .business-card {
    margin: 0 -12px;
  }
}

@media (max-width: 480px) {
  .business-banner {
    height: 200px;
    padding-bottom: 20px;
    padding-top: 10px;
  }
  .business-title {
    font-size: 32px;
    margin-bottom: 16px;
  }
  .grooming-badge-item {
    font-size: 9px;
    padding: 2px 7px;
  }
  .grooming-badge {
    font-size: 9px;
    padding: 2px 7px;
  }
  .business-avatar-wrapper {
    margin-top: -45px;
  }
  .business-avatar-container {
    width: 80px;
    height: 80px;
  }
  .grooming-badge {
    padding: 0.35rem 0.7rem;
  }
  .grooming-badge-icon {
    width: 16px;
    height: 16px;
  }
  .grooming-badge-text {
    font-size: 11px;
  }
  .business-map #branch-map {
    height: 300px;
  }
  .masters-grid {
    grid-template-columns: 1fr;
  }
}