.service-detail {
    background-color: #f8f9fa;
}

.service-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid rgba(0,0,0,0.08);
}

.service-image-container {
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #eee;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.service-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.service-image.zoomed {
    transform: scale(1.5);
}

.service-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-category {
    color: #6c757d;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    align-self: flex-start;
}

.service-name {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3436;
    line-height: 1.2;
    margin: 0;
}

.service-description {
    color: #636e72;
    line-height: 1.6;
    font-size: 1.1rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--theme-primary);
}

.service-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-card.price-card {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--theme-primary) 0%, #2980b9 100%);
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-card .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3436;
}

.price-card .stat-value {
    color: white;
    font-size: 2rem;
}

.price-range-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price-separator {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
}

.branch-card {
    background: white;
    border-radius: 8px;
    padding: 0.875rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    gap: 1rem;
    border: 1px solid rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.branch-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--theme-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.branch-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.branch-card:hover::before {
    opacity: 1;
}

.branch-main-info {
    flex: 1;
}

.branch-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.branch-title-section {
    flex: 1;
}

.badges-container {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.375rem;
    flex-wrap: wrap;
}

.verified-badge, .home-service-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.branch-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3436;
    line-height: 1.2;
    margin: 0;
}

.branch-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    font-size: 0.9rem;
}

.branch-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #636e72;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.branch-info-item i {
    font-size: 1rem;
}

.branch-info-item.price i {
    color: #ff4757;
}

.branch-info-item.duration i {
    color: #ff4757;
}

.branch-info-item i.ri-map-pin-line {
    color: #ff4757;
}

.branch-info-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.branch-info-label {
    font-size: 0.8rem;
}

.branch-info-value {
    font-weight: 600;
    font-size: 0.9rem;
}

.branch-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
    min-width: 140px;
}

.branch-actions .btn {
    padding: 0.5rem 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    border-radius: 6px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1px;
    width: 100%;
}

.branch-actions .btn i {
    font-size: 1rem;
}

.branch-actions .btn-success {
    background-color: #25d366;
    border-color: #25d366;
}

.branch-actions .btn-success:hover {
    background-color: #20bd5a;
    border-color: #20bd5a;
}

.branch-actions .btn-store {
    background-color: #ff4757;
    border-color: #ff4757;
    color: white;
}

.branch-actions .btn-store:hover {
    background-color: #ff3748;
    border-color: #ff3748;
    color: white;
}

.breadcrumb {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stat-card .stat-label i {
    color: var(--theme-primary);
}

.stat-card .stat-label i.ri-time-line,
.stat-card .stat-label i.ri-store-2-line {
    color: #ff4757;
}

.filter-bar {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    border: none;
    background: none;
    padding: 0.5rem;
    border-radius: 6px;
    color: #6c757d;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: #f8f9fa;
    color: #2d3436;
}

.filter-btn.active {
    background: #ff4757;
    color: white;
}

.filter-btn i {
    font-size: 1.2rem;
}

.filter-btn[data-order="desc"] i {
    transform: rotate(180deg);
}

.branches-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pm-service-page {
    font-family: 'Poppins', sans-serif;
    background: #fff;
  }
  
  /* Imagen estilo UberEats */
  .pm-service-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #eee;
  }
  
  .pm-service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Título + Precio + Duración */
  .pm-service-info {
    padding: 1rem;
  }
  
  .pm-service-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
  }
  
  .pm-service-subinfo {
    font-size: 0.95rem;
    color: #555;
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .pm-service-subinfo .price {
    font-weight: 600;
    color: #cc0000;
  }
  
  .pm-service-subinfo .duration {
    color: #666;
  }
  
  .pm-service-category {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1rem;
  }
  
  /* Filtros */
  .pm-branch-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem 0.5rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
  }
  
  .pm-branch-filters {
    display: flex;
    gap: 0.5rem;
  }
  
  .pm-branch-filter-btn {
    background: #f2f2f2;
    border: none;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
  }
  
  .pm-branch-filter-btn.active {
    background: #0033cc;
    color: white;
  }
  
  .pm-branch-list {
    padding: 1rem;
  }
  
  .pm-branch-card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fff;
  }
  
  .pm-branch-card-header {
    margin-bottom: 0.75rem;
  }
  
  .pm-branch-name {
    font-weight: 600;
    font-size: 1rem;
  }
  
  .pm-branch-badges {
    margin-top: 0.25rem;
    display: flex;
    gap: 0.5rem;
  }
  
  .pm-branch-badges .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
  }
  
  .pm-branch-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #444;
    margin-bottom: 1rem;
  }
  
  .pm-branch-info-row i {
    margin-right: 0.4rem;
    color: #999;
  }
  
  .pm-branch-actions .btn {
    font-size: 0.85rem;
  }

  .pm-branch-card-horizontal {
  padding: 1rem;
  border: 1px solid #eee;
  border-radius: 12px;
  margin-bottom: 1rem;
  background: #fff;
}

.pm-branch-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.pm-branch-info-left {
  flex: 1 1 60%;
}

.pm-branch-info-right {
  flex: 1 1 35%;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  justify-content: center;
  align-items: flex-end;
}

.pm-branch-name {
  font-weight: 600;
  font-size: 1rem;
}

.pm-branch-address {
  font-size: 0.85rem;
  color: #555;
}

.pm-branch-value {
  font-size: 0.85rem;
  color: #333;
}

.pm-branch-actions-horizontal {
  display: flex;
  gap: 0.5rem;
}

.pm-branch-price{
    font-weight: bold;
    color: #ff0d0d;
    font-size: 15px;
}