/* File: static/css/services/service_detail.css */

/* ==================================================
   SERVICE DETAIL PAGE STYLES
   ================================================== */

.service-detail-page {
  background: linear-gradient(135deg, var(--linen-white) 0%, #faf9f7 50%, var(--linen-white) 100%);
  min-height: calc(100vh - var(--header-height));
}

/* ==================================================
   BREADCRUMBS SECTION
   ================================================== */
.breadcrumbs-section {
  background: var(--linen-white);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(161, 141, 163, 0.1);
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.breadcrumb-item {
  color: var(--soft-mauve);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: var(--rose-quartz);
  font-weight: 600;
  margin: 0 0.5rem;
}

.breadcrumb-item a {
  color: var(--soft-mauve);
  text-decoration: none;
  transition: var(--transition-fast); 
}

.breadcrumb-item a:hover {
  color: var(--charcoal-plum);
}

.breadcrumb-item.active {
  color: var(--charcoal-plum);
  font-weight: 500;
}

/* ==================================================
   SERVICE HEADER
   ================================================== */
.service-header {
  background: white;
  padding: 3rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.service-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 60%, rgba(230, 183, 193, 0.05) 100%);
  pointer-events: none;
}

.service-title-section {
  position: relative;
  z-index: 2;
}

.service-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--rose-quartz), var(--soft-mauve));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.service-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--charcoal-plum);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--charcoal-plum);
  font-weight: 500;
}

.meta-item i {
  color: var(--rose-quartz);
  width: 18px;
  text-align: center;
}

.meta-item .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--soft-mauve);
}

/* ==================================================
   FAVORITE BUTTON INTEGRATIONS
   ================================================== */

/* Hero Section Favorite Button */
.service-hero-actions .hero-favorite-btn {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--rose-quartz);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1.5rem;
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--charcoal-plum);
  box-shadow: var(--shadow-sm);
}

.service-hero-actions .hero-favorite-btn:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-hero-actions .hero-favorite-btn.favorited {
  background: var(--rose-quartz);
  color: white;
  border-color: var(--rose-quartz);
}

.service-hero-actions .hero-favorite-btn.favorited:hover {
  background: var(--rose-quartz-dark);
  border-color: var(--rose-quartz-dark);
}

/* Quick Action Favorite Button */
.service-quick-actions .quick-action-favorite {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  transition: var(--transition-fast);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.service-quick-actions .quick-action-favorite:not(.favorited) {
  background: white;
  color: var(--soft-mauve);
  border: 2px solid var(--soft-mauve);
}

.service-quick-actions .quick-action-favorite:not(.favorited):hover {
  color: var(--rose-quartz);
  border-color: var(--rose-quartz);
  background: rgba(230, 183, 193, 0.1);
}

.service-quick-actions .quick-action-favorite.favorited {
  background: var(--rose-quartz);
  color: white;
  border: 2px solid var(--rose-quartz);
  animation: favoriteAdded 0.6s ease-out;
}

.service-quick-actions .quick-action-favorite.favorited:hover {
  background: var(--rose-quartz-dark);
  border-color: var(--rose-quartz-dark);
}

@keyframes favoriteAdded {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Sidebar Favorite Button */
.sidebar-favorite {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--transition-fast);
  font-weight: 600;
}

.sidebar-favorite::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.sidebar-favorite:hover::before {
  left: 100%;
}

.sidebar-favorite:not(.favorited) {
  background: white;
  color: var(--soft-mauve);
  border: 2px solid var(--soft-mauve);
}

.sidebar-favorite:not(.favorited):hover {
  color: var(--rose-quartz);
  border-color: var(--rose-quartz);
  background: rgba(230, 183, 193, 0.1);
}

.sidebar-favorite.favorited {
  background: linear-gradient(135deg, var(--rose-quartz), var(--soft-mauve));
  border: 2px solid var(--rose-quartz);
  color: white;
}

.sidebar-favorite.favorited:hover {
  background: linear-gradient(135deg, var(--rose-quartz-dark), var(--soft-mauve-dark));
  border-color: var(--rose-quartz-dark);
}

/* General Favorite Button States */
.favorite-btn {
  transition: all var(--transition-fast);
  position: relative;
}

.favorite-btn:not(.favorited) {
  color: var(--soft-mauve);
  border-color: var(--soft-mauve);
}

.favorite-btn:not(.favorited):hover {
  color: var(--rose-quartz);
  border-color: var(--rose-quartz);
  background: rgba(230, 183, 193, 0.1);
}

.favorite-btn.favorited {
  background: var(--rose-quartz);
  border-color: var(--rose-quartz);
  color: white;
}

.favorite-btn.favorited:hover {
  background: var(--rose-quartz-dark);
  border-color: var(--rose-quartz-dark);
}

.favorite-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.favorite-btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Favorite Count Styling */
.favorite-count {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-left: 0.25rem;
}

.favorite-btn.favorited .favorite-count {
  font-weight: 600;
}

/* Quick Action Default Styling */
.quick-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(161, 141, 163, 0.2);
  border-radius: var(--radius-lg);
  background: white;
  color: var(--charcoal-plum);
  transition: var(--transition-fast);
  text-decoration: none;
  font-weight: 600;
  min-width: 100px;
}

.quick-action:hover {
  border-color: var(--rose-quartz);
  background: rgba(230, 183, 193, 0.1);
  color: var(--rose-quartz);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.service-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}

.book-btn {
  font-size: 1.125rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--soft-mauve), var(--soft-mauve-dark));
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-fast);
  text-decoration: none;
  text-align: center;
}

.book-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  color: white;
}

/* ==================================================
   CONTENT SECTION
   ================================================== */
.service-content {
  padding: 4rem 0;
}

.content-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

.content-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--charcoal-plum);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(230, 183, 193, 0.2);
}

.section-title i {
  color: var(--rose-quartz);
  width: 24px;
  text-align: center;
}

.service-description {
  color: var(--charcoal-plum);
  line-height: 1.7;
  font-size: 1rem;
}


/* ==================================================
   PROMOTIONS LIST
   ================================================== */
.promotions-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.promotion-card {
  background: linear-gradient(135deg, rgba(244, 214, 160, 0.1), rgba(244, 214, 160, 0.05));
  border: 2px solid var(--champagne-gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: var(--transition-fast);
}

.promotion-card:hover {
  background: linear-gradient(135deg, rgba(244, 214, 160, 0.15), rgba(244, 214, 160, 0.08));
  transform: translateX(4px);
}

.promotion-icon {
  background: var(--champagne-gold);
  color: var(--charcoal-plum);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.promotion-content {
  flex-grow: 1;
}

.promotion-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--charcoal-plum);
  margin-bottom: 0.5rem;
}

.promotion-description {
  color: var(--soft-mauve);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.promotion-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.promo-code {
  background: var(--charcoal-plum);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
}

.promo-code code {
  background: transparent;
  color: var(--champagne-gold);
  font-weight: 700;
  font-size: 1rem;
  padding: 0;
}

.promo-discount {
  background: var(--rose-quartz);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
}

.promo-minimum {
  color: var(--soft-mauve);
  font-style: italic;
}

/* ==================================================
   RELATED SERVICES GRID
   ================================================== */
.related-services-grid {
  display: grid;
  gap: 1rem;
}

.related-service-card {
  background: var(--linen-white);
  border: 1px solid rgba(161, 141, 163, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-fast);
}

.related-service-card:hover {
  background: white;
  border-color: var(--rose-quartz);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.service-info h5 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.service-info h5 a {
  color: var(--charcoal-plum);
  text-decoration: none;
  transition: var(--transition-fast);
}

.service-info h5 a:hover {
  color: var(--rose-quartz);
}

.service-category {
  color: var(--soft-mauve);
  font-size: 0.875rem;
  margin: 0;
}

.service-pricing {
  text-align: right;
}

.service-pricing .price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--soft-mauve);
  display: block;
}

.service-pricing .duration {
  color: var(--soft-mauve);
  opacity: 0.8;
}

/* ==================================================
   SIDEBAR CARDS
   ================================================== */
.sidebar-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 2rem;
}

.sidebar-card .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal-plum);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(230, 183, 193, 0.2);
}

.sidebar-card .card-title i {
  color: var(--rose-quartz);
  width: 20px;
  text-align: center;
}

.sidebar-card .card-body {
  padding: 1.5rem;
  text-align: center;
}

.sidebar-card .card-body h6 {
  font-family: var(--font-display);
  color: var(--charcoal-plum);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ==================================================
   STYLIST CARD
   ================================================== */
.stylist-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stylist-avatar {
  position: relative;
  flex-shrink: 0;
}

.avatar-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--rose-quartz);
}

.avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--rose-quartz), var(--soft-mauve));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: 700;
  border: 3px solid var(--rose-quartz);
}

.verified-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: var(--success-color);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  border: 2px solid white;
}

.stylist-info {
  flex-grow: 1;
}

.stylist-name {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.stylist-name a {
  color: var(--charcoal-plum);
  text-decoration: none;
  transition: var(--transition-fast);
}

.stylist-name a:hover {
  color: var(--rose-quartz);
}

.salon-name {
  color: var(--soft-mauve);
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.stylist-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.rating-stars {
  display: flex;
  gap: 0.125rem;
}

.rating-stars i {
  color: #ddd;
  font-size: 0.875rem;
}

.rating-stars i.filled {
  color: var(--champagne-gold);
}

.rating-score {
  font-weight: 600;
  color: var(--charcoal-plum);
  font-size: 0.95rem;
}

.rating-count {
  color: var(--soft-mauve);
  font-size: 0.875rem;
}

.no-rating {
  color: var(--soft-mauve);
  font-size: 0.875rem;
  font-style: italic;
}

.stylist-details {
  margin-bottom: 1.5rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--charcoal-plum);
  font-size: 0.95rem;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-item i {
  color: var(--rose-quartz);
  width: 16px;
  text-align: center;
}

.stylist-actions .btn {
  margin-bottom: 0.5rem;
}

.btn-block {
  width: 100%;
  display: block;
  text-align: center;
}

/* ==================================================
   BOOKING INFO CARD
   ================================================== */
.booking-details {
  margin-bottom: 1.5rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(161, 141, 163, 0.1);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  color: var(--soft-mauve);
  font-weight: 500;
  font-size: 0.95rem;
}

.detail-value {
  color: var(--charcoal-plum);
  font-weight: 600;
  font-size: 0.95rem;
}

.availability-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(181, 214, 167, 0.1);
  border-radius: var(--radius-lg);
  border: 1px solid var(--success-color);
  font-weight: 500;
}

.availability-status.warning {
  background: rgba(244, 214, 160, 0.1);
  border-color: var(--warning-color);
}

/* ==================================================
   LOCATION CARD
   ================================================== */
.location-details {
  margin-bottom: 1.5rem;
}

.address {
  margin-bottom: 1rem;
}

.address .salon-name {
  font-weight: 600;
  color: var(--charcoal-plum);
  margin-bottom: 0.5rem;
}

.address-text {
  color: var(--soft-mauve);
  line-height: 1.5;
  margin: 0;
}

.contact-info {
  margin-bottom: 0.5rem;
}

.contact-link {
  color: var(--soft-mauve);
  text-decoration: none;
  transition: var(--transition-fast);
  font-size: 0.95rem;
}

.contact-link:hover {
  color: var(--charcoal-plum);
}

.contact-link i {
  color: var(--rose-quartz);
  width: 16px;
}

.location-map {
  margin-top: 1rem;
}

.map-placeholder {
  background: var(--linen-white);
  border: 2px dashed rgba(161, 141, 163, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  color: var(--soft-mauve);
}

.map-placeholder i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--rose-quartz);
}

/* ==================================================
   REVIEWS CARD
   ================================================== */
.reviews-summary {
  text-align: center;
}

.rating-overview {
  margin-bottom: 1.5rem;
}

.overall-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.rating-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--soft-mauve);
  line-height: 1;
}

.rating-overview .rating-stars {
  justify-content: center;
}

.rating-overview .rating-stars i {
  font-size: 1.25rem;
}

.rating-text {
  color: var(--soft-mauve);
  margin: 0;
  font-size: 0.95rem;
}

/* ==================================================
   MODAL STYLES
   ================================================== */
.modal-content {
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.modal-header {
  background: linear-gradient(135deg, var(--rose-quartz-light), var(--rose-quartz));
  color: white;
  border: none;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 1.5rem 2rem;
}

.modal-title {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.modal-body {
  padding: 2rem;
}

.modal-footer {
  background: var(--linen-white);
  border: none;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  padding: 1.5rem 2rem;
}

/* Share Modal */
.share-options {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.share-link .input-group {
  margin-top: 0.5rem;
}

.social-share h6 {
  color: var(--charcoal-plum);
  font-weight: 600;
  margin-bottom: 1rem;
}

.social-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: var(--transition-fast);
  min-width: 120px;
  justify-content: center;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
}

.social-btn.facebook {
  background: #1877f2;
}

.social-btn.twitter {
  background: #1da1f2;
}

.social-btn.whatsapp {
  background: #25d366;
}

/* Contact Modal */
.contact-options {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method {
  padding: 1.5rem;
  border: 2px solid rgba(161, 141, 163, 0.1);
  border-radius: var(--radius-lg);
  transition: var(--transition-fast);
}

.contact-method:hover {
  border-color: var(--rose-quartz);
  background: rgba(230, 183, 193, 0.05);
}

.contact-method h6 {
  color: var(--charcoal-plum);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-method .text-muted {
  margin-bottom: 1rem;
}

/* ==================================================
   ANIMATIONS
   ================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.content-card {
  animation: fadeInUp 0.6s ease-out;
}

.sidebar-card {
  animation: slideInRight 0.6s ease-out;
}

.sidebar-card:nth-child(2) {
  animation-delay: 0.1s;
}

.sidebar-card:nth-child(3) {
  animation-delay: 0.2s;
}

.sidebar-card:nth-child(4) {
  animation-delay: 0.3s;
}

.sidebar-card:nth-child(5) {
  animation-delay: 0.4s;
}

/* ==================================================
   RESPONSIVE DESIGN
   ================================================== */
@media (max-width: 1200px) {
  .sidebar-card {
    position: static;
  }
}

@media (max-width: 992px) {
  .service-header {
    padding: 2rem 0;
  }
  
  .service-title {
    font-size: 2rem;
  }
  
  .service-meta {
    gap: 1rem;
  }
  
  .service-actions {
    margin-top: 2rem;
  }
  
  .book-btn {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }
  
  /* Mobile favorite button adjustments */
  .service-hero-actions .hero-favorite-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .service-quick-actions .quick-action-favorite {
    min-width: 120px;
    padding: 0.625rem 0.875rem;
  }
  
  .content-card {
    padding: 1.5rem;
  }
  
  .sidebar-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .sidebar-favorite {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
  
  .stylist-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
}

@media (max-width: 768px) {
  .service-content {
    padding: 2rem 0;
  }
  
  .service-header {
    padding: 1.5rem 0;
  }
  
  .service-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .service-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .meta-item .price {
    font-size: 1.25rem;
  }
  
  /* Mobile favorite button adjustments */
  .service-hero-actions {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .service-hero-actions .hero-favorite-btn {
    padding: 0.75rem 2rem;
    min-width: 200px;
  }
  
  .service-quick-actions {
    flex-direction: column;
  }
  
  .service-quick-actions .quick-action-favorite {
    min-width: auto;
    width: 100%;
    margin-bottom: 0.75rem;
  }
  
  .content-card {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .section-title {
    font-size: 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .sidebar-card {
    padding: 1.25rem;
  }
  
  .promotion-card {
    flex-direction: column;
    text-align: center;
  }
  
  .promotion-details {
    justify-content: center;
  }
  
  .related-service-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .service-pricing {
    text-align: left;
    width: 100%;
  }
  
  .social-buttons {
    flex-direction: column;
  }
  
  .social-btn {
    min-width: auto;
  }
}

@media (max-width: 576px) {
  .breadcrumbs-section {
    padding: 0.75rem 0;
  }
  
  .breadcrumb {
    font-size: 0.8rem;
  }
  
  .service-header {
    padding: 1rem 0;
  }
  
  .service-title {
    font-size: 1.5rem;
  }
  
  .service-category {
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
  }
  
  /* Small mobile favorite button adjustments */
  .service-hero-actions .hero-favorite-btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
    min-width: auto;
    width: 100%;
  }
  
  .service-quick-actions .quick-action-favorite {
    padding: 1rem 0.75rem;
    font-size: 0.9rem;
  }
  
  .sidebar-favorite {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }
  
  .content-card {
    padding: 1rem;
  }
  
  .sidebar-card {
    padding: 1rem;
  }
  
  .section-title {
    font-size: 1.125rem;
  }
  
  .avatar-img,
  .avatar-placeholder {
    width: 60px;
    height: 60px;
  }
  
  .avatar-placeholder {
    font-size: 1.5rem;
  }
  
  .rating-number {
    font-size: 2.5rem;
  }
  
  
  .promotion-card {
    padding: 1rem;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
  
  .modal-header {
    padding: 1rem 1.5rem;
  }
  
  .modal-footer {
    padding: 1rem 1.5rem;
  }
}

/* ==================================================
   ACCESSIBILITY ENHANCEMENTS
   ================================================== */
@media (prefers-reduced-motion: reduce) {
  .content-card,
  .sidebar-card {
    animation: none;
  }
  
  .promotion-card,
  .related-service-card,
  .favorite-btn,
  .hero-favorite-btn,
  .quick-action-favorite,
  .sidebar-favorite {
    transition: none;
  }
  
  @keyframes favoriteAdded {
    0%, 100% { transform: none; }
  }
  
  @keyframes spin {
    0%, 100% { transform: none; }
  }
}

/* Focus indicators */
.promotion-card:focus-within,
.related-service-card:focus-within {
  outline: 2px solid var(--rose-quartz);
  outline-offset: 2px;
}

.social-btn:focus,
.contact-link:focus,
.favorite-btn:focus,
.hero-favorite-btn:focus,
.quick-action-favorite:focus,
.sidebar-favorite:focus {
  outline: 2px solid var(--rose-quartz);
  outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .content-card,
  .sidebar-card {
    border: 1px solid var(--charcoal-plum);
  }
  
  .promotion-card {
    border-width: 3px;
  }
  
  .favorite-btn,
  .hero-favorite-btn,
  .quick-action-favorite,
  .sidebar-favorite {
    border: 2px solid var(--charcoal-plum);
  }
  
  .favorite-btn.favorited,
  .hero-favorite-btn.favorited,
  .quick-action-favorite.favorited,
  .sidebar-favorite.favorited {
    border: 3px solid var(--rose-quartz-dark);
  }
}

/* ==================================================
   LOADING STATES
   ================================================== */
.loading-overlay {
  position: relative;
}

.loading-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: inherit;
}

.loading-spinner {
  width: 2rem;
  height: 2rem;
  border: 3px solid rgba(161, 141, 163, 0.3);
  border-radius: 50%;
  border-top-color: var(--rose-quartz);
  animation: spin 1s ease-in-out infinite;
}

/* Favorite button loading state */
.favorite-btn.loading .favorite-text,
.hero-favorite-btn.loading .favorite-text,
.quick-action-favorite.loading .favorite-text,
.sidebar-favorite.loading .favorite-text {
  visibility: hidden;
}

/* ==================================================
   UTILITY CLASSES
   ================================================== */
.text-success {
  color: var(--success-color) !important;
}

.text-warning {
  color: var(--warning-color) !important;
}

.text-danger {
  color: var(--error-color) !important;
}

.bg-success-light {
  background-color: rgba(181, 214, 167, 0.1) !important;
}

.bg-warning-light {
  background-color: rgba(244, 214, 160, 0.1) !important;
}

.bg-danger-light {
  background-color: rgba(231, 161, 161, 0.1) !important;
}

/* Copy feedback animation */
.copy-success {
  animation: copyFeedback 0.3s ease-out;
}

@keyframes copyFeedback {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* ==================================================
   PRINT STYLES
   ================================================== */
@media print {
  .service-actions,
  .service-quick-actions,
  .service-hero-actions,
  .modal,
  .breadcrumbs-section,
  .favorite-btn,
  .hero-favorite-btn,
  .quick-action-favorite,
  .sidebar-favorite {
    display: none !important;
  }
  
  .service-header {
    background: white !important;
    box-shadow: none !important;
    padding: 1rem 0 !important;
  }
  
  .content-card,
  .sidebar-card {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
    break-inside: avoid;
  }
  
  .service-title {
    color: black !important;
  }
  
  .section-title {
    color: black !important;
  }
}

/* ==================================================
   DARK MODE SUPPORT (if implemented)
   ================================================== */
@media (prefers-color-scheme: dark) {
  .favorite-btn:not(.favorited),
  .hero-favorite-btn:not(.favorited),
  .quick-action-favorite:not(.favorited),
  .sidebar-favorite:not(.favorited) {
    color: var(--rose-quartz);
    border-color: var(--rose-quartz);
  }
  
  .favorite-btn:not(.favorited):hover,
  .hero-favorite-btn:not(.favorited):hover,
  .quick-action-favorite:not(.favorited):hover,
  .sidebar-favorite:not(.favorited):hover {
    background: rgba(230, 183, 193, 0.2);
  }
  
  .hero-favorite-btn {
    background: rgba(0, 0, 0, 0.7);
    color: white;
  }
  
  .hero-favorite-btn:hover {
    background: rgba(0, 0, 0, 0.9);
  }
}